Nested Home Lab Setting up Shared Storage

Similar documents
The Ip address / Name value should be: srvvcenter-cis

The Ip address / Name value should be: srvvcenter-cis

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Installing VMware vsphere 5.1 Components

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

SUSE Cloud Admin Appliance Walk Through. You may download the SUSE Cloud Admin Appliance the following ways.

SUSE Linux Enterprise 11 Fundamentals Workbook

Your instructor will assign you a Cloud Labs username during class. Fill out the details in the fields below for easy reference.

How to Use This Lab Manual

Production Installation and Configuration. Openfiler NSA

XD10004: How to Install VMware ESX Server 3.5 on VMware Workstation 6.5 as a VM

Send the Ctrl-Alt-Delete key sequence to the Guest OS one of two ways: Key sequence: Ctlr-Alt-Ins Menu Sequence: VM / Guest / Send Ctrl-Alt-Delete

Using a Virtual Machine for Cisco IPICS on a Cisco UCS C-Series Server

Using iscsi with BackupAssist. User Guide

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

NetApp Data Ontap Simulator Cookbook

vlab Student Hand Out - Overview

Disaster Recovery Workflow

SANOG VI IP Services Workshop: FreeBSD Install

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

VMware vsphere Storage Appliance Installation and Configuration

Power IQ DCIM Monitoring Evaluation Copy A Step-By-Step Guide

CSDA UNIT I. Introduction to the LAB environment. Practical classes Lab 0. Computer Engineering Degree Computer Engineering.

Reset the Admin Password with the ExtraHop Rescue CD

Introduction to Virtualization

dctrack Quick Setup Guide Virtual Machine Requirements Requirements Requirements Preparing to Install dctrack

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

VMWare Workstation Installation. Microsoft Windows Server 2008 Enterprise with Service Pack 2


Configuring and Managing Virtual Storage

ClearCube Virtualization. Deployment Guide. ClearCube Technology, Inc.

Virtual Appliance Deployment Guide

Cisco Prime Collaboration Deployment

This is Lab Worksheet 7 - not an Assignment

CST VMWare Documentation

Creating a New SBC SWe VM Instance

CIS 191A Final Exam. Fall CIS 191 Final Exam

This is Lab Worksheet/Installation 7

How to securely isolate Damn Vulnerable Linux with VirtualBox

NetApp Data Ontap Simulator Cookbook


Collaboration Management Suite. Installation manual

Dell Storage Compellent Integration Tools for VMware

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Lab - Install Windows 7 or Vista

FireFox. CIS 231 Windows 2012 R2 Server Install Lab #1

Preparing Virtual Machines for Cisco APIC-EM

dctrack Quick Setup Guide (Recommended) Obtain a dctrack Support Website Username and Password

DSI Optimized Backup & Deduplication for VTL Installation & User Guide

Preparing Virtual Machines for Cisco APIC-EM

Installing and Using Openfiler 2.3 with ESX Server

vsphere Host Profiles Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Deploying Cisco UCS Central

VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

Lab - Manage Virtual Memory in Windows 7 and Vista

Install ISE on a VMware Virtual Machine

Guideline for the installation of C-MOR Video Surveillance Virtual Machine on VMware ESX Server

Installing on a Virtual Machine

HP LeftHand SAN Solutions

Hands-on Lab Manual. Introduction. Dell Storage Hands-on Lab Instructions. Estimated Completion Time: 30 minutes. Audience. What we will be doing

Install ISE on a VMware Virtual Machine

Sysinstall main menu. Move the cursor down by using the DOWN-ARROW and select Standard.

BT Cloud Compute. Adding a Volume to an existing VM running Microsoft Windows

SUSE Linux Enterprise 11 Administration Workbook

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

Getting Started with ESXi Installable

iscsi Boot from SAN with Dell PS Series

CIS 231 Windows 2012 R2 Server Install Lab #1

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

Installing and Upgrading Cisco Network Registrar Virtual Appliance

FreeBSD Installation ISOC/AfNOG

CIS 231 Windows XP (SP3) Install Lab #3 Virtual Machines

Dell Storage Integration Tools for VMware

Initial investment payback analysis: Dell PowerEdge R710 solution with VMware ESX vs. Dell PowerEdge 2850 solution

Dell EMC Virtual Appliance Manager

Remote Access to the CIS VLab (308)

Exam Name: VMware Certified Professional on vsphere 5 (Private Beta)

Installation of Cisco Business Edition 6000H/M

How to Install ESX 4.0 on Workstation as a VM

Build your own NAS with OpenMediaVault

Controller Installation

Dynamic Multi-Pathing for VMware 6.0 Hands-On Lab

VMware vsphere: What s New Lab Manual ESXi 5.5 and vcenter Server 5.5

Using SANDeploy iscsi SAN for VMware ESX / ESXi Server

Read Naturally SE Update Windows Network Installation Instructions

xcat is not required. VM host computers may be installed manually or by some other means.

IT Essentials v6.0 Windows 10 Software Labs

SANS Institute - Operations Essentials. Operating System Installation Guidelines. Windows XP Professional Installation. Creating Boot Disks

Upgrading Prime Optical

Getting Started with Pentaho and Cloudera QuickStart VM

Cisco Business Edition 7000 Installation Guide, Release 10.6

SAN Boot Windows ( iscsi )

Parallels Server 5 Bare Metal

Chapter 7. Getting Started with Boot from Volume

HiveManager Virtual Appliance QuickStart

Installation Quick Start SUSE Linux Enterprise Server 11

vsphere Host Profiles 17 APR 2018 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

CTEC1863/2018F Bonus Lab Page 1 of 5

Install ISE on a VMware Virtual Machine

Transcription:

Nested Home Lab Setting up Shared Storage Andy Fox VCI VCAP-DCA VCP3 VCP4 Over the years teaching vsphere, several peers, colleagues and students have asked me how I setup shared storage in my nested test environment. Being a Novell instructor teaching SuSE Linux. for me this was the obvious choice. However, most of my colleagues and students are not familiar with Linux, so I have decided to put together a procedure detailing the steps necessary to configure your own shared storage. You will need: VMware Workstation 8 / Player 4 SuSE Linux Enterprise Server 11 Page 1

Contents You will need:... 1 Create the SuSE Linux virtual machine... 3 Install SuSE... 9 Configure the Network... 30 Add Hard Disks for iscsi Luns... 35 Create the NFS folders... 37 Create Lun Partitions... 38 Configure NFS... 40 Configure the iscsi Target... 46 Page 2

Create the SuSE Linux virtual machine Select Create a New Virtual Machine. Page 3

Click Next. Select Linux, SuSE Linux Enterprise 11. Page 4

Choose a name for your virtual machine, and a location to store the files. Accept the default values for the hard disk. Page 5

Choose to Customize the Hardware. Page 6

Alter the CD/DVD drive to point to the SuSE 11 DVD iso. Page 7

Configure the Network Adapter as required so your ESXi hosts can communicate with the SuSE vm. Page 8

Install SuSE Power on the vm. Page 9

Before the Boot from Hard Disk option times out, select Installation (do not press return). Use F2 to select the correct language. Use F3 to select the required resolution, as it will be a text only build, I suggest 800x600. Press return to start the installation. Page 10

Accept the EULA, and select Next. Page 11

Skip the media check, by selecting Next. Page 12

Select to install a new system, and select Next. Page 13

Select the appropriate Clock and Time Zone settings, and click Next. Page 14

Select to install a Physical Machine, and select Next. Page 15

Alter the software selection by clicking on software. Page 16

Deselect (right click - deselect) all patterns except for Base System, Help and Support Documentation and Minimal System, then click on Details. Page 17

Click on the Filter drop-down and select search. Page 18

Type iscsi in the search box, and click search, then select iscsitarget. (this should also select iscsitarget-kmp-pae) Click on Accept. Page 19

A list of additional packages to be installed will appear, click continue. Page 20

Click Install, and confirm installation by clicking Install. Page 21

When the installation has copied all the files the system will reboot, after which you will need to enter a root password, then select Next (TAB to Next then press space, or Alt-N). Page 22

Enter a Hostname (Alt-o to select entry field), and Domain Name (Alt-D to select entry field). Select Write Hostname to /etc/hosts, and deselect Change Hostname via DHCP, then select Next (Alt-N). Page 23

On the Network Configuration screen select Next. Page 24

On the Installation Overview screen, select Next. Page 25

Unless you wish to do so, select Next and do not configure additional Local Users, and select Yes to the warning. Page 26

Select Next at the Release Notes screen. Page 27

On the Hardware Configuration screen, select Next. Page 28

Deselect the option to Clone the System, and select Finish. Page 29

Configure the Network Nested Home Lab - Shared Storage After the system restarts, login as root with the password you chose, then start yast. Page 30

Select Network Devices and Network Settings. Page 31

Select Edit (Alt-i) Page 32

Select IP Address requirements and Hostname (Alt-letter to switch between options). Page 33

Select Routing and enter your default gateway, then select OK, and select Quit. Type init 0 to shutdown the system. Page 34

Add Hard Disks for iscsi Luns Nested Home Lab - Shared Storage Select Edit virtual machine settings. Page 35

Select Add, select Hard Disk, select Create New virtual disk, SCSI, the capacity you require, Next to accept the vmdk file name, then select Finish. Use the same procedure to add as many disks as you wish to the Linux vm. To ensure a consistent environment to the classroom, I add six 10Gb disks, and one 50Gb and one 30Gb. The six 10Gb disks, I use as luns for each host (3 each), and the 50Gb lun I use as SharedVMs, and the 30Gb lun as SharedTMPLs. Once the disks have been added, select OK, then start the vm. Page 36

Create the NFS folders Log in as root, and create the directories for use with NFS. To keep with the classroom configuration, I create the /iso folder together with /LUN1 and /LUN2 for each host to connect to. Page 37

Create Lun Partitions Type fdisk -l more to display the disks you have added. Only /dev/sda will have any partitions. For each disk you wish to use with vsphere using iscsi, you must create a VMware partition. To do this, start fdisk with the disk device name you wish to create a partition on. Page 38

Type n for a new partition. Type p for a primary partition. Type 1 for primary partition number 1. Select the first cylinder (press return for the first cylinder). Select the last cylinder (press return for the last cylinder). Type t to change the type of partition. Type fb to change the partition to a VMware VMFS partition. Do the same for all disks you have added for use as iscsi luns. Start yast. Page 39

Configure NFS Select NFS Server. Page 40

If you get the above message, select Install (Alt-i). Page 41

Select to Start the NFS Server (Alt-s). Enter the NFSv4 domain name (Alt-m). Make sure to disable NFSv4 (Alt-v). Select Next. Page 42

Select Add Directory (Alt-D). Page 43

Select Browse (Alt-b). Page 44

Browse and select the directory to export, in the options ensure that you have rw,no_root_squash,sync. (You will need to alter root_squash, and add rw) Use the same procedure to add all the folders you wish to export using NFS, then select Finish. Page 45

Configure the iscsi Target Nested Home Lab - Shared Storage In Network Services, select iscsi Target. Page 46

Select When Booting (Alt-b). Select Global (Alt-g), and select any authentication if you require. I leave connections unauthenticated. Select Targets (Alt-t). Page 47

Select Add (Alt-a). Page 48

Alter the Target iqn if required (Alt-t). Alter the identifier if required (Alt-i). Select Add (Alt-a). Page 49

Enter the desired lun number, the device name and partition to use (e.g. /dev/sdb1), and the scsi id, then select OK. Page 50

Do the same for each disk you have added and created a partition on for use with iscsi. Select Next (Alt-n). Page 51

Select Next (Alt-n) for any additional iscsi configuration screens that appear (e.g. Modify iscsi Target). On the Targets screen, delete the example Target, then select Finish (Alt-F). Select Yes to restart the iscsi target software. Select Quit (Alt-q) to exit yast. Type exit to log out. That's it! You should now be able to add the SuSE vm as an iscsi Target, and mount the NFS folders. Page 52