Stopping instance(s)
ins02
Executing stop-local-instance ins02 on gf-ha-dev-sb6-3
Thu Sep 23 11:30:58 PDT 2010
CLASSPATH= /export/hatester/as/glassfishv3/glassfish/bin/../modules/admin-cli.jar
Commands: [stop-local-instance, ins02]
asadmin extension directory: /export/hatester/as/glassfishv3/glassfish/lib/asadmin
Prepare
Process program options
Parsing program options
Parse command options
params: {}
operands: [ins02]
Prevalidate command options
Inject command options
Validate command options
nodeDirChild: /export/hatester/as/glassfishv3/glassfish/nodes/n2
instanceDir: /export/hatester/as/glassfishv3/glassfish/nodes/n2/ins02
asadmin --host localhost --port 4848 --interactive=false --echo=false --terse=false stop-local-instance ins02
Execute command
StopInstance.stoppingMessage24848
Check if server is at location /export/hatester/as/glassfishv3/glassfish/nodes/n2/ins02
Prepare
Parsing program options
URI: /__asadmin/__locations?Xhelp=true
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@bbe0f0a
URL: http://localhost:24848/__asadmin/__locations?Xhelp=true
Using auth info: User: null, Password: <null>
Response Content-Type: text/xml
------- RAW METADATA RESPONSE ---------
<?xml version="1.0" encoding="UTF-8" standalone="no"?><action-report description="__locations help" exit-code="SUCCESS"><message-part message=""><property name="GeneratedHelp" value="true"/><command name="__locations"/></message-part></action-report>
------- RAW METADATA RESPONSE ---------
fetchCommandModel: got command opts: com.sun.enterprise.admin.util.CommandModelData@2b2d96f2
doHttpCommand succeeds
Process program options
Parsing program options
Parse command options
params: {}
operands: []
Prevalidate command options
Inject command options
Validate command options
asadmin --host localhost --port 24848 --interactive=false --echo=false --terse=false __locations
Execute command
doUpload set to false
URI: /__asadmin/__locations
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@19484a05
URL: http://localhost:24848/__asadmin/__locations
Using auth info: User: null, Password: <null>
------- RAW RESPONSE  ---------
Signature-Version: 1.0
Instance-Root_name: Instance-Root
Domain-Root_value: /export/hatester/as/glassfishv3/glassfish/nodes/n2/
 ins02
keys: Instance-Root;Domain-Root;Uptime;Base-Root
Instance-Root_value: /export/hatester/as/glassfishv3/glassfish/nodes/n
 2/ins02
use-main-children-attribute: false
Base-Root_value: /export/hatester/as/glassfishv3/glassfish
Base-Root_name: Base-Root
message: /export/hatester/as/glassfishv3/glassfish/nodes/n2/ins02%%%EO
 L%%%
Uptime_name: Uptime
Domain-Root_name: Domain-Root
exit-code: SUCCESS
Uptime_value: 67867

------- RAW RESPONSE  ---------
PROCESSING MANIFEST...
doHttpCommand succeeds
Remote server has root directory /export/hatester/as/glassfishv3/glassfish/nodes/n2/ins02
It's the correct Instance
Prepare
Parsing program options
URI: /__asadmin/_stop-instance?Xhelp=true
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@2d58f9d3
URL: http://localhost:24848/__asadmin/_stop-instance?Xhelp=true
Using auth info: User: null, Password: <null>
Response Content-Type: text/xml
------- RAW METADATA RESPONSE ---------
<?xml version="1.0" encoding="UTF-8" standalone="no"?><action-report description="_stop-instance help" exit-code="SUCCESS"><message-part message=""><property name="GeneratedHelp" value="true"/><command name="_stop-instance"><option default="true" name="force" optional="true" type="BOOLEAN"/></command></message-part></action-report>
------- RAW METADATA RESPONSE ---------
fetchCommandModel: got command opts: com.sun.enterprise.admin.util.CommandModelData@2c79a2e7
doHttpCommand succeeds
Process program options
Parsing program options
Parse command options
params: {}
operands: []
Prevalidate command options
Inject command options
Validate command options
asadmin --host localhost --port 24848 --interactive=false --echo=false --terse=false _stop-instance --force=true
Execute command
doUpload set to false
URI: /__asadmin/_stop-instance
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@65b60280
URL: http://localhost:24848/__asadmin/_stop-instance
Using auth info: User: null, Password: <null>
------- RAW RESPONSE  ---------
Signature-Version: 1.0
message: _stop-instance launch successful%%%EOL%%%
use-main-children-attribute: false
exit-code: SUCCESS

------- RAW RESPONSE  ---------
PROCESSING MANIFEST...
doHttpCommand succeeds
Waiting for the instance to stop .
BUILD SUCCESSFUL
Total time: 30 seconds
..........................................................
Timed out (60 seconds) waiting for the domain to stop.
Command stop-local-instance failed.
server
Listing instances for ssmcluster
CLASSPATH= /export/hatester/as/glassfishv3/glassfish/bin/../modules/admin-cli.jar
Commands: [list-instances]
asadmin extension directory: /export/hatester/as/glassfishv3/glassfish/lib/asadmin
Assuming it's a remote command: list-instances
Prepare
Parsing program options
URI: /__asadmin/list-instances?Xhelp=true
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@6791d8c1
URL: http://localhost:4848/__asadmin/list-instances?Xhelp=true
Using auth info: User: null, Password: <null>
Response Content-Type: text/xml
------- RAW METADATA RESPONSE ---------
<?xml version="1.0" encoding="UTF-8" standalone="no"?><action-report description="list-instances help" exit-code="SUCCESS"><message-part message=""><property name="GeneratedHelp" value="true"/><command name="list-instances"><option default="false" name="long" optional="true" short="l" type="BOOLEAN"/><option default="2000" name="timeoutmsec" optional="true" type="STRING"/><option default="false" name="standaloneonly" optional="true" type="BOOLEAN"/><option default="false" name="nostatus" optional="true" type="BOOLEAN"/><operand max="1" min="0" name="whichTarget" type="STRING"/></command></message-part></action-report>
------- RAW METADATA RESPONSE ---------
fetchCommandModel: got command opts: com.sun.enterprise.admin.util.CommandModelData@17386918
doHttpCommand succeeds
Process program options
Parsing program options
Parse command options
params: {}
operands: []
Prevalidate command options
Inject command options
Validate command options
asadmin --host localhost --port 4848 --interactive=false --echo=false --terse=false list-instances --long=false --timeoutmsec 2000 --standaloneonly=false --nostatus=false
Execute command
doUpload set to false
URI: /__asadmin/list-instances
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@32ef2c60
URL: http://localhost:4848/__asadmin/list-instances
Using auth info: User: null, Password: <null>
------- RAW RESPONSE  ---------
Signature-Version: 1.0
message: ins01 running%%%EOL%%%ins02 not running%%%EOL%%%ins03 running
 %%%EOL%%%
use-main-children-attribute: false
exit-code: SUCCESS

------- RAW RESPONSE  ---------
PROCESSING MANIFEST...
doHttpCommand succeeds
ins01 running
ins02 not running
ins03 running

Command list-instances executed successfully.
server
Listing instances for ssmcluster
CLASSPATH= /export/hatester/as/glassfishv3/glassfish/bin/../modules/admin-cli.jar
Commands: [get-health, ssmcluster]
asadmin extension directory: /export/hatester/as/glassfishv3/glassfish/lib/asadmin
Assuming it's a remote command: get-health
Prepare
Parsing program options
URI: /__asadmin/get-health?Xhelp=true
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@182d9c06
URL: http://localhost:4848/__asadmin/get-health?Xhelp=true
Using auth info: User: null, Password: <null>
Response Content-Type: text/xml
------- RAW METADATA RESPONSE ---------
<?xml version="1.0" encoding="UTF-8" standalone="no"?><action-report description="get-health help" exit-code="SUCCESS"><message-part message=""><property name="GeneratedHelp" value="true"/><command name="get-health"><operand description="The name of the cluster for which you want the health information." max="1" min="1" name="clusterName" type="STRING"/></command></message-part></action-report>
------- RAW METADATA RESPONSE ---------
fetchCommandModel: got command opts: com.sun.enterprise.admin.util.CommandModelData@787bb290
doHttpCommand succeeds
Process program options
Parsing program options
Parse command options
params: {}
operands: [ssmcluster]
Prevalidate command options
Inject command options
Validate command options
asadmin --host localhost --port 4848 --interactive=false --echo=false --terse=false get-health ssmcluster
Execute command
doUpload set to false
URI: /__asadmin/get-health?DEFAULT=ssmcluster
URL: com.sun.enterprise.admin.util.HttpConnectorAddress@744a6cbf
URL: http://localhost:4848/__asadmin/get-health?DEFAULT=ssmcluster
Using auth info: User: null, Password: <null>
------- RAW RESPONSE  ---------
Signature-Version: 1.0
message: ins01 started since Thu Sep 23 11:29:58 PDT 2010%%%EOL%%%ins0
 2 started since Thu Sep 23 11:29:58 PDT 2010%%%EOL%%%ins03 started si
 nce Thu Sep 23 11:29:57 PDT 2010%%%EOL%%%
use-main-children-attribute: false
exit-code: SUCCESS

------- RAW RESPONSE  ---------
PROCESSING MANIFEST...
doHttpCommand succeeds
ins01 started since Thu Sep 23 11:29:58 PDT 2010
ins02 started since Thu Sep 23 11:29:58 PDT 2010
ins03 started since Thu Sep 23 11:29:57 PDT 2010

Command get-health executed successfully.