Restarting MSA Services (CLI)

This article applies to all JSDR software versions.

Restart the Management Server Appliance (MSA)

For 4.2.6 version and below

  1. Log in to the MSA web console or use SSH.

  2. Issue the command: service vme2 restart.

    • The PostgreSQL and Tomcat8 services used by JetStream DR software will be stopped and then restarted.

    • The PostgreSQL service is the MSA DB service and the Tomcat8 service is a webserver service.

While the PostgreSQL and Tomcat8 services are stopped it is not possible to conduct any operations from the vCenter JetStream DR UI plugin.

For 4.3.x version and above

In versions prior to 4.3, we used the "service vme2 restart" command to simultaneously restart both the Tomcat and PostgreSQL services. From 4.3 we follow seperate commands for this


Restart Tomcat Service

Restart Tomcat using the following command:service msa-tomcat restart.
In most cases, restarting the Tomcat service should be sufficient to resolve issues with the UI and reporting.

NOTE :-If any database-specific error encountered or need to ensure the database is properly synchronized with Tomcat, it's recommended to restart both the PostgreSQL database service and the Tomcat service.

NOTE :-If any database-specific error encountered or need to ensure the database is properly synchronized with Tomcat, it's recommended to restart both the PostgreSQL database service and the Tomcat service.

Restart Sequence if Both Tomcat and PostgreSQL Need to be Restarted : Always stop Tomcat before stopping PostgreSQL, and start PostgreSQL before starting Tomcat. This ensures that the application has a properly initialized database to connect to.

Tomcat service commands (4.3.x)

Tomcat service commands (4.3.x)

Command to check status of Tomcat service
service msa-tomcat status

image-20240909-043636.png

Command to Restart Tomcat
service msa-tomcat restart
Command to Stop Tomcat
systemctl stop msa-tomcat
Command to Start Tomcat
systemctl start msa-tomcat

PostgreSQL service commands (4.3.x)

PostgreSQL service commands (4.3.x)

Command to check status of PostgreSQL service
service postgresql-13 status

image-20240909-043531.png

Command to Restart PostgreSQL
service postgresql-13 restart
Command to Stop PostgreSQL
systemctl stop postgresql-13
Command to Start PostgreSQL
systemctl start postgresql-13