Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After installing DPOD on the External Self-Service Console machine, follow the steps below:

  1. Stop DPOD components

  2. Ensure all components are down

  3. Disable some DPOD services:
    1. Edit (using vi) the file /etc/sysconfig/MonTier:
      Change the SERVICES section to the following: 

      Code Block
      RUN_FIRST_VERIFIER=""
      SERVICES_FIRST_GROUP="MonTier-AppAdmin MonTier-Derby"
      SERVICES_SECOND_GROUP=""
      SERVICES_THIRD_GROUP="MonTier-HK-ESRetention"
      SERVICES_FORTH_GROUP=""
      RUN_SECOND_VERIFIRE=""
      SERVICES_FIFTH_GROUP=""
      SERVICES_SIXTH_GROUP="MonTier-HK-WsmKeepalive"
      SERVICES_SEVENTH_GROUP="MonTier-UI MonTier-Reports"


    2. Execute the following commands

      Code Block
      sudo rm /etc/init.d/MonTier-SyslogAgent-* /etc/init.d/MonTier-WsmAgent-* /etc/init.d/MonTier-MessagingAgent-1 /etc/init.d/MonTier-es-raw-trans-Node-* /etc/init.d/MonTier-OpenSearchDashboards /etc/init.d/MonTier-HK-SyslogKeepalive /etc/init.d/MonTier-HK-WdpDeviceResources /etc/init.d/MonTier-HK-WdpServiceResources
      rm /app/services/MonTier-SyslogAgent-* /app/services/MonTier-WsmAgent-* /app/services/MonTier-MessagingAgent-1 /app/services/MonTier-es-raw-trans-Node-* /app/services/MonTier-OpenSearchDashboards /app/services/MonTier-HK-SyslogKeepalive /app/services/MonTier-HK-WdpDeviceResources /app/services/MonTier-HK-WdpServiceResources


  4. Change DPOD's Store entries in /etc/hosts to direct to DPOD Internal Console IP address (1.1.1.1 in the example below):

    Code Block
    1.1.1.1     montier-es
    1.1.1.1     montier-es-http


  5. Start configuration database service

    Code Block
    /app/scripts/start_services.sh -a start -p derby -o
    /app/scripts/execute_on_db.sh -c


  6. Update the SystemParameter SQL table:

    Code Block
    UPDATE SystemParameter
    SET value='false'
    WHERE name='agents.management.enabled';
    
    UPDATE SystemParameter
    SET value='false'
    WHERE name = 'system.internal_self_service.is_internal';
    
    UPDATE SystemParameter
    SET value='false'
    WHERE name = 'system.should_run_retention_on_startup';
    
    update HATSRECURRINGTASK set isEnabled='false' where taskType not in ('DATABASE_CLEANUP', 'FILE_CLEANUP', 'INTERNAL_ALERTS_CHECK_DERBY', 'INTERNAL_ALERTS_CHECK_FS_FREESPACE');
    
    quit;


  7. Update external server's encryption key:
    1. Copy the encryption key from internal server to the external server's temp folder - do not override servers encryption file:

      Code Block
      scp dpodadm@<internal server ip>:/app/keys/encryption.key /tmp/encryption.key


    2. Deploy the key using utility:

      Code Block
      /app/scripts/replace_encryption_key.sh --deploy /tmp/encryption.key


  8. Copy store keys from internal server and update retention cert

    Code Block
    scp dpodadm@<internal server ip>:/app/keys/store/* /app/keys/store/
    cp /app/keys/store/dpod-es-admin-keystore.p12 /app/hk_retention/MonTier-HK-ESRetention/conf/certs/dpod-es-admin-keystore.p12


  9. Update the configuration files for MonTier-HK-ESRetention, MonTier-UI, MonTier-Reports, MonTier-HK-WsmKeepalive
    Copy the configuration files from internal server
    This step should be preformed after each upgrade.

    Code Block
    scp dpodadm@<internal server ip>:/app/hk_retention/MonTier-HK-ESRetention/conf/MonTierHousekeeping.conf /app/hk_retention/MonTier-HK-ESRetention/conf/MonTierHousekeeping.conf
    scp dpodadm@<internal server ip>:/app/ui/MonTier-UI/conf/MonTierUI.conf /app/ui/MonTier-UI/conf/MonTierUI.conf
    scp dpodadm@<internal server ip>:/app/reports/MonTier-Reports/conf/MonTierReports.conf /app/reports/MonTier-Reports/conf/MonTierReports.conf
    scp dpodadm@<internal server ip>:/app/hk_keepalive/MonTier-HK-WsmKeepalive/conf/MonTierHousekeeping.conf /app/hk_keepalive/MonTier-HK-WsmKeepalive/conf/MonTierHousekeeping.conf

    Delete the following folders from /etc/init.d

    Code Block
    rm /etc/init.d/MonTier-SyslogAgent-* /etc/init.d/MonTier-WsmAgent-* /etc/init.d/MonTier-es-raw-trans-Node-* /etc/init.d/MonTier-OpenSearchDashboards /etc/init.d/MonTier-MessagingAgent-1


  10. Start DPOD components

  11. Ensure all components are up and running

    Code Block
    app_status.sh
    
    #Output Example:
    MonTier-AppAdmin (pid 7380) is running...
    MonTier-Derby (pid 4983) is running...
    MonTier-HK-ESRetention (pid 13576) is running...
    MonTier-HK-WsmKeepalive (pid 17724) is running...
    MonTier-UI (pid 16959) is running...
    MonTier-Reports (pid 17335) is running...
    


  12. If you wish to let the external self service users access the DevOps Services Portal, change the following system parameters in the external self service console

    (you can do that from Manage → Customize → System Parameters after the web console starts):
    1. Internal Self Service Address: Enter the address of the internal self service portal.
    2. Internal Self Service Webserver Port: (defaults to 443) The webserver port for the internal self service portal - change this value only if advised.

...