Displaying 4 results from an estimated 4 matches for "ovirt_iscsi_target_port".
2009 Dec 08
1
[PATCH node] iscsi remote root basework This lays most of the groundwork for iscsi installation and configuration. At this time configuring iscsi is disabled due to multiple issues with dependent pieces.
...return 1
+ fi
+ grub_dev_label="Boot"
+ # Grab OVIRT_ISCSI VARIABLES from boot partition for upgrading
+ # file created only if OVIRT_ISCSI_ENABLED=y
+ if [ -f /boot/ovirt ]; then
+ . /boot/ovirt
+ iscsiadm -p $OVIRT_ISCSI_TARGET_IP:$OVIRT_ISCSI_TARGET_PORT -m discovery -t sendtargets
+ log "Restarting iscsi service"
+ service iscsi restart
+ fi
+ else
+ grub_dev_label="RootBackup"
+ fi
mount_liveos
# check that /boot mounted ok and find partition number for GRUB
- eval $(readlink -f /...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...en
- OVIRT_ISCSI_TARGET_IP=$REPLY
+ OVIRT_ISCSI_TARGET_IP="$REPLY"
if [ -n "$REPLY" ]; then
break;
fi
elif [ "$OPTION" == "Target Port" ]; then
- OVIRT_ISCSI_TARGET_PORT=$REPLY
+ OVIRT_ISCSI_TARGET_PORT="$REPLY"
if [ -z "$REPLY" ]; then
OVIRT_ISCSI_TARGET_PORT="3260"
break;
@@ -826,11 +826,11 @@ while true; do
fi
elif [ "$OPTIO...
2010 Oct 26
0
[PATCH node] add install.py
...")
+ OVIRT_VARS[key] = value
+ except:
+ pass
+ f.close()
+ iscsiadm_cmd = "iscsiadm -p %s:%s -m discovery -t sendtargets" % (OVIRT_VARS["OVIRT_ISCSI_TARGET_IP"], OVIRT_VARS["OVIRT_ISCSI_TARGET_PORT"])
+ os.system("iscsiadm_cmd")
+ log("Restarting iscsi service")
+ os.system("service iscsi restart")
+ except:
+ pass
+ else:
+ grub_dev_label="RootBackup"
+
+ # check t...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...ion
if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
- bootparams="ro root=LABEL=live:Root roottypefs=ext3 console=tty0 \
+ bootparams="ro root=LABEL=ovirt-node-root roottypefs=ext3 console=tty0 \
netroot=iscsi:$OVIRT_ISCSI_TARGET_IP::$OVIRT_ISCSI_TARGET_PORT::$OVIRT_ISCSI_NODE_NAME ip=eth0:dhcp"
else
- bootparams="ro root=LABEL=live:Root roottypefs=ext3 console=tty0 \
+ bootparams="ro root=live:LABEL=Root roottypefs=ext3 console=tty0 \
$(echo $bootparams | sed s/console=tty0//g)"
fi
cat...