External Storage Certification

The requirements and configurations needed to certify External Storage devices are different from
that of certifying other components with Oracle HCTS. Hence, this chapter is dedicated
only to External Storage devices and the procedure to certify them using Oracle
HCTS.

Requirements for Certifying External Storage Devices

Hardware Requirements

The hardware requirements for certifying External Storage Devices can be schematically represented as
shown in the following figure.

The hardware requirements to certify External Storage devices are as follows.

Four servers are required. One as the test server, and the other three as hosts are connected to external storage.

Set up at least two multi-hosted disks on external storage for Host01, Host02, and Host03.

Each host should have two connections to the external storage (for multi-path).

Host01, Host02, Host03, and test server can be accessed each other through Ethernet.

Software Requirements

The software requirements to certify External Storage devices are as follows.

The platform of Host01, Host02, Host03 should be the same.

Install same Oracle Solaris release on Host01, Host02, Host03.

The tests require reboot process, make sure the network configuration of Host01, Host02, Host03 stay the same after rebooting.

Certifying External Storage Devices

To certifying External Storage devices, you need to first set up the storage
environment. You can then certify your devices using either the GUI or command-line
interfaces. The following section describes the procedures that need to be followed to
certify External Storage Devices.

To Set the External Storage Certification Environment

Set up the environment on the Test Server and all 3 hosts,
by executing the following steps.

Install the SUNWhcts and the SUNWtscsi packages, by executing the following commands

# pkgadd -d . SUNWhcts
# pkgadd -d . SUNWtscsi

Enable root log into the machine through rsh. Edit <Root Home Directory>/.rhosts and add + + to
the head of <Root Home Directory>/.rhosts.

The content <Root Home Directory>/.rhosts should be as follows.

+ +
+ scsi

Edit /etc/default/login feature, and comment the line CONSOLE=/dev/console.

Restart the login service, by executing the following command.

# svcadm restart svc:/system/console-login:default

Make sure the following services are online.

# svc:/network/shell:default svc:/network/login:rlogin

Enable I/O multipathing feature on all three hosts, by executing the following command.

# stmsboot -e
Reboot your machine by typing y, when the command prompts you to do so.

To Certify External Storage on Test Server Using GUI

Start the Oracle HCTS GUI on Test Server.

When prompted to select a mode for the machine, select System Under Test
then click the OK button.

Click on the External Storage Certification button on the left panel of main
window.

Type in the hostnames or IP addresses of three machines respectively in text
fields.

Click Check Devices button.

External disks found by HCTS will be displayed on the right text areas.

Select any two disks from the list.

Click the Start button.

To Certify External Storage on Test Server Using CLI

Type the following command to set up the Test Server as System Under
Test.

# hctscli setup-sut

Type the following command to start the certification of external storage on test
server.

# hctscli certify Storage_ESD

The following message is displayed.

External storage certification environment needs to be set up \
before starting the certification.
Refer to HCTS User Guide/Online Help for detailed information.
Type three hostnames or IP addresses(separated by a space or tab):

Type three host names or IP addresses (separated by a space or tab).

Host1 Host2 Host3
Choose any two disks from the following list:
1: Disk1
2: Disk2
3: Disk3
Type the serial numbers of the two disks \
you want to select (separated by a space or tab).

Type the serial numbers of the two disks you want to select
(separated by a space or tab).

12

Example 5-1 Sample of the External Storage Certification Using CLI

The following image shows an example of the steps for certifying the External
Storage Certification.