Product | Command type |
---|---|
MultiSite | multiutil subcommand |
Platform |
---|
UNIX |
Windows |
[ –cl/an clan-name ] [ –site site-name ] –fam/ily family-name
–u/ser username [–p/assword] password [–l/ong | –s/hort |
–fmu_ format ]
[–sib/lings | [ –sib/lings]
–infa/mily family-name | replica ... ]
[ –cl/an clan-name ] [ –site site-name ] –fam/ily family-name
–u/ser username [–p/assword] password –working/master
This command lists information about all active replicas known to the current replica. You can list all replicas in a clan or in a family within a clan. Other replicas may exist, but the packets that contain their creation information have not yet been imported at the current replica.
You must have Super User privileges.
Site: Current site. If there is more than one site on this host, –site is required.
Family: No default; you must specify a family.
Schema repository family: The family name is MASTR.
You can use the –siblings option or the –siblings –infamily options to list the replicas in a specific family within the clan, as known to your schema repository.
Unlike printf() specifiers, conversion specifications are not replaced by arguments supplied elsewhere on the command line; they are replaced automatically by multiutil with field values extracted from the replica.
format-string is a character string composed of alphanumeric characters, conversion specifications, and escape sequences. It must be enclosed in double quotes ( " ).
Conversion specifications:
Escape sequences:
In these examples, the lines are broken for readability. You must enter each command on a single physical line. Ignore the NOT CONNECTED status in the listing; this value is for internal use by IBM®.
multiutil lsreplica -clan telecomm -site boston_hub -family DEV
-user susan -p passwd -long
Name: BOSTON_HUB; Clan: TELECOMM; Family: DEV; Host: minuteman;
Status: NORMAL, NOT CONNECTED;
Description: ; Block Size: 4096; Block Threshold: 1024
Name: SANFRAN_HUB; Clan: TELECOMM; Family: DEV; Host: goldengate;
Status: NORMAL, NOT CONNECTED;
Description: ; Block Size: 4096; Block Threshold: 1024
Name: BANGALORE; Clan: TELECOMM; Family: DEV; Host: ramohalli;
Status: NORMAL, NOT CONNECTED;
Description: ; Block Size: 4096; Block Threshold: 1024
multiutil lsreplica -clan telecomm -site boston_hub -family DEV
-user susan -p passwd -long –siblings
Name: SANFRAN_HUB; Clan: TELECOMM; Family: DEV; Host: goldengate;
Status: NORMAL, NOT CONNECTED;
Description: ; Block Size: 4096; Block Threshold: 1024
Name: BANGALORE; Clan: TELECOMM; Family: DEV; Host: ramohalli;
Status: NORMAL, NOT CONNECTED;
Description: ; Block Size: 4096; Block Threshold: 1024
multiutil lsreplica -clan telecomm -site boston_hub -family MASTR
-user susan -p passwd -long -siblings
Name: SANFRAN_HUB; Clan: TELECOMM; Family: MASTR; Host: goldengate;
Status: NORMAL, NOT CONNECTED;
Description: ;Block Size: 4096; Block Threshold: 1024
Name: SANFRAN_HUB; Clan: TELECOMM; Family: DEV; Host: goldengate;
Status: NORMAL, NOT CONNECTED;
Description: ;Block Size: 4096; Block Threshold: 1024
Name: BANGALORE; Clan: TELECOMM; Family: MASTR; Host: ramohalli;
Status: NORMAL, NOT CONNECTED;
Description:; Block Size: 4096; Block Threshold: 1024
Name: BANGALORE; Clan: TELECOMM; Family: DOC; Host: ramohalli;
Status: NORMAL, NOT CONNECTED;
Description: ;Block Size: 4096; Block Threshold: 1024
multiutil lsreplica -clan testclan -site sydney -family MASTR
-user bfife -p passwd -long -infamily TEST
Name: TOKYO; Clan: TESTING; Family: TEST; Host: shinjuku;
Status: NORMAL, NOT CONNECTED; Description:
; Block Size: 4096; Block Threshold: 1024
Name: SYDNEY; Clan: TESTING; Family: TEST; Host: taronga;
Status: NORMAL, NOT CONNECTED; Description:
; Block Size: 4096; Block Threshold: 1024
multiutil lsreplica -clan testclan -site sydney -family DEV
-user bfife -workingmaster
multiutil lsreplica -clan testing -site tokyo -family TEST
-user masako -password passwd -fmu_ "Name:%n; Clan:%c; Family:%f; Host:%h;
Status:%s;"
Name:TOKYO; Clan:TESTING; Family:TEST; Host:shinjuku; Status:
NORMAL, NOT CONNECTED; Name:SYDNEY; Clan:TESTING; Family:TEST;
Host:taronga; Status:NORMAL, NOT CONNECTED;