Skip to main content
Skip table of contents

CLI cookbook: setting multiple addresses for a target host

This topic is an example of using arrays to configure a target host to support multiple IP addresses. The nfsAddressList property is an array of strings.

Procedure

  1. Select the host to update

    CODE
    delphix> hostdelphix host> select exampledelphix host "example"> update
  2. Set the address:

    CODE
    Delphix host '192.168.121.141' update *> set nfsAddressList="192.168.1.23,192.168.2.44"
  3. Get the current addresses, both as a string and as an array object.

    CODE
    delphix host "example" update *> get nfsAddressList    192.168.1.23,192.168.2.44 (*)delphix host "example" update *> get nfsAddressList[0]    192.168.1.23 (*)delphix host "example" update *> edit nfsAddressListdelphix host "example" update addresses *> get    0:        192.168.1.23 (*)    1:        192.168.2.44 (*)
  4. Commit the result:

    CODE
    delphix host "example" update addresses *> commitdelphix host "example">
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.