Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 6 of 6

Thread: Running two SM7.00 Instances on one server?

  1. #1
    Junior Member omfortes's Avatar
    Join Date
    Feb 2007
    Location
    Cape Town, SA
    Posts
    19

    Default Running two SM7.00 Instances on one server?

    Hi Guys,

    We are currently facing an issue trying to run two instances SM application server on one box. With the previous installations you had the option of Renaming the Windows Service and then referencing it in your sc.ini file. With SM7.00 installation, as you may have noticed, there is no way to rename the smservice.exe that installs. If you have an environment with two or three seperate servers this would not be an issue but because we running our QA and DEV on one box we have this problem. Upon the installation, the one will always take presidence over the other.

    Please help.....

  2. #2
    Senior Member benvargas's Avatar
    Join Date
    Apr 2005
    Location
    San Diego, CA USA
    Posts
    194

    Default

    Now that the console is no longer used, and since the service starts the server, what if you talked to your Windows Sys Admin about renaming the service. A quick Google shows that this may be possible with some "Windows Resource Kit" or something like that - there may be third party apps that will due it as well (I'm guessing it is a registry mod).

    This is all a guess though, I've never tried it as I have separate virtual environments that I do my dev work in.

  3. #3
    Junior Member lbrand's Avatar
    Join Date
    Dec 2002
    Location
    The Netherlands
    Posts
    5

    Default

    What you can do is the following:

    - copy the everything below the directory level of the installation folder to a new instance folder. so if your installation folder is 'C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server' then copy the 'Server' folder with everything in it to a 'C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server_1' folder
    - in the 'Server_1\RUN' directory you modify the sc.ini so that the parameter 'ntservice:' says 'ntservice:ServiceCenter_1'. Save the sc.ini
    - open a command prompt and change to the 'C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server_1\RUN' folder
    - type the following command 'scservice -install'. this will create a new service called 'servicecenter_1'

    Now you will have 2 seperate instances running on one box. You can create as many as you like by repeating the steps above.

  4. #4
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Did you notice the title of the thread ?

    Have you tried this with Service Manager 7 ?


    Quote Originally Posted by lbrand View Post
    What you can do is the following:

    - copy the everything below the directory level of the installation folder to a new instance folder. so if your installation folder is 'C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server' then copy the 'Server' folder with everything in it to a 'C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server_1' folder
    - in the 'Server_1\RUN' directory you modify the sc.ini so that the parameter 'ntservice:' says 'ntservice:ServiceCenter_1'. Save the sc.ini
    - open a command prompt and change to the 'C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server_1\RUN' folder
    - type the following command 'scservice -install'. this will create a new service called 'servicecenter_1'

    Now you will have 2 seperate instances running on one box. You can create as many as you like by repeating the steps above.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  5. #5
    Junior Member
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    2

    Default

    Replace "C:\Program Files\Peregrine\ServiceCenter\6.2.2\Server\sc.ini" in above text with "C:\Program Files\HP\Service Manager 7.00\Server\RUN\sm.ini" and it will work.

    If there is no ntservice defined SM will use the default.

  6. #6
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Just to confirm. I just tried this. Remember to change the paths and scservice is called smservice in SM7.

    It worked however I do see a potential issue with licensing. With the new license file which is stored in c:\program files\Common Files\Hewlett-Packard\HPOvLIC\data\LicFile.txt. For example it would be a problem to have production and test on the same server since you can only have one production instance. If test is installed on the same server it will use the production license.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts