How to Prepare a Sun ZFS Storage Appliance to Serve as a Storage Device with Oracle Enterprise Manager Ops Center 12c

by Barbara Higgins

How to prepare Oracle's Sun ZFS Storage Appliance to serve as the storage device for a server pool using Oracle Enterprise Manager Ops Center 12c.


Published September 2012

Oracle Enterprise Manager Ops Center manages Oracle hardware, virtualization technologies, and operating systems that are deployed in traditional, virtualized, and cloud environments. This article provides an end-to-end example for how to use Oracle Enterprise Manager Ops Center to discover a Sun ZFS Storage Appliance and configure it as a storage library.

If you'd like to download software, participate in forums, and get access to other technical how-to goodies in addition to content like this, become an OTN member. No spam!

More About the Sun ZFS Storage Appliance

The Sun ZFS Storage Appliance is referred to as "unified storage" because it is capable of both file system storage and block storage. The example in this article uses block storage. Block storage consists of Fibre Channel disks or iSCSI disks that are configured into Logical Units (LUNs). From the perspective of Oracle Enterprise Manager Ops Center, block storage is either static or dynamic:

  • A static block storage library refers to the libraries that were discovered and configured by previous versions of Enterprise Manager Ops Center. Oracle Enterprise Manager Ops Center can manage the LUNs in static block storage, but it cannot change, delete, or create new LUNs. To change, delete, or create new LUNs in static block storage, you must use the user interface of the storage device itself.
  • Dynamic block storage refers to iSCSI LUNs discovered by Oracle Enterprise Manager Ops Center. You can create, resize, delete, and clone dynamic block storage LUNs with Oracle Enterprise Manager Ops Center itself.

The instructions in this article use Oracle Enterprise Manager Ops Center to discover, configure, and manage a Sun ZFS Storage Appliance so that it is ready to be associated with a server pool. See the "See Also " section for links to related information and articles about other types of storage libraries.

What You Will Need

You will need the following to set up and use a dynamic block storage library:

  • An unmanaged Sun ZFS Storage Appliance connected to a managed network
  • The IP address of the storage appliance
  • The role of Storage Admin

Overview of the Process

Here is an overview of the tasks you perform to set up a SAN storage library on a Sun ZFS Storage Appliance:

From the Sun ZFS Storage Appliance's user interface, you do the following:

  1. Configure the Sun ZFS Storage Appliance to use both the Fibre Channel protocol and the iSCSI protocol.
  2. Create an account for Oracle Enterprise Manager Ops Center.

Then from Oracle Enterprise Manager Ops Center, you do the following to manage the Sun ZFS Storage Appliance:

  1. Create a discovery profile for the Sun ZFS Storage Appliance.
  2. Discover the storage appliance, which creates a dynamic storage library.

Configuring the Sun ZFS Storage Appliance

The following procedures specify the type of LUN, the access to the LUN, and the path to the LUN using the Fibre Channel and iSCSI protocols. Fibre Channel has a physical connection between the storage device and the server that uses the storage. The iSCSI standard is a network connection.

These procedures are performed on the Sun ZFS Storage Appliance and use its UI. For more information, see the Sun ZFS Storage Appliance's system administration guide or see the Sun ZFS Storage Appliance's online help.

The following procedures are examples of the varied ways to configure the Sun ZFS Storage Appliance.

Configuring LUNs

These instructions configure the Sun ZFS Storage Appliance to expose LUNs as Fibre Channel and iSCSI LUNs. If you prefer, you can configure the appliance for iSCSI LUNs only.

Configuring Fibre Channel Ports

You must identify the ports through which the LUNs can be reached. These are called target ports. By default, all the ports are initiator ports. Change at least one port from an initiator port to a target port. Then create a target group and include the target ports in the target group.

Another way to protect access to LUNs is to specify which initiators can write to the LUN. Although the new storage library will be using the LUNs, the library has not yet been created and the Sun ZFS Storage Appliance has not yet been discovered by Oracle Enterprise Manager Ops Center, so these entities cannot be included in the Initiators list.

  1. Log in to the Sun ZFS Storage Appliance.
  2. Select Configuration and then select SAN.
  3. Click the Fibre Channel Ports tab, if it is not selected.
  4. Select at least one port and change its role from Initiator to Target.
  5. Reboot the storage appliance.
  6. (Optional) Each port is identified by its WWN. To create an alternate name, select Configuration, then select SAN, and then click the "i" icon to see Port Details. In the Alias field, enter a name for the port, for example a combination of host name and port number.
  7. To create a new target group, select the port, drag it to the Target Group table, and drop it at the (+) icon. Click the Edit icon to name the new group. Drag more target ports to the group. Make a note of all the target groups you create because you will provide the names in the discovery procedure.

Configuring iSCSI Targets

  1. Log in to the Sun ZFS Storage Appliance.
  2. Select Configuration and then select Services to verify that the iSCSI service is running and that the iSNS and Radius services are disabled.
  3. Select Configuration and then select SAN.
  4. Click the Targets tab and then click iSCSI Targets.
  5. Create a target with the following attributes:

    • Name: OC-iSCSI-Target
    • IQN: Auto-assign
    • Authentication: None
  6. To create a new target group, select the new target, drag it to the Target Group table, and drop it at the (+) icon.
  7. Click the Edit icon to rename the new group to OC-iSCSI.

You will provide the name of the target group and target in the discovery procedure.

Creating an Account for Oracle Enterprise Manager Ops Center

To create and maintain a SAN storage library, Oracle Enterprise Manager Ops Center must be able to log in to the Sun ZFS Storage Appliance. Create a user account on the appliance with the username ocuser, with the basic administration role, and with the following permissions and characteristics:

  • (Required) Permission to administer, configure, and restart the SNMP service
  • Permission to configure alert filters and thresholds so that an Oracle Enterprise Manager Ops Center user with the appropriate role can set up the monitoring feature
  • Permission to administer the Phone Home Service so that an Oracle Enterprise Manager Ops Center user with the appropriate role can use the Enable Appliance Phone Home or Disable Appliance Phone Home actions
  • Permission to turn off the appliance so that an Oracle Enterprise Manager Ops Center user with the appropriate role can turn off the storage appliance remotely

In addition, the ocuser account has these requirements:

  • It must not be a kiosk type.
  • It must not require session annotation.

Managing the Sun ZFS Storage Appliance

Now that the Sun ZFS Storage Appliance has been configured, use Oracle Enterprise Manager Ops Center to discover and manage it.

Creating a Discovery Profile

  1. Expand Plan Management in the Navigation pane.
  2. In the Profiles and Policies section, click Discovery.
  3. Click Create Profile in the Actions pane.
  4. Enter a name for the discovery profile.

    Figure 1

    Figure 1. Naming the Discovery Profile

  5. For Asset Type, expand the Storage section and select Sun ZFS Storage Appliance. Click Next.
  6. (Optional) Use the Tags step of the wizard to add information for semantic tags. All assets discovered by this profile will have the same tags. Click Next.
  7. In the Targets step, enter the host name of the storage appliance or its IP address. The iSCSI and NFS protocols are both enabled.
  8. For Network, select Automatic. This directs the profile to locate the Proxy Controller closest to the storage appliance.
  9. The Targets step gives you the option of discovering the Sun ZFS Storage Appliance's storage as iSCSI targets. Enter the names of the target group and target you configured on the Sun ZFS Storage Appliance.

    Figure 2

    Figure 2. Targets Step

  10. Specify the credentials needed to get access to the storage appliance's service processor. To create new credentials, you must have the Security Admin role.
  11. Review the summary and click Finish to create the discovery profile.

Discovering the Sun ZFS Storage Appliance

Use the discovery profile to find the Sun ZFS Storage Appliance on the network, retrieve its configuration information, and make it a managed asset.

  1. Expand All Assets in the navigation pane.
  2. Click Add Assets in the Actions pane.
  3. Select the Add and Manage Various Types of Assets via Discovery Probes option.
  4. Select the new discovery profile. If information has changed since you created it, scroll down to see the attributes of the profile and modify the information.
  5. Click Add Now to submit the discovery job.

    Oracle Enterprise Manager Ops Center displays the Sun ZFS Storage Appliance in the Storage section of the Assets tree. The LUNs defined in the storage appliance are now available for a new storage library. Because you discovered the storage appliance's iSCSI targets, a dynamic block storage library is created automatically.

    Figure 3

    Figure 3. Dynamic Block Storage Library

What's Next

The new storage library is not associated with any server pool or virtualization host. Select a server pool or virtualization host and then use the Associate Libraries action.

See Also

The following sections of the Oracle Enterprise Manager Ops Center Feature Reference Guide contain more information:

For more procedures, see the Ops Center How-To Documentation Library.

About the Author

Barbara Higgins is a Senior Technical Writer for Oracle, developing documentation for Oracle Enterprise Manager Ops Center. In previous roles, Barbara has documented public safety communications software and Sun hardware.

Revision 1.0, 09/04/2012

facebook banner twitter banner