Introduction 1 VirtualBox Setup 1 Configuring the Simulator 3 Advanced Networking Setup 9 Example Filesystem Setup 10 Preparing for Remote Replication 13 Introduction This document is a guide to Oracle ZFS Storage Appliance Simulator setup and initial configuration. The Simulator introduces you to the power and simplicity of the Oracle ZFS Storage Appliance software using VirtualBox and is identical in every way to the appliance version, with the exception of clustering.
VirtualBox Setup Complete the following steps to set up VirtualBox with the Oracle ZFS Storage Appliance Simulator.
1. Download the latest VirtualBox image and extension pack version that is compatible with your operating system and install it according to the instructions on http://www.virtualbox.org. The earliest supported version of VirtualBox is 4.2.12, with its extension pack.
2. Download and decompress the latest Oracle ZFS Storage Simulator from the Oracle Technical Network, http://www.oracle.com/technetwork/server- storage/sun-unified-storage/downloads/sun-simulator-1368816.html. Note: The Simulator is configured with 2560 MB of memory and 125 GB of dynamically allocated disk space. Please ensure that your host system has sufficient resources (memory, disk space) to support this configuration.
3. Start VirtualBox and select Import Appliance from the File menu. Choose the simulator OVF file and complete the steps in the VirtualBox Appliance Import Settings wizard. Note: The Simulators default configuration uses a Host-only Network. If the virtual machine does not already have a Host-only Adapter defined, go to Main Menu > Preferences > Network and click on the plus icon to add an adapter to the Host-only Networks.
4. Select the Oracle VM labeled Oracle_ZFS_Storage and start the VM. The boot screen appears. When prompted, press any key to begin configuration.
5. The configuration screen appears.
6. Use the Arrow Keys on your keyboard to navigate among the fields on this screen. Many of these fields should be filled in for you. Here are some tips if you are unsure how to fill in any of the required fields: Host Name: Any name you want. DNS Domain: localdomain Default Router: The same as the IP address, but put 1 as the final octet. DNS Server: The same as the IP address, but put 1 as the final octet. Password: Whatever you want.
7. After you enter this information, 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. Direct a web browser to the URL with the IP address (for example, https://192.168.56.101:215/) to complete the appliance configuration. The login name is root and the password is the one you entered in the initial configuration screen.
8. Press the ESC key followed by the 1 key to finish with these settings. Oracle ZFS Storage Appliance Simulator Quick Start 2
Configuring the Simulator 1. After you have accepted the https browser security warning, the Login screen appears.
2. Type the username root and the password you created in the previous setup screen and click LOGIN. The simulator Welcome screen appears.
3. Click START to begin the setup procedure. The network devices are auto- detected and a datalink and interface are configured.
6. Click COMMIT to skip this Configure Time step. Refer to the Advanced Networking Setup section to connect to an external network so you can configure NTP (the Network Time Protocol) by clicking the SYNC button to synchronize the appliance time with the NTP server time.
7. Click COMMIT to skip this Configure Name Services step. Refer to the Advanced Networking Setup section to connect to an external network and configure name services for user access control.
13. The configuration wizard next displays the Registration & Support screen. Select the Later button and confirm your choice to continue. If you were setting up a real Oracle ZFS Storage Appliance, you would use this screen to register the appliance, enable Phone Home support, and configure any web proxies that the appliance may require to connect to the Oracle support site.
14. The final configuration screen appears with links to further documentation.
Advanced Networking Setup When first installed, the Oracle ZFS Storage Appliance Simulator can only be accessed from the computer on which it is running. You can enable access to the Simulator from other machines on your network using the following steps. 1. Configure Network Adapter 1 so that it is attached to the Bridged Adapter. Refer to the VirtualBox documentation for detailed information about bridged networking and limitations for your operating system. 2. From the Simulator BUI, use the Configuration > Network screen to configure the IP address, netmask and gateway that are appropriate for your external network connection. Networking can also be configured through the Simulators CLI. Refer to the Simulator online help for detailed information about network configuration. 3. From the Simulator BUI, use the Configuration > Services screen to configure DNS, Name Services and NTP. You can also configure services through the Simulators CLI. Refer to the Simulator online help for detailed information about service configuration. Oracle ZFS Storage Appliance Simulator Quick Start 9 Example Filesystem Setup Complete the following steps to set up a simple filesystem share over SMB with Windows user access.
1. Click Shares to view the Shares screen. Click the plus icon to the left of 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 page. Mouse over the demo list item and click the Edit entry icon to edit the filesystem attributes.
4. To share over the SMB protocol, click the Protocols link and deselect the SMB Inherit from project checkbox. Type demo into the Resource Name entry field and Apply the changes.
5. Click Configuration to access the Configuration > Services screen. Enable the SMB service by clicking the power icon.
6. Finally, configure a user with access to the filesystem share. Click Users in the navigation bar and use the plus icon next to Users to add a new user.
7. Select the Local Only radio button and set the Username and Password. From a Windows client, connect to the IP address of your simulator and log in with this test username to access the demo shared filesystem. Oracle ZFS Storage Appliance Simulator Quick Start 12
Preparing for Remote Replication To prepare for remote replication between two simulators, assign a unique appliance serial number to each simulator by performing the following steps. This procedure only needs to be performed once because all settings are retained, even when powering on and off the simulators.
1. Create two appliance simulators as described in section VirtualBox Setup, but create a different host name and IP address for the second simulator in the configuration screen (step 6).
2. Complete initial configuration of both simulators as described in section Configuring the Simulator. Do not log out of the second simulator when finished.
3. On the second simulator, navigate to Maintenance > System, click FACTORY RESET and confirm your action.
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. Now press the ESC key, followed by pressing the 1 key to finish with these settings.
7. Direct a web browser to the URL with the IP address of the second simulator, and log in. The simulator Welcome screen appears.
8. Click START and repeat the setup procedure.
Refer to the Simulator online help for detailed information about setting up remote replication.
Oracle ZFS Storage Appliance Simulator Quick Start Guide June 2014, Version 1.4.0 Part No. E39468-04
Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 oracle.com Copyright 2014, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. 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 SPARC International, 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 licensed through X/Open Company, Ltd. 0611