Applicable to:
- SolusVM
Question
How to stop all VPS on a SolusVM node?
Answer
Stopping all VPS on a SolusVM node is possible only manually on the required node:
For OpenVZ 6 node
-
Access the SolusVM OpenVZ 6 node over
-
Execute
# for i in `vzlist | awk '{ print $1}' | awk 'NR>1'`; do vzctl stop $i;done
For OpenVZ 7 node
-
Access SolusVM OpenVZ 7 node over SSH.
-
Execute
# for i in `prlctl list | awk '{ print $5}' | awk 'NR>1'`; do vzctl stop $i;done
For KVM node
-
Access SolusVM KVM node over SSH.
-
Execute
# for i in `virsh list | grep kvm | awk '{ print $2}'`; do virsh destroy $i;done
For Xen node
-
Access SolusVM Xen node over SSH.
-
Execute
# for i in `xl list | awk '{ print $1}' | awk 'NR>3'`; do xl destroy $i;done
Comments
0 commentsPlease sign in to leave a comment.