Users Guide

NetXtreme ユーザーガイド iSCSI プロトコル
ページ 82 iSCSI ブート マニュアル 2CS57XX-CDUM513-R
24. システムの再起動後、ログインして /opt/bcm/bibt フォルダに変更し、iscsi_setup.sh スクリプトを実行して initrd
メージを作成します。
25. initrd イメージ /boot フォルダにコピーします。
26. grub メニューを変更して新しい initrd イメージをポイントするようにします。
27. CHAP をイネーブルにするには、iscsid.conf を変更する必要があります (Red Hat のみ )
28. 再起動し、必要に応じて CHAP パラメタを変更します。
29. iSCSI ブート イメージへのブートを続行し、作成したイメージの 1 を選択します。
30. IPv6 の場合、NVRAM 設定で、イニシエータとターゲットの両方 IP アドレスを目的の IPv6 アドレスに変更します。
SUSE 11.1 のリモート DVD インストールのワークアラウンド
1. 次の内容の boot.open-iscsi という新しいファイルを作成します。
2. 作成したファイルを /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