Tuesday, August 21, 2007

How to determine the master site in multisite


How to determine the master site in multisite

In ClearQuest multisite, we have only one master site. Many tasks should be acted in this site, such as make replica, import schema,change schema and so on. We have one command lsreplica to determine the master site in the multisite env.

Syntax of lsreplica
   multiutil lsreplica -cl.an name -site name -family name -u.ser username -p p.assowrd -working.master

For example
   multiutil lsreplica -clan productclan -site ZL -family CS2 -u admin -p 123456 -working

Then you can get the output like 'Multiutil:Working master site is XXX'. XXX is the master site.

But pls note that if we use Mastr in the family, it gets error message and says 'Multiutil: Error: Please log into a user db to figure out working master site.' That means you can only use the project name to get the master site instead of schema family name.

No comments: