xsadmin 工具至 xscmd 工具移轉

在舊版中,xsadmin 工具是用來監視環境狀態的範例指令行公用程式。 xscmd 工具已作為官方支援的管理及監視指令行工具予以引入。如果先前使用 xsadmin 工具,請考量將指令移轉至新的 xscmd 工具。

xsadminxscmd 指令對等項目

表 1. xsadmin 公用程式和 xscmd 對等指令的引數. 部分 xscmd 指令具有簡短形式和長形式。簡短形式指令具有一條橫線 (-),長形式指令具有兩條橫線 (--)。您可以交互使用任何一種形式。
xsadmin 指令行引數 xscmd 對等指令 xscmd 指令參數
-bp
  • -cep hostname:listener_port
  • --catalogEndpoint hostname:listener_port
N/A(無法使用)
-ch
  • -cep hostname:listener_port
  • --catalogEndpoint hostname:listener_port
N/A(無法使用)
-clear -c clearGrid -g、-ms、-v、-m 和 (-cep)
-containers
  • -c listCoreGroups
  • -c listCoreGroupMembers -cg core_group
-e、-i、-st、-snp、-ct、-s、-p、-hf、-z、-g、-m 和 -ms
-continuous N/A(無法使用) N/A(無法使用)
-coregroups
  • -c listCoreGroups
  • -c listCoreGroupMembers -cg core_group
N/A(無法使用)
-dismissLink <catalog_service_domain> -c dismissLink
  • -fd <foreignCatalogServiceDomain>
  • --foreignCatalogServiceDomain <foreignCatalogServiceDomain>
-dmgr 不適用 - 此引數由 xscmd 自動判定 N/A(無法使用)
-empties 新指令專屬的引數 N/A(無法使用)
-establishLink <foreign_domain_name> <host1:port1,host2:port2...> -c establishLink
  • -fd <foreignCatalogServiceDomain> -fe <host1:port1,host2:port2...>
  • --foreignCatalogServiceDomain <foreignCatalogServiceDomain> -foreignEndPoints <host1:port1,host2:port2...>
-fc
  • -ct
  • --container
N/A(無法使用)
-fh
  • -hf
  • --hostFilter
N/A(無法使用)
-fm
  • -m
  • --map
N/A(無法使用)
-fnp
  • -snp
  • --serversWithNoPrimaries
N/A(無法使用)
-fp
  • -p
  • --partitionId
N/A(無法使用)
-fs
  • -s
  • --server
N/A(無法使用)
-fst
  • -st <shard_type>
  • --shardType <shard_type>
Shard 值:P=primary A=asyncReplica S=syncReplica
N/A(無法使用)
-fz
  • -z
  • --zone
N/A(無法使用)
-force 新指令專屬的引數  
-g
  • -g
  • --objectGrid
N/A(無法使用)
-getstatsspec -c getStatsSpec N/A(無法使用)
-getTraceSpec -c getTraceSpec N/A(無法使用)
-h 您可以使用或不使用特定的指令名稱來執行說明:
  • -h
  • --help
  • -h <command_name>
  • --help <command_name>
N/A(無法使用)
-hosts -c listHosts -g、-ms、-st、-c、-s、-hf 和 -z
-jmxUrl
  • -cep hostname:listener_port
  • --catalogEndpoint hostname:listener_port
N/A(無法使用)
-l -c listObjectGridNames N/A(無法使用)
-m
  • -ms
  • --mapSet
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
  • -pwd
  • --password
N/A(無法使用)
-p
  • -cep hostname:listener_port
  • --catalogEndpoint hostname:listener_port
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 若要將現行安全設定另存為安全設定檔,請執行下列指令:
  • -ssp profile_name
  • --saveSecProfile profile_name
若要使用指定的安全設定檔,請執行下列指令:
  • -sp profile_name
  • --securityProfile profile_name
 
-quorumstatus -c showQuorumStatus N/A(無法使用)
-releaseShard
小心: 這個指令行引數不適用於 WebSphere® DataPower® XC10 Appliance 配置。
-c releaseShard
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c、-g、-ms 和 -p
-reserved
  • -sf R
  • --shardFilter R
N/A(無法使用)
-reserveShard
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c reserveShard
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c、-g、-ms 和 -p
-resumeBalancing <objectgrid_name> <map_set_name>
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c resumeBalancing
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-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
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c swapShardWithPrimary
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c、-g、-ms 和 -p
-setstatsspec <stats_spec> -c setStatsSpec -spec <stats_spec>
-suspendBalancing <objectgrid_name> <map_set_name>
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c suspendBalancing
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-g 和 -ms
-ssl
  • -ssl
  • --enableSSL
N/A(無法使用)
-teardown
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c teardown
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-f、-st、-snp、-c、-s、-p、-hf、-z、-g、-ms 和 -m
-triggerPlacement
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-c triggerPlacement
小心: 這個指令行引數不適用於 WebSphere DataPower XC10 Appliance 配置。
-g 和 -ms
-trustPass
  • -tsp
  • --trustStorePassword
N/A(無法使用)
-trustPath
  • -ts
  • --trustStore
N/A(無法使用)
-trustType
  • -tst
  • --trustStoreType
N/A(無法使用)
-unassigned -c showPlacement -sf U -e、-i、-st、-snp、-ct、-s、-p、-hf、-z、-g、-m 和 -ms
-username
  • -user
  • --username
N/A(無法使用)
-v
  • -v
  • --verbose
N/A(無法使用)
-xml -c showPlacement N/A(無法使用)