Displaying 5 results from an estimated 5 matches for "configure_node".
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...() {
- local nodename="${vm_prefix}-stateless-pxe-nohd"
+add_test "test_stateless_pxe"
+test_stateless_pxe () {
+ local nodename="${vm_prefix}-stateless-pxe"
local workdir=$(mktemp -d)
start_networking $nodename $IFACE_NAME false true $workdir
- configure_node "${nodename}" "network" "" "" "" "local noapic=true"
- boot_with_pxe "${nodename}" "firstboot=no" "${workdir}"
+ configure_node "${nodename}" "network" "" "10000"...
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...=$5
local definition=""
local network=$NETWORK
- local xmlfile=$(mktemp)
+ local xmlfile=$WORKDIR/$nodename-$ifacename.xml
debug "start_networking ()"
for var in nodename ifacename use_dhcp start_dnsmasq workdir network xmlfile; do
@@ -363,7 +364,7 @@ configure_node () {
local hdfile=""
local cdfile=$5
local args=$6
- local nodefile=$(mktemp)
+ local nodefile=$WORKDIR/$nodename.xml
if [ -z "${boot_device}" ]; then boot_device="hd"; fi
if [ -z "${memory}" ]; then memory="524288";...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...define virtual machine: $nodename"; fi
+}
+
+# $1 - the node name
+# $2 - the boot device (def. "hd")
+# $3 - the memory size in kb (def. 524288)
+# $4 - hard disk size (if blank then no hard disk)
+# $5 - the cd drive image file (if blank then no cd drive)
+# $6 - option arguments
+configure_node () {
+ local nodename=$1
+ local boot_device=$2
+ local memory=$3
+ local hdsize=$4
+ local hdfile=""
+ local cdfile=$5
+ local args=$6
+ local nodefile=$WORKDIR/$nodename.xml
+
+ if [ -z "${boot_device}" ]; then boot_device="hd"; fi
+ if...
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...lator>${emulator}</emulator>"
# inject the hard disk if defined
if [ -n "$harddrive" ]; then
debug "Adding a hard drive to the node"
@@ -566,7 +564,7 @@ test_stateful_pxe () {
start_networking $nodename $IFACE_NAME false true $workdir
configure_node "${nodename}" "network" "" "10000" "" "local noapic=true"
- boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress}" ${workdir}
+ boot_with_pxe "${nodename}" "standa...
2005 Oct 13
1
OCFS2 Installation woes
I've got a fresh RHEL AS 4-U2 installation on a Dell PE2850 server.
I downloaded and installed the latest RPMs:
ocfs2-2.6.9-22.ELsmp-1.0.7-1.i686.rpm
ocfs2-tools-1.0.2-1.i386.rpm
ocfs2console-1.0.2-1.i386.rpm
I was able to start the console, but when I try to run
cluster->configure_nodes, I get the following error message:
Could not start cluster stack. This must be resolved before any OCFS2
filesystem can be mounted.
I tried to start the service via the command line:
/etc/init.d/o2cb load
And got the error:
Mounting configfs filesystem at /config: mount: block device configfs...