-----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.
iQEcBAEBAgAGBQJJwNmxAAoJEFtprSOdqQjsxDsH/jnJ5D9dPzZEz3gJA0tg+dLZ
p97CY7qlwAOmgbITINzxC7nRTj8MTZJhMWCXiXHuaKk4CsPABtHFR2HZ7MvGtaiQ
BB64BdFlYqx+YjqiE3seZHNfg/a3uTo/QVi13hDC/1HShZN1g5ExEYI4J7CzTRTA
Rc68okvTWx099eaEka5xqXx9iugHUNEPLepPw9iMxu1ldHdsZQ8tpBasvRjwy84M
jcO+fUuVzt3NBz+H7pySWs0t/EZJGR1mgKKNiUSkrCjjCGqb0uubUlEBwQPW4NJj
ky9WlJ4bEIw0FxL5gFC777T0Cn+rMpm3z7eFFOACZrYWMPwnYD0hV5q29aL8DAA=
=Ap5Q
-----END PGP SIGNATURE-----

Reply via email to