IBM E16RMLL-I Implementation Guide - Page 502
query, servergroup
![]() |
View all IBM E16RMLL-I manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 502 highlights
In Example 14-17 we create a new group and add two members. Use query servergroup to display information about server groups. Example 14-17 Defining a server group and members tsm: LOCHNESS_SERVER1>define servergroup redserv desc="Redbook SG24-5416 Server Group" ANR1673I Server group REDSERV defined successfully. tsm: LOCHNESS_SERVER1>define grpmember redserv atlantic, lochness ANR1674I Member ATLANTIC defined successfully in server group REDSERV. ANR1674I Member LOCHNESS defined successfully in server group REDSERV. tsm: LOCHNESS_SERVER1>q servergroup Server Group -----------REDSERV Members ATLANTIC LOCHNESS Description Redbook SG24-5416 Server Group Managing profile To use a server group for command routing, simply specify the group name followed by a colon (:), followed by the command you wish to run on each server in the group. Similarly, to route a command to a single server, specify the server name followed by a colon, followed by the command you wish to run. Example 14-18 shows routing commands to a single server, and a server group. Example 14-18 Remote command routing tsm: LOCHNESS_SERVER1>atlantic: q session ANR1699I Resolved ATLANTIC to 1 server(s) - issuing command Q SESSION against server(s). ANR1687I Output for command 'Q SESSION ' issued against server ATLANTIC follows: Sess Number ------ 415 Comm. Method -----Tcp/Ip Sess Wait State Time Run 0 S Bytes Sent ------157 Bytes Recvd ------195 Sess Type ----Admin Platform -------Windows Client Name ------------ADMIN ANR1688I Output for command 'Q SESSION ' issued against server ATLANTIC completed. ANR1694I Server ATLANTIC processed command 'Q SESSION ' and completed successfully. ANR1697I Command 'Q SESSION ' processed by 1 server(s): 1 successful, 0 with warnings, and 0 with errors. tsm: LOCHNESS_SERVER1>redserv: q db ANR1699I Resolved REDSERV to 2 server(s) - issuing command Q DB against 472 IBM Tivoli Storage Manager Implementation Guide
![](/manual_guide/products/ibm-e16rmlli-implementation-guide-3588123/502.png)