Previous Topic: How To Create a Managed SUSE 11 ApplianceNext Topic: How to Create Fedora 10 64 bit Appliance in AppLogic 3.1


How to Create and Attach Volume Streams to hoop, nbd, and md Devices

hoop Devices

Syntax:

hosetup  </dev/hoopX> <volume stream>

volume stream is name of the stream you want to use

/dev/hoopX is any un used hoop device from 1-255.

Examples:

hosetup /dev/hoop10 /var/applogic/volumes/vols/v-35c29e55-b1e0-4432-a62f-20ba5b98843e 
nbd Devices

Syntax:

/usr/bin/nbd-server CA Portal </dev/hoopX>

port is any unused port number. Normally we use 630XX value for this.

/dev/hoopX is the hoop device you attached the volume stream to.
/usr/bin/nbd-client <remote IP> CA Portal </dev/nbdX>

remote IP is the IP of the dom0 were the nbd server is running.

port is the port number you used when setting up the nbd server device.

nbd is a unused nbd device from 1-255.

Examples:

/usr/bin/nbd-server 63068 /dev/hoop10
/usr/sbin/nbd-client 192.168.20.3 63068 /dev/nbd41
md Devices

Syntax:

mdadm --assemble /dev/mdX --force --run /dev/hoopX /dev/nbdX
/dev/mdX is any unused md device between 1-255.

Examples:

mdadm --assemble /dev/md15 --force --run /dev/hoop15 /dev/nbd41

or for when there is just 1 stream available:

mdadm --assemble /dev/md15 --force --run /dev/hoop15