El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Installing bms-network-config

Updated on 2025-01-27 GMT+08:00

Scenario

Install bms-network-config to work with Cloud-Init for the network configuration of the BMSs with centralized BMGW. For the BMSs with distributed BMGW (that is, BMSs with SDI 3.0 or SDI 2.2 cards), you do not need to perform operations in this section. Table 1 describes the BMS flavors for which bms-network-config needs to be installed.

Table 1 BMS flavors

BMS Type

Flavor

General-purpose

physical.s3.large, physical.s3.xlarge, physical.s3.2xlarge, physical.s4.medium, physical.s4.large, physical.s4.xlarge, physical.s4.2xlarge, physical.s4.3xlarge

Disk-intensive

physical.d1.large, physical.d2.tiny, physical.d2.large, physical.d2.xmedium

Memory-optimized

physical.m2.small, physical.m2.medium, physical.m2.large, physical.m2.xlarge

I/O-optimized

physical.io1.large, physical.io2.xlarge

GPU-accelerated

physical.p1.large, physical.p2.large, physical.g1.small, physical.p3.large, physical.pi6.3xlarge.6

High-performance computing

physical.h2.large, physical.hc2.xlarge

Kunpeng

physical.ks1.2xlarge

Prerequisites

  • You have logged in to the VM.
  • Cloud-Init has been installed on the VM.
  • You have downloaded the bms-network-config software package and SHA256 checksum by referring to Software and verified the software package integrity (for details, see How Do I Verify Software Package Integrity?).
    NOTE:

    Download the RPM package depending on the OS. Ubuntu and Debian use the .deb package, and CentOS and EulerOS (Arm) use the aarch .rpm package.

Procedure

  1. Enter the directory where the bms-network-config software package is stored and run the rpm -ivhbms-network-config-1.0-7.centosRedhat7.x86_64.rpm command.
    [root@localhost r74]# rpm -ivhbms-network-config-1.0-7.centosRedhat7.x86_64.rpm
    Preparing...                          ############################### [100%]            
    Updating / installing...
       1:bms-network-config-1.0.7.centosRe############################### [100%]
    NOTE:

    If the error shown in the following figure is displayed when you install bms-network-config for SUSE 12/SUSE 15, run the rpm -ivh bms-network-config-1.0-9.suse12.x86_64.rpm --nodeps --force command.

    For Ubuntu/Debian, run the dpkg -ixxx command (xxx indicates the .deb package name).

    root@ubuntu:~/file# dpkg -i bms-network-config-1.0.7.ubuntu1604-918.deb
    Selecting previously unselected package bms-network-config.
    (Reading database ... 97630 files and directories currently installed.)
    Preparing to unpack bms-network-config-1.0.7.ubuntu1604-918.deb ...
    Unpacking bms-network-config (1.0) ...
    Setting up bms-network-config (1.0) ...
    root@ubuntu:~/file# dpkg -s bms-network-config
    NOTE:

    The names of the .rpm and .deb packages vary according to the actual situation.

  2. After the installation is complete, run the rpm -qa | grep bms-network-config command. The installation is successful if the following information is displayed:
    [root@localhost r74]# rpm -qa | grep bms
    bms-network-config-1.0.7.centosRedhat7.x86_64

    For Ubuntu/Debian, run the dpkg -s bms-network-config command.

  3. Check the bms-network-config status.
    • For Oracle Linux 7, Red Hat 7, CentOS 7, Ubuntu 16.04, Ubuntu 18.04, SUSE 12, SUSE 15, or EulerOS, run the service bms-network-config status command to check the service status. If the status is not enabled, run the systemctl enable bms-network-config command to enable the service.
      [root@localhost r74]# service bms-network-config status
      Redirecting to /bin/systemctl status bms-network-config.service
        bms-network-config.service - Network Config
        Loaded: loaded (/usr/lib/systemd/system/bms-network-config service; enabled vendor preset: disabled)
        Active: inactive (dead)
    • For Red Hat 6, CentOS 6, SUSE 11 SP4, Oracle Linux 6.8, or Oracle Linux 6.9, run the chkconfig --list | grep bms-network-config command to check the service status. If the status is not on, run the chkconfig bms-network-config on command to enable the service.
      [root@localhost r69]# chkconfig --list | grep bms
      bms-network-config   0:off   1:off   2:on   3:on   4:off   5:on   6:off
    • For Ubuntu 14.04/Debian, run the initctl status bms-network_config command to check the service status.
      root@ubuntu:~# initctl status bms-network_config
      bms-network_config stop/waiting
  4. Check the startup dependencies between bms-network-config and other services.

    Run the systemctl cat bms-network-config command to check the configuration file and ensure that the file content is as follows:

    [Unit]
    Description=NetworkConfig
    DefaultDependencies=no
    After=dbus.service
    Wants=dbus.service
    
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/bms-network_config rhel
    RemainAfterExit=yes
    TimeoutSec=0
    
    [Install]
    WantedBy=multi-user.target

    If the startup sequence is incorrect, use the vim /usr/lib/systemd/system/bms-network-config.service command to correct it.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback