Creating a WPAR root on local disk

Use the following procedure to create a WPAR root on the local disk on each node in the cluster.

To create a WPAR root on local disks on each node in the cluster

  1. Create the actual WPAR root directory.

  2. Use the mkwpar command to create the WPAR.

    mkwpar -n wpar -h host -N ip_info -d wroot -o /tmp/wpar.log

    Use the following information to replace the appropriate variables:

    wpar

    The name of the WPAR.

    hostname

    The name of the system where the WPAR is created.

    ip_info

    Replace this variable with the information to set the virtual IP address of the system to be the IP address of the WPAR. This value also defines the device name for the NIC associated with the IP address.

    If you do not specify the value of the interface or netmask, the global partition's values are used.

    Use the following format to replace ip_info:

    interface=interface netmask=netmask address=IPaddress

    Example: interface='en0' address='172.16.0.0' netmask='255.255.255.0'

    wroot

    Replace this variable with the location of the WPAR root directory, for example, /wpars.

  3. Repeat the command in step 2 to create the WPAR on each system in the service group's SystemList.

  4. On one of the systems in the SystemList, mount the shared file system containing the application data.

  5. Start the WPAR.