xsadmin tool to xscmd tool migration
In previous releases, the xsadmin tool was a sample command-line utility to monitor the state of the environment. The xscmd tool has been introduced as an officially supported administrative and monitoring command-line tool. If you were previously using the xsadmin tool, consider migrating your commands to the new xscmd tool.
Important: The xsadmin utility has now
been deprecated. Use the xscmd utility instead. The xscmd
utility is provided as a supported utility for monitoring and administering your environment. For
more information, see Administering with the xscmd utility.
xsadmin and xscmd command equivalents
xsadmin Command Line Argument | xscmd Equivalent Command | xscmd Command Parameters |
---|---|---|
-bp |
|
n/a |
-ch |
|
n/a |
-clear | -c clearGrid | -g, -ms, -v, -m, (-cep) |
-containers |
|
-e, -i, , -st, -snp, -ct, -s, -p, -hf, -z, -g, -m, -ms |
-continuous | n/a | n/a |
-coregroups |
|
n/a |
-dismissLink <catalog_service_domain> | -c dismissLink |
|
-dmgr | n/a - this argument is automatically determined with xscmd | n/a |
-empties | arg specific to a new command | n/a |
-establishLink <foreign_domain_name> <host1:port1,host2:port2...> | -c establishLink |
|
-fc |
|
n/a |
-fh |
|
n/a |
-fm |
|
n/a |
-fnp |
|
n/a |
-fp |
|
n/a |
-fs |
|
n/a |
-fst |
|
n/a |
-fz |
|
n/a |
-force | arg specific to a new command | |
-g |
|
n/a |
-getstatsspec | -c getStatsSpec | n/a |
-getTraceSpec | -c getTraceSpec | n/a |
-h | You can run help with or without a specific
command name:
|
n/a |
-hosts | -c listHosts | -g, -ms, -st, -c, -s, -hf, -z |
-jmxUrl |
|
n/a |
-l | -c listObjectGridNames | n/a |
-m |
|
n/a |
-mapsizes | -c showMapSizes | -g, -ms, -i, [-ct, -z, -s, -hf, sht [P,A,S], -p] |
-mbeanservers | -c listAllJMXAddresses | n/a |
-overridequorum | -c overrideQuorum | n/a |
-password |
|
n/a |
-p |
|
n/a |
-placementStatus | -c placementServiceStatus | -g, -ms |
-primaries | -c showPlacement -sf P | -e, -i, , -st, -snp, -ct, -s, -p, -hf, -z, -g, -m, -ms |
-profile | To save the current security settings as
a security profile:
|
|
-quorumstatus | -c showQuorumStatus | n/a |
-releaseShard <container_server_name> <objectgrid_name> <map_set_name> <partition_name> | -c releaseShard | -c, -g, -ms, -p |
-reserved |
|
n/a |
-reserveShard <container_server_name> <objectgrid_name> <map_set_name> <partition_name> | -c reserveShard | -c, -g, -ms, -p |
-resumeBalancing <objectgrid_name> <map_set_name> | -c resumeBalancing | -g, -ms |
-revisions | -c revisions | -s,-p,-g,-m |
-routetable | -c routetable | -z, -hf,-p,-g,-ms |
-settracespec <trace_string> | -c setTraceSpec | -spec <trace_string> |
-swapShardWithPrimary <container_server_name> <objectgrid_name> <map_set_name> <partition_name> | -c swapShardWithPrimary | -c -g, -ms, -p |
-setstatsspec <stats_spec> | -c setStatsSpec | -spec <stats_spec> |
-suspendBalancing <objectgrid_name> <map_set_name> | -c suspendBalancing | -g, -ms |
-ssl |
|
n/a |
-teardown | -c teardown | -f, , -st, -snp, -c, -s, -p, -hf, -z, -g, -ms, -m |
-triggerPlacement | -c triggerPlacement | -g, -ms |
-trustPass |
|
n/a |
-trustPath |
|
n/a |
-trustType |
|
n/a |
-unassigned | -c showPlacement -sf U | -e, -i, , -st, -snp, -ct, -s, -p, -hf, -z, -g, -m, -ms |
-username |
|
n/a |
-v |
|
n/a |
-xml | -c showPlacement | n/a |