Putting an Enterprise in a Write State

Prerequisites

See Write State.

Procedure

  1. In the build file, add a target named unsetReadOnly.

    For a sample file, see enterprise_suspend_build.xml.

    <target name="unsetReadOnly">
    <AMXAdminTask
    ...
    ...
    />
    </target>
  2. In the AMXAdminTask element of the unset target, set the action attribute to unsetReadOnly and the objectSelector attribute to Enterprise.
    <AMXAdminTask
    		  	remote="true"
    		  	propsFile="${instanceProperties}"
    			  action="unsetReadOnly"
    		  	dataFile="${dataFile}"
    			  objectSelector="Enterprise"
    			  failOnError="false"
    />
  3. Invoke the command-line interface on the build file.

Result

For a sample output, refer to Sample: Write State.