Shutdown nGeniusONE InfiniStream vScout and vStream: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 41: Line 41:
 
 


=== InfiniStream and vStream ===
=== InfiniStream, vStream and Flow Collector ===


*Connect to the management interface using an SSH client of your choice  
*Connect to the management interface using an SSH client of your choice  
Line 49: Line 49:


*Stop all running processes  
*Stop all running processes  
<pre># ./stop</pre>
<pre># ./stopall</pre>


*Check if all processes but one are stopped.&nbsp; The process left running should&nbsp;be Xvfb.&nbsp;&nbsp;  
*Check if all processes but one are stopped.&nbsp; The process left running should&nbsp;be Xvfb.&nbsp;&nbsp;  
<pre># ./PS</pre>
<pre># ./PS</pre>


*Shutdown (h) or reboot (r) the machine  
*Shutdown (h) or reboot (r) the guest machine  
<pre># shutdown -h now</pre>
<pre># shutdown -h now</pre>


Line 62: Line 62:
&nbsp;
&nbsp;


=== vStream Agent ===
=== vStream Agent (linux) ===


&nbsp;
&nbsp;


{{#invoke:Message box|ambox |type=content|text=Double check if it is allowed to restart or shutdown the guest operating system.}}
{{#invoke:Message box|ambox |type=content|text=Double check if it is allowed to restart or shutdown the guest operating system! Restarting the services has no effect on the guest OS.}}


&nbsp;
&nbsp;


*Connect to the management interface&nbsp;using an SSH client of your choice
*Login as a user with root&nbsp;privileges
*Login as root (for default credentials read&nbsp;[[Default_credentials|default credentials]])
<pre># isbin</pre>
*Change to the folder /opt/Netscout/rtm/bin/
<pre># cd /opt/Netscout/rtm/bin</pre>


*Stop all running processes  
*Stop all running processes  
<pre># systemctl stop vstream</pre>
<pre># service vstream stop</pre>


*Check if all processes are stopped, these should be no processes left running  
*Check if all processes are stopped, these should be no processes left running  
Line 82: Line 80:


*Shutdown (h) or reboot (r) the machine  
*Shutdown (h) or reboot (r) the machine  
<pre># shutdown -h now</pre>
<pre># shutdown -r now</pre>
 
The services will automatically be started after boot.&nbsp; It could take a while before the services are running (delayed start).&nbsp; Please be patient.&nbsp;&nbsp;


*The services will automatically be started after reboot.&nbsp; If you wich to start the services without rebooting, use the follwing command:
*To start vstream without rebooting, issue the following command&nbsp;
<pre># systemctl start vstream </pre>
<pre># service vstream start  </pre>


&nbsp;
&nbsp;

Latest revision as of 08:49, 6 November 2023

Introduction

To minimize the risk of data loss, it is recommended that all services are stopped before restarting or shutting down the machine.

 

Solution

nGeniusONE server (linux)

  • Connect to the management interface using an SSH client of your choice
  • Login as root (for default credentials read default credentials)
  • Change to the folder /opt/Netscout/rtm/bin/
# cd /opt/Netscout/rtm/bin
  • Stop all running processes
# ./stop
  • Check if all processes but one are stopped.  The process left running should be Xvfb.  
# ./PS
  • Shutdown (h) or reboot (r) the machine
# shutdown -h now
  • The services will automatically be started after reboot.  If you wich to start the services without rebooting, use the follwing command:
# ./start  

 

nGeniusONE server (windows)

Open a command prompt as Administrator and run the following command to stop all services:

<installation-path>\rtm\bin\stopsrv.bat

It could take several minutes for all services to stop. Don't be fooled by the return of the command prompt. Instead, open Task Manager to verify if all nGeniusONE related services are stopped.

Open a command prompt as Administrator and run the following command to start all services:

<installation-path>\Netscout\rtm\bin\strtsrv.bat

 

InfiniStream, vStream and Flow Collector

  • Connect to the management interface using an SSH client of your choice
  • Login as root (for default credentials read default credentials)
  • Change to the folder /opt/Netscout/rtm/bin/
# cd /opt/Netscout/rtm/bin
  • Stop all running processes
# ./stopall
  • Check if all processes but one are stopped.  The process left running should be Xvfb.  
# ./PS
  • Shutdown (h) or reboot (r) the guest machine
# shutdown -h now
  • The services will automatically be started after reboot.  If you wich to start the services without rebooting, use the follwing command:
# ./start  

 

vStream Agent (linux)

 

 

  • Login as a user with root privileges
# isbin
  • Stop all running processes
# service vstream stop
  • Check if all processes are stopped, these should be no processes left running
# ./PS
  • Shutdown (h) or reboot (r) the machine
# shutdown -r now

The services will automatically be started after boot.  It could take a while before the services are running (delayed start).  Please be patient.  

  • To start vstream without rebooting, issue the following command 
# service vstream start