Hi Amila,
great to see you got it working!
[QUOTE=amila;14634]Here are my steeps; I hope that I didn’t forget anything?
And of course I hope that this is a good way to move from virtual to physical server
Files that I need from Host Server (SLES11SP1)
- /etc/udev/rules.d/70-persistent-net.rules (MAC-address eth0)
- /etc/sysconfig/kernel (INITRD_MODULES=“aacraid mptsas ahci pata_atiixp ata_generic”)
- /etc/sysconfig/bootload (just for seeing)
Copy to Gast Server (OES11SP1)
On Gast System install
kernel-default
kernel-default-base
kernel-default-devel
and reboot server.
edit /etc/sysconfig/kernel file and put
INITRD_MODULES=“aacraid mptsas ahci pata_atiixp ata_generic”
Instead of
INITRD_MODULES=“xenblk”
run mkinitrd,
and shutdown Server.[/QUOTE]
How about adding the modules required by the hardware server, instead of replacing them? That way your image can be used both for physical and virtual environments.
I didn’t grasp that you wanted to turn the host system into a non-Xen server… are you experiencing problems with the virtualized version? Personally, I’d keep it as a guest system, because you could easily move the DomU to any different host server, without having to modify the guest system (when moving from Dom0 to Dom0, i.e. during hardware upgrades).
[QUOTE=amila;14634]Boot Server with Sles11Sp2 DVD and go to Rescue mode
mount /dev/sda1 (boot partition and edit)
- /boot/grub/menu.lst (default 0)
- /boot/grub/device.map (/dev/sda instead of /dev/xvda)
mount LVM Volumes root some ware and edit replace all “xvda” wirh “sda”
-/etc/fstab (/dev/sda1 instead of /dev/xvda1)[/QUOTE]
…using i.e. “LABEL=boot” instead of device name would make this unnecessary.
[QUOTE=amila;14634]- /etc/udev/rules.d/70-persistent-net.rules
- /etc/lvm/.chache, /etc/lvm/backup/server1, /etc/lvm/archiv/serve1[/QUOTE]
I haven’t tried, but couldn’t you just delete the cache before cloning the guest? And I’d rather create new backups once the system comes up, than changing “old” backups…
[QUOTE=amila;14634]check :
- /etc/sysconfig/bootload
- /etc/sysconfig/kernel
alsi in /etc/inittab
line 73 remove or delete
x0:12345:respawn:/sbin/agetty -L 9600 xvc0 xterm[/QUOTE]
good catch!
[QUOTE=amila;14634]Reboot System and now my Virtual OES11SP1 is running as a physical Server
eDirectory is up and running, I can access all my NSS Volumes and everything works, Â
till now.
Thanks a lot for Help
Amila[/QUOTE]
Good to see you got it up & running, and thank you for sharing your results (and check-list ) with us!
Regards,
Jens