{"id":5804,"date":"2024-10-30T14:35:25","date_gmt":"2024-10-30T22:35:25","guid":{"rendered":"https:\/\/jetstreamsoft.com\/portal\/?post_type=ht_kb&#038;p=5804"},"modified":"2025-02-20T16:02:07","modified_gmt":"2025-02-21T00:02:07","slug":"vme2-restart-command-on-msa-2","status":"publish","type":"ht_kb","link":"https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/vme2-restart-command-on-msa-2\/","title":{"rendered":"vme2 Restart Command on MSA"},"content":{"rendered":"\n<p class=\"\">The P<em>ostgreSQL<\/em> service is the MSA DB service and the <em>Tomcat8<\/em> service is a web server service.<\/p>\n\n\n\n<p class=\"\">When the command <kbd><strong>service vme2 restart<\/strong><\/kbd> is issued, the PostgreSQL and Tomcat8 services used by JetStream DR software will be stopped and then restarted.<\/p>\n\n\n\n<p class=\"is-style-alert wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">While the PostgreSQL and Tomcat8 services are stopped it is not possible to conduct any operations from the vCenter JetStream DR UI plugin.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example: Backend Tasks from the Console<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><code>2024-02-12 08:25:44 * Stopping Tomcat8\n2024-02-12 08:25:44 * Stopping Tomcat8\n2024-02-12 08:25:45,617  INFO &#91;localhost-startStop-2] (ApplicationListener.java:40) contextDestroyed() called.\n2024-02-12 08:25:46,863  INFO &#91;localhost-startStop-2]\nManagementApplication.java:1200) JetStream DR Management Server shut down completely.\n2024-02-12 08:25:46,870  INFO &#91;localhost-startStop-2] (ApplicationListener.java:52) Deregistering JDBC driver org.postgresql.Driver@2a32cc9a\n2024-02-12 08:25:44 * Stopping Postgresql\n2024-02-12 08:25:44 * Stopping Postgresql\nwaiting for server to shut down...waiting for server to shut down..... done\nserver stopped\ndone\nserver stopped2024-02-12 08:25:49 * Starting Postgresql\n2024-02-12 08:25:49 * Starting Postgresql\n2024-02-12 08:25:49 * Starting Tomcat8\n2024-02-12 08:25:49 * Starting Tomcat8<\/code><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Example: Transient tasks started upon issuing vme2 restart command<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code><code>2024-02-12 08:26:17,894 INFO &#91;localhost-startStop-1] (ManagementApplication.java:992) Starting Transient Tasks\n\n2024-02-12 08:26:17,907 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.TopologyCollectionTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,918 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.HostServiceRequestCollectionTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,930 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.HostStatsCollectionTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,944 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.DomainSyncTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,954 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.DrvaCollectionTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,964 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.ObjectStoreCollectionTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,972 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.GCBudgetMgmtTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,982 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.LoggerMonitorTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:17,993 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.alarm.dr.DrAlarmActivatorTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:18,004 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.RunPendingActionsTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:18,014 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.MmsCommunicationTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:18,023 INFO &#91;localhost-startStop-1] (ManagementApplication.java:997) com.jetstream.jss.task.systemtask.HealthViewerTask initialized for vmp address 10.40.4.90 .\n\n2024-02-12 08:26:18,029 INFO &#91;localhost-startStop-1] (ManagementApplication.java:1001) Transient Tasks started\n\n2024-02-12 08:26:18,091 INFO &#91;localhost-startStop-1] (ManagementApplication.java:322) JetStream Software successfully started. applicationPath=\/var\/lib\/vme2\/webapps\/ROOT\/, rootUrl=http:\/\/fs087-msa.st.jsoft.com:80<\/code><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Verifying the Status of vme2<\/h2>\n\n\n\n<p class=\"\">To verify the current status of vme2 services PostgreSQL and Tomcat8, execute the command:<br><kbd><strong>services vme2 status<\/strong><\/kbd><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"746\" height=\"95\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/10\/vme2-services.png\" alt=\"\" class=\"wp-image-5805\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/10\/vme2-services.png 746w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/10\/vme2-services-300x38.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/10\/vme2-services-50x6.png 50w\" sizes=\"(max-width: 746px) 100vw, 746px\" \/><figcaption class=\"wp-element-caption\">vme2 services are running.<\/figcaption><\/figure>\n\n\n\n<p class=\"\"><\/p>\n\n\n\n<p class=\"is-style-info wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\"><strong>Restarting Tomcat Services (only)<\/strong><br>From JetStream DR software version 4.3 and beyond it is possible to manually restart the Tomcat service only. Use the following command to restart Tomcat: <kbd><strong>#service msa-tomcat restart<\/strong><\/kbd>.<\/p>\n\n\n\n<p class=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The PostgreSQL service is the MSA DB service and the Tomcat8 service is a web server service. When the command service vme2 restart is issued, the PostgreSQL and Tomcat8 services used by JetStream DR software will be stopped and then restarted. Example: Backend Tasks from the Console Example: Transient tasks started upon issuing vme2 restart [&hellip;]<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"ht-kb-category":[245],"ht-kb-tag":[207],"class_list":["post-5804","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to","ht_kb_tag-msa-mms"],"_links":{"self":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/5804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/comments?post=5804"}],"version-history":[{"count":4,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/5804\/revisions"}],"predecessor-version":[{"id":6649,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/5804\/revisions\/6649"}],"wp:attachment":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/media?parent=5804"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-category?post=5804"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-tag?post=5804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}