Putting an Enterprise in a Suspended State
Before you begin See
Suspended State.
- Procedure
- In the build file, add a target named
suspend
.For a sample file, see enterprise_suspend_build.xml.
<target name="suspend"> <AMXAdminTask ... ... /> </target>
- In the
AMXAdminTask
element of thesuspend
target, set theaction
attribute tosuspend
and theobjectSelector
attribute toEnterprise
.<AMXAdminTask remote="true" propsFile="${instanceProperties}" action="suspend" dataFile="${dataFile}" objectSelector="Enterprise" force="false" failOnError="false" />
- In the
options
attribute, you can specify optional attributes such assuspendEnterpriseTimeoutInSec
,suspendCfTimeoutInSec
, andnote
.options="suspendEnterpriseTimeoutInSec 1800,suspendCfTimeoutInSec 1800,note ${note}"
For more information about these optional attributes, see CLI Attributes.
- Invoke the command-line interface on the build file.
ResultFor a sample output, see: