Alexandre Verriere wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Laurens Vets a icrit :
My boss ask how to move current obsd server to virtualiaztion ( such
as  openvz, vmare , etc ) .
anyone in here sucsess moving obsd to Environment  virtualization (
openvz , vmware  etc ) , may be want share to me ?
So obsd become guest OS  ?

ps: i'm so sory to ask this because Efficiency  and reduce IT cost .
thank's

Works great for me under VMware.

    /  L
How are you shutting down the OpenBSD guest when you stop VMware? Manually?



This can be achieved with FreeBSD compt turned on this way:

halt the obsd guest then set his type to freebsd and back up install the
vmware tools:

mount /dev/cd0c /mnt
tar -xzf /mnt/vmware-freebsd-tools.tar.gz -C /tmp
mkdir -p /emul/freebsd/sbin
install -m 555 -o root -g wheel
/tmp/vmware-tools-distrib/lib/sbin32/vmware-guestd /emul/freebsd/sbin
cp -r /tmp/vmware-tools-distrib/etc /etc/vmware-tools

then tune your sysctl.conf
 kern.emul.freebsd=1

Add this one to your rc.local:

if [ -x /emul/freebsd/sbin/vmware-guestd ]; then
        echo -n ' vmware-tools'
        /emul/freebsd/sbin/vmware-guestd --background
/var/run/vmware-guestd.pid --halt-command "/sbin/shutdown -p -h now"
 fi

Now you can use vmware scripts to automate power management of your vm.

Hope this helps.

Doesn't work for me. Vmware-guestd doesn't want to run and the message "Abort trap" is printed...

Reply via email to