You are on page 1of 192

Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra
Oracle ZFS Storage Appliance
Administration

Activity Guide
D86551GC10
Edition 1.0 | January 2015 | D89036
Learn more from Oracle University at oracle.com/education/
Author Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Robert Bruce Eliasen Disclaimer

This document contains proprietary information and is protected by copyright and other
Technical Contributors intellectual property laws. You may copy and print this document solely for your own
and Reviewers use in an Oracle training course. The document may not be modified or altered in any
way. Except where your use constitutes "fair use" under copyright law, you may not
Carol Kerr use, share, download, upload, copy, print, display, perform, reproduce, publish, license,
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

post, transmit, or distribute this document in whole or in part without the express
William Canterbury authorization of Oracle.
John Powell
The information contained in this document is subject to change without notice. If you
Don Curren find any problems in the document, please report them in writing to: Oracle University,
Sushil Shirke 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.
Mark E Allen
Brian Sutcliffe Restricted Rights Notice

Nancy Larence If this documentation is delivered to the United States Government or anyone using the
b le
Nooshin Saghafi documentation on behalf of the United States Government, the following notice is
applicable:
fer a
Bobby Eskenberry
an s
Cari Yuen
U.S. GOVERNMENT RIGHTS
n - t r
The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or
Dave Winter no
disclose these training materials are restricted by the terms of the applicable Oracle
a
license agreement and/or the applicable U.S. Government contract.
Darius Zanganeh
Dave Krenick Trademark Notice ) h as
i ฺ a e deฺ
Kerstin Wood bowners. Guand/or
Oracle and Java are registered trademarks
a of Oracle i its affiliates. Other names
Kristen Skavdahl may be trademarks of their h
d ent
respective
u
b d
ofฺa s Stu
Debra Frances Eliasen
Barry Isaacman
@ thid
i t s u e
Graphic Designer f u j u s
Rajiv Chandrabhanuh i dฺ e to
l ( ras icens
iha
Editors l
N
shidDaniel Milne
Ra Richard Wallis
Aju Kumar
Malavika Jinka

Publishers
Giri Venugopal
Srividya Rameshkumar
Table of Contents
Practices for Lesson 1: Overview............................................................................................................. 1-1
Practices for Lesson 1............................................................................................................................. 1-2
Practices for Lesson 2: Features and Functions ..................................................................................... 2-1
Practices for Lesson 2............................................................................................................................. 2-2
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Practices for Lesson 3 - Configure the Network Environment................................................................. 3-1


Practices for Lesson 3: Overview............................................................................................................. 3-2
Practice 3-1: Filling Out Network Configuration Worksheet ....................................................................... 3-3
Practice 3-2: Configuring Initial System Settings ...................................................................................... 3-5
Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance ................................. 4-1
Practices for Lesson 4: Overview............................................................................................................. 4-2
Practice 4-1: Installing and Configuring the Oracle ZFS Storage Appliance ............................................... 4-3
b le
Practice 4-2: Configuring the Cluster........................................................................................................ 4-17
Practice 4-3: Configuring Additional Data Interfaces ................................................................................. 4-22 fer a
an s
t r
Practices for Lesson 5 - BUI and CLI........................................................................................................ 5-1
n -
a no
Practices for Lesson 5: Overview............................................................................................................. 5-2
Practice 5-1: Using Functions in the BUI .................................................................................................. 5-3

h as
Practice 5-2: Using Functions in the CLI .................................................................................................. 5-8
)
ฺ a e deฺ
Practices for Lesson 6 - Creating shares .................................................................................................
i 6-1
a tGb u i
Practices for Lesson 6: Overview............................................................................................................. 6-2
d
u den h
Practice 6-1: Creating a Project and Share .............................................................................................. 6-3
ฺ a b
d S tu
of .................................................................................
Practice 6-2: Accessing a Share Over NFS .............................................................................................. 6-7
Practice 6-3: Configuring a Share for HTTP Access
@
u Access t h i s 6-13

u j i tsFibre
Practice 6-4: Configuring a Share for SMB
u s e ................................................................................... 6-16

i d ฺf
Practice 6-5: Configuring a LUN for
t o
Channel Access ....................................................................... 6-19

r a s7h- Viewing
Practice 6-6: Configuring a LUN for iSCSI
n sand
Access .................................................................................... 6-37
e Configuring the Dashboard .......................................................... 7-1
(
Practices for Lesson e
aforl Lesson 7:liOverview
c ............................................................................................................. 7-2
i h
Practices
N 7-1: Configuring the Dashboard.................................................................................................. 7-3
sh idPractice
Practice 7-2: Creating Appliance NFS, FC, and iSCSI Loads, and Viewing the Dashboard ........................ 7-5
R a Practice 7-3: Reviewing the Status of the System Hardware ..................................................................... 7-7
Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software ............................................ 8-1
Practices for Lesson 8: Overview............................................................................................................. 8-2
Practice 8-1: Upgrading System Software and Preserving Data ................................................................ 8-3
Practices for Lesson 9 - Using Analytics ................................................................................................. 9-1
Practices for Lesson 9: Overview............................................................................................................. 9-2
Practice 9-1: Viewing NFS Activity Using Analytics................................................................................... 9-3
Practice 9-2: Viewing By-File and By-Client Activities ............................................................................... 9-8
Practice 9-3: Using Windows and Iometer Analytics Views ....................................................................... 9-11
Practice 9-4: Saving Worksheets ............................................................................................................. 9-16
Practices for Lesson 10 - Workflow.......................................................................................................... 10-1
Practices for Lesson 10: Overview ........................................................................................................... 10-2
Practice 10-1: Creating, Uploading, and Executing a Workflow ................................................................. 10-3
Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks ............................................ 11-1
Practices for Lesson 11: Overview ........................................................................................................... 11-2
Practice 11-1: Setting Up Users and Roles .............................................................................................. 11-3
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Oracle ZFS Storage Appliance Administration Table of Contents


iii
Practice 11-2: Setting Up NFS and SMB Shares ...................................................................................... 11-8
Practice 11-3: Configuring VNICs and Additional (Administration & Data) Interfaces.................................. 11-12
Practice 11-4: Viewing Analytics .............................................................................................................. 11-16
Practice 11-5: Setting Up Remote Replication and Reversing Replication ................................................. 11-22
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
an s
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Oracle ZFS Storage Appliance Administration Table of Contents


iv
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lesson
ฺ 1:
ฺ a
bi Guid e
Overviewa
u h
d ent
f b
ฺa Stu1 d
Chapter
d o
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 1: Overview


Chapter 1 - Page 1
Practices for Lesson 1

There are no practices for this lesson.


Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 1: Overview


Chapter 1 - Page 2
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lesson ฺ 2:
ฺ a
bi and id e
Featuresa G uFunctions
u h
d ent
f b
ฺa Stu2 d
Chapter
d o
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 2: Features and Functions


Chapter 2 - Page 1
Practices for Lesson 2

There are no practices for this lesson.


Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 2: Features and Functions


Chapter 2 - Page 2
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lessonฺ 3-
ฺ a
bi the id e
Configure
a G uNetwork
u h
d ent
Environment
b
d ofฺaChapter
S tu3 d
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 1
Practices for Lesson 3: Overview

Practices Overview
In these practices, you do the following:
1. Fill out Network Configuration Worksheet.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. Configure Initial System Settings.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 2
Practice 3-1: Filling Out Network Configuration Worksheet

Overview
In this practice, you fill out the Network Worksheet with information provided to you by the
instructor and Oracle ZFS Storage Appliance Lab Diagram.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
This assumes your instructor has assigned a lab to you; in most cases, you will have a lab
partner.

Tasks
1. Fill out the configuration information based on Network Configuration Worksheet and
Oracle ZFS Storage Appliance Lab Diagram. The system name, SP/ILOM, and Admin IP
address will differ from the Oracle ZFS Storage Appliance Lab Diagram. The instructor will b le
clarify which system name and IP address to use for your lab configuration.
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 3
2. Fill out the configuration information:
Important Note: The instructor, along with the lab diagrams, will provide you with the
network configuration information that you will use through all of the practices.
Network Configuration
Gateway: ___.___.___.___ Domain: ____________
Netmask: ___.___.___.___ Cluster Controller 1 name: ____________
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

DNS: ___.___.___.___ Cluster Controller 2 name: ____________


NTP: ___.___.___.___
Cluster Controller 1 Cluster Controller 2
SP IP (Mgmt):___.___.___.___ SP IP (Mgmt):___.___.___.___
Admin IP Local Data IP
NET0 (ixgbe0): ___.___.___.___ NET3 (ixgbe 3): ___.___.___.___
Admin IP Remote b le
NET1 (ixgbe1): ___.___.___.___ fer a
ans
Data IP
n - t r
NET2 (ixgbe2): ___.___.___.___
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 4
Practice 3-2: Configuring Initial System Settings

Overview
You will verify connections within the Oracle ZFS Storage Appliance, and then configure an
interface for use to complete the initial setup.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide along with system information recorded earlier in
this practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: The instructor will demonstrate how to log on and use the RLDC. Please do not change
the passwords on any of the appliances or servers in the RLDC.
Caution: Configure only the first of the two appliances available. The second appliance is
configured later in the clustering practice and should be left at the initial configuration screen.
b le
1. Using SSH login to the ILOM/SP interface (see lab diagram for IP address):
fer a
− Username: root
ans
− Password: changeme
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Note: The SP can also be accessed through the serial interface to set the SP network
properties. However, this should not be necessary as the network properties are already
configured.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 5
2. Start a console by using the start SP/console command.
a. If you receive a response that a console is already open, close it with the stop
SP/console command.
b. Repeat step 2.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 6
3. Press any key to begin configuration through aktty. Use the configuration data recorded in
practice 3-1 to configure the appliance.
• Use the arrow keys to change fields.
• Use the Delete key to remove unwanted data.
Note: Sometimes, data may exist in the various fields and you can delete it if necessary.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

• Press Enter to input information. Notice the cursor advance to the next line.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 7
4. Make sure that you keep the password set to changeme. Do not use any other
password.
5. Use the lab diagram to verify the setup:
• Host name
• DNS domain name
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

• NET0 (ixgbe0)IP address


• IP netmask
• Default router
• DNS server
• Password

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 8
6. After you have entered all of the information, verify it, and then press Esc + 1.
• The terminal screen should display the following after 15 to 30 seconds:
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
Note: If wrong information was entered
a
ofฺand S
the
tud does not display the information
screen
above, you may have to perform u @ t
a factoryh is
reset. Discuss this with your instructor.
Congratulations! You f u j
have
itscompleted
u s ePractices 3-1 and 3-2. Ask your instructor if you have
h i
any questions about dฺ the practices.
e t o
l ( ras icens
a l
i d Nih
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 9
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 3 - Configure the Network Environment


Chapter 3 - Page 10
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lessonฺ 4-
ฺ a
bi Configure e
Installaand
h G uid the
d
u dZFS
Oracle e t
n Storage
ฺ a b
d S tu
of Appliance
u @ thi s
j i t s s e Chapter 4
f u
dฺ e to u
h i
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 1
Practices for Lesson 4: Overview

Practices Overview
In these practices, you do the following:
1. Install and configure the Oracle ZFS Storage Appliance.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. Configure the Cluster.


3. Configure additional Data Interfaces.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 2
Practice 4-1: Installing and Configuring the Oracle ZFS Storage
Appliance

Overview
In this practice, you verify connections, customize the configuration, connect to the LAN, check
the configuration, and verify the Oracle ZFS Storage Appliance status.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and have established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
b le
To install and configure the Storage System, perform the following steps:
fer a
1. Start the Browser Interface by entering https://<hostname or IP>:215.
ans
2. Log in using:
n - t r
• Username: root n o
a
• Password: changeme
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 3
3. Click START to begin the setup.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
• If your system is a cluster member,
d
a SKIP
ofฺselect S tudto skip cluster configuration.
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 4
4. You are now at step one, Network configuration. Because you are working with a pair of
clustered controllers, it is best to set the Interface that you created in the aktty to use a
static IP address.
a. Click the pencil icon next to Datalinks.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b. In the configuration window, set the name to ixgbe0.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra
c. Click APPLY.
d. Click the pencil icon next to the interface.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 5
e. Ensure that the “Configure with:” field is set to “Static Address List.”
f. Set the name to: "Management-XX"
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh g. Click APPLY.
Ra 5. Create an additional datalink and interface for the cluster peer. This step will configure the
management port for the second controller used in the cluster lab. Click the plus icon next
to Datalinks.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 6
a. Select an available device from the list, preferably ixgbe1.
b. Provide a name, preferably one that is relevant to the device that the Datalink is
representing (ixgbe1).
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
c. Click APPLY.
s u @ thi
j t
d. Click the plus iconunext
u s e
i to Interfaces.
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R e. Ensure that the interface has selected the Datalink you just created. If another Datalink
is selected, change it to the one you created in the preceding step.
f. Set the “Configure with:” property to “Static Address List.”
g. Set the interface IP address to the admin IP of the cluster system assigned to you.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 7
h. Name the interface “Management-XX.”
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
ji t se
i. Click APPLY. ฺfu u
h
j. Note thatsthe e to has a blue icon next to it. This indicates that the changes
idnew interface
have
l ( c ns Click APPLY to commit the changes to the Datalinks and
a been eapplied.
rnot
a li
i d NihInterfaces.
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 8
k. To verify the default Routing Table Entries, click Routing.
Note: Speak to your instructor if you have any questions about the Routing Table Entries.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
l. n
Click the pencil icon next to the default Routing Table, and then verify the Gateway. If o
a
click APPLY.
) h as
no changes are required, click Cancel or correct the Gateway for both Interfaces. Then

i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra
m. Click COMMIT to continue.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 9
6. This is step two of the initial configuration. The DNS domain name and DNS server IP
address should be already filled in as you set these using the aktty shell. Click COMMIT to
continue.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
h as specify NTP
7. NTP setup is step three of the initial configuration. Select the “Manually
)
i ฺ e click
server(s)” option and set the IP (refer to the lab diagram).aThen
d e ฺ
COMMIT to continue.
b
a tG u i
d h
u den
ฺ a b
d of s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 10
8. Configure Naming Services setup is step four.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
b
Directory.Gu
a i
a. Click the CONFIGURE button to set up Active
u h
d ent
b. Click JOIN DOMAIN. b d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
a the ADl Domain Name, Admin username, and Admin password (documented in
c.ihEnter
id N the lab diagram).
a sh
R

d. Click APPLY.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 11
e. Ensure that the service goes online and the settings are correct.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

f. Click the “Back to Services” link. e


a b l
s fer
- t r an
n on
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra g. Click COMMIT to continue.

9. Step five is “Configure Storage.” Click the button to configure a new pool.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 12
a. Each storage pool is identified by a unique name. Enter the name that will be used to
identify this storage pool.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b. Click APPLY.
c. The system will detect storage devices and display the appliance to which you are
logged in and the disk shelf attached. Your system has one DE2-24 P disk shelf with
20 disks "DATA", 2 LOGs and 1 CAHCE devices. Ensure that all components are b le
found. fer a
ans
n - t r
d. From the disk shelf allocation drop-down menu, select DATA “10”, LOG "1" and
n o
CACHE "1". Then click COMMIT. a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 13
e. Review each of the available RAID types by clicking each one. Note the Storage
Breakdown pie chart and the Disk Breakdown table on the left side.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
f. Select “Double parity RAID,” and then clickdCOMMIT. t
a b u den

of s Stu
d
@ thi
i t s u e
f u j u s
i dฺ e Storage
g. Notice the Configuring
h t o Pool status bar at the upper-right corner.
l ( ras icens
a l
i d Nih
R ash

h. A storage pool summary screen is displayed. Review the contents, and then click
COMMIT.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 14
10. The final step is Registration and Support. Because you do not have a Sun Online Account
for this lab, click “LATER.”
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
a b the i
umessage
d h
a. A message will be displayed. Click OK to acknowledge
n t G and complete the
u
ฺab Stude
initial configuration.
d o f
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
a l
i d Nih
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 15
b. The system has been successfully configured.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 16
Practice 4-2: Configuring the Cluster

Overview
In this practice, you configure the cluster.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and have established a connection to the Remote Lab Delivery Center (RLDC).
Note: The CLUSTERON card is already installed in the practice systems and they are cabled
using straight-through cables.

Tasks
To set up the cluster, perform the following steps:
b le
1. Using the BUI, navigate to Configuration > Cluster and click the SETUP button.
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
2. Atih afirst step lof cluster setup, you will be shown a diagram of the active cluster card
the
N
id connections: You should see three solid blue wires on the screen, one for each connection.
a sh When you see all three wires, you are ready to proceed by clicking the COMMIT button.
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 17
3. Enter the appliance name (appl[XX]) and initial root password (changeme) for the cluster
peer (second appliance). This is equivalent to performing the initial serial console setup for
the new appliance.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

4. Click the COMMIT button. Various progress bars will appear as the second appliance is
configured.
b le
fer a
ans
n - t r
a no
) h as
5. Ensure that the opposite head’s status reads, “Active (waiting for failback).” Note that the
icon next to the applXX name is blue, which indicates that the
ฺ a e e ฺ
configuration is not yet
complete.
h a bi Guid
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
N
i6.d Assign the “Management-XX” interface created for the second controller to the new cluster
a sh peer from the OWNER pull-down menu.
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 18
7. Perform initial failback from the Cluster by clicking the FAILBACK button.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

8. When the “APPLY Cluster Resource Modifications” notification box appears, click
FAILBACK. A failback progress bar will be displayed. This process may take a few minutes b le
as the systems synchronize their network settings and resources are assigned. fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
ofฺa status
S udat the upper-right corner of the BUI.
tbar
@ d
9. Notice the Cluster failback on the program
is
u t h
f u j its use
h i dฺ e to
l ( asstatusenof seach cluster member now reads “Active” and that each has proper
10. Verify thatrthe
a
resources.
i h lic
sh id N
R a

11. Log on to controller B, and then click STORAGE and create another storage pool with the
data profile of your choice. When you create the additional pool, use Practice 4-1 as a
reference.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 19
12. Note the Pool Status of your two pools.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
13. Click CLUSTER and ensure that each ฺa Sthas
ofappliance udone Interface and one storage pool.
@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 20
14. Go to the Configuration > Cluster on both controllers. You will need a method of
communication to upgrade the system software. With the controller Management locked,
the other controller in the cluster cannot take it over.
Note: Lock the Management interface down on both controllers from separate browsers,
because not doing so can lead to unwanted problems.
a. Lock Management interface controller A; click the lock next to the Management
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

interface on each.

b le
fer a
ans
n - t r
a no
) h asscreen appears, click
b. Click APPLY. The Apply Cluster Resource Modifications
i ฺ a e deฺ
splash
APPLY again.
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R c. Lock Management interface controller B. Click the lock next to the Management
interface. The APPLY Cluster Resource Modifications splash screen appears. Click
APPLY again.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 21
Practice 4-3: Configuring Additional Data Interfaces

Overview
In this practice, you configure additional Data Interfaces for later use in the host connectivity
practices.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
To set up the cluster, perform the following steps:
1. Using the BUI, navigate to Configuration > Network, and then click next to Datalinks.
b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
a. On the Network Datalink splash screen, provide
u d a name,
n t preferably one that is relevant

o f ฺab Stu(fordeexample, ixgbe2). Click APPLY.


to the device that the Datalink is representing

@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 22
b. Use the drag and drop method to create the additional data interface. Click the newly
created Datalink, and then drag it to below the existing Management-XX interface.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

c. The Network Interface splash screen appears. Ensure that the interface has selected
the Datalink you just created. If another Datalink is selected, change it to the one you
created in the preceding step.
b le
d. Select the Enable Interface check box and deselect the Allow Administration check
fer a
box.
ans
e. Set the “Configure with:” property to “Static Address List.”
n - t r
f. n
Set the interface IP address to the data IP of the cluster system assigned to you. o
a
g. Name the interface “data-XX"
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 23
h. Click APPLY.
i. Note that the new interface has a blue icon next to it. This indicates that the changes
have not been applied. Click APPLY to commit the changes to the Datalinks and
Interfaces.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
2. Log on to the other controller and configure the additional Datalink and Interface.
a n s
a. Using the BUI, navigate to Configuration > Network, and then click
r
nextnto-tDatalinks.
b. On the Network Datalink splash screen, provide a name, preferablya one
o is relevant
nthat
to the device that the Datalink is representing (for example, ixgbe3).
) h as Click APPLY.
c. Use the drag and drop method to create the additional data
i ฺ a d e ฺ Click the newly
e interface.
created Datalink, and then drag it to below the existing
a b Gu i
Management-XX interface.
d. The Network Interface splash screen appears.
u h
d Ensure n t the interface has selected the
that
Datalink you just created. If another Datalink b is e
ฺa Stud change it to the one you
selected,
created in the preceding step. dof
e. Select the Enable Interface u @
check box t h is deselect the Allow Administration check box.
and
f. Set the “Configurefu j itsproperty
with:” u s eto “Static Address List.”
g. Set the interfaceh i dฺIP address
e t o to the data IP of the cluster system assigned to you.
h. Name l ( rtheasinterface
c e s
n“data-XX."
i. ih
a
Click APPLY.
li
i d N
ash
j. Note that the new interface has a blue icon next to it. This indicates that the changes
have not been applied. Click APPLY to commit the changes to the Datalinks and
R Interfaces.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 24
k. View the Cluster. Verify that each controller has a data interface.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
a n s
r
-t if you
Congratulations! You have completed Practices 4-1, 4-2, and 4-3. Ask your instructor
n
have any questions concerning the practices. n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 25
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 4 - Install and Configure the Oracle ZFS Storage Appliance
Chapter 4 - Page 26
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lesson
ฺ 5 - BUI
ฺ a
bi Guid e
and CLI a
u h
d ent
f b
ฺa Stu5 d
Chapter
d o
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 1
Practices for Lesson 5: Overview

Practices Overview
In these practices, you do the following:
1. Use Advanced functions in the BUI.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. Use Advanced functions in the CLI.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 2
Practice 5-1: Using Functions in the BUI

Overview
In this practice, you view the Oracle ZFS Storage Appliance software and hardware
configuration by using the Browser User Interface (BUI).
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Important note: Do not change the passwords on any of the appliances or servers in the
RLDC.

Tasks
To view the Oracle ZFS Storage Appliance software and hardware configuration, perform the b le
following steps: fer a
1. In the BUI, click the Sun/Oracle logo (top left) to view a system summary. ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 3
2. Navigate to the Maintenance > Hardware view.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
3. Click “show details” to see which disks are labeled as system disks, data disks, and
n - t r
hotspare devices.
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 4
4. Click TOP to view CPU, mem, fans, PSU, and PCIe slots inside the chassis.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
5. Find the system locator LED icon. of
ฺa Stud
@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 5
a. Blue locate indicator blinking on HDD0.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

6. Place your cursor over the list of devices and click the “i” icon to view information about
b le
various devices.
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 6
7. Finish by exploring the rest of the views, and take a look at the Disk Shelves.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 7
Practice 5-2: Using Functions in the CLI

Overview
In this practice, you view the Oracle ZFS Storage Appliance software and hardware
configuration by using the Command-Line Interface (CLI)
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
1. Log in to the CLI (ssh root@<IP address>) and try the following commands:
− Username: root
− Password: changeme
b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 8
configuration version show
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 9
maintenance hardware show
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 10
2. Run some additional CLI commands until you become familiar with the CLI.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
5-1 d
ofฺa s Stu
Congratulations! You have completed Practices and 5-2. Ask your instructor if you have
d
any questions concerning the practices.
@ thi
i t s u e
f u j u s
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 11
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 5 - BUI and CLI


Chapter 5 - Page 12
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lessonฺ 6-
ฺ a
bi shares e
Creating
h a G uid
b u d ent
o f ฺa Stu6 d
Chapter

@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 1
Practices for Lesson 6: Overview

Practices Overview
In these practices, you do the following:
1. Create a project and share.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. Access a share over NFS.


3. Configure a share for HTTP Access.
4. Configure a share for SMB Access.
5. Configure a LUN for Fibre Channel Access.
6. Configure a LUN for iSCSI Access.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 2
Practice 6-1: Creating a Project and Share

Overview
In this practice, you create a project and share, with some settings configured.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
For this task, a project and share will be created, with some settings configured.
1. Use the BUI to navigate to the Shares view, and change to the Projects subview. e
a b l
s fer
- t r an
n on
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
2. Click to add a project called “dev1.” ฺa d
d of s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 3
3. Edit the “dev1” project General properties and set the default file system permissions to
user:rwx, group:rwx, other:rwx (777), and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 4
4. Change to the Shares view for the “dev1” project. Click the icon to add a file system
called “mysql.” Check whether the permissions are set to the defaults you just configured.
Click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
5. In the Shares view,i f
dฺedit the t o properties of the “mysql” file system by clicking the
general
pencil icon a h
s to then“mysql” e
s share.
l ( r next c e
iha li
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 5
6. Deselect “Inherit from project” and set the “Database record size” to 8 KB (a size suitable
for random access workloads, especially if cache devices are used). Click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 6
Practice 6-2: Accessing a Share Over NFS

Overview
In this practice, you enable NFS access to a share, and mount, copy, and write to the NFS
share.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. Navigate to Shares > Shares.
b le
2. On the Protocols tab, edit the “mysql” share and verify that NFS access is enabled.
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 7
3. View the NFS service settings under Configuration > Services. No changes are necessary.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 8
4. Mount the nfs share from a client under /mnt by using NFSv3. (Use a client that is
available in your classroom environment, for example, RLDC host.)
mount -o vers=3 hostname:/export/mysql /mnt
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 9
5. On the Solaris client, try copying a small text file to the share.
cp /etc/services /mnt
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 10
6. Create a 10 GB file (or larger, if the client has more than 10 GB of main memory).
dd if=/dev/zero of=/mnt/largefile1 bs=1024k count=10k
Note: The file will take 5 to 10 minutes to write, do not wait, and proceed to the next step.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 11
7. Observe the activity using Status > Dashboard and Analytics.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 12
Practice 6-3: Configuring a Share for HTTP Access

Overview
In this practice, you enable HTTP access to a share.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. Navigate to Configuration > Services.

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
2. Oni h a Servicesl page, under Data Services on the HTTP row, click the icon to enable
the
N
id HTTP Data Service.
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 13
3. Navigate to Shares > Shares.
4. Edit the mysql share, and view the Protocols tab.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
( rasaccess
5. Enablel HTTP c e ntosthe share. (Deselect “Inherit from project” if necessary.) Select
iha andlithen click APPLY.
Read/write,
N
sh id
R a

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 14
6. In your browser, navigate to the URL shown beneath the HTTP section of the share edit
screen, and check whether the small text file can be read.
http://hostname/shares/export/mysql
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 15
Practice 6-4: Configuring a Share for SMB Access

Overview
In this practice, you give SMB access to a share.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. Navigate to Configuration > Services and verify that SMB Data Service is enabled.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
l is disabled, enable it by clicking the icon.
iha Data Service
2. If SMB
id N
a sh 3.
R Navigate to Shares > Shares.
4. Edit the mysql share, and view the “Protocols” tab.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 16
5. Enable SMB access to the share. (Deselect “Inherit from project” if necessary.) In the
Resource Name field, enter mysql, and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i
6. Log on to the Windowsf
dฺ client t oand mount the share \\hostname\mysql. Go to My
h e
r s ic>eMap
Computer >aTools
l ( ns Network Drive, and then click Finish.
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 17
7. Enter the Admin User name and Password for the ZFS Storage Appliance, select
“Remember my password,” and then click OK.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
s a
8. Verify that \\hostname\mysql is mounted from My Computer. ha
a )
e deฺ
i ฺ
b Gui
h a
d ent
b u d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

9. Drag some files over.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 18
Practice 6-5: Configuring a LUN for Fibre Channel Access

Overview
In this practice, you set up fibre channel host connectivity, create LUNs, and then define the
LUNs to a Solaris server through fibre channel.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.
Note: Log into BRM01 or equivalent system then select the Solaris system, do not use
the landing pad for fibre channel connectivity practice.

Tasks b le
1. On the Solaris server, verify that the HBA FC ports are available by using the cfgadm -al f er a
an s
command. The following code example shows the output for the HBAs:
- t r
cfgadm -al
n on
s a
) a
h ฺ
e
iฺa uide
a b
h nt G
u d
o f ฺab Stude
@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 19
2. To identify the WWNs of the HBA Fibre Channel ports, use the fcinfo hba-port
command as follows. Keep the terminal open; you will need the information for configuring
the fibre channel LUNs.
fcinfo hba-port
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra
3. From the preceding outputs, you can determine both the WWN of the host bus adapter and
the AP-ID (C3/C4 in this example; may be different based on server configuration).
Because the AP-ID is used as the identifier in the device path, it is good practice to use it as
part of the initiator name in the initiator group set up on the Oracle ZFS Storage Appliance.
AP-ID Example: c3::21000024ff57c80e
Notes
• The construct of target groups is used within the Oracle ZFS Storage Appliance's
interface to allocate LUNs to certain FC ports of target FC HBAs in the Oracle ZFS
Storage Appliance. A target group acts as a pool of target FC ports from which
LUNs are made visible to the outside world.
• Initiator groups in the Oracle ZFS Storage Appliance are used as a means to control
host (initiators) access to the LUNs. So an initiator group acts as a pool of initiator
FC ports that can be given access to a LUN in the Oracle ZFS Storage Appliance.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 20
4. From the BUI Configuration > SAN > Fibre Channel, Ports are allocated to a Target Group.
This step is a drag-and-drop action on the screen. Drag the Port directly under the default
Target Groups until a lighted area appears, and then drop the Port. Verify that Target Group
targets-0 appears below the default group.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
5. Toih
edit l Group name, click the pencil icon next to the Target Group. Provide
a the Target
N
id logical, meaningful names for the initiator ports, so you can identify them later in the
a sh practice (for example, FC-target). Click OK.
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 21
6. Verify that the Target Group name and Port are set to Target. Then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

7. Next, host ports are allocated in an initiator group. The initiator group is used later in the
setup process, when LUNs are created. Provide logical, meaningful names for the initiator
ports. To configure Initiators, go to the Configuration > SAN page, click Initiators, and then
click the icon.
b le
fer a
ans
n - t r
a no
8. On the Identify FC Initiator splash screen, under Unaliased ports, a
h s that the WWN is the
verify
correct Solaris host WWN “use the HBA information from the
a e )terminal
e you
ฺ opened earlier.”
Once verified, click the WWN. It populates the World Wideฺ
bi G Name
uid(for example,orFC-Sol-
automatically, you can
manually enter the WWN. Give the FC Initiator a h a
meaningful
d ent name
initiator). Click OK. b u d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 22
9. From the BUI Configuration > SAN, host Ports are allocated to an Initiator Group. This step
is a drag-and-drop action on the screen. Drag the Initiator directly under the default Initiator
Groups until a lighted area appears, and then drop the Port. Verify that Initiator Group
Initiator-0 appears below the default group.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
10. To edit the Initiator Group name, click d othe tudnext to the Target Group. Provide
fฺapencilSicon
logical, meaningful names foruthe @ t
initiatorh is so you can identify them later in the
ports,
practice (for example,u
f j
FC-itsinitiator).
u s e OK.
Click
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 23
11. Verify the Initiator Group name, and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

12. Create and configure LUN on controllers. You can create LUNS in two ways: On the SAN
Initiator page, click the disk icon next to the Initiator group or from the Shares LUNs, click
the icon.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 24
13. Create a LUN by clicking the disk next to the Initiator Group. On the Create LUN splash
screen, set the following parameters.
− Project: dev1
− Name: FC-LUN-0
− Volume size: 10G
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

− Thin provisioned: Selected


− Volume block size: 8K
− Target group: FC-target; select the Target group you created
− Initiator group: FC-initiators; select the Initiator group you created
− LU number: Select Auto-assign.
Verify the parameters, and then click APPLY.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 25
14. Create another LUN from Shares > Shares, select the dev1 Project, and then click LUNs.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

15. Create a LUN by clicking the icon next to LUN. On the Create LUN splash screen, set
b le
the following parameters:
fer a
− Project: dev1
ans
− Name: FC-LUN-1 n - t r
n o
− Volume size: 20G a
− Thin provisioned: Selected
) h as
− Volume block size: 8K
i ฺ a e deฺ
h a b Gui
− Target group: FC-target; select the Target group you created
b u d ent
− Initiator group: FC-initiators; select the Initiator group you created
d
− LU number: Select Auto-assign.d ofฺa s Stu
u @ thi
Verify the parameters, then click APPLY.
s
u j i t u s e
i f
Reference: Select the block size carefully; its setting depends on the type of I/O access
dฺ e to
h
patterns used by the applications that will use the LUN. A block size that matches the

l ( ras icens
natural database block size is recommended for OLTP-type applications. For databases
iha l
that use multiple block sizes, either use the smallest database block size for record size or

i d N
use multiple LUNS, each with different block sizes. Redo logs (being streaming workload)
sh should use 128K record sizes. Larger block sizes (up to 128K) are appropriate for
Ra streaming I/O-type applications. After a LUN is created, these settings cannot be changed.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 26
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
16. Verify both LUNs: FC-LUN-0 and FC-LUN-1.
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 27
17. Verify the configuration on the host. Verify that the HBAs are configured by using the
cfgadm -al command.
cfgadm -al
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 28
18. If they are not configured, use the command cfgadm -c configure <Ap-ID>. From
the preceding outputs, you can determine both the WWN of the host bus adapter and the
AP-ID (C3/C4 in this example; may be different based on server configuration). Because
the AP-ID is used as the identifier in the device path, it is good practice to use it as part of
the initiator name in the initiator group set up on the Oracle ZFS Storage Appliance. Copy
and paste the AP-ID for the appropriate controller.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

AP-ID Example: c4::21000024ff580d70


cfgadm -c configure c4::21000024ff580d70

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 29
19. Partition and label the LUNs. Use the format command to check whether the configured
LUNs are seen by the host. Select disk 0, then enter quit to exit the format command.
format
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 30
20. Verify LUN information; information for both of the LUNs is shown in the following luxadm
display command output. The information for the second LUN should be identical. The
output shows that the LUN has an active connection to the ports of the controller that
serves the LUN (Device Address 21000024ff580d70). Copy and paste the appropriate
WWN.
luxadm display 21000024ff580d70
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 31
21. Create a file system on each LUN. Use the newfs command, and copy and paste the
appropriate DEVICE PROPERTIES for disk information, as in the following example:
/dev/rdsk/c0t600144F0CAD09217000053FCE03A0006d0s2
newfs /dev/rdsk/c0t600144F0CAD09217000053FCE03A0006d0s2
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 32
22. Use the mkdir command to create two directories. Use them to mount the newly created
file systems.
mkdir fibre0
mkdir fibre1
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 33
23. Use the mount command and mount both the LUNs.
mount /dev/dsk/c0t600144F0CAD09217000053FCE03A0006d0s2 /fibre0
mount /dev/dsk/c0t600144F0CAD09217000053FCDF2E0005d0s2 /fibre1
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 34
24. Use the df -k command to verify that the newly created file systems are ready to use.
df -k
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 35
25. Create a 10 GB file (or larger, if the client has more than 10 GB of main memory).
dd if=/dev/zero of=/fibre0/largefile1 bs=1024k count=10k
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
ofฺa and
Observe the activity using Status > Dashboard
d S tud
Analytics.
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
d N
shi
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 36
Practice 6-6: Configuring a LUN for iSCSI Access

Overview
In this practice, you set up iSCSI host connectivity, create LUNs, and then define the LUNs to a
Solaris server through iSCSI.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure you have your student guide and system information recorded earlier in this practice,
and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. Configure Solaris iSCSI initiator. All Oracle Solaris iSCSI initiator commands are issued as e
arguments to the iscsiadm command. To check whether the iSCSI service is running, use a b l
the svcs command. s fer
svcs iscsi/initiator
- t r an
n on
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 37
Note: In this example, the output from the svcs command shows that the state of the initiator is
online. If the output shows that the initiator state is offline, maintenance, or disabled,
the svcadm command can be used to bring the service into the online state. If the iSCSI
service is not running, speak to your instructor.
2. Identifying the host IQN; The iSCSI Qualified Name (IQN) of the host is used to identify the
host to the controller and is needed to complete the configuration procedure in this practice.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

To find the host IQN, use the iscsiadm command.


iscsiadm list initiator-node

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh The IQN for the host used in this example is:
Ra iqn.1986-03.com.sun:01:7a8101f8ffff.53a75b27
3. From the preceding outputs, you can determine that the iSCSI service is online and the
iSCSI Qualified Name (IQN) of the host. Because the IQN is used as the identifier in the
device path, it is good practice to use it as part of the initiator name in the initiator group set
up on the Oracle ZFS Storage Appliance.
Notes
• The construct of target groups is used within the Oracle ZFS Storage Appliance's
interface to allocate LUNs to certain iSCSI targets in the Oracle ZFS Storage
Appliance. A target group acts as a pool of target iSCSI IQNs from which LUNs are
made visible to the outside world.
• Initiator groups in the Oracle ZFS Storage Appliance are used as a means to control
host (initiators) access to the LUNs. So an initiator group acts as a pool of initiator
iSCSI IQNs that can be given access to a LUN in the Oracle ZFS Storage
Appliance.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 38
4. From the BUI Configuration > SAN> iSCSI, set up Targets and Initiators.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

5. Click the icon next to Targets. On the Create iSCSI Target screen, set the following
parameters: b le
fer a
− Target IQN: Auto-assign
ans
− Alias: iSCSI-target
n - t r
− Initiator authentication mode: None n o
a
) h as
− Network interfaces: ixgbe2; select one of the data interfaces you created earlier
Verify the parameters, and then click OK.
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 39
6. From the BUI Configuration > SAN > iSCSI, Targets are allocated to a Target Group. This
step is a drag-and-drop action on the screen. Drag the Target directly under the default
Target Groups until you see a lighted area, then drop the Port. Verify Target Group targets-
0 appears below the default group.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
7. To edit the Target Group name, click theฺa b udicondnext
pencil e ntot the Target Group. Provide
d of ports,
logical, meaningful names for the initiator S tuyou can identify them later in the
so
u @ Click
practice (for example, iSCSI-target). t i s
hOK.
ji t s e
d ฺ f u
t o us
i
sh nse
r a
l ( lice
i h a
i d N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 40
8. Verify the Target Group name, and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

9. The iSCSI initiator serves to define the host to the Oracle ZFS Storage Appliance. The
iSCSI initiator definition contains the host IQN. To identify the Oracle Solaris server to the b le
Oracle ZFS Storage Appliance, you must register the Oracle Solaris iSCSI initiator IQN with fer a
the appliance by completing the following steps. Next, iSCSI initiators are allocated in an
ans
initiator group. The initiator group is used later in the setup process, when LUNs are
n - t r
n
created. Provide logical, meaningful names for the initiator ports. To configure Initiators, go o
a
) h as
to the Configuration > SAN> iSCSI page, click Initiators, and then click the icon.

i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 41
10. On the Identify iSCSI Initiator splash screen, copy and paste the Initiator IQN from step 2.
Verify that the IQN is the correct. Enter a meaningful Alias name (for example, iSCSI-Sol-
host). Make sure that Use CHAP is deselected, and then click OK.
iscsiadm list initiator-node
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 42
11. From the BUI Configuration > SAN>iSCSI, iSCSI Initiators are allocated to an Initiator
Group. This step is a drag-and-drop action on the screen. Drag the iSCSI Initiator directly
under the default Initiator Groups until you see a lighted area, then drop the Port. Verify that
Initiator Group Initiator-0 appears below the default group.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j t s ethe pencil icon next to the Target Group. Provide
i name,uclick
i f
12. To edit the Initiator Group
ฺ fortothe initiator ports, so you can identify them later in the
dnames
a s h
logical, meaningful
se initiator). Click OK.
( r
practice (for example,
e niSCSI-
i h al lic
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 43
13. Verify the Initiator Group name, and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

14. Create and configure LUN on controllers. You can create LUNS in two ways: On the SAN
Initiator page, click the disk icon next to the Initiator group or from the Shares LUNs, click
the icon. e
a b l
s fer
- t r an
n on
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 44
15. Create a LUN by clicking the disk next to the Initiator Group. On the Create LUN splash
screen, set the following parameters:
− Project: dev1
− Name: iSCSI-LUN-0
− Volume size: 30G
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

− Thin provisioned: Selected


− Volume block size: 8K; select a different block size if you want
− Target group: iSCSI-target; select the Target group you created
− Initiator group: iSCSI-initiators; select the Initiator group you created
− LU number: Select Auto-assign.
Verify the parameters, and then click APPLY.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 45
16. Create another LUN from the Shares >Shares, select the dev1 Project, and then click
LUNs.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
17. Create a LUN by clicking the icon next to LUN. On the Create LUN splash screen, set ans
the following parameters: n - t r
− Project: dev1 n o
a
− Name: iSCSI-LUN-1
) h as
− Volume size: 40G
i ฺ a e deฺ
− Thin provisioned: Selected h a b Gui
b u d ent
− Volume block size: 8K; select a different block size if you want
d
ofฺa s Stu
− Target group: iSCSI-target; select the Target group you created
d
u @ thi
− Initiator group: iSCSI-initiators; select the Initiator group you created
s
u j i t u s e
i f
− LU number: Select Auto-assign.
dฺ e to
h
Verify the parameters, and then click APPLY.
l ( ras icens
iha l
i d Npatterns used by the applications that will use the LUN. A block size that matches the
Reference: Select the block size carefully; its setting depends on the type of I/O access

sh
Ra natural database block size is recommended for OLTP-type applications. For databases
that use multiple block sizes, either use the smallest database block size for record size or
use multiple LUNS, each with different block sizes. Redo logs (being streaming workload)
should use 128K record sizes. Larger block sizes (up to 128K) are appropriate for
streaming I/O-type applications. After a LUN is created, these settings cannot be changed.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 46
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
18. Verify both LUNs: iSCSI-LUN-0 and iSCSI -LUN-1. biฺ
ae ideฺ
d h a t Gu
a b u den

of s Stu
d
@ thi
i t s u e
f u j u s
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 47
19. Configure the LUN for use by the Oracle Solaris server. Now that the LUN is prepared and
available to an authenticated iSCSI initiator, you must configure the LUN for use by Oracle
Solaris. Initiate an Oracle Solaris iSCSI session with the Oracle ZFS Storage Appliance.
Because the LUN was created before initiating the iSCSI session, it will be automatically
enabled. Use the following iscsiadm commands to set up iSCSI LUN access.
Note: Use the Network Interfaces data IP address selected when you created the
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

iSCSI target.
− Data interface IP Address ____.____.____.____
iscsiadm add discovery-address 192.168.144.22

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 48
20. Use the following iscsiadm commands to set up iSCSI LUN access. Make sure that you
performed the iscsiadm add discovery-address command from the previous step.
iscsiadm modify discovery -t enable
iscsiadm list discovery-address
iscsiadm list discovery
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

iscsiadm list target

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 49
21. Partition and label the LUNs. Use the format tool to check whether the configured LUNs
are seen by the host. Disk 2 and 3 should be newly created iSCSI LUNs. Select disk 2 and
verify that it is labeled (the disk should come back as already labeled), then do the same for
disk 3.
format
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 50
22. Using the format tool, enter disk. Use the list from the disk command to set up file
systems on each iSCSI LUN.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 51
23. Create a file system on each LUN. Using the newfs command, copy and paste the
appropriate LUN information. Use the device name, as in the following example:
2. c0t600144F0CAD09217000053FE2D6C0007d0 <SUN -ZFS Storage 733-
1.0 cyl 3914 alt 2 hd 255 sec 63>
Note: Do not forget to add s2 at the end of the device name. Slice 2 represents the entire
disk. If you have any questions about disk slices, speak to your instructor.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

newfs /dev/rdsk/c0t600144F0CAD09217000053FCE03A0006d0s2

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 52
24. Use the mkdir command to create two directories. Use them to mount the newly created
file systems.
mkdir iscsi0
mkdir iscsi1
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 53
25. Use the mount command and mount both LUNs.
mount /dev/dsk/c0t600144F0CAD09217000053FCE03A0006d0s2 /iscsi0
mount /dev/dsk/c0t600144F0CAD09217000053FCDF2E0005d0s2 /iscsi1
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 54
26. Use the df -k command to verify that the newly created file systems are ready to use.
df -k
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 55
27. Create a 10 GB file (or larger, if the client has more than 10 GB of main memory).
dd if=/dev/zero of=/iscsi0/largefile1 bs=1024k count=10k
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
ofฺa s Sand
28. Observe the activity using Status >dDashboard tuAnalytics.
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R Congratulations! You have completed Practices 6-1, 6-2, 6-3, 6-4, 6-5, and 6-6. Ask your
instructor if you have any questions concerning the practices.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 6 - Creating shares


Chapter 6 - Page 56
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lessonฺ 7-
ฺ a e
biandGConfiguring
Viewing
h a uid the
d
u den
Dashboard t
ฺ a b
d of Chapter
S tu7
u @ thi s
j i t s s e
f u
dฺ e to u
h i
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 1
Practices for Lesson 7: Overview

Practices Overview
In these practices, you do the following:
1. Configure the dashboard.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. Create Appliance NFS load and view the dashboard.


3. Review the status of the system hardware.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 2
Practice 7-1: Configuring the Dashboard

Overview
In this practice, you will configure the Dashboard.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. Navigate to Status > Settings > Layout.
2. Change HTTP to iSCSI and FTP to FC. Click APPLY.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 3
3. Navigate to the Status > Dashboard, and confirm that HTTP is displayed instead of iSCSI.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
.
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 4
Practice 7-2: Creating Appliance NFS, FC, and iSCSI Loads, and
Viewing the Dashboard

Overview
In this practice, you monitor the NFS load status in the dashboard.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. Read through the file created in the NFS shares practice (/mnt/largefile1) from the
b le
client. For example:
fer a
cksum /mnt/largefile1
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

2. Read through the file created in the Fibre channel shares practice
(/fibre0/largefile1) from the client. For example:
cksum /fibre0/largefile1
3. Read through the file created in the iSCSI shares practice (/iscsi0/largefile1) from
the client. For example:
cksum /iscsi0/largefile1

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 5
4. Monitor the status in the dashboard.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 6
Practice 7-3: Reviewing the Status of the System Hardware

Overview
In this practice, you view the hardware status.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. Navigate to Maintenance > Hardware.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
ssh i f
dฺ e to
h
l ( ras Details”
2. Click the “Show
c e nslink under the product image.
iha li
id N
a sh
R

3. Click each of the product views: Mezzanine, Top, Back, and Front.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 7
4. Click the BACK view, and then click one of the components. Note the highlighted
component.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

5. Navigate to Maintenance > Hardware > SP. The IP information for the Service Processor
may be changed.
b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 8
6. Enter the following into the CLI:
to8:> maintenance hardware select chassis-000 select sp
to8:>maintenance chassis-000 sp> show
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
Congratulations! You have t s u @ Practice
completede t hi 7-1, 7-2, and 7-3. Ask your instructor if you
f u ji
have any questions ฺconcerning uspractices.
the
i d t o
r a sh nse
h a l ( lice
N i
i d
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 9
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 7 - Viewing and Configuring the Dashboard


Chapter 7 - Page 10
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lesson
ฺ 8-
ฺ a
bi Oracle e
Upgrade
h a G uidZFS Storage
u d entSoftware
Appliance
b
d ofฺaChapter
S tu8 d
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 1
Practices for Lesson 8: Overview

Practices Overview
In this practice, you upgrade system software and preserve data.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 2
Practice 8-1: Upgrading System Software and Preserving Data

Overview
In this practice, you upgrade the Oracle ZFS Storage appliance software.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. Log on to each controller separately, and then upload the update software image to both by
using the BUI or the CLI.
b le
Note: The instructor will provide you the location of the software file.
fer a
2. Verify that the administration interface is locked, so you have a way to administer each
ans
controller. The administration interface should have been locked earlier. If the interface is
n - t r
locked, proceed to step 4; otherwise, go to step 3.
n o
3. a
Go to Configuration > Cluster on both controllers. You will need a method of communication
h as
to upgrade the system software. With the controller Management locked, the other
)
controller in the cluster can take it over.
i ฺ a e deฺ
a b Gui
Note: Lock the Management interface down on both controllers from separate browsers,
h
u d ent
because not doing so may lead to unwanted problems.
b d
interface on each. d ofฺa s Stu
a. Lock Management interface controller A and click the lock next to the Management

s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 3
b. Click APPLY. The Apply Cluster Resource Modifications splash screen appears. Click
APPLY again.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
c. Lock Management interface controller B, and click the lock next to the Management
fer a
interface. The Apply Cluster Resource Modifications splash screen appears. Click
ans
APPLY again.
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 4
4. With both controller's BUIs open, go to Maintenance > System and upload the software one
at a time.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
u d Updates,
5. Upload the software to controller A. Next tobAvailable e n t click the icon, click
Browse, and then select the software.
d fฺa Upload.
oClick S tud
Note: Upload the software toueach @ h isone at a time. Uploading the software may
controller
t
take two to three minutes.j s current
itThe s e size is approximately 1 GB.
f u
dฺ e to u
h i
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 5
a. The controller will unpack the software.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b. Upload the software to controller B.

6. Log in to controller A and use the CLI maintenance system reboot command or the BUI
power icon in the masthead and select the reboot option to reboot controller A.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 6
a. Controller B takes over resources from controller A, after four to five minutes for
controller A to reboot. Monitor the status from the Configuration > Cluster screen.
Controller A has a blue circle next to it and the message “Ready (waiting for failback).”
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
7. a
Log in to controller A by using the BUI or CLI, and then
h ui
b go toGMaintenance > System and
d t
n click the icon to select
u desoftware;
execute the update procedure. Upgrade the
ฺ a bcontroller
the appropriate software.
d of s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
a l
i d Nih
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 7
a. The Apply Software Update splash screen appears. Note the "System ready:
Unchecked" message. Click CHECK.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b. The Apply Software Update splash screen appears. Click APPLY.


Important: Do not perform an upgrade on a controller while it is providing service.
b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

c. Status and various messages appear on controller A.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 8
d. While controller A reboots on new software, the following screen appears:
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
e. n
The “Cluster Software Mismatch” splash screen appears, normal during the software o
a
upgrade procedure. Click CONTINUE.
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 9
f. Log on to controller A and verify the new software, go to Maintenance > System.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

8. Log in to controller B and use the CLI maintenance system reboot command or the BUI
power icon in the masthead and select the reboot option to reboot controller B.

b le
fer a
ans
n - t r
a no
) h as
ae idtoefive ฺ
a. Controller A takes over resources from controllerb B,iฺafter four
u > Cluster
minutes for
d
controller A to reboot. Monitor the status fromh a
the t G
Configuration screen.
Controller A has a blue circle next toaitb u n
de “Ready (waiting for failback).”
o f ฺ andSthetumessage
@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
a l
i d Nih
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 10
9. Log in to controller B by using the BUI or CLI, and then go to Maintenance > System and
execute the update procedure. Upgrade the controller software. Click the icon to select
the appropriate software.
a. The Apply Software Update splash screen appears, Note the “System ready:
Unchecked” message. Click CHECK.
b. The Apply Software Update splash screen appears. Click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Important: Do not perform an upgrade on a controller while it is providing service.


c. Verify that all firmware updates complete on both controllers.
Important: Controller firmware updates cannot proceed if the controllers are running
different system software versions.

b le
fer a
ans
10. To restore normal operation and return resources to their respective assigned controllers,
log in to controller A and use the CLI or BUI to perform a failback on controller A. n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 11
11. Verify that both controllers have the appropriate Active Resources.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
Congratulations! You have completed Practice 8-1. Ask your instructor if you have any
ans
questions concerning the practices.
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 8 - Upgrade Oracle ZFS Storage Appliance Software


Chapter 8 - Page 12
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lesson
ฺ 9-
ฺ a
bi Guid e
UsingaAnalytics
u h
d ent
f b
ฺa Stu9 d
Chapter
d o
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 1
Practices for Lesson 9: Overview

Practices Overview
In these practices, you do the following:
1. View NFS activity by using Analytics.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. View by-file and by-client activities.


3. Use Windows and Iometer Analytics Views.
4. Save worksheets.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 2
Practice 9-1: Viewing NFS Activity Using Analytics

Overview
In this practice, you view NFS activity by using Analytics.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).
Note: Do not change the passwords on any of the appliances or servers in the RLDC.

Tasks
1. On your client, read the file created in the shares lesson (/mnt/largefile1) from the
client.
b le
cksum /mnt/largefile1
fer a
Note: This command may need to be rerun if it completes before you have the opportunity
ans
to observe activity during the practice. Be sure that this file is larger than the memory on the
n - t r
client; otherwise, it could entirely be cached on the client and be re-read only after an
n o
umount/mount. a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 3
2. In the BUI, navigate to Analytics > Open Worksheets.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

3. Add statistic, “Network: device bytes broken down by direction.”

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 4
4. Add a second statistic, “Protocol: NFSv3 operations broken down by type of operation.”
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 5
5. In the breakdown panel on the left, “read” operations should be visible at the top.
6. Right-click “read” and select “By offset.” A new statistic will be displayed showing the
progress as the client sequentially reads through the file.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 6
7. Right-click “read” a second time, and select “By latency.” The NFSv3 client latency will be
shown in a new statistic.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 7
Practice 9-2: Viewing By-File and By-Client Activities

Overview
In this practice, you will view by-file and by-client activities.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. On the client, copy a large number of files to the appliance.
cp -rp /usr /mnt
(or, unpack a large tar file in /mnt) e
a b l
s fer
- t r an
n on
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 8
2. Add statistic, “Protocol: NFSv3 operations broken down by client.” Check whether it
identifies your client correctly.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

3. Add statistic, “Protocol: NFSv3 operations broken down by file name.” e


a b l
s fer
- t r an
no n
a
) h as
i ฺ a e deฺ
h a b Gui
4. Wait for a few seconds, and then click the “Show
u d hierarchy”
e n t link on the left of the by-file
b d
ofฺa s Stu
name statistic.
d
@ thi
i t s u e
f u j u s
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 9
5. Try clicking segments of the pie chart. Shift-click to highlight multiple segments.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
6. Click “Refresh hierarchy” to update the “Hierarchical breakdown” view (and the pie chart).
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra 7. Leave your statistics open for the next task.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 10
Practice 9-3: Using Windows and Iometer Analytics Views

Overview
In this practice, you will use Iometer to set up various Access Specifications and monitor the
activity through analytics of your choice.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. At the Windows Server prompt, press the Ctrl + Alt + End keys. Note the End key, not the
Delete key.
b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
2.
f
dฺ screen,
On the Windows iServer t o enter the login username and password. Ask the instructor
h e
l ( rasandicpassword,
the username
e ns if you do not already have them.
a l
i d Nih
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 11
3. On the Windows Server screen, click the Start button, and then click the Iometer program.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
s
4. On the Iometer screen, expand WIN-CLIENT01-VM. You see Worker 1. Clickn -
the trZ:an
export folder, and then click the Access Specifications tab. a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 12
5. On the Access Specifications tab, select 16K blocks with 75% reads by clicking on it. Then
click the Add button. You will see the specification assigned.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d inethentresults.csv file and click the
6. At the Save Results screen prompt, click the results
d
ofฺa s Stu
Save button.
d
@ thi
i t s u e
f u j u s
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 13
7. Click the green flag “Start Tests” on the Iometer screen.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
a n s
8. Log on to the controller BUI< Analytics. Click “Add statistic,” go to SMB operations
n r
-t toward
the bottom of the list, and choose a statistic that you want to view.
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 14
9. Spend some time and explore the various statics. If you want to change the parameters in
Iometer, select different SMB statistics.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
10. After you have finished exploring, shut
d S tudand click the Stop icon.
ฺa Iometer,
ofdown
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 15
Practice 9-4: Saving Worksheets

Overview
In this practice, you save your worksheets.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. At the top of your worksheet, click the “Untitled worksheet” text and change it to something
appropriate (for example, “My NFS monitor”).

b le
fer a
2. Click Save on the right, and then Close. ans
3. Navigate to Analytics > Saved Worksheets. Click your worksheet title. The worksheet n - t r
opens. n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
4. Close your saved worksheet. d ofฺa s Stu
s
5. Navigate to Analytics > Datasets. u @ thi
u j t s eworksheet appear in this list.
i from uyour
f
dฺ e to
Note that the new statistics
i
h
l ( ras icens
iha l
N
i6.d A green light on the left means it is enabled and archiving 24/7.
a sh 7. Pick one of your new statistics from the worksheet, and place your cursor over the line.
R New buttons should appear on the right.

8. Click the power icon on the right of the statistic entry. The green light will turn grey.
This statistic is now paused. It will not be collected while paused, (which also avoids the
overhead of collecting this statistic).

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 16
9. Pick a second statistic from your worksheet and click the trash icon. This will destroy
the statistic/dataset. It will no longer be gathered, and its historic data will be deleted.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

10. Navigate back to your saved worksheet, and notice the effect of pausing and deleting
datasets.

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra
Congratulations! You have completed Practices 9-1, 9-2, 9-3, and 9-4. Ask your instructor if
you have any questions concerning the practices.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 17
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 9 - Using Analytics


Chapter 9 - Page 18
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lesson
ฺ 10 -
ฺ a
bi Guid e
Workflowa
u h
d ent
f b
ฺa Stu10d
Chapter
d o
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 10 - Workflow


Chapter 10 - Page 1
Practices for Lesson 10: Overview

Practices Overview
In this practice, you upload and execute a workflow.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 10 - Workflow


Chapter 10 - Page 2
Practice 10-1: Creating, Uploading, and Executing a Workflow

Overview
In this practice, you create several workflows, and upload and execute a workflow with the BU.
Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. Uploading this workflow will result in a new workflow named “Hello world.” Executing the
workflow will result in the output “hello world!”. Open a text editor and input the following:
var workflow = {
name: 'Hello world',
b le
description: 'Bids a greeting to the world',
fer a
execute: function () { return ('hello world!') }
ans
}; n - t r
n o
2. Save the file as hello.akwf. a
3. h as
Got to Maintenance > WorkFlows. Then upload the workflow to the appliance by clicking
)
the Add icon.
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 10 - Workflow


Chapter 10 - Page 3
4. When the Add Workflow splash screen appears, click the Browse button and select the
hello.akwf file. Then click upload.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

5. Under Workflows, you should see the hello.akwf file appear as:
• Name – Hello world b le
• Description – Bids a greeting to the world fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i
6. Click the “Hello word”
f
dฺ workflow t o and the following is displayed.
h e
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 10 - Workflow


Chapter 10 - Page 4
7. Here is a more complicated example that will return the current CPU utilization. Open a text
editor and input the following:
var workflow = {
name: 'CPU utilization',
description: 'Displays the current CPU utilization',
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

execute: function () {
run('analytics datasets select
name=cpu.utilization');
cpu = run('csv 1').split('\n')[1].split(',');
return ('At ' + cpu[0] + ', utilization is ' +
cpu[1] + '%');
}
};
b le
8. Save the file as cpu.akwf.
fer a
9. Got to Maintenance > WorkFlows, and then upload the workflow to the appliance. ans
10. When the Add Workflow splash screen appears, click the Browse button and select the n - t r
cpu.akwf file. Then click upload. n o
a
h
11. Under Workflows, you should see the hello.akwf file appear as:
) as
• Name – CPU utilization
i ฺ a e deฺ
h a
• Description – Displays the current CPU utilization
b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R
12. Click the “CPU utilization” workflow. The following is displayed:

Congratulations! You have completed Practice 10-1. Ask your instructor if you have any
questions concerning the practice.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 10 - Workflow


Chapter 10 - Page 5
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 10 - Workflow


Chapter 10 - Page 6
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
Practices for e Lessonฺ 11 -
ฺ a
i Storage e
OracleabZFS
h G uid
u d entAdvanced Tasks
Appliance
b
d ofฺaChapter
S tu11d
u @ t h is
f u j its use
h i dฺ e to
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 1
Practices for Lesson 11: Overview

Practices Overview
In these practices, you do the following:
1. Set up users and roles.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

2. Set up NFS and SMB shares.


3. Configure VNICs and additional (Administration and Data) interfaces.
4. View Analytics.
5. Set up remote replication, and then reverse the replication

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 2
Practice 11-1: Setting Up Users and Roles

Overview
In this practice, you set up users and roles.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
Configure Roles
1. In the Browser Interface, go to Configuration > Users

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
2. Click the Add icon next to Roles. fฺa
o S t ud
3. d
Under Properties, enter the name of the role
@ isthat you are adding, for example, view (which
u
tsis a unote
allows viewing of system status). Then t h
efor administrators. of the overall control that the new
enter a description
u j i s
dฺf e to
role allows. This description
h i
l ( ras icens
a l
i d Nih
R ash

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 3
4. Under Authorizations, choose a scope (level of administrative control) that you would like to
control from the Scope drop-down menu.
Example: For the monitoring role, you can add an authorization so that the full dashboard
can be seen (otherwise, the memory section is blank); Scope is “Analytics", create and read
parameters must be given to each “component.”
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
an s
- t r
screen under Authorizations, and then click ADD at the top of the screen. n onof the
5. When you have finished adding authorizations, click ADD located in the middle

s a
) a
h ฺ
e
iฺa uide
a b
h nt G
u d
o f ฺab Stude
@ d is
u t h
f u j its use
h i dฺ e to
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 4
Configure Users
6. In the Browser Interface, go to Configuration > Users.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

7. Click the Add icon next to Users.


8. Select Local Only (If Directory is selected, the only entry required is Username.)
b le
• Enter your Username, for example, monitor.
fer a
• Enter your Full Name, for example, System Monitor. ans
n - t r
• Enter your Password, for example, changeme.
n o
• Enter your password again in the Confirm field. a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra
9. Under Roles, allow the basic role and any additions (for example, view), and click
Exceptions to restrict user level Scope if desired.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 5
10. Click Exceptions to restrict user level Scope if desired. Choose Analytics from Scope, and
then select “create” and “read.” Click ADD.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
11. Click ADD located at the top of the screen.
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 6
12. Log on to the appliance with the new Username and Password.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 7
Practice 11-2: Setting Up NFS and SMB Shares

Overview

In this practice, you set up NFS and SMB shares, and then export them.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and have established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
1. Log in to the BUI.
2. Click Shares at the top.
b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
3. Click the Projects tab on the u
s @ thi
left.
u j t s e called “myProject” and click Apply.
icreate auproject
4. Click the Add
i f
dฺ e to
icon to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 8
5. From within myProject, click the Add icon next to Filesystems and create a Filesystem
called myFS. Set Permissions to 777 (RWX RWX RWX) for User, Group, and Other. Click
Apply.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
u i
@ thFilesystem,
6. Click the pencil icon next
j i t s to the myFS
s e and then click General and note that
u
dฺf e to u
the mountpoint is /export/myFS.
h i
l ( ras icens
iha l
id N
a sh
R

7. Log in to a Solaris/UNIX client and create a directory to mount the newly created share.
mkdir /mnt1
8. Log in to a Solaris/UNIX client and mount the newly created share:
mount <Appliance Name or IP>:/export/myFS /mnt1
bash-3.2# mount 192.168.144.10:/export/myFS /mnt1
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 9
9. Run the command df -k to verify (or df -h for Solaris).
bash-3.2# df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/disk0s2 55954992 128735852 26963140 83% /
devfs 112 112 0 100% /dev
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

192.168.144.10:/export/myFS 5928942602 84 5928942518 1%


/mnt1
10. Write some data to the file system.
cp <anyfile> /mnt1/.
Exporting SMB Shares from the BUI
11. Edit the share by clicking the pencil icon, which is viewable when you move the cursor
over the share.
b le
12. Select Protocols. In the SMB section, deselect “Inherit from project” and enter mySMB as a
fer a
Resource name. Then click Apply.
ans
n - t r
a no
) h as
i ฺ a e deฺ
13. Log on to the Windows client and mount the share h a b Gui Go to
\\hostname\mySMB.
u d click
and then e n tFinish.
My Computer > Tools > Map Network Drive, b d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
d N
shi
Ra

14. Verify that \\hostname\mySMB is mounted from My Computer.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 10
Practice 11-3: Configuring VNICs and Additional (Administration &
Data) Interfaces

Overview
In this practice, you configure several Datalinks as VNICs for additional administration and data
interfaces.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
From the BUI
b le
1. Click Configuration and then click Network.
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 11
2. Click the Add icon next to Datalinks, select the VNIC check box, and give the VNIC a
meaningful name (for example, ixgbe2_VNIC). Select a Datalink that the VNIC will
communicate through, and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i ฺ f
dVNIC t o
s h
3. Drag the Datalink
a e
s Interfaces.
under
( r e n
i h al lic
sh id N
R a

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 12
4. Create another management interface on the Network interface splash screen. Enter a
name for Interface Management-## (for example, Managment-13; use the last two digits of
the IP address), make sure that the Allow Administration check box is selected, and provide
an IPv4 address/Mask (for example, 192.162.144.13/24). Under Datalinks, select VNIC,
and then click APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 13
5. Check for the new management interface, verify the VNIC and IP address, and then click
APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
6. Log on to the appliance by using the new management interface. a
h s a new browser
Open
window, enter the new management interface IP address, and) then verify connectivity (for
i ฺ a e d e ฺ
example, https://192.168.144.13:215).
ab t Gu i
d h
u den
ฺ a b
d of s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 14
7. (Optional) Create additional management and data interfaces through VNICs on both
appliance nodes. Explore!
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
a no
8. Go to the Configuration> Cluster screen and take a look at the
) h asinterfaces; you can lock
new
them down if required.
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 15
Practice 11-4: Viewing Analytics

Overview
In this practice, you use Analytics to view various operations.

Assumptions
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
From the BUI
1. Click Analytics at the top.
2. Click Open Worksheets. e
a b l
s fer
- t r an
n on
a
) h as
i ฺ a e deฺ
3. Select ADD Statistic...> Interface bytes > Broken down by interface.

h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 16
4. Select ADD Statistic...>> NFSv4 operations >> Broken down by type of operation.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 17
The following appears.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 18
5. Create a 100-GB file (or larger, if the client has more than 10 GB of main memory).
dd if=/dev/zero of=/mnt/largefile1 bs=1024k count=100k
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 19
6. From the Appliance Kit BUI in Analytics Worksheet, select an attribute in the left window to
see its individual values. Shift-click to select multiple attributes.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 20
7. Right-clicking an attribute will allow you to drill down further.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

8. (Optional) Explore and add different statistics.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 21
Practice 11-5: Setting Up Remote Replication and Reversing
Replication

Overview
In this practice, you will set up remote replication, and then reverse the replication to support a
typical two-system disaster recovery. Choose a production system and a recovery system. (You
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

will need two clustered appliances to perform this practice.)

Assumptions
Make sure that you have your student guide and system information recorded earlier in this
practice, and established a connection to the Remote Lab Delivery Center (RLDC).

Tasks
From the BUI on Replication Source b le
1. On both systems, verify that Remote Replication service is on. If the status is Disabled, fer a
ans
click Enable service.
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
t s u e t hi
@ to Configuration
2. On the production system,
f u j i navigate
u s > SERVICES > Remote Replication.
Click the icon d
i ฺ to Targets
next t o and configure name, host name, and password settings.
h e
• Recovery
l ( rasSystem
c e ns
a Name = li________________

id Nih − Host name = _______________


a s h − Root password = ______________
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 22
3. Navigate to Shares > PROJECTS, click the Add icon next to Projects. On the Create
Project splash screen, name the Project P1.
• Name: P1
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

4. Click Apply.
b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 23
5. Navigate to Shares > Projects > Protocols. In SMB, set Resource Name to on. Click
APPLY.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 24
6. Navigate to Shares > PROJECTS > P1 > Shares. Click the Add icon next to
Filesystems, and then set the following parameters.
• Name = S1
• User = root
• Group = other
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

• Permissions = RWX RWX RWX

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
s h
l (ra licens
7. ClickaAPPLY.
N ih
sh id
R a

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 25
8. Navigate to Shares > PROJECTS > P1 > Shares > S1. Click the icon, and then select
Protocols. Verify that the SMB section shows that S1 can be reached using SMB:
• Example: \\192.168.144.10\S1
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 26
9. Navigate to Shares > PROJECTS > P1 > Replication. Click the icon next to Actions and
set the target and pool parameters.
• Target = appl-30
• Pool = pool_0
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 27
10. Click Schedule and set the frequency. Click ADD.
• Frequency = Half-Hour at 00 minutes past the hour.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
ofฺanetwork
11. On SMB (Windows) Client System,dmap S ud
tdrive.
u @ t h is
f u j its use
• Example = \\192.168.144.10\S1.
• user = root
h i dฺ e to
l ( ras icens
• password = changeme

iha l
d N
shi
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 28
12. Click Finish, and then verify connectivity.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

13. Create the F1.txt file.

b le
fer a
ans
n - t r
n
14. On Production System, navigate to Shares > PROJECTS > P1 > Replication. On the Action o
a
line TARGET = appl-30, click Update now.
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh 15. After replication is finished, click Disable. STATUS changes to disabled.
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 29
Reverse Replication
Note: To simulate recovery from a disaster that prevents access to the production system,
use the recovery system to reverse replication. When replication is reversed, the replication
package that is present on the target is converted to a local project and, additionally, a
replication action is configured for this local project for incremental replication back to the
original source system. This replication action is not enabled by default. The administrator
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

should send the update manually.


16. To simulate loss of contact with Production system on the SMB (Windows) Client System,
select Disconnect network drive.

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
17. Navigate to Shares > PROJECTS > REPLICA.
d tudProject appl-10: P1 is listed.
ofฺa s SThe
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
id N
a sh
R
18. Navigate to Shares > PROJECTS > REPLICA> appl-10: P1> Replication. The package has
the Status=Idle.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 30
19. Reverse the direction of replication and set the new project name (New Project Name=P1).
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
20. Click APPLY on the action splash screen, read the text, and then click OK.
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra 21. Navigate to Shares > PROJECTS > REPLICA. Project appl-10: P1 is not listed anymore
because the replication package present on the target is converted to a local project.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 31
22. Navigate to Shares > PROJECTS >ALL. Project P1 is listed.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

23. Navigate to Shares > PROJECTS > P1 > Protocols. In the SMB section, verify that the
Resource Name is “on.” If it is not “on,” set to “on,” and then click APPLY.

b le
fer a
ans
n - t r
a no
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ> PROJECTS t o
h e
(
showslthatraS1scanicbe
24. Navigate to Shares
e s using> P1
nreached > Shares > S1 > Protocols. The SMB section
SMB at \\192.168.144.30\S1.
iha l
id N
a sh
R

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 32
25. On SMB (Windows) Client System, map the network drive.
• Example = \\192.168.144.10\S1.
• User = root
• Password = changeme
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 33
26. On the Windows system, open the drive and verify that the F1.txt file is listed.
Unauthorized reproduction or distribution prohibitedฺ Copyright© 2016, Oracle and/or its affiliatesฺ

Congratulations! You have completed Practices 11-1 through 11-5. Ask your instructor if
you have any questions concerning the practices.
b le
fer a
ans
n - t r
n o
a
) h as
i ฺ a e deฺ
h a b Gui
b u d ent
d
d ofฺa s Stu
s u @ thi
u j i t u s e
i f
dฺ e to
h
l ( ras icens
iha l
i d N
sh
Ra

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.

Practices for Lesson 11 - Oracle ZFS Storage Appliance Advanced Tasks


Chapter 11 - Page 34

You might also like