Putting an Enterprise in a Suspended State

Prerequisites

See Suspended State.

Procedure

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

    For a sample file, see enterprise_suspend_build.xml.

    <target name="suspend">
    <AMXAdminTask
    ...
    ...
    />
    </target>
  2. In the AMXAdminTask element of the suspend target, set the action attribute to suspend and the objectSelector attribute to Enterprise.
    <AMXAdminTask
    			  remote="true"
    			  propsFile="${instanceProperties}"
    			  action="suspend"
    			  dataFile="${dataFile}"
    			  objectSelector="Enterprise"
    				 force="false"
    			  failOnError="false"
    />
  3. In the options attribute, you can specify optional attributes such as suspendEnterpriseTimeoutInSec, suspendCfTimeoutInSec, and note.
    options="suspendEnterpriseTimeoutInSec 1800,suspendCfTimeoutInSec 1800,note ${note}"

    For more information about these optional attributes, see CLI Attributes.

  4. Invoke the command-line interface on the build file.