oracle zfs storage appliance simulator guide

14
Part No: E39468-05 Oracle ZFS Storage Appliance Simulator Quick Start Guide March 2015

Upload: rahulhcl

Post on 07-Dec-2015

115 views

Category:

Documents


16 download

DESCRIPTION

ZFS

TRANSCRIPT

Page 1: Oracle ZFS Storage Appliance Simulator Guide

Part No: E39468-05

Oracle ZFS Storage ApplianceSimulator Quick Start GuideMarch 2015

Page 2: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 2

This document is a guide to Oracle ZFS Storage Appliance Simulator setup and initial configuration. TheSimulator introduces you to the power and simplicity of the Oracle ZFS Storage Appliance software usingVirtualBox and is identical in every way to the appliance version, with the exception of clustering.

Use the following sections for basic setup:

■ “First Steps” on page 2 - Complete all prerequisites before beginning setup and configuration.■ “VirtualBox Setup” on page 3 - Set up the Simulator virtual machine in VirtualBox.■ “Configuring the Simulator” on page 4 - Complete basic configuration in your browser.

For additional configuration, refer to these sections (optional):

■ “Bridged Networking Setup” on page 8 - Enable access to the Simulator from other machines onyour network.

■ “Example Filesystem Setup” on page 10 - Set up a simple filesystem share over SMB.■ “Preparing for Remote Replication” on page 11 - Prepare for replication between two Simulators.

First StepsBefore you begin the setup and configuration procedures, complete the following prerequisites.

1. Ensure that your host system (laptop, desktop, server) has sufficient resources to support the Simulator'sconfiguration of 2560 megabytes of memory and 125 gigabytes of dynamically allocated disk space.

2. Check that your CPU has 64-bit capability and supports hardware virtualization; to do so, refer to yoursystem information or the documentation for your hardware manufacturer.

3. Check that either Intel Virtualization Technology (VT-x) or Advanced Micro Devices Virtualization(AMD-V) is enabled on your system. Often these settings are within the BIOS, sometimes underchipset, processor, security, power, or advanced settings. The BIOS menu is usually accessible duringreboot by pressing specific keys. Your system may require a BIOS update for these settings to beavailable. For Intel-based Apple products, you might need to install the latest EFI firmware update. Fordetails, refer to your system information or the documentation for your hardware manufacturer.

4. Download and decompress the latest Oracle ZFS Storage Simulator from the Oracle TechnicalNetwork (http://www.oracle.com/technetwork/server-storage/sun-unified-storage/

downloads/sun-simulator-1368816.html).5. Download and install the latest VirtualBox package and extension pack (minimum version 4.2.12) that

is compatible with your operating system from https://www.virtualbox.org/. Read the "NetworkInterfaces" warning and accept to continue installation.When you install VirtualBox, a host-only adapter is defined by default. You can use this adapter for thehost-only network used during initial Simulator configuration. For details about host-only networks,refer to the VirtualBox documentation (https://www.virtualbox.org/manual/ch06.html).

6. Open VirtualBox and verify that a host-only adapter is defined by navigating to File > Preferences >Network > Host-only Networks. If there is no host-only adapter, click the plus icon to add one.

Page 3: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 3

Ensure that the DHCP server is set up and enabled by clicking the screwdriver icon .

7. If you are on a virtual private network (VPN), ensure that it allows access to the local host network. If itdoes not, you may not be able to access the Simulator while on the VPN.

VirtualBox Setup

Complete the following steps to set up the Oracle ZFS Storage Appliance Simulator in VirtualBox.

1. Start VirtualBox and select Import Appliance from the File menu.2. Navigate to and choose the Simulator OVF file and click Next.3. If desired, change any of the default settings, including the name. The RAM setting must be at least

2560 megabytes, which is the default.4. Click Import.5. Select the Simulator in VirtualBox and go to Settings > System > Acceleration. Verify that "Enable VT-

x/AMD-V" is checked.If hardware virtualization is not enabled on your system, you will not be able to access the Accelerationtab; see “First Steps” on page 2.

6. To start the VM, click Start. The Boot screen appears.

If you get this error message, you need to enable VT-x/AMD-V as described in “FirstSteps” on page 2.

Page 4: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 4

7. Press any key to begin configuration. The Configuration screen appears.

8. Use the arrow keys on your keyboard to navigate among the fields on this screen. Verify that the IPaddress and IP netmask match the default host-only network. If you modified any values in the host-only configuration settings in VirtualBox, you may see different values entered on this screen.Complete the remaining fields:■ Host Name: Any name you want■ DNS Domain: localdomain■ Default Router: Match the IP address, but use 1 as the final octet (example: 192.168.56.1)■ DNS Server: Match the IP address, but use 1 as the final octet (example: 192.168.56.1)■ Password: Any password you want

9. Press the ESC key followed by the 1 key to confirm these settings.10. Wait until the screen provides you with two URLs to use for subsequent configuration and

administration: one with an IP address and one with the hostname you specified.

You will use the IP address URL to configure the Simulator in the next section. You cannot access theSimulator using the hostname URL without more advanced configuration, as described in “BridgedNetworking Setup” on page 8. You must configure the Domain Name Server (DNS) to map thehostname to its corresponding IP address.

Configuring the SimulatorComplete basic Simulator configuration in the Browser User Interface (BUI) using the following steps.

Note - The Simulator’s default configuration, described here, uses a host-only network, meaning thatthe Simulator can only be accessed from the computer on which it is running. You can later enableaccess to the Simulator from other machines on your network, as described in “Bridged NetworkingSetup” on page 8.

1. Open a web browser and navigate to the URL with the IP address provided in the last step of“VirtualBox Setup” on page 3. Accept the web browser security warning.

Page 5: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 5

The login screen appears.

2. Type the username root and the password you created in the configuration screen, then click LOGIN.The Welcome screen appears.

Note - At the top right of every BUI page is a HELP link to the Simulator online help, which is context-sensitive and provides more detailed information about each configuration step.

3. Click START to begin setup.4. On the Configure Networking screen, click COMMIT to continue.

5. Click COMMIT to skip the Configure DNS screen. You can later set these parameters to map thehostname to its corresponding IP address, as described in “Bridged Networking Setup” on page 8.

Page 6: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 6

6. On the Configure Time screen, optionally set the appliance time, or click COMMIT to skip. Youcan later synchronize the appliance time with a Network Time Protocol (NTP) server, as described in“Bridged Networking Setup” on page 8.

7. Click COMMIT to skip the Configure Name Services screen. You can later configure NIS, LDAP, andActive Directory for user access control, as described in “Bridged Networking Setup” on page 8.

8. Create a storage pool by clicking the plus icon next to Available Pools.

9. Name the new storage pool and click APPLY.

Page 7: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 7

10. Use the pull-down list next to Data Devices to allocate storage to the pool, then click COMMIT.

11. Select a data profile based on your business needs. Click COMMIT to configure the pool.

12. The new pool and a description of allocation appear. Click COMMIT to continue.

13. On the Registration & Support screen, select LATER and click OK to confirm.When setting up a real Oracle ZFS Storage Appliance, you use this screen to register the appliance,enable Phone Home support, and configure web proxies required to connect to the Oracle support site.

Page 8: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 8

14. The final configuration screen appears with links to further documentation.

You can return to the configuration wizard at any time by navigating to Maintenance > System andclicking INITIAL SETUP. If accessing the Simulator through the CLI, enter the context maintenancesystem and enter the command setup. Current settings are not changed unless you explicitly changethem. User data on the storage pool (including projects and shares) is not affected.

15. To close the Simulator, click LOGOUT near the top of the screen and close the VM command window.16. To power off the Simulator, in VirtualBox, select Machine > Close. For details about save and power-off

options, refer to the VirtualBox documentation (http://www.virtualbox.org/manual/ch01.html).

Bridged Networking Setup

When first installed, the Oracle ZFS Storage Appliance Simulator can only be accessed from the computeron which it is running. You can optionally enable access to the Simulator from other machines on yournetwork by setting up bridged networking using the following steps.

For detailed information about bridged networking and limitations for your operating system, refer to theVirtualBox documentation (http://www.virtualbox.org/manual/ch06.html).

1. Collect the following information for the network you want to use:■ IP address and netmask■ Host name■ DNS domain name■ DNS server IP address■ Default router (gateway) IP address

You may need to contact your network administrator for this information.2. Open VirtualBox. From the main screen, select the Simulator virtual machine and click Start. Wait until

the console login prompt appears (hostname console login).3. Log in to the CLI by entering username root and the password you created during “VirtualBox

Setup” on page 3. Wait until the hostname prompt appears.4. Go to configuration net routing and use the show command to list the routing properties. Set the

gateway value appropriate for your network.

hostname:> configuration net routing

hostname:configuration net routing> show

ROUTE      DESTINATION   GATEWAY        INTERFACE TYPE    STATUS

route-000  0.0.0.0/0     192.168.56.1   e1000g0   static  active

hostname:configuration net routing> select route-000

Page 9: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 9

hostname:configuration net route-000> set gateway="GATEWAY"

hostname:configuration net route-000> commit

5. Go to configuration net interfaces and use the show command to list the interface properties. Setthe IP address and netmask values appropriate for your network.

hostname:> configuration net interfaces

hostname:configuration net interfaces> show

Interfaces:

INTERFACE   STATE  CLASS LINKS    ADDRS                LABEL

e1000g0     up     ip    e1000g0   192.168.56.101/24    Untitled Interface

hostname:configuration net interfaces> select e1000g0

hostname:configuration net interfaces e1000g0> set v4addrs="IP/NETMASK"

hostname:configuration net interfaces e1000g0> set v4adhcp=false

hostname:configuration net interfaces e1000g0> commit

6. In VirtualBox, select the Simulator virtual machine, and click Settings.7. Select Network and configure Adapter 1 so that it is attached to the Bridged Adapter.

8. Optionally, configure services in the Simulator BUI by navigating to Configuration > Services andclicking the name of the service you want to configure:■ DNS - Set parameters to map the hostname to its corresponding IP address.■ NTP - Synchronize appliance time with an NTP server by completing the fields under NTP Settings,

or set the appliance time to match the time and date according to your web browser by pressingSYNC under Clock.

Note - The NTP service can take several minutes to complete startup due to the nature of NTP and theadjustment of the system clock.

■ NIS - Configure this name service to authenticate users and groups using the Network InformationService (NIS).

■ LDAP - Configure this name service to authenticate users and groups using the LightweightDirectory Access Protocol (LDAP).

■ Active Directory - Configure this name service to authenticate users and groups using a MicrosoftActive Directory Server.

Services can also be configured in the CLI by going to configuration services.Refer to the Simulator online help for detailed information about working with services.

Page 10: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 10

Example Filesystem Setup

Complete the following steps to set up a simple filesystem share over Server Message Block (SMB) withWindows user access.

1. Navigate to the Shares screen. Click the plus icon next to Filesystems to create a new filesystem.

2. Name the filesystem demo and change the permissions for Group and Other to allow anyone to read,write, and execute on the filesystem. The filesystem is part of the default Project. Click APPLY.

3. The filesystem appears on the Shares screen. Mouse over the demo list item and click the Edit Entry icon to edit the filesystem attributes.

4. Click the Protocols link.

5. In the SMB section, clear the "Inherit from project" checkbox and enter Resource Name demo. ClickAPPLY to save the changes.

Page 11: Oracle ZFS Storage Appliance Simulator Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide 11

6. Click Configuration to access the Configuration > Services screen.

7. Enable the SMB service by clicking the power icon . The state changes from Disabled to Online.8. Finally, configure a user with access to the filesystem share. Click USERS in the navigation bar, and

click the plus icon next to Users to create a new user.

9. Select the Local Only radio button, set the Username and Password, and click ADD.10. Log out of the Simulator by clicking LOGOUT near the top of the screen.11. From a Windows client, connect to the IP address of your Simulator and log in with the credentials you

set in step 9 to acess the shared filesystem demo.

Preparing for Remote ReplicationTo prepare for remote replication between two Simulators, assign a unique appliance serial number to eachSimulator by performing the following steps. This procedure only needs to be performed once because allsettings are retained, even when powering on and off the Simulators.

1. Create two appliance Simulators as described in “VirtualBox Setup” on page 3, but create adifferent host name and IP address for the second Simulator in the configuration screen.

2. Complete initial configuration of both Simulators as described in “Configuring theSimulator” on page 4. Do not log out of the second Simulator when finished.

3. On the second Simulator, navigate to Maintenance > System, click FACTORY RESET, and click OK.

4. When prompted in the VirtualBox boot screen, press any key to begin configuration.5. Complete all required fields marked with an asterisk (*). Be sure to enter the correct host name and IP

address for the second Simulator.6. Press the ESC key followed by the 1 key to confirm these settings.7. Direct a web browser to the URL with the IP address of the second Simulator, and log in.8. Click START and repeat the setup procedure.

Page 12: Oracle ZFS Storage Appliance Simulator Guide
Page 13: Oracle ZFS Storage Appliance Simulator Guide

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

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except asexpressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, ordisplay any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S.Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication,disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject tolicense terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications,including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe,backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware indangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARCInternational, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of TheOpen Group.

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are notresponsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for anyloss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Page 14: Oracle ZFS Storage Appliance Simulator Guide

Copyright © 2015, Oracle et/ou ses affiliés. Tous droits réservés.

Ce logiciel et la documentation qui l’accompagne sont protégés par les lois sur la propriété intellectuelle. Ils sont concédés sous licence et soumis à des restrictions d’utilisation et dedivulgation. Sauf disposition de votre contrat de licence ou de la loi, vous ne pouvez pas copier, reproduire, traduire, diffuser, modifier, breveter, transmettre, distribuer, exposer, exécuter,publier ou afficher le logiciel, même partiellement, sous quelque forme et par quelque procédé que ce soit. Par ailleurs, il est interdit de procéder à toute ingénierie inverse du logiciel, de ledésassembler ou de le décompiler, excepté à des fins d’interopérabilité avec des logiciels tiers ou tel que prescrit par la loi.

Les informations fournies dans ce document sont susceptibles de modification sans préavis. Par ailleurs, Oracle Corporation ne garantit pas qu’elles soient exemptes d’erreurs et vous invite, lecas échéant, à lui en faire part par écrit.

Si ce logiciel, ou la documentation qui l’accompagne, est concédé sous licence au Gouvernement des Etats-Unis, ou à toute entité qui délivre la licence de ce logiciel ou l’utilise pour le comptedu Gouvernement des Etats-Unis, la notice suivante s’applique:

U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S.Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication,disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject tolicense terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

Ce logiciel ou matériel a été développé pour un usage général dans le cadre d’applications de gestion des informations. Ce logiciel ou matériel n’est pas conçu ni n’est destiné à être utilisé dansdes applications à risque, notamment dans des applications pouvant causer des dommages corporels. Si vous utilisez ce logiciel ou matériel dans le cadre d’applications dangereuses, il est devotre responsabilité de prendre toutes les mesures de secours, de sauvegarde, de redondance et autres mesures nécessaires à son utilisation dans des conditions optimales de sécurité. OracleCorporation et ses affiliés déclinent toute responsabilité quant aux dommages causés par l’utilisation de ce logiciel ou matériel pour ce type d’applications.

Oracle et Java sont des marques déposées d’Oracle Corporation et/ou de ses affiliés. Tout autre nom mentionné peut correspondre à des marques appartenant à d’autres propriétaires qu’Oracle.

Intel et Intel Xeon sont des marques ou des marques déposées d’Intel Corporation. Toutes les marques SPARC sont utilisées sous licence et sont des marques ou des marques déposées deSPARC International, Inc. AMD, Opteron, le logo AMD et le logo AMD Opteron sont des marques ou des marques déposées d’Advanced Micro Devices. UNIX est une marque déposée d’TheOpen Group.

Ce logiciel ou matériel et la documentation qui l’accompagne peuvent fournir des informations ou des liens donnant accès à des contenus, des produits et des services émanant de tiers. OracleCorporation et ses affiliés déclinent toute responsabilité ou garantie expresse quant aux contenus, produits ou services émanant de tiers. En aucun cas, Oracle Corporation et ses affiliés nesauraient être tenus pour responsables des pertes subies, des coûts occasionnés ou des dommages causés par l’accès à des contenus, produits ou services tiers, ou à leur utilisation.