Check if a server is VPS or not

ARUN Posted in VPS
0

It should contain a file :

cat /proc/user_beancounters

that has all the details for the VPS.

How to install yum on VPS from node

ARUN Posted in INSTALLATION, VPS
0

Login to node and execute the below command :

vzpkg install VEID -p yum

VEID –> Make sure to give the proper VEID from your node

How to add new Ip to VPS from node

ARUN Posted in VPS
0

vi /etc/sysconfig/vz-scripts/VEID.conf

Add the new IP address in the line

IP_ADDRESS=”200.253.23.59″

To Add Multiple Ip address use :

IP_ADDRESS=”IP1 IP2 IP3 IP4″

Restart VPS by vzctl restart VEID

OR

vzctl set VEID –ipadd 200.26.235.25 –save

Start / Stop VPS

ARUN Posted in VPS
0

Start a VPS :

vzctl start VEID

====

Stop a VPS
vzctl stop VEID

You can also use :  –force  like   vzctl start VEID –force

VPS migration

ARUN Posted in VPS
0

[ vzmigrate -r no --keep-dst DEST-NODE_IP VEID ]

[  vzmigrate -r no --keep-dst 10.10.0.6 VEID  ]

10.100.16.6 –> Private IP

You can also use public IP address

http://admin.webhostingdevelopment.com/viewtopic.php?f=31&t=77

Login to VPS

ARUN Posted in VPS
0

vzctl enter “VEID”
VEID –> obtained from vzlist -a command

To see all VPS on a node

ARUN Posted in VPS
0

vzlist -a