Sun Cluster Data Service for Solaris Containers Guide

ProcedureHow to Apply a Rebooting Patch to the Global Zone and Local Zones

A rebooting patches requires you to reboot a node after you apply the patch to the node.

Steps
  1. Disable the resources that depend on the zones to which you are applying the patch.


    # scswitch -n -j zdepend-rs-list
    
  2. Disable monitoring of the zone resource.


    # scswitch -n -M -j zone-rs
    
  3. Bring the resource groups that contain zone resources online on a node.


    # scswitch -z -g zone-rg -h node
    
  4. On each node where the zone is not booted, comment out the entry for the zone in the /etc/zones/index file.

    To comment out an entry, add the # character to the start of the line that contains the entry.

  5. For each node where the zone is not booted, perform the following sequence of operations:

    1. Apply the patch.

    2. Reboot the node.

  6. Apply the patch on the node where the zone is booted.

  7. Remove the comment from each entry that you edited in Step 4.

  8. Enable monitoring of the resource for which you disabled monitoring in Step 2.


    # scswitch -e -M -j zone-rs
    
  9. Reboot the node where the zone is booted.

  10. Enable the resources that you disabled in Step 1.


    # scswitch -e -j zdepend-rs-list
    
Next Steps

To verify that the patch is correctly applied, switch each resource group that contains zone resources to each node in the resource group's node list. To switch a resource group to another node, type the command:

scswitch -z -g zone-rg -h node