Difference between revisions of "BCCD:Automated liberation"

From Earlham CS Department
Jump to navigation Jump to search
Line 1: Line 1:
 
''Do all these commands from /p0/bccd on acl13 (or the equivalent).''
 
''Do all these commands from /p0/bccd on acl13 (or the equivalent).''
 +
 +
* Make a fresh work environment /p0/bccd from a BCCD ISO:
 +
<tt>./gen_staging.sh</tt>
  
 
* Make a new boot ISO (bccdserver.iso):
 
* Make a new boot ISO (bccdserver.iso):
Line 15: Line 18:
 
* Make a server after liberation:
 
* Make a server after liberation:
 
<tt>/bin/prepareserver</tt>
 
<tt>/bin/prepareserver</tt>
 +
 +
* Boot a QEMU image with networking support between VMs (make sure MACs are unique!):
 +
<tt>qemu -hda lib.img -cdrom bccdserver.iso -net nic,macaddr=52:54:00:12:34:56 -net socket,mcast=230.0.0.1:1234 -boot d</tt>

Revision as of 04:21, 19 March 2006

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

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

./gen_staging.sh

  • 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:

/bin/liberate

  • Make a server after liberation:

/bin/prepareserver

  • 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=230.0.0.1:1234 -boot d