Top
PRIMECLUSTER  Installation and Administration Guide4.3

13.2.1 Creating Global Zone

Perform this procedure with all of the nodes which comprise the cluster system.

13.2.1.1 OS Installation and Setup to the Global Zone

Install the OS to the global zone. For details, see Oracle Solaris documents.

13.2.1.2 Installing Oracle Solaris 10 Zone Package to the Global Zone

If migrating an existing Solaris 10 environment to Zones on Solaris 11, use Oracle Solaris 10 zone package. Check if the system/zones/brand/brand-solaris10 package is installed. If not, install the package to the global zone for all nodes. For details on how to install it, see Oracle Solaris documents.

If migrating an existing Solaris 10 environment to Zones on Solaris 10, this task is not required.

13.2.1.3 Setup of NTP to the Global Zone

This setup is for synchronizing the time for each node which comprises the cluster system. It is absolutely necessary that this be performed when building a cluster of two nodes or more.

Perform this setup on the global zone before installing PRIMECLUSTER.

13.2.1.4 Check/Setup of Kernel Parameters to the Global Zone

If operating PRIMECLUSTER-related software, it is necessary to take into account the environment and adjust the OS kernel parameters.

Perform this setup with the global zone before performing the restart after "13.2.1.5 Installing PRIMECLUSTER to the Global Zone."

For details, refer to "3.2.3 Checking the Kernel Parameters."

13.2.1.5 Installing PRIMECLUSTER to the Global Zone

For details on the installation of PRIMECLUSTER, refer to "3.1 PRIMECLUSTER Installation."

13.2.1.6 Setup of Dependency between SMF Services of RMS and Zones

When using the non-global zone image that are not shared between multiple nodes, execute the following commands on each global zone in all the nodes with the administrator authority.

# svccfg -s svc:/milestone/smawrrms addpg systemzones dependency
# svccfg -s svc:/milestone/smawrrms setprop systemzones/grouping = astring: optional_all
# svccfg -s svc:/milestone/smawrrms setprop systemzones/entities = fmri: svc:/system/zones
# svccfg -s svc:/milestone/smawrrms setprop systemzones/restart_on = astring: none
# svccfg -s svc:/milestone/smawrrms setprop systemzones/type = astring: service
# svcadm refresh svc:/milestone/smawrrms

Execute the following command. If the service of system/zones displays, it means the dependency was set successfully.

# svcs -d milestone/smawrrms | grep zones
online         01:23:45 svc:/system/zones:default

13.2.1.7 Check/Setup of BE (Boot Environment) UUID of a Solaris 11 Global Zone

When you are using a Solaris 11 global zone, set the same UUID value for BE of the global zone on both active nodes and standby nodes.

  1. Check UUID of BE on an active node.

    # beadm list -H
    UPDATE_BE;1ca3c7e2-fcdb-4d1e-ce92-c567dfd64969;NR;/;8292676096;static;1344328401
    solaris;10857262-1e20-e712-ef07-fd9f2765f822;;;12295168;static;1344300070
    newbe;04b7be53-779d-40aa-aeda-e7a39c212ebd;;;61440;static;1347415726
  2. Check UUID of BE on a standby node.

    # beadm list -H
    UPDATE_BE;f4d8160d-4904-4857-c183-f2e47c28fc09;NR;/;8620887552;static;1344330302
    solaris;10857262-1e20-e712-ef07-fd9f2765f822;;;12285952;static;1344298030
  3. Compare UUID of BE of an active node with a standby node. If the value is different, set UUID of the active node in ZFS of the standby node.

    # zfs set org.opensolaris.libbe:uuid=1ca3c7e2-fcdb-4d1e-ce92-c567dfd64969 rpool/ROOT/UPDATE_BE
    # beadm list -H
    UPDATE_BE;1ca3c7e2-fcdb-4d1e-ce92-c567dfd64969;NR;/;8620887552;static;1344330302
    solaris;10857262-1e20-e712-ef07-fd9f2765f822;;;12285952;static;1344298030
  4. If there is no BE which exits in an active node, create BE with the same name as the active node in the standby node, and then set UUID of the active node in ZFS of the standby node.

    # beadm create newbe
    # beadm list -H
    UPDATE_BE;1ca3c7e2-fcdb-4d1e-ce92-c567dfd64969;NR;/;8620893696;static;1344330302
    solaris;10857262-1e20-e712-ef07-fd9f2765f822;;;12285952;static;1344298030
    newbe;32d4c688-fab2-6f2b-8f93-89c13be14144;;;61440;static;1347416270
    # zfs set org.opensolaris.libbe:uuid=04b7be53-779d-40aa-aeda-e7a39c212ebd rpool/ROOT/newbe
    # beadm list -H
    UPDATE_BE;1ca3c7e2-fcdb-4d1e-ce92-c567dfd64969;NR;/;8621014528;static;1344330302
    solaris;10857262-1e20-e712-ef07-fd9f2765f822;;;12285952;static;1344298030
    newbe;04b7be53-779d-40aa-aeda-e7a39c212ebd;;;61440;static;1347416270