Version 1 (modified by fabior, 4 anos atrás) (diff)

--

Como migrar uma instalação CentOS para Xen com ParaVirtualização

Modify /etc/modprobe.conf in the guest.

We need to make sure that a couple of lines exist in /etc/modprobe.conf before we’re ready to install the kernel packages. We add these so that when the kernel install process goes to build a new initrd it will include the correct driver modules for your hardware, so we want to be certain that the Xen block and net drivers are included.

Note: If /etc/modprobe.conf doesn’t already exist you should create it.

#/etc/modprobe.conf
alias eth0 xennet
alias scsi_hostadapter xenblk

2. Update /etc/inittab and /etc/securetty in the guest.

Now we update /etc/inittab and /etc/securetty to make certain that we attach to and permit logins from the various xen consoles.

/etc/inittab

#/etc/inittab
xvc0:2345:respawn:/sbin/agetty '''xvc0''' 9600 vt100-nav

/etc/securetty

#/etc/securetty
# hypervisor virtual consoles
xvc0


3. Install kernel packages in the guest.


CentOS/RHEL

# yum install kernel-xen
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.