Informatica/Servicios/Fogserver

De 33system wiki
Saltar a: navegación, buscar

<< Informatica

Fogserver

Teoría

  • You can also use ESXi 5.0 to host VM's imaged by FOG. Please note that you will need to set the hard drive on the VM to use an IDE drive instead of SCSI. When using FOG to image to a SCSI drive it will give an error stating it cannot find the drive. When you set the drive to IDE it will recognize the drive and work. For the FOG VM you can use a SCSI drive and there will be no issues.
  • Update

As stated above you will need to set the hard drive on the VM to use an IDE drive instead of SCSI when using the default boot kernel that is supplied when installing FOG

  • To build a custom kernel that will support VMWare SCSI drives see the Documentacion link for the build process of creating a custom kernel

Práctica

  • Compilar el kernel para trabajar con dispositivos SCSI en ESXi
apt-get install qt3-dev-tools libqt3-mt-dev
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.3.tar.gz
tar -zxvf linux-2.6.35.3.tar.gz
# el directorio /opt/fog-setup/fog_0.XX varia segun las versiones
cp /opt/fog-setup/fog_0.32/kernel/kitchensink.config /usr/src/linux-2.6.35.3/.config
# nos colocamos en el dirctorio del ./config
cd linux-2.6.35.3
# ejecutamos para comenzar la configuración
## hace falta entorno grafico
make xconfig
# seleccionamos las opciones 
Device Drivers -> SCSI device support -> SCSI low-level drivers -> VMware PVSCSIdrive support
Device Drivers -> Networik Device Support -> VMware VMXNET3 ethernet driver
# salvamos los cambios se guarda en /usr/src/linux-2.6.35.3/arch/x86/boot/bzImage

# hacemos una copia de seguridad del antiguo
mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage_backup
# ponemos el nuevo kernel en su lugar 
cp /usr/src/linux-2.6.35.3/arch/x86/boot/bzImage /tftpboot/fog/kernel/bzImage

Documentacion