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

Procedure

  1. Select the host to update

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

    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.

    delphix host "example" update *> get addresses
        192.168.1.1,192.168.1.2 (*)
    delphix host "example" update *> get addresses[0]
        192.168.1.1 (*)
    delphix host "example" update *> edit addresses
    delphix host "example" update addresses *> get
        0:
            192.168.1.1 (*)
        1:
            192.168.1.2 (*)
  4. Commit the result:

    delphix host "example" update addresses *> commit
    delphix host "example">