No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
os_write_bay_cfg.sh

os_write_bay_cfg.sh

Function

The os_write_bay_cfg.sh command is used to modify the bay_config.ini file, including the enclosure ID, number of controllers, and IP address bytes.

Format

os_write_bay_cfg.sh { -i BayID | -c ControllerTotal | -t BayType }* [ -n ] [ -l ] [ -s ] [ -d | -a ]

Parameters

Parameter

Description

Value

BayID

Indicates an enclosure ID.

The value ranges from 0 to 7.

ControllerTotal

Indicates the number of clusters.

The value ranges from 1 to 16.

BayType

Indicates an enclosure type.

The value can be 0, 1, or 2.

  • 0: disk enclosure with 2.5-inch disks.
  • 1: disk enclosure with 3.5-inch disks.
  • 2: disk enclosure with both 2.5-inch and 3.5-inch disks.

-n

Indicates that the enclosure ID is not written to the backplane.This parameter is invalid currently.

-

-l

Indicates that bay_conf.ini is not synchronized to the peer controller.

-

-s

Synchronizes to the second backup point.This parameter is invalid currently.

-

-d

Deletes IP address bytes.

-

-a

Adds default IP address bytes.

-

Modes

Minisystem mode

Usage Guidelines

None

Example

Modify the bay_config.ini file of local and remote controllers.

Storage: minisystem>os_write_bay_cfg.sh -i 0 -c 2 -t 0 -a 
Write bay config to startup disk successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 501142

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next