Lab 3: VFILER Management and Commands



Similar documents
Data ONTAP 8.2. MultiStore Management Guide For 7-Mode. NetApp, Inc. 495 East Java Drive Sunnyvale, CA U.S.

OnCommand Unified Manager

Setting up Active Directory Domain Services

Installing and Configuring Windows Server Module Overview 14/05/2013. Lesson 1: Planning Windows Server 2008 Installation.

Virtual Storage Console 4.0 for VMware vsphere Installation and Administration Guide

Create a virtual machine at your assigned virtual server. Use the following specs

Deploying Windows Streaming Media Servers NLB Cluster and metasan

CLI Commands and Disaster Recovery System

Penetration Testing LAB Setup Guide

Searching for accepting?

Data ONTAP 8.2. Software Setup Guide For 7-Mode. NetApp, Inc. 495 East Java Drive Sunnyvale, CA U.S.

Installation of MicroSoft Active Directory

FileCruiser Backup & Restoring Guide

Clustered Data ONTAP 8.3 Administration and Data Protection Training

How To Backup In Cisco Uk Central And Cisco Cusd (Cisco) Cusm (Custodian) (Cusd) (Uk) (Usd).Com) (Ucs) (Cyse

Quick Start - NetApp File Archiver

Copy-Free Transition Guide

How To Set Up Egnyte For Netapp Sync For Netapp

Virtual Managment Appliance Setup Guide

Virtual Web Appliance Setup Guide

Upgrading Cisco UCS Central

Virtual Storage Console for VMware vsphere

Testing and Restoring the Nasuni Filer in a Disaster Recovery Scenario

Step by step guide for installing highly available System Centre 2012 Virtual Machine Manager Management server:

Network Load Balancing

Installing and Using the vnios Trial

Corporate I.T. Services Limited Updating your Network Infrastructure Technology Skills to Windows Server 2008 (Beta 3)

IM and Presence Disaster Recovery System

Quality of Service (bandwidth limitation): Default is 2 megabits per second.

How to Configure the Windows DNS Server

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

The IBM Storage System N series

Quick Start - NetApp File Archiver

Testing and Restoring the Nasuni Filer in a Disaster Recovery Scenario

F5 BIG-IP V9 Local Traffic Management EE Demo Version. ITCertKeys.com

1z0-102 Q&A. DEMO Version

Contents. 1. Infrastructure

Cisco Unified CM Disaster Recovery System

Connecting to the Firewall Services Module and Managing the Configuration

Load Balancing and High availability using CTDB + DNS round robin

Implementing Enhanced Secure Multi-tenancy Solutions (IESMT)

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Upgrading a single-controller FAS2220 system by moving its internal disk drives to an external disk shelf

Configuring Windows Server Clusters

SnapManager 1.0 for Virtual Infrastructure Best Practices

Managing Cisco ISE Backup and Restore Operations

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

Installing GFI MailSecurity

How To Use Directcontrol With Netapp Filers And Directcontrol Together

Virtual Data Movers on EMC VNX

Cloud ONTAP 8.3 for Amazon Web Services

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering

Appendix B Lab Setup Guide

File Auditor for NAS, Net App Edition

F-SECURE MESSAGING SECURITY GATEWAY

Acronis Backup & Recovery 11.5 Quick Start Guide

Backup and Restore of CONFIGURATION Object on Windows 2008

Requirements & Install. Module 2 Single Engine Installation

Configuring a Windows 2003 Server for IAS

By the Citrix Publications Department. Citrix Systems, Inc.

Step 1 - Change VMware to use the same subnet in the labs /24

Perforce Helix Threat Detection OVA Deployment Guide

Managing Software and Configurations

F-Secure Messaging Security Gateway. Deployment Guide

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

Installing and Configuring a. SQL Server 2012 Failover Cluster

SUSE Manager in the Public Cloud. SUSE Manager Server in the Public Cloud

SnapDrive for Windows

How to connect your new virtual machine to the Internet

Centralize AIX LPAR and Server Management With NIM

Course Outline: 6433 _ Planning and Implementing Windows Server 2008 Clustering

Training module 2 Installing VMware View

Active Directory Infrastructure Design Document

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

IIS, FTP Server and Windows

Remote Unix Lab Environment (RULE)

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

Installing Management Applications on VNX for File

Installing and Configuring Websense Content Gateway

Upgrading a Single Node Cisco UCS Director Express, page 2. Supported Upgrade Paths to Cisco UCS Director Express for Big Data, Release 2.

Host your websites. The process to host a single website is different from having multiple sites.

VPS Cloud Hosting. Call (02)

3.1 Connecting to a Router and Basic Configuration

Formation NetApp Accelerated NCDA

Deploying System Center 2012 R2 Configuration Manager

Installing GFI MailSecurity

Building a Microsoft SQL Server Failover Cluster on the Interoute Virtual Data Centre

Disaster Recovery System Administration Guide for Cisco Unified Contact Center Express Release 8.5(1)

In the Active Directory Domain Services Window, click Active Directory Domain Services.

Information Security Practice II. Installation and set-up of Web Server and FTP accounts

Direct Storage Access Using NetApp SnapDrive. Installation & Administration Guide

NTP Software File Auditor

Extreme Control Center, NAC, and Purview Virtual Appliance Installation Guide

Disaster Recovery Cookbook Guide Using VMWARE VI3, StoreVault and Sun. (Or how to do Disaster Recovery / Site Replication for under $50,000)

Isilon OneFS. Version OneFS Migration Tools Guide

Click Studios. Passwordstate. High Availability Installation Instructions

Web Application Firewall

Clustered Data ONTAP 8.2

MCSE: server infrastructure Syllabus

Virtual Storage Console 5.0 for VMware vsphere

Transcription:

Lab 3: VFILER Management and Commands The goal of this lab is to run vfiler commands to learn how to manage vfilers. We will use the FAS3170 since there are no vfilers on it yet and want to leave the FAS6080A/B cluster alone for the next labs. Use the FAS3170 Simulator for this LAB. # Use the console, or telnet/ssh to 192.168.150.102 1. Create a vfiler called test fas3170> vfiler create test -s ipspace1 -i 192.168.150.105 /vol/fas6080a_vfiler1_root /vol/fas6080a_vfiler1_nas /vol/fas6080a_vfiler1_san use.105 address use ns1 interface use netapp password don t set anything else up...no dns, no nis, CTRL-C cifs setup 2. Show vfiler status fas3170> vfiler status 3. Rename vfiler fas3170> vfiler rename test fas3170_vfiler1 fas3170> vfiler status 4. VFILER LIMIT (how many vfilers on the system) NOTE: to increase this value, you must reboot for it to take effect. Limits are based on memory. In failover mode, a node can handle double the vfilers to handle the cluster partner. The simulator is limited to 5 and defaults to 5. FAS Controllers with <1GB RAM 11 max vfilers FAS Controllers with >=1GB RAM 26 max vfilers FAS Controllers with >=2GB Ram 65 max vfilers fas3170> vfiler limit # show it is set to 5 and 2 are in use fas3170> vfiler limit 4 # change to 4 fas3170> vfiler limit # show change of 4

5. Allow and Disallow Protocols per vfiler Show all protocols (by default all are enabled) but requires base license in vfiler0 to use a protocol o fas3170> vfiler status -a Disallow rsh, ftp and http o fas3170> vfiler disallow fas3170_vfiler1 proto=rsh proto=ftp proto=http o fas3170> vfiler status -a # confirm Allow FTP o fas3170> vfiler allow fas3170_vfiler1 proto=ftp o fas3170> vfiler status -a # confirm 6. vfiler run and vfiler context vfiler context go into the vfiler context itself o fas3170> vfiler context fas3170_vfiler1 # notice the prompt change o fas3170_vfiler1@fas3170> vol status o fas3170_vfiler1@fas3170> vfiler context vfiler0 # go back to vfiler0 Run a command directly to a vfiler o fas3170> vfiler run fas3170_vfiler1 vol status Run a command to ALL vfilers o fas3170> vfiler run * vol status 7. Stop and Start a vfiler fas3170> vfiler stop fas3170_vfiler1 fas3170> vfiler start fas3170_vfiler1 8. Destroy a vfiler fas3170> vfiler stop fas3170_vfiler1 fas3170> vfiler destroy fas3170_vfiler1 # NOTE: Volumes go back to vfiler0 enter YES to confirm 9. Recreate the vfiler (you only need the root volume name to recreate if it was a vfiler before) fas3170> vfiler create fas3170_vfiler1 -r /vol/fas6080a_vfiler1_root -b fas3170_vfiler1 o NOTE: We didn t specify the other 2 volumes that were in the vfiler, but they are added back fas3170> vfiler status -a 10. Create another vfiler (fas3170_vfiler2) and move volumes between vfilers

fas3170> vfiler create fas3170_vfiler2 -s ipspace1 -i 192.168.150.106 /vol/fas6080b_vfiler1_root /vol/fas6080b_vfiler1_nas /vol/fas6080b_vfiler1_san use.106 address use ns1 interface use netapp password don t set anything else up...no dns, no nis, CTRL-C cifs setup 11. FlexClone a fas3170_vfiler2 volume and add that clone to fas3170_vfiler1 fas3170> snap create fas6080b_vfiler1_nas clone_snap fas3170> vol clone create fas6080b_vfiler1_nas_clone -s none -b fas6080b_vfiler1_nas clone_snap fas3170> vfiler run * vol status # show volumes (clone is only in vfiler0) # show volumes in vfilers (but not vfiler0) fas3170> vfiler add fas3170_vfiler1 /vol/fas6080b_vfiler1_nas_clone # show volumes clone is now in vfiler1 12. Move the source of the cloned Volume from fas3170_vfiler2 to fas3170_vfiler1 fas3170> vfiler move fas3170_vfiler2 fas3170_vfiler1 /vol/fas6080b_vfiler1_nas

13. Remove a volume from a vfiler1 and it goes back to vfiler0, then add back to vfiler2 (same as move but to show remove and add function) fas3170> vfiler remove fas3170_vfiler1 /vol/fas6080b_vfiler1_nas_clone fas3170> vfiler run * vol status fas3170> vfiler add fas3170_vfiler2 /vol/fas6080b_vfiler1_nas_clone fas3170> vfiler run * vol status 14. Destroy vfiler1 and add all it s resources to vfiler2 (both IP and volumes) fas3170> vfiler stop fas3170_vfiler1 fas3170> vfiler destroy fas3170_vfiler1 # confirm YES fas3170> vfiler add fas3170_vfiler2 -i 192.168.150.105 /vol/fas6080a_vfiler1_san /vol/fas6080a_vfiler1_nas /vol/fas6080b_vfiler1_nas 15. Remove an IP and volume from vfiler2 fas3170> vfiler remove fas3170_vfiler2 -i 192.168.150.105 fas3170> vfiler remove fas3170_vfiler2 /vol/fas6080a_vfiler1_san

16. Use setup to Modify IP/DNS/NIS/administrator hostname ip/root password for a vfiler with the setup command (see alternate methods) - Setup will wack many setup files so be careful to restore from.bak if needed. **** NOTE: You can ifconfig a new interface or ifconfig alias an existing interface from vfiler0, or run vfiler run vfilername setup -e interface:ip:subnet. Setup will wack several setup files (hosts, hosts.equiv, resolv.conf, exports, nsswitch.conf) so be careful to restore from.bak if needed. Setup -e will create an alias if the interface is already in use. a. IP [-e <ifname>:<ipv4 address [ipv6 address]>:<netmask prefixlen>,...] # alternatively use ifconfig which can do the same without wacking setup files..you must add the ip with -i though i. fas3170> vfiler add fas3170_vfiler2 -i 192.168.150.225 ii. fas3170> vfiler status -a iii. fas3170> vfiler run fas3170_vfiler2 setup -e ns1:192.168.150.225:255.255.255.0 1. confirm /etc/rc of vfiler0 has the correct ip iv. fas3170> vfiler status -a b. DNS [-d <DNS domain name>:<dns server ipv4 address [DNS server ipv6 address]>:...] # alternatively manually set options dns and update resolv.conf i. fas3170> vfiler run fas3170_vfiler2 setup -d insight.com:192.168.150.2:192.168.150.3 1. confirm vfiler run fas3170 options dns and rdfile /vol/fas6080a_vfiler1_root/etc/resolv.conf c. NIS [-n <NIS domain name>:<nis server ipv4 address [NIS server ipv6 address]>:...] # alternatively change options nis settings in the vfiler i. fas3170> vfiler run fas3170_vfiler2 setup -n netapp.nis:192.168.150.2:192.168.150.3 1. confirm vfiler run fas3170 options nis d. Administrator Host Name and IP [-a <ipv4 address [ipv6 address]> <name>:<ipv4 address [ipv6 address]>] # alternatively update hosts.equiv and exports in vfiler root etc directory. i. fas3170> vfiler run fas3170_vfiler2 setup -a 192.168.150.250 1. Confirm rdfile /vol/fas6080a_vfiler1_root/etc/hosts.equiv and rdfile /vol/fas6080a_vfiler1_root/etc/exports e. Root Password [-p <root password>] # alternatively run passwd in the vfiler. i. fas3170> vfiler run fas3170_vfiler2 setup -p netapp

1. confirm ssh access direct to vfiler ssh root@vfiler for a non-interactive command. 17. Stop and Destroy vfiler2 and destroy the clone volume for the next labs fas3170> vfiler stop fas3170_vfiler2 fas3170> vfiler destroy fas3170_vfiler2 # confirm YES fas3170> vol offline fas6080b_vfiler1_nas_clone fas3170> vol destroy fas6080b_vfiler1_nas_clone # confirm YES 18. View All VFILER Commands fas3170> man vfiler fas3170> vfiler The following commands are available; for more information type "vfiler help <command>" add disallow migrate run allow dr move start context help remove status create limit rename stop destroy vfiler help - Help for vfiler command. vfiler context - Set the vfiler context of the CLI. vfiler create - Create a new vfiler. vfiler rename - Rename an existing vfiler. vfiler destroy - Release vfiler resources. vfiler dr - Configure a vfiler for disaster recovery. vfiler add - Add resources to a vfiler. vfiler remove - Remove resources from a vfiler. vfiler migrate - Migrate a vfiler from a remote filer. vfiler move - Move resources between vfilers. vfiler start - Restart a stopped vfiler. vfiler stop - Stop a running vfiler. vfiler status - Provide status on vfiler configuration. vfiler run - Run a command on a vfiler. vfiler allow - Allow use of a protocol on a vfiler. vfiler disallow - Disallow use of a protocol on a vfiler. vfiler limit - Limit the number of vfilers that can be created.