For complete information about installing a zone refer to System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.
Determine the following requirements for the deployment of the zone with Sun Cluster:
The number of Solaris Zone instances that are to be deployed.
The cluster file system will be used by each Solaris Zone instance.
Install the zone.
If the zone that you are installing is to become a failover zone, the zone's zone path must specify a highly available local file system. The file system must be managed by the SUNW.HAStoragePlus resource that you created in Step 3.
# zlogin -C zone |
You are prompted to configure the zone.
Follow the prompts to configure the zone.
After you configure the zone has been created, an entry will exist in the /etc/zones/index file.
Disconnect from the zone`s console.
Use the escape sequence that you defined for the zone. If you did not define an escape sequence, use the default escape sequence as follows:
# ~. |
Determine the new zone's index entry by listing the contents of the /etc/zones/index.
You need the new zone's index entry for How to Enable a Zone to Run in a Failover Configuration
# cat /etc/zones/index |
Make the zone available to all nodes in the cluster.
Perform the following steps on each cluster node.
Log in to each cluster node.
To prevent a loss of data, create a backup copy of the /etc/zones/index file.
# cd /etc/zones # cp index index_backup |
Using a plain text editor, add the entry for the zone to the/etc/zones/index file on the node.
Copy the zone.xml file to the /etc/zones/index directory on the node.
# rcp zone-install-node:/etc/zones/zonexml . |