# Finalize and validate the upgrade

Follow these steps to perform the final tasks for an upgrade to Moogsoft AIOps v7.3.x from v7.0.x, v7.1,.x or 7.2.x.

Refer to Upgrade Moogsoft AIOps for general information and upgrade instructions for other components and versions.

## Configure Elasticsearch heap size

The minimum and maximum JVM heap sizes must be large enough to ensure that Elasticsearch starts.

To set the minimum and maximum JVM heap sizes:

• For RPM, edit the /etc/elasticsearch/jvm.options file.

• For Tarball, edit the $MOOGSOFT_HOME/etc/cots/elasticsearch/config/jvm.options file. These heap sizes must be the same value. For example, to set the heap to 4 GB: # Xms represents the initial size of total heap space # Xmx represents the maximum size of total heap space -Xms4g -Xmx4g If you change the heap size, you must restart Elasticsearch: • For RPM, run service elasticsearch restart. • For Tarball, run $MOOGSOFT_HOME/bin/utils/process_cntl elasticsearch restart.

## Validate the upgrade: UI components

### Note

Run the following commands/tasks on the server that houses the UI components. See Upgrade Moogsoft AIOps for a description of the component groups.

## Validate the upgrade: Core components

### Note

Run the following command on the server that houses the core components. See Upgrade Moogsoft AIOps for a description of the component groups.

## Validate the upgrade: Data ingestion components

### Note

Run the following command on the server that houses the data ingestion components. See Upgrade Moogsoft AIOps for a description of the component groups.

## Validate the upgrade: Database components

### Note

Run the following command on the server that houses the database components. See Upgrade Moogsoft AIOps for a description of the component groups.

Now that the upgrade is complete, follow the instructions in v7.3.x - Post upgrade steps.