bosinst.data target_iscsi_data stanza
The optional target_iscsi_data stanza contains variables for the parent iSCSI adapter of the disks in the system where the program resides to install the base operating system.
The bosinst.data file contains a target_iscsi_data stanza only if the root volume group includes an iSCSI disk. Only one target_iscsi_data stanza can exist. It defines the iSCSI target for the disks that are to contain the root volume group. The target_iscsi_data stanza must be located after all the target_disk_data stanzas to ensure correct processing.
Variable | Description |
---|---|
ADAPTER_NAME | Specifies the name of
the iSCSI TOE adapter (for example, ics0 ) or the
iSCSI software solution protocol device (for example, ics0 )
to which this iSCSI target will be configured. This is a required
field. |
ISCSI_GROUP | This field should be set to the static value. |
TARGET_NAME | Specifies the iSCSI target name of the iSCSI target. The mkiscsi command will not do normalizing on the TARGET_NAME. |
INITIATOR_NAME | Specifies the iSCSI initiator name of the iSCSI Initiator. |
PORT_NUMBER | Specifies the TCP port number of the iSCSI target. |
IP_ADDRESS | Specifies the IP address of the iSCSI target. |
SW_INITIATOR<yes, no> | Specifies whether the adapter is an iSCSI software solution protocol device. If the adapter is an iSCSI software protocol device, the network interface that was configured by NIM is used to connect to the iSCSI target. |
DISC_POLICY | Set the value of odm. |
ADAPTER_IP | Specifies the IP address of the iSCSI TOE adapter when SW_INITIATOR is set to no. |
ADAPTER_GW | Specifies the IP address of the gateway that is used by the iSCSI TOE adapter when SW_INITIATOR is set to no. |
ADAPTER_SNM | Specifies the subnet mask that is used by the iSCSI TOE adapter when SW_INITIATOR is set to no. |
The following example shows a target_iscsi_data stanza for a configuration
where the adapter is a software initiator adapter:
target_iscsi_data:
ADAPTER_NAME = iscsi0
ISCSI_GROUP = static
TARGET_NAME = iqn.sn1234.iscsi_hw1
INITIATOR_NAME= iqn.2000-01.ibm.boot
PORT_NUMBER = 3260
IP_ADDRESS = 10.1.1.130
SW_INITIATOR = yes
DISC_POLICY = odm
The following example shows a target_iscsi_data stanza using an
iSCSI TOE adapter:
target_iscsi_data:
ADAPTER_NAME = ics0
ISCSI_GROUP = static
TARGET_NAME = iqn.sn1234.iscsi_hw1
INITIATOR_NAME= iqn.2000-01.ibm.boot
PORT_NUMBER = 3260
IP_ADDRESS = 10.1.1.130
SW_INITIATOR = no
DISC_POLICY = odm
ADAPTER_IP = 10.1.2.115
ADAPTER_GW = 10.1.2.1
ADAPTER_SNM = 255.255.255.0