このレッスンを実行して、現在のサービス・ランキングやアップグレードに 使用可能なサービス・ランキングを照会します。
cd wxs_home/bin
./xscmd.sh -c osgiCurrent -g Grid -ms MapSet -sn myShardListener
以下の出力が表示されます。
OSGi Service Name: myShardListener
ObjectGrid Name MapSet Name Server Name Current Ranking
--------------- ----------- ----------- ---------------
Grid MapSet collocatedServer 1
CWXSI0040I: The command osgiCurrent has completed successfully.
cd wxs_home/bin
./xscmd.sh -c osgiCurrent -g Grid -ms MapSet
以下の出力が表示されます。
OSGi Service Name Current Ranking ObjectGrid Name MapSet Name Server Name
----------------- --------------- --------------- ----------- -----------
myProtoBufSerializer 1 Grid MapSet collocatedServer
myShardListener 1 Grid MapSet collocatedServer
CWXSI0040I: The command osgiCurrent has completed successfully.
cd wxs_home/bin
./xscmd.sh -c osgiAll -sn myShardListener
以下の出力が表示されます。
Server: collocatedServer
OSGi Service Name Available Rankings
----------------- ------------------
myShardListener 1
Summary - All servers have the same service rankings.
CWXSI0040I: The command osgiAll has completed successfully.
出力はサーバー別に
グループ化されます。この例の場合は、サーバー collocatedServer しか存在しません。cd wxs_home/bin
./xscmd.sh -c osgiAll
以下の出力が表示されます。
Server: collocatedServer
OSGi Service Name Available Rankings
----------------- ------------------
myProtoBufSerializer 1
myShardListener 1
Summary - All servers have the same service rankings.
cd wxs_home/bin
./xscmd.sh -c osgiAll
以下の出力が表示されます。
Server: collocatedServer
OSGi Service Name Available Rankings
----------------- ------------------
myProtoBufSerializer 1, 2
myShardListener 1, 2
Summary - All servers have the same service rankings.
このチュートリアルでは、現在指定されているサービス・ランキングとすべての使用可能な サービス・ランキングを照会しました。また、インストールして開始した新規バンドルの サービス・ランキングも表示しました。