Upgrade an Infrastructure Management Non-VMDB appliance
Important: Do not run evmserverd
if a database is in a partially migrated state.
-
Create a temporary upgrade directory.
On the target appliance, create a temporary upgrade directory by running the following commands:
mkdir /tmp/upgrade cd /tmp/upgrade
-
Stop the evmserverd process.
Run the following command:
systemctl stop evmserverd
-
Back up important files.
Important: This step is only required if you are upgrading from Infrastructure Management 3.5.x and older.
Back up the following files and make a note of the appliance that each file comes from. This step is to replace the old appliances in the database and for disaster recovery.
Note: The REGION file might not exist.
- /var/www/miq/vmdb/GUID
- /var/www/miq/vmdb/REGION
-
Download the IBM Cloud Pak for AIOps - Infrastructure Automation RPM updates image to the upgrade directory.
For information on downloading the image, see Passport Advantage part numbers. Download the RPM updates image and copy the image into the temporary upgrade directory.
-
Create the
/root/upgrade
directory by running the following commands:rm -fr /root/upgrade mkdir /root/upgrade
-
Use the
scp
command to copy the rpm tarball to the appliance server.scp ~/Downloads/infrastructure-management-upgrade-18.y-x86_64-20240521161926.tgz root@<appliance_hostname_or_ip>:/root/upgrade
Where
<appliance_hostname_or_ip>
is the IP address of the appliance or the hostname of the appliance.For example, the scp command copies the
infrastructure-management-upgrade-18.y-x86_64-20240521161926.tgz
rpm tarball to the server usingroot
as the username. -
SSH to the appliance or use the VM console to extract the tarball:
tar -zxvf /root/upgrade/infrastructure-management-upgrade-*.tgz
-
Run the upgrade script:
/root/upgrade/im-upgrade.sh
-
Remove the temporary upgrade directory:
rm -rf /tmp/upgrade
The upgrade process is now complete. After appliances are running again, you can configure database replication in your environment. For more information, see Configuring Database Replication and Centralized Administration in the General Configuration guide.