N1 Grid Service Provisioning System 5.0 User's Guide for the Solaris Plug-In

Container Component

The Container component is the main component delivered by the Solaris plug-in. The Container component is an untyped component.

The Container component includes several procedures. You can run these procedures directly from the N1 Grid Service Provisioning System interface or from within execution plans.

Create Procedure

Creating a Container component creates a corresponding local Solaris 10 zone. The host target of this procedure is a Solaris 10 host that is running a provisioning software remote agent. The target host type must be set to com.sun.solaris#global_zone. The create procedure uses Solaris 10 zonecfg and zoneadm commands to configure and install a local Solaris 10 zone from the Solaris 10 global zone. After the installation, this procedure then installs a remote agent on the newly create local zone. A new host of type com.sun.solaris#local_zone appears on the host page.

Attach Procedure

This procedure is similar to the create procedure, but it does not create the zone. Instead, the procedure attaches to an existing local zone on the host. This procedure creates a Container component in the provisioning software database and installs a remote agent on the existing local zone. The attach procedure is useful for times when a tool other than N1 Grid Service Provisioning System created the zone. For example, you might use the attach procedure when a zone has been created directly through Solaris APIs or by another software management application.

Detach Procedure

The detach procedure is similar to the delete procedure. This procedure removes the Container component from the provisioning software database and uninstalls the remote agent. However, the local zone is not removed from the global zone host. If the local zone is booted, it remains booted. If it is halted, it remains halted.

Activate Procedure

This procedure activates (boots) a local zone. You select the zone from the list of installed Container components on the targeted Solaris 10 host. The procedure uses the zoneadm -z zonename boot command. This procedure also initiates provisioning software host preparation for unprepared hosts.

Deactivate Procedure

This procedure deactivates (halts) a local zone. You select the zone from the list of installed Container components on the targeted Solaris 10 host. The procedure uses the zoneadm -z zonename halt command.

Delete Procedure

The delete procedure uses the Solaris 10 zonecfg and zoneadm commands to remove the specified Solaris 10 local zone from the global zone host. The procedure also removes the corresponding Container component from the provisioning software database.