Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Recover From a Failure While Committing Temporary Changes

The configuration of a running zone can change externally while the live configuration is being edited. When this conflict occurs, the commit subcommand returns an error. You can reload the configuration to show the updated version, and make the edits.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Perform the following steps to recover from a failure by using reload.
    # zonecfg -z zone1 -r 
    	    zonecfg:zone1> add anet;set linkname=anet1;set lower-link=net1;end
    	    zonecfg:zone1> commit
    	    zone1: error: Failed to commit. The live configuration of the zone
    		'zone1' changed externally.
    	    zonecfg:zone1> reload
    	    zonecfg:zone1> add anet;set linkname=anet1;set lower-link=net1;end
    	    zonecfg:zone1> commit
    	    zone1: Checking: add anet linkname=anet1
    	    zone1: Applying changes