Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What is share-root in scm start daemon ?

In the scm daemon start manual,

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_daemon_start.html

There is a description,

share-root
A path to the root of a shared portion of the filesystem. Optional.

Questions are:

1. What is share-root ?
2. What is the purpose of this ?
3. What is the default value (when user did not specify) ?

The last one is required to stop daemon "scm daemon stop" as it says,


>scm daemon stop
Problem running 'daemon' 'stop':
Must specify one of [b]--share-root[/b] and --port. Try 'scm help daemon' 'stop' for more information.


As message tells, user have to specify --share-root. I've confirmed it is possible to stop just by --port (from the list of scm list daemon).

0 votes



One answer

Permanent link
Whenever you run 'lscm' say on a sandbox, a scm daemon process is started (or connects to an available daemon) and the sandbox root folder is added to the sandbox list tracked by the daemon.

Alternatively, you could start the daemon by running 'scm start daemon' which will start a daemon process but will not be tracking any sandboxes. 'scm start daemon share-root' will start a daemon process and will track the sandbox root.

You can run 'scm ls daemon' to list the daemons available and it will also show the sandboxes the daemon is tracking.

$ scm ls daemon
scm daemon stop -p Port Description
53179 Jazz CLI (2.1.0.201105051431)
/workspace/jazzdev
45286 Jazz CLI (2.1.0.v20110506_2056)
/test/aa
50607 Jazz CLI (2.1.0.v20110506_2056)
/test/bb


In the scm daemon start manual,

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_daemon_start.html

There is a description,

share-root
A path to the root of a shared portion of the filesystem. Optional.

Questions are:

1. What is share-root ?
2. What is the purpose of this ?
3. What is the default value (when user did not specify) ?

The last one is required to stop daemon "scm daemon stop" as it says,


>scm daemon stop
Problem running 'daemon' 'stop':
Must specify one of [b]--share-root[/b] and --port. Try 'scm help daemon' 'stop' for more information.


As message tells, user have to specify --share-root. I've confirmed it is possible to stop just by --port (from the list of scm list daemon).

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 12 '11, 1:04 a.m.

Question was seen: 5,939 times

Last updated: May 12 '11, 1:04 a.m.

Confirmation Cancel Confirm