Clarity Service Management

Expand all | Collapse all

Trying to run pdm_configure to change some parameters like server

Jump to Best Answer
  • 1.  Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 10:23 AM

    I need to change the server to use service desk installed in a new machine.

    Running the pdm_configure , all is ok till the database setup.

    I receive a warning ask me to set the "old" server to inactive.

    The "old" server in this case is my production server.

    I try to modify the config.properties with the new information.

    I stop the service before , modify the file and start again.

    Would you please help me.

    Thx a lot. 



  • 2.  Re: Trying to run pdm_configure to change some parameters like server
    Best Answer

    Posted 10-26-2017 10:48 AM


  • 3.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 01:44 PM

    Hi Chi Chen, Tks for the answer. I cant see the administration System->Servers to open the server and change the name because somebody hide it at the customisation install. 

    So , I cant execute the solution. 



  • 4.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 02:03 PM

    Rubem, in that case you may need to temporary remove the customization or do that directly in usp_servers mdb table,

    as pointed out by Sefoudine. Thanks _Chi



  • 5.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 02:30 PM

    @rubem  - I would highly recommend that you create a superadmin role and give it the out of the box default administration menu tree for the sole reason for things like this, and if you ever wanted to add another server or reconfigure a server in the environment as currently you would not be able to do so, and we technically dont support doing this through the db directly.

    Aside from that, for this particular situation, you should be able to do it on the mdb directly and have it work for you.

    Thanks,

    Jon



  • 6.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 03:19 PM

    Good news. Your answer is correct. Problem fixed. Thank you so much.

    Regards,

    Rubem



  • 7.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 03:29 PM

    Thats great news Rubem!  Can you mark the post as correct when you get a chance.

    Thanks!

    Jon I.



  • 8.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 10:53 AM

    Hi Ruben,

    You can check usp_servers  table of the mdb

    and refer to

    https://support.ca.com/us/knowledge-base-articles.TEC613359.html

     

    Regards,



  • 9.  Re: Trying to run pdm_configure to change some parameters like server

    Posted 10-26-2017 02:59 PM

    Hi,

    I do recall a specific perl script for this purpose of changing server.

    the script is called checkSDMhost.pl under the bin folder.

    On windows you can initiate the script by using the checkSDMhost.bat file in the same bin folder

    My 2 cents

    /J

     

    # Description:
    #    Check SDM configuration to verify installed values for hostname, private
    #    IP address, and public DNS name match the actual values, and adjust
    #    them if necessary.  This allows an installed and configured SDM instance
    #    to be reployed on a new host, such as when a VM or EC2 instance is
    #    cloned.
    #
    #    Notes: (1) This script currently supports Windows only.
    #    - 10/10/10 - jegsh01 - Now supports Linux and Oracle installs
    #     - 10/10/10 - jegsh01 - Now tests environment for OS and DBType settings
    #           (2) BOXI support for changing hostname is incomplete and requires
    #               further testing, notably for changes to MySQL files (the
    #               commented-out data files ibdata1, ib_logfile0, and ib_logfile1)
    #               This support turned out not to be needed for EC2, which allows
    #               multiple instances to be launched with the same hostname.
    #           (3) This script assumes that NX_ROOT is in its environment and
    #               $NX_ROOT/bin is in the path. In Windows, this setup is
    #               performed by checkSDMhost.bat, which should be used to invoke
    #               this script.
    #
    #    Arguments:
    #      -c console mode
    #      -r Restore modified files (revert previous run)
    #      -t Time in seconds to wait for services to start (default 240)
    #
    #    Return code:
    #      0 - no changes made
    #      4 - files updated
    #     16 - execution error