How to Deploy a Nexus 1000v lab with VMware Workstation.



Similar documents
How to Deploy a Nexus 1000v lab with a single ESX host.

Configuring iscsi Multipath

Running a VSM and VEM on the Same Host

Cisco Nexus 1000V Virtual Ethernet Module Software Installation Guide, Release 4.0(4)SV1(1)

Installing the Cisco Nexus 1000V for Microsoft Hyper-V

Install Guide for JunosV Wireless LAN Controller

Configuring Network Load Balancing for vethernet

Setup Cisco Call Manager on VMware

Configuring Local SPAN and ERSPAN

Building a Penetration Testing Virtual Computer Laboratory

Security Analytics Virtual Appliance

VMware vsphere 5.0 Evaluation Guide

RSA Authentication Manager 8.1 Virtual Appliance Getting Started

CommandCenter Secure Gateway

How to monitor network traffic inside an ESXi host

If you re not using VMware vsphere Client 5.1, your screens may vary.

Virtual Appliance Setup Guide

Setup for Failover Clustering and Microsoft Cluster Service

Deploying 10 Gigabit Ethernet on VMware vsphere 4.0 with Cisco Nexus 1000V and VMware vnetwork Standard and Distributed Switches - Version 1.

Installing Intercloud Fabric Firewall

Installing and Configuring vcenter Support Assistant

HP Intelligent Management Center v7.1 Virtualization Monitor Administrator Guide

How To Set Up A Firewall Enterprise, Multi Firewall Edition And Virtual Firewall

Basic ESXi Networking

Altor Virtual Network Security Analyzer v1.0 Installation Guide

Quick Start - Virtual Server idataagent (VMware)

Setup for Failover Clustering and Microsoft Cluster Service

SonicWALL SRA Virtual Appliance Getting Started Guide

Migrating to ESXi: How To

Virtualized Access Layer. Petr Grygárek

VMware vsphere 5.0 Evaluation Guide

Exinda How to Guide: Virtual Appliance. Exinda ExOS Version Exinda, Inc

Virtual Appliance Setup Guide

POD INSTALLATION AND CONFIGURATION GUIDE. EMC CIS Series 1

vsphere Replication for Disaster Recovery to Cloud

INTEGRATING RECOVERPOINT FOR VIRTUAL MACHINES AND CISCO ACI

How to Create a Virtual Switch in VMware ESXi

User Manual. User Manual for Version

Product Version 1.0 Document Version 1.0-B

VMware vsphere Examples and Scenarios

VMware for Bosch VMS. en Software Manual

Thinspace deskcloud. Quick Start Guide

How to Create VLANs Within a Virtual Switch in VMware ESXi

Managing Multi-Hypervisor Environments with vcenter Server

Monitoring VMware ESX Virtual Switches

vsphere App HA Installation and Configuration Guide

Active Fabric Manager (AFM) Plug-in for VMware vcenter Virtual Distributed Switch (VDS) CLI Guide

VM-Series Firewall Deployment Tech Note PAN-OS 5.0

Configuring NetFlow. Information About NetFlow. Send document comments to CHAPTER

Installing and Using the vnios Trial

VMware vsphere 4.1 with ESXi and vcenter

Bosch Video Management System High availability with VMware

Forcepoint Sidewinder, Virtual Appliance Evaluation for Desktop. Installation Guide 8.x. Revision A

EMC Data Domain Management Center

Setting up VMware ESXi for 2X VirtualDesktopServer Manual

How to install/upgrade the LANDesk virtual Cloud service appliance (CSA)

How To Set Up A Virtual Network On Vsphere (Vsphere) On A 2Nd Generation Vmkernel (Vklan) On An Ipv5 Vklan (Vmklan)

ClearPass Policy Manager 6.3

Setup for Failover Clustering and Microsoft Cluster Service

Installing and Configuring vcloud Connector

VCCC Appliance VMware Server Installation Guide

VMware vcenter Support Assistant 5.1.1

Getting Started Guide

vcloud Suite Licensing

I. Create Windows 2012 R2 VMware Template for Guest Customization

NSi Mobile Installation Guide. Version 6.2

Microsoft SQL Server 2012 on Cisco UCS with iscsi-based Storage Access in VMware ESX Virtualization Environment: Performance Study

F-Secure Internet Gatekeeper Virtual Appliance

PHD Virtual Backup for Hyper-V

Management Pack for vrealize Infrastructure Navigator

VMware vsphere-6.0 Administration Training

Core Protection for Virtual Machines 1

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

Acronis Backup & Recovery 10 Advanced Server Virtual Edition. Quick Start Guide

Setup for Failover Clustering and Microsoft Cluster Service

VPN-1 VE Evaluation Guide

Uila Management and Analytics System Installation and Administration Guide

Team Foundation Server 2012 Installation Guide

VELOCITY. Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

VMware vcenter Log Insight Getting Started Guide

TGL VMware Presentation. Guangzhou Macau Hong Kong Shanghai Beijing

How to Add and Remove Virtual Hardware to a VMware ESXi Virtual Machine

RealPresence Platform Director

Installing and Administering VMware vsphere Update Manager

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Table of Contents. vsphere 4 Suite 24. Chapter Format and Conventions 10. Why You Need Virtualization 15 Types. Why vsphere. Onward, Through the Fog!

Uila SaaS Installation Guide

Installing and Configuring vcenter Multi-Hypervisor Manager

ESX Server 3 Configuration Guide Update 2 and later for ESX Server 3.5 and VirtualCenter 2.5

Nutanix Hyperconverged Appliance with the Brocade VDX ToR Switch Deployment Guide

VMWARE PROTECTION USING VBA WITH NETWORKER 8.1

vcenter Operations Manager for Horizon View Installation

Configuration Maximums VMware vsphere 4.1

Using ESXi with PowerChute Business Edition

Step-by-Step Deep Security Agentless Anti-Malware Installation

vrealize Operations Manager Customization and Administration Guide

Rally Installation Guide

Configuration Maximums VMware vsphere 4.0

Virtual Appliance Installation Guide

Unitrends Virtual Backup Installation Guide Version 8.0

Transcription:

How to Deploy a Nexus 1000v lab with VMware Workstation. By Robert Burns CCIE Data Center #37856 *Details of third party OS & application installation is beyond the scope of this guide. *This guide will use a single flat private network. Advanced options can include separate (VLAN) networks. Workstation Requirements: -Java installed -Approx 8GB of memory -min 50GB of available storage -VMware Workstation 9 installed -ESXi 5.x and vcenter Appliance ISO/OVA available Example Host List Host IP VM Name Description 192.168.0.10 VMware Workstation RHEL62-Test-1 Redhat test VM 192.168.19. vcenter-app vcenter Appliance 192.168.19.129 ESX5-Nested-1 Nested ESX 5.1 (VM 1) 192.168.19.130 ESX5-Nested-2 Nested ESX 5.1 (VM 2) 192.168.19.131 N1000v VSM Management IP 1. Nested ESX Installation a. VMware workstation should be previously installed and working. You ll want at least 75 GB of storage on your workstation for VMs. b. Create a new Virtual Machine, using the Custom (advanced) option Next. c. Set the HW compatibility to Workstation 9.0 Next. d. Set the path to your ESXi 5.x installation ISO - Next e. Name your VM and set the location Next f. Set 2 processors, 1 core Next g. Configure at least 2GB memory. (Depends on total available memory in system) Next h. Set networking to use Host-Only. We don t need external access for our VMs. i. Keep LSI Logic (default) storage controller Next j. Create new virtual disk Next k. SCSI (default) Next

l. Set disk size (min. 10GB) or more if you plan to host VMs within the VMFS of Nested ESX host Next. m. Keep default disk file name - Next n. Review configuration check to power on VM Finish You may see warnings like these if you haven t enabled Intel VT-d and Intel Virtualization support in your workstation s BIOS: o. Repeat for at least one more host. 2. vcenter Appliance Installation a. In Workstation, go to File Open, then browse to the vcenter Appliance OVA file. b. Give the VM a name and click Import. c. Power on the VC Appliance and begin the installation process d. Before you power it on, change the Network Adaptor binding to use the private Host-Only network. e. After installation completes, log into the VCA using the IP provided from the console screen. Default credentials are root/vmware.

f. Accept the EULA Next g. Select Configure with default settings Next h. Review and click Start i. Once complete you can access the web client from https://<vcenter_ip>/vsphere-client/ with the default credentials root/vmware. j. Add your two nested ESX hosts to vcenter under their own cluster. 3. Deploy the 1000v VSM a. Download the latest 1000v SW from CCO. *For ESX 5.1 and later you must use 1000v version Nexus1000v.4.2.1.SV2.1.1 or later. http://software.cisco.com/download/release.html?mdfid=282646785&flowid=3090&softwa reid=282088129&release=4.2%281%29sv2%281.1a%29&relind=available&rellifecycle=&r eltype=latest

b. Unzip the bundle and navigate to the Install_App folder & launch the application. c. Start with the VSM Complete Installation selecting Custom install. d. Review the pre-reqs & click Next. e. Enter the appropriate details for your vcenter

f. Enter the appropriate info for your VSM. Since I m hosting the VSM pair on my single bare metal ESX host, I ve used the same ESX Host IP twice. Click Next when complete. Notes: - Recommend setting your Domain ID to something other than default 1. - I m setting my Management VLAN to what my physical switches use for their native VLAN. - I chose to use L2 mode for simplicity versus L3, but either will work. - Do not migrate hosts at this time. g. Review configuration and click Next. Be patient, deployment will take up to 15mins.

h. Next step will prompt to add additional Modules. i. Select the hosts you wish to have the VEM agent installed. Click Next. Note: This method requires VUM to be previously installed. If not, you ll need to manually install the VEM agent vibs. j. Review and then click Finish to proceed. You can monitor the progress from the VI Client Recent Task log

k. The Install App hopefully completed successfully for all hosts. **If the VEM installation fails, it likely points to a problem with VMware Update Manager (VUM). l. From the VI Client go to Home -> Inventory -> Networking and you should see your two new hosts as part of the 1000v DVS. Ensure you click on the 1000v DVS in the left pane. m. SSH into the VSM and and check the modules N1000v(config)# show mod Mod Ports Module-Type Model Status --- ----- -------------------------------- ------------------ ------------ 1 0 Virtual Supervisor Module Nexus1000V active * 2 0 Virtual Supervisor Module Nexus1000V ha-standby 3 248 Virtual Ethernet Module NA ok 4 248 Virtual Ethernet Module NA ok

Mod Sw Hw -- ------------------ ------------------------------------------------ 1 4.2(1)SV2(1.1) 0.0 2 4.2(1)SV2(1.1) 0.0 3 4.2(1)SV2(1.1) VMware ESXi 5.1.0 Releasebuild-838463 (3.1) 4 4.2(1)SV2(1.1) VMware ESXi 5.1.0 Releasebuild-838463 (3.1) Mod MAC-Address(es) Serial-Num --- -------------------------------------- ---------- 1 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA 2 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA 3 02-00-0c-00-03-00 to 02-00-0c-00-03-80 NA 4 02-00-0c-00-04-00 to 02-00-0c-00-04-80 NA Mod Server-IP Server-UUID Server-Name --- --------------- ------------------------------------ -------------------- 1 10.85.49.220 NA NA 2 10.85.49.220 NA NA 3 10.85.49.218 422954ef-1f4d-f096-2a47-4b64cd67b932 10.85.49.218 4 10.85.49.219 42299b1d-8226-47bc-f375-2432c7cbe87e 10.85.49.219 4. Migrate Test VM & Test Connectivity a. Cold migrate (powered off) your Test VM to one the Nested ESX hosts. If you get any errors, you ve likely done one of the following: - Didn t modify your Nested ESX VM to Virtual Machine Version 9 prior to install - Didn t enable the Expose NX/XD flag to guest option in the Nested ESX VM.

b. Before we power it up we re going to create a Port Profile for it on the 1000v. N1000v(config)# port-profile type vethernet rhel-pp N1000v(config-port-prof)# switchport mode access N1000v(config-port-prof)# switchport access vlan 711 N1000v(config-port-prof)# state enabled N1000v(config-port-prof)# no shut N1000v(config-port-prof)# vmware port-group c. Now change the virtual network binding of your test VM from the vswitch to the 1000v port profile. d. Power up your test VM, and verify the interface on the 1000v. N1000v(config)# show interface virtual ------------------------------------------------------------------------------- Port Adapter Owner Mod Host ------------------------------------------------------------------------------- Veth1 Net Adapter 1 RHEL62-Test-1 3 10.85.49.218 N1000v(config)# Assuming your networking & port profiles are setup correctly you should have connectivity to your Test VM.

5. Advanced Configuration (optional) a. Now that we have basic connectivity, let s add the remaining uplinks to your Nested ESX VEM hosts. Select the host Configuration Networking vsphere Distributed Switch tab Manage Physical Adapters b. Find the uplink port profile and click Add NIC. Add each of the 2 remaining NICs from each host. c. Verify the uplinks on the 1000v. Your uplink port profile should be configured for mac pinning in which case you should see two new Port channels automatically created. N1000v(config)# show int brief Port VRF Status IP Address Speed MTU mgmt0 -- up 10.85.49.220 1000 1500 Ethernet VLAN Type Mode Status Reason Speed Port Interface Ch # Eth3/2 711 eth trunk up none 1000 1 Eth3/3 711 eth trunk up none 1000 1 Eth3/4 711 eth trunk up none 1000 1 Eth4/2 711 eth trunk up none 1000 2 Eth4/3 711 eth trunk up none 1000 2 Eth4/4 711 eth trunk up none 1000 2 Port-channel VLAN Type Mode Status Reason Speed Protocol Interface Po1 711 eth trunk up none a-1000(d) none Po2 711 eth trunk up none a-1000(d) none <snip>

6. Exercise - Determine which uplink your Test VM is utilizing i. Find which module the VM is hosted by. N1000v(config)# show int virtual ------------------------------------------------------------------------------- Port Adapter Owner Mod Host ------------------------------------------------------------------------------- Veth1 Net Adapter 1 RHEL62-Test-1 3 10.85.49.218 ii. Identify the Sub Group IDs of all uplinks on that host. N1000v(config)# module vem 3 execute vemcmd show port LTL VSM Port Admin Link State PC-LTL SGID Vem Port Type 18 Eth3/2 UP UP FWD 305 1 vmnic1 19 Eth3/3 UP UP FWD 305 2 vmnic2 20 Eth3/4 UP UP FWD 305 3 vmnic3 49 Veth1 UP UP FWD 0 2 RHEL62-Test-1.eth0 305 Po1 UP UP FWD 0 <snip> You can see from the output, SGID 1 = vmnic1, 2 = vmnic2 and 3 = vmnic3 iii. Find the VMs pinned Sub Group ID from the same ouput. N1000v(config)# module vem 3 execute vemcmd show port LTL VSM Port Admin Link State PC-LTL SGID Vem Port Type 18 Eth3/2 UP UP FWD 305 1 vmnic1 19 Eth3/3 UP UP FWD 305 2 vmnic2 20 Eth3/4 UP UP FWD 305 3 vmnic3 49 Veth1 UP UP FWD 0 2 RHEL62-Test-1.eth0 305 Po1 UP UP FWD 0 <snip> From this we can see that the Test VM is assigned to SGID 2, which will use vmnic2 for external communication. 7. Exercise Force your Test VM to utilize vmnic1. a. First determine what the SGID of vmnic1 is. From our previous output, this would be SGID 1. b. Configure either the port profile or the individual interface to prefer this Sub Group. N1000v(config)# port-profile rhel-pp N1000v(config-port-prof)# pinning id 1 c. Verify the change. N1000v(config-port-prof)# module vem 3 execute vemcmd show port LTL VSM Port Admin Link State PC-LTL SGID Vem Port Type 18 Eth3/2 UP UP FWD 305 1 vmnic1 19 Eth3/3 UP UP FWD 305 2 vmnic2 20 Eth3/4 UP UP FWD 305 3 vmnic3 49 Veth1 UP UP FWD 0 1 RHEL62-Test-1.eth0 305 Po1 UP UP FWD 0 <snip> 8. Explore & play with various features - ACLs, QoS, PVLANs, etc!