Herunterladen Inhalt Inhalt Diese Seite drucken

Dell BCM57XX Benutzerhandbuch Seite 30

Inhaltsverzeichnis

Werbung

iSCSI-Protokoll: Broadcom NetXtreme BCM57XX Benutzerhandbuch
13. Ändern Sie das grub-Menü so, dass auf das neue initrd-Image gezeigt wird.
14. Zum Aktivieren von CHAP ist eine Änderung von iscsid.conf erforderlich (nur Red Hat).
15. Führen Sie einen Neustart durch, und ändern Sie gegebenenfalls die CHAP-Parameter.
16. Setzen Sie das Booten in das iSCSI-Boot-Image fort, und wählen Sie eines der erstellten Images aus (Non-Offload oder
Offload). Sie sollten dabei Ihre Auswahl im Abschnitt zu den iSCSI-Boot-Parametern berücksichtigen. Wenn HBA Boot-
Modus in den iSCSI-Boot-Parametern aktiviert wurde, müssen Sie das Offload-Image booten. Bei SLES 10.x und
SLES 11 wird kein Offload unterstützt.
17. Für IPv6 können Sie nun in der NVRAM-Konfiguriation die gewünschte IPv6-Adresse sowohl für den Initiator aus auch
für das Ziel festlegen.
Workaround für die dezentrale DVD-Installation bei SUSE 11.1
1. Erstellen Sie eine neue Datei mit dem Namen "boot.open-iscsi" und dem unten dargestellten Inhalt.
2. Kopieren Sie die erstellte Datei in den Ordner /etc/init.d/, und überschreiben Sie die vorhandene Datei.
Inhalt der neuen boot.open-iscsi-Datei:
#!/bin/bash
#
# /etc/init.d/iscsi
#
### BEGIN INIT INFO
# Provides:
# Required-Start:
# Should-Start:
# Required-Stop:
# Should-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: iSCSI initiator daemon root-fs support
# Description:
#
#
### END INIT INFO
ISCSIADM=/sbin/iscsiadm
ISCSIUIO=/sbin/iscsiuio
CONFIG_FILE=/etc/iscsid.conf
DAEMON=/sbin/iscsid
ARGS="-c $CONFIG_FILE"
# Source LSB init functions
. /etc/rc.status
#
# This service is run right after booting. So all targets activated
# during mkinitrd run should not be removed when the open-iscsi
# service is stopped.
#
iscsi_load_iscsiuio()
{
TRANSPORT=`$ISCSIADM -m session 2> /dev/null | grep "bnx2i"`
if [ "$TRANSPORT" ] ; then
echo -n "Launch iscsiuio "
startproc $ISCSIUIO
fi
}
iscsi_mark_root_nodes()
{
$ISCSIADM -m session 2> /dev/null | while read t num i target ; do
ip=${i%%:*}
STARTUP=`$ISCSIADM -m node -p $ip -T $target 2> /dev/null | grep "node.conn\[0\].startup" | cut -
d' ' -f3`
if [ "$STARTUP" -a "$STARTUP" != "onboot" ] ; then
$ISCSIADM -m node -p $ip -T $target -o update -n node.conn[0].startup -v onboot
fi
done
}
# Reset status of this service
rc_reset
# We only need to start this for root on iSCSI
if ! grep -q iscsi_tcp /proc/modules ; then
if ! grep -q bnx2i /proc/modules ; then
rc_failed 6
rc_exit
fi
fi
case "$1" in
start)
echo -n "Starting iSCSI initiator for the root device: "
iscsi_load_iscsiuio
startproc $DAEMON $ARGS
rc_status -v
iscsi_mark_root_nodes
;;
stop|restart|reload)
rc_failed 0
;;
status)
echo -n "Checking for iSCSI initiator service: "
file:///C|/Users/Nalina_N_S/Documents/NetXtreme/German/iscsi.htm[9/5/2014 3:34:54 PM]
iscsiboot
boot.multipath
$null
B
Starts the iSCSI initiator daemon if the
root-filesystem is on an iSCSI device

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis