Go to main content

Administering an Oracle® Solaris Cluster 4.4 Configuration

Exit Print View

Updated: March 2019
 
 

How to Add a Network Address to a Zone Cluster

This procedure adds a network address for use by an existing zone cluster. A network address is used to configure logical host or shared IP address resources in the zone cluster. You can run the clsetup utility multiple times to add as many network addresses as you need.


Note -  You can also add a network address to a zone cluster by using the Oracle Solaris Cluster Manager browser interface. Click Zone Clusters, click the name of the zone cluster to go to its page, then click the Solaris Resources tab to administer zone-cluster components. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager.
  1. Assume the root role on a node of the global cluster that hosts the zone cluster.
  2. On the global cluster, configure the cluster file system that you want to use in the zone cluster.

    Start the clsetup utility.

    phys-schost# clsetup

    The Main Menu is displayed.

  3. Choose the Zone Cluster menu item.
  4. Choose the Add Network Address to a Zone Cluster menu item.
  5. Choose the zone cluster where you want to add the network address.
  6. Choose the property to specify the network address you want to add.
    address=value

    Specifies the network address used to configure logical host or shared IP address resources in the zone cluster. For example, 192.168.100.101.

    The following types of network addresses are supported:

    • A valid IPv4 address, optionally followed by / and a prefix length.

    • A valid IPv6 address, which must be followed by / and a prefix length.

    • A hostname which resolves to an IPv4 address. Hostnames that resolve to IPv6 addresses are not supported.

    See the zonecfg(8) man page for more information about network addresses.

  7. To add an additional network address, type a.
  8. Type c to save the configuration change.

    The results of your configuration change are displayed. For example:

     >>> Result of Configuration Change to the Zone Cluster(sczone) <<<
    
    Adding network address to the zone cluster...
    
    The zone cluster is being created with the following configuration
    
    /usr/cluster/bin/clzonecluster configure sczone
    add net
    set address=phys-schost-1
    end
    
    All network address added successfully to sczone.
  9. When finished, exit the clsetup utility.