Displaying 4 results from an estimated 4 matches for "ovirt_iscsi_target_ip".
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.
...ilable"
+ 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...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...if [[ $REPLY == "q" || $REPLY == "Q" ]]; then
+ if [[ "$REPLY" == "q" || "$REPLY" == "Q" ]]; then
return
fi
if [ "$OPTION" == "Target IP" ]; then
- 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
+...
2010 Oct 26
0
[PATCH node] add install.py
...value = value.strip("\"")
+ 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_...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...console after installation
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//...