Add an IP Address

You can add management, secondary management, data, discovery, and support IP addresses using the Draft network configuration profile. The Draft profile is used to validate the configuration changes.
NOTE: You are not required to configure all IP addresses at the same time, nor configure them in the order shown in this task.
  1. Create a Draft network configuration profile from the Active profile.
    netconfig --create_draft_from active
  2. Add a managment IP address.
    ip --add ip-addr --netconfig draft [--array name]--type management [--nic name]
  3. (Optional) Add a secondary management IP address.
    ip --add ip-addr --netconfig draft [--array name]--type secondary [--nic name]
  4. Add a data IP address.
    ip --add ip-addr --netconfig draft [--array name]--type data [--nic name]
  5. Add a support IP address.
    ip --add ip-addr --netconfig draft [--array name]--type support [--nic name] [--ctrlr {a | b}]

    Repeat this step if you want to create a support IP address for the second controller.

  6. Validate the Draft network configuration profile.
    netconfig --validate draft
    The array OS validates the configuration. If an error exists, the array OS returns an error message. Resolve all errors before proceeding to the next step.
  7. Activate the Draft network configuration profile.
    netconfig --activate draft --force_ip_update
    NOTE: The --force_ip_update option is required to activate configurations containing discover IP addresses or data IP adresses. Without this option, any attempt to update discovery IP addresses or data IP adresses in the Active network configuration profile will fail.

Configuring management, data, and support IP addresses using the Draft network configuration profile:

$ netconfig --create_draft_from active
$ ip --add 192.168.120.55 --netconfig draft --type management 
$ ip --add 192.168.120.56 --netconfig draft --type data 
$ ip --add 192.168.120.57 --netconfig draft --type support --nic eth1 --ctrlr a
$ ip --add 192.168.120.58 --netconfig draft --type support --nic eth1 --ctrlr b  
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate --force_ip_update