A P P E N D I X B |
Creating a Bootable Array With the Sun Blade RAID 5 Expansion Module |
As an installation option, you can choose to create a bootable array (bootable logical drive) and then install the Solaris operating system and the HBA driver onto that array (logical drive). This chapter describes how to set the Sun Blade T6320 to be the boot controller, and how to create a bootable array on a SPARC system.
Note - This appendix assumes that you are experienced with Solaris network installs. |
These instructions describe how to use the Sun Blade RAID 5 Expansion Module to create boot disks for a SPARC system that will run the Solaris 10 OS with a network install server. Instructions for creating a bootable array with just the Live CD and no install server are also included. Creating a bootable array using an install server is suggested for larger sites.
The SUNWaac driver, which is required by Solaris to communicate with logical drives created on the Sun Blade RAID 5 Expansion Module, is not present on the install image. Because of this, you must manually add the driver. Manually adding the SUNWaac driver is necessary only if you want to boot directly off logical drives that are presented by the Sun Blade RAID 5 Expansion Module. Disks attached through a REM must be presented as logical volumes. They cannot be accessed directly.
To create a bootable array for a SPARC system that will be running the Solaris 10 OS, do the following:
1. Install and connect the HBA and disk drives.
See Replacing or Installing the Sun Blade RAID 5 Expansion Module.
2. Obtain the Live CD from the HBA ship kit or go to: http://support.intel.com/support/go/sunraid.htm.
3. To create a bootable array using just the REM and Live CD (no install server), go to To Create a Logical Drive Without a Network Install Server.
To create a bootable array using the REM, Live CD, and install server (suggested for larger sites), continue with Step 4.
4. Install and configure a network install server, as described in Solaris 10 Installation Guide: Network Based Installations.
You can obtain this document by performing a search at:
5. Obtain the following packages from the Live CD or from http://support.intel.com/support/go/sunraid.htm,and copy them into a working directory on the install server:
6. Modify two locations on the network install server:
7. Build a logical drive on which to install the Solaris 10 5/08 OS.
See Building a Logical Drive On Which to Install the Solaris OS.
The miniroot is the Solaris image mounted on / during a network installation, and is used to provide a Solaris environment to run installation programs within.
To enable configuration of logical drives on the Sun StorageTek SAS RAID Internal HBA card and to enable booting via the logical drives, you must add three packages to the miniroot directory:
For information about obtaining these packages, see Creating a Bootable Array Task Map.
|
The examples in this procedure use install_dir_path to refer to the location where the network install image is located. This is the same directory path that you use with the setup_install_server command, as described in the Solaris 10 Installation Guide: Network Based Installations.
1. If the install server is running a version of the Solaris OS prior to Solaris 10 5/08, update the server with the appropriate Solaris patch:
You can download the patches from http://www.sunsolve.com.You must install the patch because the SUNWgccruntime package, which is one of the required packages on the miniroot directory, requires the presence of the p7zip compression program on the install server. This compression program is included in the Solaris 10 5/08 OS and in the patches described in this step.
2. Obtain the required packages, as described in Creating a Bootable Array Task Map.
3. As a root user, log into a SPARC architecture host (install server) from which you can run the pkgadd commands.
4. If you are installing the packages directly from the Live CD from the HBA ship kit, mount the Live CD and use the cd command to change to the Live CD directory.
5. Use the pkgadd -R command to install the SUNWaac, SUNWgccruntime, and StorMan packages in the install_dir_path/Solaris_10/Tools/Boot directory.
# pkgadd -R install_dir_path/Solaris_10/Tools/Boot -d. SUNWaac # pkgadd -R install_dir_path/Solaris_10/Tools/Boot -d. SUNWgccruntime # pkgadd -R install_dir_path/Solaris_10/Tools/Boot -d. StorMan |
The product installation directory is the directory into which all other Solaris products will be installed during the network install. On the network install server, the directory is install_dir_path/Solaris_10/Product.
You must place a copy of the SUNWaac package in this product installation directory. Doing so enables you to add the SUNWaac driver to the client machine after other Solaris packages have been installed. Without the SUNWaac driver, logical drives, including boot drives, will not be accessible to the operating system, and booting the newly installed machine will fail.
|
1. Obtain the SUNWaac package, as described in Creating a Bootable Array Task Map.
2. Use the cp -r command to copy the SUNWaac package from the working directory to the install_dir_path/Solaris_10/Product directory on the install server.
The cp command places the package on a network-mounted directory that will be available to the install client. However, the command does not install the package. Installing the package is a manual step that you will perform after the installation of other Solaris software.
Before you can install the Solaris OS, you need to build the logical drive (array) on which to install it. This section contains the following subsections:
Note - The following procedures provide basic examples of the command-line interface (CLI). For detailed information about using the CLI, see the Uniform Command-Line Interface User’s Guide, located at:
http://docs.sun.com/app/docs/prod/stortek.raid.hba |
|
1. Ensure that the physical drives are cabled to the internal Sun StorageTek SAS RAID HBA.
2. From the system console, boot over the network into single user mode.
3. At the system prompt, access the command-line interface (CLI), and use the ./arcconf GETCONFIG command to print a list of the complete configuration of card 1 on the system.
In the following example, note that the CLI is located in the /opt/StorMan directory, and the name of the CLI is aarconf. All commands must start with ./ unless you have altered the path to include /opt/StorMan in it.
4. Create a logical drive on the REM, using RAID 5 and all space on disks 0,2 0,3 and 0,4, run the CREATE command as shown in the following example.
5. Perform the necessary tasks to configure the drive. Such tasks might include the following:
These tasks are covered in the Solaris OS administration documentation. For additional drive verification, use SunVTS. Refer to the SunVTS and Solaris documentation at http://docs.sun.com for details.
|
1. Using ILOM, obtain the IP address of the system console from the blade server:
sc> shownetwork SC network configuration is: IP Address: 10.6.214.63 Gateway address: 10.6.214.1 Netmask: 255.255.255.0 Ethernet Address: 00:14:4F:E5:AD:6B |
2. Type the IP address in the browser interface and select the Remote Control tab and the Launch Redirection option.
3. Insert the Live CD in the blade server you are working on, then select Devices/CDROM.
4. Insert the path to your CDROM drive.
5. On the host system, type the following from the OpenBoot PROM prompt and follow the directions:
6. At the system prompt, access the command-line interface (CLI), and use the ./arcconf GETCONFIG command to print a list of the complete configuration of card 1 on the system.
In the following example, note that the CLI is located in the /opt/StorMan directory, and the name of the CLI is aarconf. All commands must start with ./ unless you have altered the path to include /opt/StorMan in it.
7. Create a logical drive on the REM, using RAID 5 and all space on disks 0,2 0,3 and 0,4.
Run the CREATE command as shown in the following example.
8. To label the logical drive, see To Label the Newly Created Logical Drive.
|
You might need to free up some space in order to create the logical drive on which the Solaris OS will be installed. You can do so by deleting existing logical drives.
![]() |
Caution - Using the command in this procedure will destroy all data on the specified logical drive. Be very careful when using this command to prevent unintentional data loss. |
To delete a logical drive on the REM, use the DELETE card-number LOGICALDRIVE drive-number command.
In this example, x is the number of the logical drive that you want to delete.
|
Before the Solaris OS can install software onto the newly created logical drive, you must label the drive.
1. Use the ./arcconf GETCONFIG card-number LD command to display the logical drives on the REM.
2. Use the devfsadm command to find the newly created drive and load its drivers.
3. To label the newly created drive, use the format command and select the logical drive.
You can distinguish the logical REM drives in the output by looking at the vendor/product ID string. The Sun StorageTek SAS RAID HBA card is displayed as “Sun-STKRAID.” The last part of the string will display “EXT” (for external) or “INT” (for internal), depending on the type of card you have.
4. When the format process displays the Disk not labeled. Label it now? prompt, type y and press Enter.
5. Exit the format process by typing quit and pressing Enter.
You now have a labeled logical drive.
6. Use the init 0 command, switch to the ok prompt, and use the boot net command to reboot the system for normal network-based installation.
Install the Solaris OS and the HBA driver onto the bootable array, as described in Appendix C.
For more information, refer to the following documents at: http://docs.sun.com/app/docs/coll/dsk-cntrl
For Sun RAID controller drivers, firmware, and utilities including Sun StorageTek RAID Manager for SPARC (8/4/2008) Version 5.50, go to: http://support.intel.com/support/motherboards/server/sunraid/
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.