BCCD:Automated liberation

From Earlham CS Department
Jump to navigation Jump to search

Generalization Work towards giving the liberation process a more general approach

Do all these commands from /p0/bccd on acl13 (or the equivalent).

  • Make a fresh work environment /p0/bccd from a BCCD ISO:


  • Make a new boot ISO (bccdserver.iso):

./mksingularity.sh singularity staging

  • Boot that ISO for liberation:

qemu -hda lib.img -cdrom bccdserver.iso -boot d

  • Look inside the qemu ISO (mount to /mnt/bccd):

./lomount lib.img 2 /mnt/bccd

  • Liberate to the hard drive after booting BCCD:


  • Make a server after liberation:


  • Boot a QEMU image with networking support between VMs (make sure MACs are unique!):
    • qemu -hda lib.img -cdrom bccdserver.iso -net nic,macaddr=52:54:00:12:34:56 -net socket,mcast= -boot d

Another way to accomplish the same thing, though perhaps not as efficient:

    • 1. Start the server:
 qemu -hda hdas.img -net nic,macaddr=52:54:00:12:34:50 -net socket,listen=:1234
    • 2. Start some clients:
 qemu -cdrom eb-5.4.1-ns8390.iso -net nic,macaddr=52:54:00:12:34:51 -net socket,connect=acl13:1234
 qemu -cdrom eb-5.4.1-ns8390.iso -net nic,macaddr=52:54:00:12:34:52 -net socket,connect=acl13.cs.earlham.edu:1234
 qemu -cdrom eb-5.4.1-ns8390.iso -net nic,macaddr=52:54:00:12:34:59 -net socket,connect=

WARNING: Not sure why, but running this networked version of Qemu is /very/ slow. If you have real hardware, consider using it instead.