5.1 Upgrading Standalone CIS Server

The detailed instructions for upgrading a standalone CIS server are provided in the following video:

5.1.1 Prerequisites on Source Server

  • Source Server: OES 2018 SP3 or OES 2023.

  • Ensure that the CIS server is upgraded to OES 23.4.

5.1.2 Upgrading to OES 23.4 Server

  1. Follow the step-by-step instructions for upgrading to OES 23.4 server. For more information, see Upgrading OES in the OES 23.4: Installation Guide.

  2. If CIS is configured on /root, /home or /media/nss/VOL1 (non-clustered), the path is mounted.

    If CIS is configured on a cluster volume (for example, /media/nss/CLUS_VOL), then verify if the cluster volume is mounted. If not, then mount the cluster volume manually.

  3. Ensure the configurationStatus.json and status.json file is available in the /etc/opt/novell/cis/ folder.

    Verify if key-value pair "cisConfigSuccess": true is present in both the files. Do not proceed if this is not available contact OpenText for further information.

  4. Execute the following command to upgrade the CIS services:

    sh /opt/novell/cis/bin/cis_upgrade.sh

    On successful execution of upgrade script, a few of the CIS services are stopped.

  5. Ensure that the database configured for CIS is up and running.

    1. If it is a local database, verify the status of the database service:

      systemctl status mysql.service

    2. If the database is down, then enable and restart it:

      systemctl enable mysql.service

      systemctl restart mysql.service

  6. Verify the status of the CIS Infra services. If not running, then start the services.

    /root or /home or /media/nss/VOL1 (non clustered):

    systemctl status oes-cis-zk.service oes-cis-opensearch.service oes-cis-kafka.service

    Start the logging and configuration services.

    systemctl start oes-cis-fluentbit.service oes-cis-configuration.service

    Start the Core services.

    systemctl restart oes-cis-server.target

  7. Ensure all the CIS services are running, by executing the following command:

    docker ps -a

    This displays the status of all the CIS services.

  8. Verify the health of the CIS server.

    cishealth

    When the status displays “Healthy”, then the CIS server is successfully upgraded.

    NOTE:The upgrade takes time to complete depending on the size of the database getting migrated from the earlier version of OES server. During this phase, the CIS health might display the status of some services as “Not Healthy” because the scanned data is getting updated. On completing the update, the health status changes to “Healthy”.

  9. Restart the agent services.

    systemctl restart oes-core-agent.service oes-dashboard-agent.service oes-cis-agent.service oes-cis-recall-agent.service oes-cis-scanner.service

    systemctl status oes-core-agent.service oes-dashboard-agent.service oes-cis-agent.service oes-cis-recall-agent.service oes-cis-scanner.service

5.1.3 Data Transfer from Elasticsearch to OpenSearch

The CIS Admin Console's Insights and Dashboard pages are not displaying any data since elasticsearch stores the data of these pages.

To transfer the data from Elasticsearch to OpenSearch, complete the following steps:

  1. Ensure to have completed procedure mentioned in Section 5.1.2, Upgrading to OES 23.4 Server.

    NOTE:(Conditional) If CIS is configured on a cluster volume (for example, /media/nss/CLUS_VOL), then verify if the cluster volume is mounted. If not, then mount the cluster volume manually.

  2. Verify the status of the Elasticsearch. If not running, restart the service.

    systemctl status oes-cis-elastic.service

    systemctl restart oes-cis-elastic.service

  3. Verify the health of CIS.

    cishealth

    Before proceeding ensure CIS is healthy.

  4. Move data from the Elasticsearch to OpenSearch:

    sh /opt/novell/cis/bin/elastic_move_data.sh migrate

    You can verify the logs at

    /var/opt/novell/log/cis/cis_opensearch_move__<timestamp>.log

    NOTE:The duration of the migration can be prolonged depending on the data saved in Elasticsearch.

  5. Verify the data migration count.

    sh /opt/novell/cis/bin/elastic_move_data.sh verify

  6. On successfully transferring the data, the Insights and Dashboard pages of the CIS Admin Console will populate the existing data.

  7. Cleanup the Elasticsearch data.

    sh /opt/novell/cis/bin/elastic_move_data.sh cleanup

/media/nss/CLUS_VOL (clustered volumes): Replace the oes-cis-elastic.service with the oes-cis-opensearch.service in the Load, Unload, and Monitor script. For more information, see Modifying the Load, Unload, and Monitor Scripts. This ensures all the required services start on bringing the resource online.