You can configure a SAN boot LUN on SUSE Linux Enterprise Server. Doing this requires multiple steps and close attention to the requirements in each step.
Before you begin
Verify that your system setup supports SAN boot LUNs. See the
NetApp Interoperability Matrix.
Steps
- Log in to the storage system console or the Web interface of the storage system.
- When you initiate the installation, specify Boot Option as follows:
linux withiscsi=1 netsetup=1
- In the
iSCSI Initiator Overview page, select the
Service tab and enter the Target IP address and the
iSCSI initiator name.
Note: You should ensure that you associate this IQN with the appropriate privileges on the storage controller.
- On the storage controller, create an igroup with the initiator name that you provided in the previous step.
- Create a LUN on the storage system on which you can create the root partition, and map it to the igroup.
- Return to the host screen. Select the
Connected Targets tab and click
Add.
- On the
iSCSI Initiator Discovery page, perform the following steps:
- Specify the IP address of the storage system.
- Specify the port. The default is 3260.
- Specify the credentials if you are using an authentication mechanism.
- Click
Next.
- In the list of storage systems that are discovered, click
Connect for each one. You might also have to do this for the authentication credentials also.
Note: During the installation, you should enable only one path to the root LUN.
Click
Next.
- Verify that the value for Connected is true for all the targets and click
Next.
The Connected Targets pane lists all the targets.
- Set the Start-up mode to
onboot by using the
Toggle Start-up button, and click
Finish.
- In the
Installation Settings page, select the
Expert tab.
- Click
Partitioning.
- Select the
Create Custom Partition Setup option.
Note: You can view the list of local disks and LUNs.
- Select the
Custom Partitioning (for experts) option.
- In the
Expert Partitioner page, select the LUN where you want to install the root file system.
- Create the root file system on the selected LUN and select the mount point as
/.
- Click the
Fstab Options button.
- Select the
Mount by Device ID option.
- Ensure that you have the
_netdev, nofail keyword in the Arbitrary Option Value text box, and click
OK.
- In the
Create a Primary Partition page, click
OK.
- Create a SWAP partition.
Note: You can create a SWAP partition on the same LUN that contains the root partition or on a different LUN.
If you are using the software suspend functionality, you should ensure that the SWAP partition is on a local disk.
- Create the /boot partition.
You can create a /boot partition on a locally attached disk or use a PXE server to load the kernel boot image.
- After you return to the
Expert Partitioner page, review the configuration. Click
Finish.
- In the
Installation Settings page, click the
Booting tab.
- Select
Default Label.
- Click
Edit.
- For the
Optional Kernel Command Line Parameter, ensure that all references to installer arguments are removed.
The parameter should look similar to the following: resume=/dev/sda1 splash=silent showopts
- Click
OK.
- Click the
Boot Loader Installation tab.
- In the
Boot Loader Location pane, select the
Boot from Master Boot Record option.
Click
Finish. Doing this returns you to the
Installation Settings page.
- Review the configuration settings and click
Accept. The
Confirm Installation page is displayed.
- Click
Install and follow the prompts to complete the installation.