Do the following to commission a SUSE LINUX partition image on a partitionable enterprise partition platform (PEPP), and then move the Linux OS disk drive partitions /boot, /var, /root, /swap, and /tmp to the iSCSI target. The Linux OS disk drive partition /efi must remain on the internal storage of the PEPP.
Note: A backup copy of the /efi disk drive partition is kept on the SAN to facilitate copying of the PEPP partition.
Be sure the iSCSI target is available.
Use the Fabric Manager user interface to commission a SUSE LINUX partition image on your PEPP. For more information, see Overview of Commissioning a Partition and Commissioning a Partition Image.
Change the run level of the partition to single user mode. For example,
telinit S
Enter the password for the root user ID at the partition desktop prompt.
Locate and run the interactive iSCSI installation script. For example,
/usr/local/bin/iscsiadd.sh
The script launches and loads networking drivers for connecting to the iSCSI target.
When queried for the initiator name, verify that the name matches an initiator name specified by the storage administrator for the iSCSI target, and then press Enter.
When queried for an IP address for the iSCSI target, enter the information you obtained from your storage administrator.
The script verifies the IP address as well as the state of iSCSI.
Note: If the IP address you entered is not correct, you are prompted to enter a new IP address.
When queried for user ID and password for accessing the target, if configured, enter the information you obtained from your storage administrator. Otherwise, press Enter.
Note: If the target is not available, you may see messages similar to the following, and you are prompted to enter a new IP address.PING 172.31.180.1 (172.31.180.1) 56(84) bytes of data. From 172.31.3.3: icmp_seq=1 Destination Host Unreachable --- 172.31.180.1 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
If the external storage device does not have a target with the same name as your partition, you are prompted to select a target. Use the up and down arrow keys to select your desired target, press Tab to select OK, and then press Enter to confirm your choice.
Note: Examples in following steps use iqn.usrv-flx3:0 as the target name.
The script accesses the target and configures the Linux OS disk drive partitions, and status messages similar to the following are displayed:
Logging in to [iface: default, target: iqn.usrv–flx3:0, portal: 172.31.180.1,3260] (multiple) Login to [iface: default, target: iqn.usrv–flx3:0, portal: 172.31.180.1,3260] successful. TARGET is "iqn.usrv–flx3:0" Found LUN 0 … Kernel image: /boot/vmlinuz-3.0.76-0.11-default Initrd image: /boot/initrd-3.0.76-0.11-default … Kernel Modules: hwmon thermal_sys thermal processor fan scsi_mod scsi_tgt scsi_transport_fc lpfc megaraid_sas libata libahci ahci uischanmod spardump sparstop visorchannel visordiag visorchipset uislibmod virtpcimod virthbamod virtnicmod visorbus visorclientbus visorserialclient visorconinclient visorvideoclient visornoop ipv6_lib compat ib_addr ib_core ib_mad ib_sa ib_cm ib_ipoib mlx5_core mlx5_ib ib_uverbs ib_ucm ib_umad mlx4_core mlx4_en mlx4_ib scsi_dh scsi_dh_hp_sw scsi_dh_alua scsi_dh_rdac scsi_dh_emc mbcache jbd ext3 scsi_transport_iscsi libiscsi libiscsi_tcp iscsi_tcp af_packet bonding crc32c iscsi_boot_sysfs iscsi_ibft uio cnic bnx2i nls_utf8 crc-t10dif sd_mod Features: acpi block network iscsi resume.userspace resume.kernel kdump 61644 blocks mkinitrd was successful.
The script then copies the file systems from the internal storage to the target. When the root file system is copying, the script may pause and display status messages similar to the following:
Features: acpi block network iscsi resume.userspace resume.kernel kdump 61634 blocks mkinitrd was successful. /var: 16933 19278
Verify that all patches were applied successfully and status messages similar to the following are displayed:
Successful application of patch /usr/local/iscsiboot/src/aaa_base–11-6.90.1.patch Successful application of patch /usr/local/iscsiboot/src/open–iscsi–2.0.873–0.21.1.patch
If desired, prepare a second partition as a backup partition. See Preparing Backup Partition. Otherwise, proceed to Verifying Location of /root to reboot your partition and verify that the Linux OS disk drive partition /root is on the iSCSI target.