Dmitry Sivachenko
|
4b59ba05e4
|
Define the -DSHAREDTMP option, since this allows one to simulate
clusters of pvm machines with jail(8).
Basically, do this:
ifconfig lo0 10.0.0.1 netmask 255.255.255.255 alias
ifconfig lo0 10.0.0.2 netmask 255.255.255.255 alias
ifconfig lo0 10.0.0.3 netmask 255.255.255.255 alias
...
echo "10.0.0.1 ten-1" >> /etc/hosts
echo "10.0.0.2 ten-2" >> /etc/hosts
echo "10.0.0.3 ten-3" >> /etc/hosts
...
jail / ten-1 10.0.0.1 /usr/libexec/inetd
jail / ten-1 10.0.0.2 /usr/libexec/inetd
jail / ten-1 10.0.0.3 /usr/libexec/inetd
Tada! now you have three PVM enabled computers on your laptop :-)
Submitted by: phk
|
2001-12-19 19:13:53 +00:00 |
|