Updating Network IP Configuration Settings

Use the network configuration script (net_config.sh) if you need to update the network settings for the ztC Endurance system after the initial software installation. For example, you might need to change the network settings if you prepared a system with settings for an end user, but then you need to update the network settings to deploy the system on a different network or subnet, possibly at a new location.

The network configuration script updates network settings for the:

  • Baseboard management controllers (BMCs)

  • Standby OS of each compute module

  • Windows host

Notice: When you run the network configuration script, it restarts the active compute module twice to complete all of the changes. Because you temporarily lose access to your applications, ensure that you run the script only on a non-production system or during a planned maintenance period.
Notes:  
  1. If you are preparing for the initial software installation, use the BMC configuration script (bmc_config.sh) or the software installation script (install.sh) to configure the network settings instead of using the network configuration script. See the instructions in Performing a Full System Software Installation.

  2. If you are connected to the console of the compute module through the BMC Web console, you will lose your connection if you change the BMC network settings. You need to reconnect to the new addresses you entered in the script or configuration file.

  3. You need to provide the location of the Windows ISO image in the script or configuration file because the script needs access to software libraries in the ISO to change the Windows network settings.

If you want to create a file that already contains the new network settings needed for the network configuration script, see Preparing the Installation Configuration File. You can specify this file for input when running the network configuration script, BMC configuration script, or software installation script.

Network configuration script usage:

Usage : net_config.sh {options}

Options:
-h              prints this menu
-u url        url with ISO image location
-f filename   path to ISO image
-y filename   path to configuration yaml file

To update the system network settings

  1. Optionally, create a file that already contains the configuration settings as described in Preparing the Installation Configuration File; otherwise, be prepared to manually enter the information from Gathering Information.

  2. Log on to the Standby OS of either compute module as the zenadmin user.

  3. Start the network configuration script by running one of the following commands:

    Note: To use privileged commands in the zenadmin account, you need to add the sudo directive.
    • If you created the configuration file: sudo /opt/stratus/bin/net_config.sh -y /opt/stratus/install/zen_config.yaml

      (In the preceding command, if you installed zen_config.yaml in a different directory, specify that directory instead.)

    • If you did not create the configuration file and want to respond to prompts for each setting: sudo /opt/stratus/bin/net_config.sh {options}

  4. The configuration script loads any existing settings from the installation configuration file and begins prompting for input.

    Note: If you already entered the settings into the installation configuration file, the network configuration script prompts only for the settings you have not entered.
  5. Type the current zenadmin password and press Enter to continue.

  6. Type the Windows Administrator password and press Enter to continue.

  7. The script prompts for the IP configuration settings for the BMCs, the Standby OS, and the Windows host. Type new values for the settings you need to change and press Enter to continue. To accept an existing value, leave the field blank and press Enter. Repeat until the script displays Confirm input below.

  8. The script displays a summary of the settings you entered and prompts you to apply the settings or prompt for each setting again to make any corrections. Do one of the following:

    • To accept the settings that you entered and apply them to the system, type y and press Enter.

    • To display each prompt again with passwords hidden, type n and press Enter. For each prompt, type any changes and press Enter to continue.

    • To display each prompt again with passwords in clear text, type unhide. For each prompt, type any changes and press Enter to continue.

  9. The configuration script begins to implement the network settings that you specified. View the output to confirm that the changes are successful.

  10. The current login session to the Standby OS automatically disconnects so that the system can change the network settings for the compute module.

  11. After the system restarts, verify that the BMCs, the Standby OS, and the Windows host are functioning properly.

Related Topics