- changed status to open
-
assigned issue to
Instancias do SCM-Manager
Is it possible to create multiple instances of SCM-Manager? End how I would do these instances? Thank you very much!
Comments (10)
-
-
Why you would do that?
-
Because I need to separate the repositories, for example: repositories X: A B repositories Y: C D repositories Z: E F
Thank you!
-
It is possible, but it is a little bit complicated. Which OS do you use?
-
CentOS 6.2
-
What you mean with separation? Just for overview? You could use the grouping feature of scm-manager. Create the repositories with a prefix:
- X/A
- X/B
- Y/C
- Y/D
- Z/E
- Z/F
-
For running multiple instances on the same machine, do the following steps:
- Each instance have to use a own scm-home directory. Edit bin/scm-server and search the line:
EXTRA_JVM_ARGUMENTS="-Dlogback.configurationFile=logging.xml"
- And replace it with something like this:
EXTRA_JVM_ARGUMENTS="-Dlogback.configurationFile=logging.xml -Dscm.home=/var/scm/instance1"
- Each instance have to use its own port. Edit the conf/server-config.xml and search the line:
<SystemProperty name="jetty.port" default="8080" />
- And replace the port with a new free port
-
My situation is that I need that one person is responsible for each area of repositories. This person can only create repositories for this area.
I'll try to do what you said.
-
Thank Sabastian, worked perfectly! However I have one more question, can I create two profiles of administrators? Administrator 1: all permissions configuration; Administrator 2: not allowed to change the configuration of the scm manager only has permission to create repositories and users;
Thank you so much!
-
- changed status to resolved
Have a look at
#197. - Log in to comment
It is possible that you create an bitbucket account? because the notification system of bitbucket does not notify on anonymous comments.