Installing a client using Quattor in a server with QEMU?

(Quelle: http://tomas.andago.com/cgi-bin/trac.cgi/wiki/QuattorClient)

The client will be configured from DHCP server. It is critical that the client can reach the server and that the server gives a DHCP IP address to the client. You can check it launching a complete SL3 qemu install and testing that the server gives a IP address to the client. If the client receives the IP address from the server you can be sure that it is time to continue with the bootp client. Remember also that you need to configure the network using the qemu tap config, with a bridge as the main interface and with your network card added to the bridge.

The first of all its dowload de pxe iso from here (128K). Now, you have to create a new virtual disk image:

qemu-img create -f qcow SL304_virtual_client.disk 10G

Then use qemu in this way:

/usr/bin/qemu  -hda SL304_virtual_client.disk -cdrom qemu-pxe-boot.iso -boot d -net nic -net tap

The only important think, its that your mac address must be registered in the node template in quattor server and then configured with aii-shellfe.

Piece of cake....

You need also to wait carefully until all the install process has ended. Once the kickstart install process has ended the virtual machine will reboot. Be careful to shutdown it and reboot the virtual machine not using the bootp CDROM image but the image installed in the virtual hard disk.

The default login and password is “root” and “aii”. After this boot the system will continue configuring and installing software. When it finish the system is reboot the last time. You can see that “rpmt” is working using the “top” command. You can monitor the “/var/lib” directory where all the information abput the packages is stored.

 
management/quattor/quattor_client_installation_and_qemu.txt · Zuletzt geändert: 06.09.2010 04:12
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed