shwstppr opened a new pull request, #6574:
URL: https://github.com/apache/cloudstack/pull/6574

   ### Description
   
   Fixes #6220
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) 
document -->
   
   ```
   [root@ref-trl-3339-v-M7-abhishek-kumar-mgmt1 ~]# /usr/bin/cloudstack-sysvmadm
   
   The tool stopping/starting running system vms and domain routers 
   
   Usage: cloudstack-sysvmadm: [-d] [-u] [-p] [-m] [-s] [-r] [-a] [-t] [-n] 
[-z] [-i] [-j] [-v] [-i] [-j]
   
    -d - cloud DB server ip address, defaulted to localhost if not specified 
    -u - user name to access cloud DB, defaulted to root if not specified 
    -p - cloud DB user password, defaulted to no password if not specified 
   
    -m - the ip address of management server, defaulted to localhost if not 
specified
   
    -s - stop then start all running SSVMs and Console Proxies 
    -r - stop then start all running Virtual Routers
    -a - stop then start all running SSVMs, Console Proxies, and Virtual 
Routers 
    -n - restart all Guest networks 
    -t - number of parallel threads used for stopping Domain Routers. Default 
is 10.
    -l - log file location. Default is cloud.log under current directory.
    -z - do restart only for the instances in the specific zone. If not 
specified, restart will apply to instances in all zones
    -v - do restart all VPCs in the entire system
    -i - do restart on instances with specific IDs. Comma-separated instance 
IDs to be provided. Works ony when restarting SSVMs, CPVMs or VRs
    -j - do restart on instances from the specified database table. If not 
specified, restart will apply on instances present in cloud.vm_instance 
database table. Works ony when restarting SSVMs, CPVMs or VRs
   [root@ref-trl-3339-v-M7-abhishek-kumar-mgmt1 ~]# 
/usr/bin/cloudstack-sysvmadm -a -u root -p P@ssword123 -i 
9b802cd9-8d97-42dc-9610-2650a2831fee,2f1d6bc1-7143-42b7-a5b7-2383d4eddcb9
   
   Stopping and starting 1 secondary storage vm(s) with 
id=9b802cd9-8d97-42dc-9610-2650a2831fee,2f1d6bc1-7143-42b7-a5b7-2383d4eddcb9...
   Done stopping and starting secondary storage vm(s) with 
id=9b802cd9-8d97-42dc-9610-2650a2831fee,2f1d6bc1-7143-42b7-a5b7-2383d4eddcb9
   
   Stopping and starting 1 console proxy vm(s) with 
id=9b802cd9-8d97-42dc-9610-2650a2831fee,2f1d6bc1-7143-42b7-a5b7-2383d4eddcb9...
   Done stopping and starting console proxy vm(s)  with 
id=9b802cd9-8d97-42dc-9610-2650a2831fee,2f1d6bc1-7143-42b7-a5b7-2383d4eddcb9.
   
   Stopping and starting 0 running routing vm(s) with 
id=9b802cd9-8d97-42dc-9610-2650a2831fee,2f1d6bc1-7143-42b7-a5b7-2383d4eddcb9... 
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to