I run a centos 5.4 xen box runnign xen 3.0
I want to open the virt-manager GUI to make virtual machines on my openbsd desktop
in /etc/ssh/ssh_conf on openBSD:
# ForwardX11 no
ForwardX11 yes
ForwardX11Trusted yes
the kill -HUP `cat /var/run/sshd.pid` to have sshd reread its config
then as USER [running iceWM as user not root]
ssh -Y root@xenbox
xenbox# virt-manager&
opens up
NICE!
on cygwin on windows latop
open x-cygwin icon to nice xterm in X windows opens [different menu item that the typical green cygwin bash shell]
then ssh -X root@xenbox
virt-manager&
a key to remember is that the Xenbox must have its own name in /etc/hosts and I have ti as static ip
xen need you to mount your redhat or centos .ISO and make available in webserver docroot as URL
mount -o loop blah.ISO somedummyfolder [in webserver docroot]
then wehn setting up vm, http://192.168.1.150/somedummyfolder [150 being your webserer ip]
also pick physical in the networking panel during vm setup so it bridges to real network, for example I did some dhcp, but later picked static ip liek 192.168.1.231 for my vm
to clone you copy /var/lib/xen/images file to new file new name
then in /etc/xen/yourvmname copy to new vm config file, then fx path to copy of image file in /var/run/xen, also increment the uuid, and the mac, and fix path to img file, and naem of course
then in virt-manager you will see new vm, start it, fix ip, and it should work fine, then can restart the one your just cloned
note: the uuid is in hex so increment the last digit, I tried changing an f to a g on the very end of the uuid and it would not show the new vm, so I backed up to the last numerical digit and incremented that instead and it worked
upon boot of new clone, fix mac, hosts, ip, but hostname seems to be handled by the config file
awesome!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment