Overview
Use this procedure to check the status of your system and Postgres database before upgrading Cisco IoT FND on OVA. Verifying these statuses ensures that all necessary services are running before you proceed with the upgrade process.
Performing this task helps you verify the system and database status before upgrading Cisco IoT FND on OVA.
Before you begin
-
Take a snapshot of the existing VM before you upgrade.
-
Perform a backup of cgms.properties file and cgms_keystore file in the location, /opt/fnd/data/. You can either SCP these files to another server for backup or you can copy in the same or different folder. Here's an example:
root@iot-fnd:~[root@iot-fnd ~]# root@iot-fnd:~[root@iot-fnd ~]# cd /opt/fnd/data root@iot-fnd:/opt/fnd/data[root@iot-fnd data]# root@iot-fnd:/opt/fnd/data[root@iot-fnd data]#ls cgms_keystore cgms.properties cisco-sudi-ca.pem userPropertyTypes.xml root@iot-fnd:/opt/fnd/data[root@iot-fnd data]# root@iot-fnd:/opt/fnd/data[root@iot-fnd data]# cp cgms.properties cgms.properties_backup_09May2025 [root@iot-fnd data]# keytool -importkeystore -srckeystore cgms_keystore -destkeystore cgms_keystore_backup_9May2022 -deststoretype PKCS12 Importing keystore cgms_keystore to cgms_keystore_backup_9May2022... Enter destination keystore password: Re-enter new password: Enter source keystore password: Entry for alias cgms successfully imported. Entry for alias cisco_sudi successfully imported. Entry for alias jmarconi successfully imported. Import command completed: 3 entries successfully imported, 0 entries failed or cancelled [root@iot-fnd data]# [root@iot-fnd data]# ls cgms_keystore cgms_keystore.selfsigned cgms.properties_backup_09May2022 fnd_psk.keystore cgms_keystore_backup_9May2025 cgms.properties cisco-sudi-ca.pem userPropertyTypes.xml [root@iot-fnd data]# -
Ensure that the Postgres services are running before perfomring an upgrade.
Procedure
| 1. | Using the SSH terminal and navigate to the root directory. |
|
| 2. | Run the following command: Example:
|
You can view all the statuses of your Cisco IoT FND on OVA before proceeding with an upgrade.