How to create and configure a Solaris Local Zone on shared storage for use with VCS and the Zone Agent Resource so the Local Zone can run on any node that is in the service group's SystemList attribute.

book

Article ID: 100029394

calendar_today

Updated On:

Resolution

Below is the procedure to create a Solaris Local Zone that has the zone root on a file system in a VERITAS Volume Manager volume that is on a shared disk group for use between multiple nodes in a VERITAS Cluster Server, VCS, cluster.

The purpose of having the zone root on the shared storage is so the local zone only has to be created and installed one time, and with the zone configuration duplicated to other nodes in the cluster, any of the nodes can host the local zone when service group with the Zone Agent resource is brought online.

To create a zone root on shared disks, follow the below steps:
  1. Create a file system on shared storage for the zone root. The file system that is to contain the zone root may be in the disk group as the file system containing the shared data.
  2. On the system where the file system is mounted, create the zone with the zonecfg command.
  3. Set the zonepath parameter to specify a location for the zone root.
  4. Set a virtual IP address of the system to be the IP address of the zone and define the device name for the NIC associated with the IP address.
  5. Exit the zonecfg configuration.
  6. Use the zonecfg command to display information about the zone's properties and their values
  7. Create the actual zone root directory
  8. Set permissions for the zone root directory.
  9. Repeat the previous zone creation steps on each other system in the service group's SystemList.
  10. Mount the file system containing on shared storage on one of the systems that share the storage.
  11. Install the non-global zone using zoneadm.
  12. List the zones, including the global zone.
  13. Boot the zone.
  14. On one system, mount the file system containing the application's data on shared storage.
  15. Make sure the zone created from the first system is in the “installed state” on all other systems in the service group's System List.

Now that all nodes in the cluster have the same local zone configuration information, the service group that has the Zone Agent resource can run on any of them.
 

 


Issue/Introduction

How to create and configure a Solaris Local Zone on shared storage for use with VCS and the Zone Agent Resource so the Local Zone can run on any node that is in the service group's SystemList attribute.