Owners Manual

iSCSI プロトコル:Broadcom NetXtreme II® ネットワーク アダプタ ユーザー ガイド
file:///C¦/Users/Nalina_N_S/Documents/NetXtremeII/Japanese/iscsi.htm[9/5/2014 3:58:25 PM]
11
11
再起動し、必要に応じて
CHAP
パラメタを変更します。
11
11 iSCSI ブート イメージへのブートを続行し、作成したイメージの 1 (非オフロードまたはオフロード) を選択します。選択内容
は、iSCSI ブート パラメタ セクションでの選択肢に対応している必要があります。iSCSI ブート パラメタ セクションで [HBA Boot
Mode] がイネーブルになっている場合、オフロード イメージをブートする必要があります。SLES 10.x および SLES 11 はオフロー
ドをサポートしません。
11
11 IPv6 の場合、NVRAM 設定で、イニシエータとターゲットの両方 IP アドレスを目的の IPv6 アドレスに変更します。
SUSE 11.1 のリモート DVD インストールのワークアラウンド
111 次の内容の boot.open-iscsi という新しいファイルを作成します。
111 作成したファイルを /etc/init.d/ フォルダにコピーして、既存のファイルを上書きします。
新しい boot.open-iscsi ファイルの内容:
#!/bin/bash
#
# /etc/init.d/iscsi
#
### BEGIN INIT INFO
# Provides: iscsiboot
# Required-Start:
# Should-Start: boot.multipath
# Required-Stop:
# Should-Stop: $null
# Default-Start: B
# Default-Stop:
# Short-Description: iSCSI initiator daemon root-fs support
# Description: Starts the iSCSI initiator daemon if the
# root-filesystem is on an iSCSI device
#
### 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