The scenario is i have 2 servers server1(vob server & registry server) & server2 (view server). I am trying to create storage locations and i was successful in creating the vobstorage location on server1. But when i run the below command on server1,
/usr/atria/bin/cleartool mkstgloc -view -force -host server2 -hpath /viewstorage -gpath /viewstorage viewstg /viewstorage
I am getting the below message.
cleartool: Warning: Storage pathname "/" may not reside on host "server2".
cleartool: Error: Must be run on server storage location's host.
cleartool: Error: Unable to create server storage location.
I ran the same command on server2 and i could create the storage location, however when i use lsstgloc to list the storage locations, i am unable to view both the locations
Am i doing something wrong here?
This topic has been locked.
Pinned topic Defining Storage Locations
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Defining Storage Locations2013-01-25T18:45:15ZThis is the accepted answer. This is the accepted answer.// however when i use lsstgloc to list the storage locations, i am unable to view both the locations
I might be wrong, but it looks like server1 and server2 are not sharing the same registry server or using different network regions.
Re: Defining Storage Locations2013-01-26T23:35:40ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
BTW, is the view store mounted as /viewstorage on all ClearCase clients? In order to be used as a global path, it should be available on all hosts this way.
Re: Defining Storage Locations2013-01-26T23:42:49ZThis is the accepted answer. This is the accepted answer.
Re: Defining Storage Locations2013-01-27T13:32:32ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
The easiest way would be to use automounter with dynamic -hosts map. In this case, there is no need to mount NFS shares in advance. If the storage directory is shared on the server, it can be accessed from any allowed client on demand via /net/<host>/<path_on_the_host> path.
Re: Defining Storage Locations2013-01-27T14:29:12ZThis is the accepted answer. This is the accepted answer.
- pdubovitsky 100000N35Y
> The easiest way would be to use automounter with dynamic -hosts map.
Just do not use soft mounts, i.e. make sure that once mounted, the mounts don't get dropped.
Issues raised by automounters are difficult to trace, because they depend on the context: error, delay, or timeout...