ONTAP-Sim-Getting Started Quick v10
ONTAP-Sim-Getting Started Quick v10
Version 1.0
1 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Table of contents
ONTAP Simulator: Getting Started Quick
2 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Overview of the ONTAP Simulator
3 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP Simulator: History and What is it?
Available to customers, partners and NetApp personnel
§ Has been available and in use for over a decade, since at least ONTAP 6
§ Previously required a Linux host and a lot of CLI setup, skills, and paid-for
virtualization products (like: VMware Workstation, Parallels, Fusion, etc)
§ As of ONTAP 8.0 it is a much simpler package (.ova) which can be quickly
opened and booted on many types of systems and VM Player is free
§ What is it?
§ When you download a version of the simulator, boot it and run it, you are not running code that is
“similar and simulated” ONTAP, “it is” in fact that version of ONTAP (features, bugs and all)
§ The difference is that on the underneath side of the simulator, instead of having the low-level drivers
for hardware items like NVRAM, flash-card, SAS adapters, shelves and disks, those things are
substituted with drivers for local disk files on your system.
4 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP Simulator: Software Diagram
Software running on your system
Your Windows or macOS system
VM Player or Fusion
ONTAP Simulator
28 1GB disks; Initially with: 14 owned by Node-01 with a 3-disk aggr0 aggregate
…
DNS Server ex: 192.168.x.10
192.168.x.2
e0a e0b e0c e0d
Optional
Cluster Interconnect
VMnet8
network
192.168.x.1
VMnet8 Adapter
Map a
CIFS Share
Map a PowerShell
System Manager ssh, cli, putty iSCSI LUN With Toolkit
Mount an
NFS Export
5 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP Simulator: Good and bad use cases
Things the simulator will be good at … and not so good
§ Good at:
§ New system setup – not hardware specific things like SP setup or ADP, but just like a real system it
needs network, aggregate, SVM, protocol and miscellaneous setup
§ Ongoing management – Creating and modifying Aggregates, Storage Virtual Machines,
Volumes, Policies, Snapshots, Qtrees, Quotas, Exports, Shares, LUNs, QoS, events,
statistics, networking, security, and SnapMirror/Vault
6 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP Simulator: Disclaimers for this ‘Getting Started Quick’ Guide
Simulator is available in many flavors and configurations
7 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Laptop or System Requirements
Assumption is this matches many of the configurations out there
§ Hardware:
§ 64-bit x86 CPU with 1.3GHz
§ Two processor cores
§ 8GB Memory
§ Free Disk Space (for one simulator)
§ ~10 GB to get started
§ Up to ~30 GB after months of normal use
§ Virtualization Technology CPU Feature
8 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP Simulator: Network address planning
Consider each simulator instance something you may copy, restore later or even share
§ If valuable, and you have the disk space, you could have a number ONTAP simulator VMs (9.0, 8.3.2, etc) under the control of VM
Player but run them one at a time. Since someday, you may run a system with more memory, think of each VM as an instance of
ONTAP that may run at the same time … so use unique names and IP addresses for each instance
§ While you may start out with a single-node cluster, allocate IP addresses with the idea you may upgrade it to a two node at some
point in the future. Reserve addresses for the second node even if you won’t use them right now
§ In cDOT you always have management sorts of LIFs (cluster, node, intercluster) and data LIFs owned by SVMs. You have 254
addresses to play with in your VM Player subnet so allocate ranges in an easy to remember fashion. For example, a scheme might
be something like below. (where ‘x’ is your VM Player or Fusion generated subnet 3rd octet number):
§ First Cluster (10s, 20s) § Second Cluster (30s, 40s) § Third Cluster (50s, 60s)
§ Mgmt LIF addrs: 192.168.x.10 -> 19 § Mgmt LIF addrs: 192.168.x.30 -> 39 § Mgmt LIF addrs: 192.168.x.50 -> 59
§ Cluster mgmt: 192.168.x.10 § Cluster mgmt: 192.168.x.30 § Cluster mgmt: 192.168.x.50
§ Node1 mgmt: 192.168.x.11 § Node1 mgmt: 192.168.x.31 § Node1 mgmt: 192.168.x.51
§ Node1 intercluster: 192.168.x.12 § Node1 intercluster: 192.168.x.32 § Node1 Intercluster: 192.168.x.52
§ Node2 mgmt: 192.168.x.13 § Node2 mgmt: 192.168.x.33 § Node2 mgmt: 192.168.x.53
§ Node2 intercluster: 192.168.168.x.14 § Node2 intercluster: 192.168.168.x.34 § Node2 Intercluster: 192.168.168.x.54
§ Data LIF addrs: 192168.x.20 -> 29 § Data LIF addrs: 192.168.x.40 -> 49 § Data LIF addrs: 192.168.x.60 -> 69
9 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Download and Install
VMware Player
Also known as:
VMware Workstation Player, Workstation Player, VM Player or VMplayer
10 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
DownloadVM Player from VMware.com
Go to Login -> My VMware -> and Register if you do not already have an account
11 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Download VM Player from VMware.com (continued)
Find All Downloads -> look for VMware Workstation Player -> then View Download Components
12 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Download VM Player from VMware.com (continued)
On the VMware Workstation Player page -> select Download for Windows 64-bit -> then Save, then Run
13 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Install the VMware Workstation VM Player
Allow the installer to make changes to your device; follow the Setup Wizard instructions by hitting [Next]
14 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Install the VMware Workstation VM Player (continued)
Setup Wizard questions are fairly straight forward. Likely to require a reboot at the end
15 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
VM Player Final Steps: Determine the subnet it generated
VM Player creates a virtual subnet within your system which ONTAP will use. Use ipconfig to look that up
§ This could have been the FIRST step but leaving until here since it may already be on
§ This feature goes by several names: Intel VT-x, Virtualization Technology (VTx), amd-v
§ It may already be enabled on your system. It appears Windows 8.x and 10 already require
and have VT-x enabled so enabling this may only be an issue for Windows 7 users.
§ Make sure it is Enabled, Save Settings and continue booting up
§ OR … if you think it’s enabled, just go ahead and install VM Player and ONTAP Simulator
and keep an eye out for any VT-x related errors when attempting to start the ONTAP VM
§ The following slide shows some example BIOS screenshots showing the setting. It seems to
be found under Security, Power, or Advanced menus depending on manufacturer
§ VMware has this KB article with more details: http://kb.vmware.com/kb/1003944
17 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
VM Player Final Steps: Enabling Virtualization Technology
(continued)
VT-x Must be enabled before VM Player can operate properly – some example BIOS screenshots
18 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Download and Install
ONTAP Simulator
19 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Downloading ONTAP 9 Simulator to your System
Go to NetApp Support Site, login using Customer, NetApp, or Partner Credentials
20 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Downloading ONTAP 9 Simulator to your System
Use Downloads dropdown -> Product Evaluation -> Data ONTAP Simulator
21 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Downloading ONTAP 9 Simulator to your System
On the Simulate ONTAP page -> select Simulator 8.x and 9.x – next page Accept T&C and click Continue
2
3
1
22 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Downloading ONTAP 9 Simulator to your System
Download the 4 files identified for ONTAP 9.0 to a folder on your system (Downloads, or maybe a folder within)
23 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Downloading ONTAP 9 Simulator to your System
Now you should have those four files on your system somewhere
24 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Launch VM Player and select Open a Virtual Machine
Browse to where you downloaded the ova file and select and open it
2
1
25 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
You will be asked to give it a name and store it somewhere
Give it a name meaningful to you and situation. \Documents\Virtual Machines is a good default, click [Import]
3
2
26 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Your ONTAP node is ready to Powered On (aka: Play)
You can Play or Edit the virtual machine, click Edit virtual machine settings just to look at some things
Don’t change
anything for now!
27 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP First Boot and
Cluster Setup
28 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Click Play and you’ll begin to see ONTAP Booting
This is similar to powering on a FAS controller for the first time
29 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Another important aspect of VM Player to Understand
How to direct your cursor, or user input control, between the VM console and your greater Windows system
30 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Click into the VM console window and be ready to type Ctrl-C
Press it a few times to be sure and look for the “Boot Menu will be available” message
31 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
As usual, you’ll be asked if you are sure (twice)
System reboots with “Wipe filer procedure requested” and expect series of dots indicating disk zeroing progress
32 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
After disk zeroing completes, you’ll reboot into Cluster Setup
This is where things begin to look and act exactly like an actual install and setup. Suggested answers follow.
33 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Some suggested Cluster Setup answers
For your first cluster, we’re recommending a single-node cluster
34 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Some suggested Cluster Setup answers (continued)
This is where the VM Player subnet assigned for the VMnet8 adapter comes into play (replace 23 with your #)
§ Enter the cluster management interface port [e0a]: e0c (could be a,b, or d, but c is more typical)
§ Enter the cluster management interface IP address: 192.168.23.10
§ Enter the cluster management interface netmask: 255.255.255.0
§ Enter the cluster management interface default gateway: 192.168.23.2
§ Enter the node management interface port []: e0c (use same as cluster_mgmt)
§ Enter the node management interface interface IP address: 192.168.23.11
§ Enter the node management interface netmask: 255.255.255.0
§ Enter the node management interface default gateway: 192.168.23.2
§ Enter the system config backup destination … (press enter to skip): [Enter]
§ Pause message for autosupport information is displayed: [Enter]
35 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Your cluster is created and ready for access
You can access it via the VM Player console, ssh, or System Manager (and eventually NFS, CIFS, iSCSI)
36 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Using Putty and/or System Manager
Using the Cluster Management IP Address, connect via ssh or https (Chrome may work when IE, Edge won’t)
37 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Immediate First Steps
for your Cluster
Steps you should do now before proceeding and before you forget
38 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Immediate First Steps for your Cluster
These items are best practices for keeping a simulator in good health and easy to access
39 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Perform networking tests to confirm your cluster access
Your host Windows system should be able to ping your cluster’s cluster and node mgmt addresses
Common Problems
1. LIF has migrated away from e0c to
e0a which, by default, is meant for
cluster interconnect:
Solution: net int revert *
40 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Perform networking tests (Possible solution for #3 on prior slide)
Your host Windows system should be able to ping your cluster’s cluster and node mgmt addresses
41 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Expand your root aggregate and root volume
It starts at 3 disks, add 2 more to make a total of 5 disks (this is a simulator specific recommendation)
42 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Expand your root aggregate and root volume (continued)
Now expand your root volume (vol0) to take advantages of the new space
43 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Expand your root aggregate and root volume (continued)
In addition, turn off vol0 snapshots except one nightly (a recommendation)
44 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Put your cluster in your local system’s hosts file
This will let you refer to it by name(s) rather than IP addresses
45 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Put your cluster in your local system’s hosts file (continued)
This will let you refer to it by name(s) rather than IP addresses
46 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Enter licenses into your simulator
Copy and paste the below text into a terminal emulator session (ie; putty) at the ::> prompt
47 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Enter licenses into your simulator (continued)
Or copy and paste the below text into the System Manager Add Licenses window
YVUCRRRRYVHXCFABGAAAAAAAAAAA,
WKQGSRRRYVHXCFABGAAAAAAAAAAA,
SOHOURRRYVHXCFABGAAAAAAAAAAA,
YBSOYRRRYVHXCFABGAAAAAAAAAAA,
KQSRRRRRYVHXCFABGAAAAAAAAAAA,
MBXNQRRRYVHXCFABGAAAAAAAAAAA,
QDDSVRRRYVHXCFABGAAAAAAAAAAA,
MHUZXRRRYVHXCFABGAAAAAAAAAAA,
CYAHWRRRYVHXCFABGAAAAAAAAAAA,
GUJZTRRRYVHXCFABGAAAAAAAAAAA, NOTES:
OSYVWRRRYVHXCFABGAAAAAAAAAAA,
UZLKTRRRYVHXCFABGAAAAAAAAAAA, • These are the actual simulator licenses for the
EJFDVRRRYVHXCFABGAAAAAAAAAAA VM Player flavor of the ONTAP 9 (GA) simulator
which you can cut/paste into System Manager
48 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Enter licenses into your simulator (continued)
System Manager in ONTAP 9 has a top-level Quick Link for entering licenses
49 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Miscellaneous setup steps
CLI Timeout, Timezone, and Date-time NOTES:
This eliminates some alerts that might be reported • If you suspend and resume the
simulator you may find it is behind
::> set advanced and you’ll need to set the date and
::> net options switchless-cluster modify –enabled true time again.
50 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Learn to suspend and resume your Cluster
Suspend Guest is preferred to Shut Down Guest, Resume and Power On are the same thing
NOTES:
51 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Polishing Steps
for your Cluster
Steps you can perform now or later to finish polishing your simulator environment
52 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create data aggregates
Planning thoughts and ideas
§ Keep one spare drive (even though I’ve never seen a simulator drive fail in 10 years)
§ Unless you’ve decided to go the 2-node cluster route (not covered in these slides), do a disk
assign –all to bring the 14 unassigned drives into your <node>-01 configuration for a total of 28
drives. This leaves 27 drives (minus the 1 spare)
§ Assuming you’ve grown your aggr0 to 5-drives (recommended, see early step) that leaves you 22
drives for data aggregates.
§ I recommend creating at least two data aggregates for training purposes (volume move, simulate
multiple drive types such as SAS, SATA, SSD)
§ You might want to leave enough spares drives that you can be ready to do aggregate creation
experiments. Also, these are your aggregates so also pretty easy to delete.
§ A possible scenario (pick your own naming convention):
§ Aggregate name: hq_n01_sas01 with 8 drives
§ Aggregate name: hq_n01_sata01 with 8 drives
§ Aggregate name: hq_n01_ssd01 with 6 drives
53 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Take ownership of all disks
Viewing the current ownership and then disk assign -all
NOTES:
54 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Take ownership of all disks (continued)
Assign ownership of unassigned disks to <node>-01 and confirm with another disk show
NOTES:
55 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create data aggregates (continued)
Example showing creating an aggregate with System Manager
NOTES:
56 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create data aggregates (continued)
Here are a set of commands to create three aggregates if you prefer CLI for this
57 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create data aggregates (continued)
Simulator with 3 data aggregates and aggr0 renamed to aggr0_hq_n01
58 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create your first SVM – Some planning considerations
You can now create data Storage Virtual Machines mixing CIFS, NFS and iSCSI
§ In either case, you probably do not have an Active Directory server in your control, hence:
§ You must setup and use CIFS in what is called Workgroup mode (as opposed to AD mode)
§ ONTAP 9 supports workgroup mode, but the System Manager SVM Setup Wizard presumes AD mode
§ Hence:
§ You can not use System Manager’s GUI to create an SVM for CIFS in Workgroup mode (in ONTAP 9.0)
§ The following slide provides the ClusterShell template commands to create an SVM with Workgroup CIFS
59 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create your first SVM (for Workgroup CIFS)
Use these commands as a template to create a Workgroup CIFS SVM
Using ClusterShell via ssh (putty, etc) to create the SVM, LIF, etc:
cluster::> vserver create -vserver hq-vs0 -aggregate hq_n01_sas01 -rootvolume hqvs0_root
-rootvolume-security-style ntfs -language en_US.UTF-8
cluster::> network interface create -vserver hq-vs0 -lif hq-vs0_lif1 -role data –data -protocol cifs
-home-node hq-stor-01 -home-port e0c -address 192.168.17.20 -netmask 255.255.255.0
cluster::> volume create -vserver hq-vs0 -volume myvol -aggregate hq_n01_sas01 -size 1gb -junction-path /myvol
cluster::> cifs share create -vserver hq-vs0 -share-name myshare -path /myvol NOTES:
60 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Access your first SVM (for Workgroup CIFS)
Then to access the share, in a PowerShell or cmd window
Drive Letter
(* auto selects) \\server\share Server\user (* prompts for pswd) Keep around
NOTES:
61 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create your first SVM (Workgroup CIFS) (continued)
CLI View of interfaces and vservers after setting up Workgroup CIFS SVM
62 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Create your first SVM (Workgroup CIFS) (continued)
System Manager view of SVM and volume after setting up Workgroup CIFS SVM
63 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Additional Resources and Issues
This section includes:
• Links to other resources and documentation
• Common issues you may encounter and resolutions
64 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Resources
65 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ISSUE: I rebooted my cluster node and still can’t access it
Cluster reboot time can be longer than expected
§ Watch the console (VM Player window) and wait until you see the login: prompt. If you already see that, open a cmd
or PowerShell window and try to ping both:
§ Cluster mgmt LIF IP address
§ Node mgmt LIF IP address
§ If you can ping the node mgmt LIF but not the cluster mgmt LIF, the most likely cause is the cluster is still
synchronizing the cluster ring database and taking longer than expected.
§ Confirm this by ssh’ing into the node mgmt LIF and do a net int show command. If the only LIF you see is the node
mgmt LIF, this is the issue.
§ Monitor the process with these commands: net int show , cluster show , stat system show (if high cpu% it’s still
sync’ing) and/or set advanced;cluster ring show
§ On a slow system this has been seen to take over 20 minutes. This is one reason it’s better to Suspend and
Resume your cluster.
§ While sometimes a reboot cannot be avoided, the only time you must halt your cluster is when you need to adjust
VM Player options or when you want to save, copy or share the VM in \Documents\Virtual Machines
66 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ISSUE: Want to reduce simulator memory from 5GB to 3GB
If you would like more breathing room or want to try bring up two clusters, you might want this
§ Reduce the VMs RAM (VM Player -> Manage -> Virtual machine Settings -> Change to 3072
§ Power on the simulator, stopping at the VLOADER> (i.e; press space bar at count down)
67 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ISSUE: If your root volume fills up over time
If even after you increase aggr0 and vol0 size you still fill up the root volume
§ You have to have enabled the diag account on the cluster (see Tech Note elsewhere)
cluster::> vol show vol0 # to see if space reclaimed. If not, delete existing snapshots
cluster::> run local
node-01> snap delete vol0 nightly.0
node-01> snap list vol0 # there should be none now, delete others if more exist
node-01> exit
cluster::> vol show vol0 # should see space reclaimed (thou sometimes it takes a few minutes)
68 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ISSUE: Root volume can become inconsistent
If you see this message on console or upon logging in
§ Halt the node (cluster ::> halt) and wait until fully down
§ As it begins booting, hit any key other than Enter, ex: Space bar, to stop at VLOADER prompt. Enter:
VLOADER> unsetenv bootarg.init.boot_recovery
VLOADER> boot_ontap
§ System will boot up but will take awhile to fully rebuild and recover
69 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ISSUE: VMware Tools Warnings bother but want date/time sync’ed
Certain Hypervisors (VM Player) continually suggest installing VMware Tools
§ Halt the node (::> halt) and wait until fully down
§ As it begins booting, hit any key other than Enter, for example: hit
the space bar, to stop at VLOADER prompt. Enter:
VLOADER> setenv bootarg.vm.run_vmtools false
VLOADER> boot_ontap
§ This command will establish pool.ntp.org as a time server for your simulator
70 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ISSUE: Simulator performance is poor during certain periods
Can occur at midnight, 1am, 10am, etc (based on 8hour, hourly and weekly job schedule cron settings)
§ There is a default ONTAP System Configuration Backup process that can slow down the simulator. Take these
steps to reduce when these occur and how many copies are retained.
§ At Cluster Shell prompt:
Warning: Schedule in use by 0 volume Snapshot policy entries, 0 SnapMirror entries, 0 antivirus on-demand
entries, 0 SIS policy entries, and 1 configuration backup settings. This change will affect the schedule
of all referenced entities. Continue with modify? {y|n}: y
cluster::*> system configuration backup setting modify -numbackups1 1 # 1st (8hour) to 1 copy
cluster::*> system configuration backup setting modify -numbackups2 1 # 2nd (daily) to 1 copy
cluster::*> system configuration backup setting modify -numbackups3 1 # 3rd (weekly) to 1 copy
71 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
macOS Installation, Setup and Hints
This section contains:
• macOS Installation and Setup (the steps which are different)
• macOS and Fusion Hints
72 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
ONTAP Simulator: macOS Setup Overview
§ You will use Fusion to Import and Start Up the ONTAP Simulator
Versus VM Player functions to Open and Play the same simulator
§ This section will cover the early process differences and then end by directing the reader
back to a common point in the VM Player ONTAP process to continue on
73 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
macOS VMware Fusion Prerequisites
§ System Requirements
§ Any 64-bit capable Intel® Mac® (Compatible with Core 2 Duo, Xeon, i3, i5, i7 processors or better)
§ Minimum 4GB of RAM (though with ONTAP 9 you’ll need a 8GB system)
§ 750MB free disk space for VMware Fusion and at least 5GB for each virtual machine
74 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Download Fusion from VMware.com
Find All Downloads -> look for VMware Fusion -> then click the Try choice
75 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Download Fusion from VMware.com (continued)
NOTES:
76 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
After downloading, Install Fusion
NOTES: Your desktop may be
configured differently, but the basic
install steps are:
77 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Start Fusion
NOTES:
78 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Adding ONTAP Simulator to Fusion
NOTES:
• Click [Continue]
3
79 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Adding ONTAP Simulator to Fusion (continued)
NOTES:
1 • Fusion will present a window
allowing you to name to VM you
2 are creating and select a folder to
create it in
3
• Click [Save]
80 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Adding ONTAP Simulator to Fusion (continued)
NOTES:
• Click [Finish]
81 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Adding ONTAP Simulator to Fusion (continued)
NOTES:
82 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Determining the VMnet8 Subnet
83 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Click Startup and you’ll begin to see ONTAP Booting
This is similar to powering on a FAS controller for the first time NOTES:
84 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Another important aspect of Fusion to Understand
How to direct your cursor, or user input control, between the Fusion console and your Mac
85 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
Click into the VM console window and be ready to type Ctrl-C
Press it a few times to be sure and look for the “Boot Menu will be available” message
86 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
HINT: Make Suspending the Simulator the default
To avoid ONTAP shutdown and reboots, change Preferences
NOTES:
87 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
HINT: Looking at or changing a VM Settings
While halted and down, you can edit a VMs Settings NOTES:
88 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
HINT: ssh is built into macOS
You can open a Terminal windows and ssh directly into the cluster
• Method #1:
• Press F4
• Click Other folder icon
• Click the Terminal app icon
• Method #2:
• Click the icon in upper
right of the top menu bar
• Type terminal and hit enter
89 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
HINT: To edit the /etc/hosts on your macOS system
Using terminal windows and vi editor is shown below
NOTES:
90 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---
HINT: Mounting a CIFS share on macOS
Use the Finder menu Go -> Connect to Server ...
NOTES: Fill out Server Address
• smb://
1 indicates CIFS
• hq-vs0\johnsmith
is server-name\user-name
• @
separates user and share
• hq-vs0/myshare
is server-name/share-name
91 © 2016 NetApp, Inc. All rights reserved. --- NETAPP CONFIDENTIAL ---