Parallels Virtuozzo Panel
# vzctl set 101 –userpasswd root:test
———————————————————————–
To check the status of a Container, use the vzctl status command :-
# vzctl status 101
VEID 101 exist mounted running
———————————————————————–
To check the status of a Container, use the vzctl status command :-
# vzctl status 101
VEID 101 exist mounted running
———————————————————————–
You can also check status of a container, use the /proc/vz/veinfo file :-
cat /proc/vz/veinfo
101 2 20 10.0.186.101
0 0 48
———————————————————————–
The following command is used to stop a Container :-
# vzctl stop 101
Stopping Container …
Container was stopped
Container is unmounted
# vzctl status 101
VEID 101 exist unmounted down
———————————————————————–
If container is not stop within 2 minutes use following command for stop the container :-
# vzctl stop 101 –fast
Stopping Container …
Container was stopped
Container is unmounted
———————————————————————–
To restart a Container, you may as well use the vzctl restart command :-
# vzctl restart 101
Stopping Container …
Container was stopped
Container is unmounted
Starting Container …
Container is mounted
Adding IP address(es): 10.0.186.101
Container start in progress…
———————————————————————–
List of all Containers by issuing the following command :-
# vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
1 135 running 10.101.60.79 localhost
101 8 running 10.101.66.1 ct101.parallels.com
102 7 running 10.101.66.159 ct102.parallels.com
103 – stopped 10.101.66.103 ct103.parallels.com
The -a switch tells the vzlist utility to output both running and stopped Containers.
———————————————————————–