Change the HyperVM port to default(8888):
cd /usr/local/lxlabs/hypervm/httpdocs ; lphp.exe ../bin/common/misc/defaultport.php
Container does not start:
Unable to open pty:
[root]# vzctl enter 390
enter into CT 390 failed
Unable to open pty: No such file or directory
Fix:
[root]#vzctl exec 190 /sbin/MAKEDEV pty
[root]#vzctl exec 190 /sbin/MAKEDEV tty
[root]#vzctl enter 190
Container does not start:
[root]# vzctl enter 360
Container is not running
[root]# vzctl restart 360
Restarting container
Starting container ...
vzquota : (warning) Incorrect quota shutdown for id 360, recalculating disk usage
vzquota : (error) quota check : lstat `21555716': Stale NFS file handle
vzquota on failed [1]
[root]# vzctl status 360
CTID 360 exist unmounted down
Fix:
First try,
[root]## vzctl start 360 --force
[root]# vzquota off 360
vzquota : (error) Quota is not running for id 360
vzquota : (warning) Repairing quota: it was incorrectly marked as running for id 360
[root]# vzquota on 360
[root]# vzctl start 360 --force
Migrate the VE:
Select the VE you want to migrate .
Find the node details of the VE.
Login to the source node you find.
Find the private IP of the destination node.
Enter this command in current node of the VE vzmigrate -r no --keep-dst NEW_NODE_IP VEID
vzmigrate -r no --keep-dst 100.100.100.100 17676
It will prompt password for destination node give the password.
The time taken to complete will depend on the size of the VE.
After completing the migration you have to update the mysql table of PBA's database also otherwise the VE will shown as Destroyed.
No comments:
Post a Comment