Tutorials‎ > ‎Servers‎ > ‎

Boot from SAN server

How to Configure a Boot from SAN Server
 
There will be four main parts in this configuration. First we will connect to our server, configure the BIOS, view our HBA information, and then next we will configure FC switch zoning. After that we create our boot disk using Command View EVA and then configure our server HBA's to mount that disk in the BIOS.
 
Prerequisites:
 
     1) Your server has all the required cables connected
     2) Connect to your server either via KVM or iLo
     3) Have the "How to Zone a Server" document ready
 
Server Connection:
 
There are many different types of hardware you can install an HBA into to allow that device to boot from the SAN. So I will leave it up to you to figure out how to connect to your equipment, most likely you will have a console with keyboard and mouse. If you are using blades your engineer that installed them for you should have supplied you with the means of connection. For my examples I will be using a blade connecting over the iLo interface using the remote console feature.
 
Integrated Lights-Out 2
 
Server BIOS Configuration:
 
Since we are booting from a SAN vDisk we will not need the local HP Smart Array controller (unless you are using local disks for other purposes). We will want to enter the server BIOS and disable the SA and change the boot order.
 
     1) Power on your server
     2) Through your server connection hit "F9" when you are prompted so
     3) Once you are in the BIOS navigate to the PCI devices
 
 
     4) Scroll down and select your Smart Array controller and hit enter
 
 
     5) Now change the option to disabled and press enter
     6) Esc back to the main BIOS screen and select Boot Controller Order
 
 
     7) Select the Smart Array controller and hit enter, move it to the last position and press enter again
 
 
     8) Press "F10" and then "F10" again to save and exit
 
 
View Server HBA Information:
 
     1) While the server is rebooting you will need to stop the boot sequence when you see the HBA information. You will either need to hit
          Ctrl + Q
          Alt + Q
          Alt + E
     Depending on your adapter
 
 
     2) Select the first HBA in your system and press enter
 
 
     3) Select Configuration Settings and press enter
 
 
     4) Now select Adapter Settings and press enter
 
 
     5) From this menu you can see your adapters port name or WWN, document this number and repeat the same process for the other adapters in this server
 
 
Configuring FC switch zoning:
 
     1) Please refer to your "How to Zone a Server" document that you received
 
Configure your Host in CVE:
 
     1) First we will need to tell each server HBA to scan on the fabric. In your connection to the server ESC back until you see the screen that looks like this
 
 
     2) Scroll down and select Scan Fibre Devices and press enter, you should see devices like the example, if you do not see any objects check your zoning
 
 
     3) Make sure you do this for all adapters in your server so they will show up in CVE
     4) Now open up CVE in a browser, the link will be https://servername:2372
     5) Log into CVE with a user account that has Administrator rights for the storage
     6) Navigate down to the Host section in CVE and click on the Add host button
 
 
     7) Now enter the information for this servers HBA

          Servername
          WWN (Should be in the drop down list, use your documentation from above)
          Operating System type
 
 
     8) Be sure to add in all of the WWN's for this server, CVE must know of all adapters for this server to present the storage to. Change to the Ports tab and click the "Add port" button for the rest of your WWN's
 
 
     9) Now the host has been added we can create our storage. Navigate to the Virtual Disks and click on the "Create Vdisk" button. If you choose you can create a folder structure for your Vdisks to live in.
 
 
 
     10) Fill out the information to create your Vdisk, you must have at least

          Unique name within this EVA
          Size of the disk
          Disk group to create the disk
          Type of RAID (no RAID 0)
          Optional - You can pick a host to present it to
 
 
     11) Verify the LUN number the disk is presented to our server and document that for later. Change to the Presentation tab to see that information.
 
 
Configure Server HBA to View Boot Disk:
 
Now that we have created and presented our boot disk to our server, we need to configure our HBA BIOS to connect to that boot LUN during boot.
 
     1) Change back to the main screen in your HBA BIOS, should look like this below
 
 
     2) Select Configuration Settings and press enter
 
 
     3) Now select Adapter Settings and press enter
 
 
     4) Change the Host Adapter BIOS to Enabled
     5) Change the Connectoin Options to 1 (Fabric Point to Point)
 
 
     6) Press the ESC key back to the Configuration Settings, select the Selectable Boot Settings and press enter
 
 
     7) Change the Selectable Boot to Enabled
     8) Select the Primary Boot option and press enter
 
 
     9) You should see the list of controllers that we configured in the zoning. Each one of these controllers should be presenting the LUN number we documented from the step before. Select the first controller and press enter
 
 
     10) This will give you a list of LUN's coming from that controller, pick out the LUN number you documented from the step before and press enter
 
 
     11) That configured the first boot setting for this server, arrow down to the next boot option and we will repeat this process for the other controller. Press enter once you have selected the second boot option
 
 
     12) This time we will select the second controller in the list and press enter
 
 
     13) Pick the same LUN number from this controller or the LUN number you have documented from the step before, press enter
 
 
     14) Now we can see both boot settings have been configured for this server HBA
 
 
     15) You must repeat this process for any other HBA that you wish to boot off of. In redundant server it is best to have all adapters configure to boot in case of failure