Getting the Status of a Read-only Enterprise
Before you begin See
Read-only State.
- Procedure
- In the build file, add a target named
statusReadOnly
.For a sample file, see enterprise_suspend_build.xml.
<target name="statusReadOnly"> <AMXAdminTask ... ... /> </target>
- In the
AMXAdminTask
element of thestatusReadOnly
target, set theaction
attribute tostatusReadOnly
and theobjectSelector
attribute toEnterprise
.<AMXAdminTask remote="true" propsFile="${instanceProperties}" action="statusReadOnly" dataFile="${dataFile}" objectSelector="Enterprise" failOnError="false" />
- Invoke the command-line interface on the build file.
ResultFor a sample output, see
Sample: Status of Read-only Enterprise.