DWP A - Cloning and Restoring MyIT-SmartIT Environments

Version 8
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MyIT Digital Workplace


    COMPONENT:

    Digital Workplace


    APPLIES TO:

    From MyIT 3.3 to MyIT 18.02 This can also work for SmartIT 2.0 and 1.6 when installed with DWP 18.02/3.5 For 18.05 and beyond check KA 000169175 Don't use when: DWP 18.05 and beyond are installed on the same Tomcat as SmartIT 2.0, SmartIT 1.6



    QUESTION:

    What are the things I need to check and update when cloning and restoring MyIT/DWP into a new Environment?


    ANSWER:

     

    A) ITSM Side

      

     
    1) Go to
     
    /MyIT+Administration+Console/MobilityConsole
     
    Application Fly-out: Under Applications
     
    Make sure that all the Applications -You can ignore Service Availability Provider and HRCM(if not installed)- have the right AR Server/Loadbalancer in the Data Store Drop Down Menu
     
     
    Application Fly-out:  Under Persistent Data Stores Menu
     
     
    There should be one Persistent Data Store having the right/current AR Server Name. Make sure Port/User/Password are right. Click Save if any changes. Data Store Type should be AR Server.
     
     
    2) Go to /SHR:SHR_KeyStore Form
     
    Do a search
     
    1) Take note of Secret and Token. You will need it for further steps.
    2) Update hostname if needed, it should match the new Environment.
     

      

     
     
    B)Tomcat Side
     
     

      

    1) Check the below file
     
    /opt/apache/tomcat8.5/conf/Catalina/localhost/ux.xml 
     
    Open it and update the SQL/Oracle database details as needed.
     
    2) Edit the below file
     
    /opt/apache/tomcat8.5/external-conf/connect.properties
     
    You should be able to see a few lines like this at the bottom:
     
    api.token.                                               -- Step A.2.1 ~ Compare the values and update as needed
     
    myit.server.host=
    myit.server.port=

     
    Update as needed

      

     
     
     
     
    C) SQL/ORACLE Side
     
     

      

    Check that the cloned database has the new/right AR Server Name/Port/Password references. If not, update:
     
    1) AR Server
     
    select * from SmartIT_System.CONFIGURATION_PARAMETER where NAME ='connect.arsystem.hostName' and VALUE = <Primary AR server name>  --this one is to check what the actual value is
     
    update SmartIT_System.CONFIGURATION_PARAMETER SET VALUE = <AR LB Name> where NAME ='connect.arsystem.hostName' and VALUE = <Primary AR server name> -- this is how you fix it
     
     
    2) Port
     
    Select * from SmartIT_System.CONFIGURATION_PARAMETER where NAME ='connect.arsystem.port' and VALUE = <Primary AR Server Port> --this one is to check what the actual value is
     
    update SmartIT_System.CONFIGURATION_PARAMETER SET VALUE = <AR LB Port Number> where NAME ='connect.arsystem.port' and VALUE = <Primary AR Port> -- this is how you fix it

      

     
     
    3) AR System Password
     

      
       
    • Select * from SmartIT_System.CONFIGURATION_PARAMETER where NAME ='connect.arsystem.password' and VALUE = <password> --this one is to check what the actual value is
    •  
    • update SmartIT_System.CONFIGURATION_PARAMETER SET VALUE = <new password> where NAME ='connect.arsystem.password' and VALUE = <password> -- this is how you fix it
      

     
     
    PROD and cloned encrypted passwords should match. If you need to reset it
     
    If the password has changed then password has to be encrypted. for this you have to use SmartIT MyIT Installment Utility.
     
        Go To : Program files -> BMC Software -> SmartIT/MyIT ->SmartITMaintTool -> SmartIT Maintenance Tool -> Right Click, run that as an administrator -> click on encrypt tab -> encrypt the password

        Copy/Paste it and update with the above queries.
             

      

                   
    D) Social/Mongo
     

      

    Open the below file
     
    /opt/bmc/Smart_IT_MyIT/Smart_IT_MyIT/social/config.js

    And edit mongo db host/port/credentials as needed

      

     
     
    E) MyIT Admin Console Side
     

      

    Update the Pluggable Providers under

    /ux/admin/configuration/features.html
     
    With the right AR Server, port and credentials where needed.

      

     
    F) Mobile Apps
     

      

    If you are using mobile apps on your cloned enviroment, make sure to update the info.plist if needed
    https://docs.bmc.com/docs/display/dwpbas1802/Deploying+clients

      

     
     
    F) RSSO

      

    You might also need to edit/reinstall RSSO and edit the rsso-agent.properties, sso-sdk.properties and update the ignore-tenant=true and the RSSO Admin Console URl too.

      



     
    NOTE: If anything was updated, please stop/start (in this order)

      

    Stop Order

      

    1.- Tomcat
    2.-  Social
    3. - Mongo

    Start Order

    1.- Mongo
    2.- Social
    3.- Tomcat

      



    Confirm everything's working, if not. Collect the below logs in debug mode and reach out to BMC Support.

    MyIT: ux.log, ux-metadata

      

    Tomcat:catalina,log, local_host

     


    Article Number:

    000163961


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles