Oct 19

VMware – Copy Files from Datastore With Browser

Currently there are lots of problems with the VMware Web Client Integration Plugin as I have noted on LinkedIn. Facing this issue, and having a need to download some files from a datastore to preserve them, you can see a puzzle taking shape. What to do if Flash has crashed your browser(s), and/or the Client Integration Plugin isn’t working?  Maybe for some reason you also don’t have the fat client installed and you’re in the middle of an emergency?

Here is one workaround to easily move files off of a datastore without any fancy browser plug-ins.

  1. Hit one of your ESX hosts with a browser (doesn’t need Flash or CIP)
  2. You get the “VMware ESXi Welcome” (screenshot 1) default page where you download the fat client, and can access the documentation that is part of the ESXi install on every host.
  3. Over on the right, in that area you never read, you’ll see heading called “Web-Based Datastore Browser”. Click it.
  4. It will ask you to provide credentials; this will be the ESX host SSH credentials.
  5. Then you’ll be presented with an old school HTML rending showing all of the datastores configured on that ESXi host, and you can drill down into each datastore, to each VM, and download each individual file.

So, if you’re in a bind fighting browser issues, no fat client, and need files off of a datastore quick, remember this trick. Hit a host in any browser, click on Web-Basaed Datastore Browser and go to town.

Apr 06

VMware HOL (HandsOnLabs) What’s New with vSphere 6.5

What’s New with vSphere 6.5

HOL-1710-SDC-6-MYVMW-HOL . 1 hrvmware

  1. vCenter High Availability
    1. Essentially a 3 node HA vCenter cluster to eliminate protect from failures in hosts, hardware or appliances
    2. VAMI / vCenter Server Appliance Management Interface is now called; “vCenter Server Appliance Management UI” so I guess it’s VAMUI
    3. Totally incorrect instructions have you logging in vCenter Client, not the appliance mgt; look for the appliance MGMT link (local:5480)
    4. Look at various network and system utilization stats.
    5. Create support bundle, backup, shutdown, etc.
  2. Update Manager
    1. Next release of Update Manager is integrated with VCSA (VCenterServerAppliance) No longer will you be able to connect to Update Manager installed on a Windows Server
    2. To start the Update Manager on VCSA just start the service.
    3. Run on internal PostgreSQL DB.
    4. VCSA and UM run on the same DB instance but separate databases.
    5. For those not used to UM, it is used to patch and update ESXi hosts, install third party software on hosts, I.E., HP Firmware for example. Updates VMware tools.
  3. Content Library
    1. Lists all content like .ISOs, templates, vApps, scriptsvmwarecontentlibrary
    2. Enhancements include things like being able to mount .ISO to VM direct from Content Library
    3. Create new virtual machine with custom specification from Content Library
    4. Content Libraries can be synchronized across two vCenter servers.
    5. Create a new Content Library and sync to it.
  4. SOIC / Storage IO Control
    1. Show up by Host Profiles in “Policies and Profiles”
    2. Create multiple SIOC Policies
    3. Storage policies are defined by disk, so each disk could have different policy, for example on a DB server.
  5. HTML 5 Host Client (webclient)
    1. Walk through common features
    2. Generating GSS Support Bundle (Global Support Services)
  6. Encrypt VMs
    1. Add a Key Management Server
    2. Set up encryption storage policy
    3. Create encrypted VM, encrypt an existing VM
    4. Decrypt multiple VMs simultaneously.
    5. Encryption is essentially just another type of Storage Policy.
  7. Visit HOL here; http://hol.vmware.com/
Aug 16

vSphere 6.0 Foundations – Exam Blueprint

With 6.0 VCP you now have to take TWO tests. This Blueprint is for the FIRST of these called Foundations. It is an online, non-proctored test of the fundamentals. Here is the exam blueprint with links, all expanded.  First, here are the two exams; 2V0-620 (Foundations) and 2V0-621 (DCV)
cert-2v0-621-DCV cert-2v0-620-Foundations
+ Objective 1.1: Identify vSphere Architecture and Solutions for a given use casevSphere_6

Knowledge

  • Explain available vSphere editions and features
  • Explain the various data center solutions that interact with vSphere
  • Explain ESXi and vCenter Server architectures
  • Explain new solutions offered in the current version
  • Determine appropriate vSphere edition based on customer requirements

Tools

+ Objective 1.2: Install and configure vCenter Server

Knowledge

  • Deploy the vCenter Appliance (vCSA)
  • Install vCenter Server onto a virtual machine
  • Create an ODBC Connection to a vCenter Server
  • Given a scenario, size the vCenter Database based on requirements
  • Install additional vCenter Server Components
  • Install and configure vSphere Client / vSphere Web Client
  • Install/Remove vSphere Client plug-ins
  • Enable/Disable vSphere Client plug-ins
  • License vCenter Server
  • Determine availability requirements for a vCenter Server in a given vSphere implementation

Tools

+ Objective 1.3: Install and configure ESXi

Knowledge

  • Given a scenario, validate if an ESXi configuration meets given requirements
  • Perform a scripted installation of ESXi
  • Perform an interactive installation of ESXi using media or PXE
  • Configure NTP on an ESXi Host
  • Configure DNS and routing on an ESXi Host
  • Configure SSH and Shell access on an ESXi Host
  • Configure logs to be sent to a syslog server
  • License an ESXi host

Tools

+ Section 2: Configure vSphere Networking
+ Objective 2.1: Configure vSphere Standard Switches (vSS)

Knowledge

  • Explain vSphere Standard Switch (vSS) capabilities
  • Create/Delete a vSphere Standard Switch
  • Add/Configure/Remove vmnics on a vSphere Standard Switch
  • Configure vmkernel ports for network services
  • Add/Edit/Remove port groups on a vSphere Standard Switch
  • Determine use case for a vSphere Standard Switch

Tools

+ Objective 2.2: Configure vSphere Distributed Switches (vDS)

Knowledge

  • Explain vSphere Distributed Switch (vDS) capabilities
  • Create/Delete a vSphere Distributed Switch
  • Add/Remove ESXi Hosts from a vSphere Distributed Switch
  • Add/Configure/Remove dvPort groups
  • Add/Remove uplink adapters to dvUplink groups
  • Configure vSphere Distributed Switch general and dvPort group settings
  • Create/Configure/Remove virtual adapters
  • Migrate virtual adapters to/from a vSphere Standard Switch
  • Migrate virtual machines to/from a vSphere Distributed Switch
  • Configure LACP on Uplink port groups
  • Determine use case for a vSphere Distributed Switch

Tools

+ Objective 2.3: Configure vSS and vDS Features

Knowledge

  • Explain common vSS and vDS policies
  • Describe vDS Security Polices/Settings
  • Configure dvPort group blocking policies
  • Configure load balancing and failover policies
  • Configure VLAN/PVLAN settings
  • Configure traffic shaping policies
  • Enable TCP Segmentation Offload support for a virtual machine
  • Enable Jumbo Frames support on appropriate components
  • Given a scenario, determine appropriate VLAN configuration for a vSphere implementation

Tools

+ Section 3: Configure vSphere Storage
+ Objective 3.1: Connect Shared Storage Devices to vSphere

Knowledge

  • Explain storage naming conventions
  • Explain hardware/dependent hardware/software iSCSI initiator requirements
  • Configure FC/iSCSI/FCoE storage devices
  • Describe zoning and LUN masking practices
  • Create an NFS share for use with vSphere
  • Configure/Edit hardware/dependent hardware initiator
  • Connect/Configure NFS 3.x and 4.1 NAS devices
  • Enable/Disable software iSCSI initiator
  • Configure/Edit software iSCSI initiator settings
  • Configure iSCSI port binding
  • Enable/Configure/Disable iSCSI CHAP

Tools

+ Objective 3.2: Configure Software Defined Storage

Knowledge

  • Explain Virtual SAN (VSAN) Architecture
  • Create/Delete VSAN Cluster
  • Manage VSAN disk groups
  • Monitor VSAN storage
  • Add/Remove VSAN Nodes
  • Explain benefits of NFS 4.1
  • Determine use cases for Virtual SAN configurations

Tools

+ Objective 3.3: Create and Configure VMFS and NFS Datastores

Knowledge

  • Compare/Contrast supported NFS versions
  • Configure NFS storage for VMDK formatting
  • Configure storage multi-pathing
  • Compare/Contract VMFS3 and VMFS5
  • Configure Storage Distributed Resource Scheduler (SDRS)
  • Extend/Expand VMFS Datastores
  • Place a VMFS Datastore in Maintenance Mode

Tools

+ Section 4: Deploy and Administer Virtual Machines and vApps
+ Objective 4.1: Create and Deploy Virtual Machines

Knowledge

  • Place virtual machines in selected ESXi Hosts/Clusters/Resource Pools
  • Configure and deploy a Guest OS into a new virtual machine
  • Configure/Modify virtual hardware:
    • CPU
    • RAM
    • Disk
    • vNIC
  • Create/Convert thin/thick provisioned virtual disks
  • Install/Upgrade VMware Tools and Virtual Hardware
  • Configure PCI Pass-through and Direct I/O
  • Configure virtual machine time synchronization

Tools

+ Objective 4.2: Create and Deploy vApps

Knowledge

  • Create/Deploy/Clone a vApp
  • Add objects to an existing vApp
  • Edit vApp settings
  • Configure IP pools
  • Suspend/Resume a vApp

Tools

+ Objective 4.3: Manage Virtual Machine Clones and Templates

Knowledge

  • Explain Cloning and Template options
  • Clone an existing virtual machine
  • Create a template from an existing virtual machine
  • Deploy a virtual machine from a template
  • Update existing virtual machine templates
  • Deploy virtual appliances and/or vApps from an OVF template
  • Import an OVF template
  • Create a Local Library
  • Create a Remote Library with/without external storage
  • Publish/Subscribe/Share Content Library
  • Deploy a virtual machine from a content library

Tools

+ Objective 4.4: Administer Virtual Machines and vApps

Knowledge

  • Explain files used by virtual machines
  • Explain common practices for securing virtual machines
  • Hot Extend a virtual disk
  • Configure virtual machine options
  • Configure virtual machine power settings
  • Configure virtual machine boot options
  • Administer virtual machine snapshots
  • Assign a Storage Policy to a virtual machine
  • Verify Storage Policy compliance for virtual machines
  • Adjust virtual machine resources
  • Differentiate between stop/shutdown/reboot/restart of a virtual machine

Tools

+ Section 5: Establish and Maintain Availability and Resource Management Features
+ Objective 5.1: Create and Configure VMware Clusters

Knowledge

  • Determine how DRS and HA are applicable to an environment
  • Create/Delete a DRS/HA Cluster
  • Add/Remove ESXi Hosts from a DRS/HA Cluster
  • Add/Remove virtual machines from a DRS/HA Cluster
  • Configure Storage DRS
  • Configure Enhanced vMotion Compatibility
  • Monitor a DRS/HA Cluster
  • Configure migration thresholds for DRS and virtual machines
  • Configure automation levels for DRS and virtual machines
  • Enable/Configure/Disable Host Power Management/Distributed Power Management
  • Enable/Disable Host Monitoring
  • Enable/Configure/Disable virtual machine and application monitoring

Tools

+ Objective 5.2: Plan and Implement VMware Fault Tolerance

Knowledge

  • Configure VMware Fault Tolerance networking
  • Given a scenario, determine an appropriate VMware Fault Tolerance configuration
  • Enable/Disable VMware Fault Tolerance on a virtual machine
  • Test a Fault Tolerant configuration
  • Determine use case for enabling VMware Fault Tolerance on a virtual machine

Tools

+ Objective 5.3: Create and Administer Resource Pools

Knowledge

  • Explain vFlash architecture
  • Explain use cases for Resource Pools
  • Create/Remove a Resource Pool
  • Configure Resource Pool attributes
  • Add/Remove virtual machines from a Resource Pool
  • Create/Delete vFlash Resource Pool
  • Assign vFlash resources to VMDKs
  • Determine Resource Pool requirements for a given vSphere implementation

Tools

+ Objective 5.4: Migrate Virtual Machines

Knowledge

  • Explain Enhanced vMotion Compatibility (EVC)
  • Explain Long Distance vMotion
  • Explain process for vMotion/Storage vMotion migrations
  • Configure virtual machine swap file location
  • Migrate a powered-off or suspended virtual machine
  • Migrate virtual machines using vMotion/Storage vMotion

Tools

+ Objective 5.5: Backup and Restore Virtual Machines

Knowledge

  • Explain VMware Data Protection sizing Guidelines
  • Describe vSphere Replication architecture
  • Install and Configure VMware Data Protection
  • Create a backup job with VMware Data Protection
  • Perform a live full/file-level restore with VMware Data Protection
  • Create/Delete/Consolidate virtual machine snapshots
  • Perform a failback operation using vSphere Replication
  • Determine appropriate backup solution for a given vSphere implementation

Tools

+ Objective 5.6: Update ESXi and Virtual Machines

Knowledge

  • Create/Edit/Remove a Host Profile from an ESXi host
  • Attach/Apply a Host Profile to an ESXi host or cluster
  • Perform compliance scanning and remediation of an ESXi host using Host Profiles
  • Install and Configure vCenter Update Manager
  • Configure patch download options
  • Create/Edit/Delete an Update Manager baseline
  • Attach an Update Manager baseline to an ESXi host or cluster
  • Scan and remediate ESXi Hosts and virtual machines using Update Manager

Tools

+ Section 6: Perform Basic Troubleshooting
+ Objective 6.1: Perform Basic Troubleshooting of ESXi and vCenter Server

Knowledge

  • Troubleshoot common installation issues
  • Monitor status of ESXi management agents
  • Determine ESXi host stability issues and gather diagnostics information
  • Export diagnostic information
  • Monitor status of the vCenter Server service
  • Perform basic maintenance of a vCenter Server database

Tools

+ Objective 6.2: Perform Basic Troubleshooting of ESXi and vCenter Operations

Knowledge

  • Verify network configuration
  • Troubleshoot common storage issues
  • Troubleshoot common virtual machine issues
  • Given a scenario, verify a virtual machine is configured with the correct network resources
  • Troubleshoot virtual switch and port group configuration issues
  • Troubleshoot physical network adapter configuration issues
  • Recognize and detect common knowledge base article solutions

Tools

+ Objective 6.3: Perform Basic Troubleshooting of Virtual Machine Operations

Knowledge

  • Troubleshoot virtual machine resource contention issues
  • Recognize and detect:
    • Fault Tolerant network latency issues
    • VMware Tools installation issues
    • Virtual machines states
    • Virtual machine constraints
    • Guest OS installation issues
  • Given a scenario, determine root cause of a storage issue based on troubleshooting information
  • Explain common virtual machine boot disk errors

Tools

+ Objective 6.4: IIdentify and Troubleshoot Basic Misconfigurations

Knowledge

  • Troubleshoot:
    • Virtual switch and distributed switches port group configuration issues
    • Physical network adapter configuration issues
    • NFS networking configuration issues
    • iSCSI software initiator configuration issues
    • HA configuration and redundancy issues
    • DRS Resource Distribution Graph
    • vMotion/Storage vMotion migration issues
  • Interpret vMotion Resource Maps
  • Given a scenario, verify a virtual machine is configured with the correct network resources

Tools

+ Section 7: Monitor a vSphere Implementation
+ Objective 7.1: Monitor ESXi, vCenter Server and Virtual Machines

Knowledge

  • Explain:
    • Common memory metrics
    • Common CPU metrics
    • Common network metrics
    • Common storage metrics
  • Configure SNMP for vCenter Server
  • Configure SMTP settings for vCenter Server
  • Create a log bundle
  • Create/Edit/Delete a Scheduled Task
  • Configure/View/Print/Export resource maps
  • Start/Stop/Verify vCenter Server service status
  • Start/Stop/Verify ESXi host agent status
  • Configure vCenter Server timeout settings
  • Identify vCenter Server connection object status
  • Create an Advanced Chart

Tools

+ Objective 7.2: Create and Administer vCenter Server Alarms

Knowledge

  • List vCenter Server default utilization alarms
  • List vCenter Server default connectivity alarms
  • List possible actions for utilization and connectivity alarms
  • Create a vCenter Server utilization alarm
  • Create a vCenter Server connectivity alarm
  • Configure alarm triggers
  • Configure alarm actions
  • For a given alarm, identify the affected resource in a vSphere implementation

Tools

+ Objective 7.3: Install, Configure, and Manage vCenter Operations Manager

Knowledge

  • Differentiate Major/Minor vRealize Operations Manager badges
  • Explain vRealize Operations Manager architecture
  • Deploy and Configure vRealize Operations Manager appliance
  • Upgrade vRealize Operations Manager
  • Understand metrics used by Major/Minor vRealize Operations Manager badges
  • Monitor vSphere environment
  • For a given alarm, identify the affected resource in a vSphere implementation

Tools

Nov 27

VMware vCenter 6.0 VCSA – Where is the .OVA?

Um, Yeah, there is no OVA with vCenter Server Appliance 6.0

We take a quick look at setting up vCenter Server Appliance (VCSA) 6.0 since it’s a bit different with no .OVA option. In fact, there is a VMware KB article they created because so many people were asking where to find the .ova download. With 6.0, there is ONLY an .ISO.  That’s the only option to download. You should be able to download VCSA 6.0 or VCSA 6.0U1 here.

If you remember the old process, you could set up one host, connect to the host with vSphere Client, and then import the .OVA and you’d be up and running in mere minutes.

Fortunately, the new process is almost as simple, as long as you get a couple of pieces right up front. Please watch the video from our YouTube Channel and we walk through the process. Essentially, you 1) download the .iso, 2) install the Client Integration Plugin and 3) install / push / import the VCSA to a host.

Jul 11

Windows Server 2012 R2 (70-412) Continuity and Disaster Recovery – Study Guide

Prepare yourself for the Microsoft MCSA 70-412 exam. This course explores how to implement an advanced DHCP solution, implement an advanced DNS solution, and deploy and manage IP Address Management.

Videos at the bottom (WinRE)

These notes are my personal notes from the FREE training on Pluralsight. You can get your FREE signup through technet/MSDN or Dreamspark. The title of this course is exactly the title of this post. These notes are from this specific course only. I use these as a refresher Study Guide. POWERSHELL topics and2012GregShieldscmdlets are in purple. I have a few notes with the “DEMO” each time the training included a DEMO just so you can see how many demos there were which were really helpful. Thanks to Greg Shields @ConcentratdGreg, the trainer, contact info at the end.

All, or nearly all, sections include DEMOS so I’m not notating that separately.2012TrainingRecommendedOrder

These training courses should be preferably taken in this order (screenshot).

  1. Configure and Manage Backup Solutions
    1. Configure Windows Server Backups FEATURE
      1. Compared to NT backups, this focuses on VOLUMES.
      2. Pretty fully featured technology today.
      3. If you want to do Bare Metal backups, you need to check that along with System State, System Reserved, and probably the C or OS drive.
      4. Advanced settings
        1. excluded files
        2. VSS settings
          1. copy vs. full (are you using some other backup application, if so you use COPY)
      5. Destination
        1. local volume
        2. remote shared folder
        3. Optimize backup performance = types of backups (full, incremental, etc.)
      6. POWERSHELL WB = Windows Backup
      7. Get-WBJob
      8. Stop-WBJob
      9. Get-WBVSSBackupOption
    2. Configure Azure Backups
      1. designed to just get a back up into the Cloud
      2. Create “Backup Vault” tied to subscription and choose location
      3. Download Vault credentials, and download and install Azure Backup Agent
      4. Is now called MICROSOFT Azure Backup NOT Windows Azure Backup
      5. set up encryption; Microsoft cannot recover data
      6. Azure looks almost the same as a Windows backup. File and folder; just data, not system restore.
    3. Configure role-specific backups
      1. Backup Operators is the default, maybe too many permissions for many cases; can shut down system.
      2. Create your own role for backup files and directories and restore files and directories
    4. Manage VSS settings using VSS Admin
      1. extended from original design (previous versions for users) to now include backups (quiescence)
      2. VSS writer (specific by vendor for the application, Exchange, Oracle, AD, SQL, etc.
      3. the VSS requester is the partner to the writer
      4. PS vssadmin list writers
      5. vssadmin list providers
      6. vssadmin add shadowstorage /for=c: /on=f: /maxsize=20% set location for VSS
      7. vssadmin create shadow /for=c:     create vss shadow copy, very quick nearly instantly
      8. vssadmin can remove, revert, etc.
  2. Recover Servers (restore)
    1. individual file or folder recovery
      1. backup from – choose location, then choose files and folders (other choices volumes, applications, system state, or virtual machines)
      2. can put back in same, or different location
    2. Bare metal server recovery
      1. boot into WINRE (WINdows Recovery Environment) and also here; Tom’s Guide; when to use RE
        1. one option is to use shutdown command shutdown /r /o /t 02012NewShutdownSwitches (Check out Windows 8 new shutdown switches here)
        2. the /o is a new switch
        3. This is a gui based windows recovery console. Allows you to find the system image, install drives, connect to network locations to find image. Do you want to repartition drives.
        4. Don’t even need DVD media.
        5. Here is a link to a video of the WINRE console.
        6. The F8 replacement is WINRE
        7. msconfig – set what startup you get for NEXT boot to boot into safe mode, AD repair, etc. In case boots are so fast you can’t see F8
        8. you can also boot to windows DVD
        9. From WINRE you can boot to command prompt view, and you can manipulate unmounted drive (OS is not mounted). You can tell because command prompt is on the X drive which is the WINRE OS
          1. startrep (start repair scan)
          2. bootrec (boot record repair) Fixmbr, Fixboot, ScanOS, RebuildBcd
          3. Advanced boot options (looks like the F8 options)
            1. safe mode, with networking, with command prompt, boot logging, debugging, low-resolution video, last known good, disable restart, disable early launch anti-malware etc., etc.
        10. Configure the boot configuration data store
        11. multi boot menu to offer recovery options (not multi os boot)
          1. bcdedit
          2. bcdedit /export c:\save (export and save config)
  3. Configure site level fault tolerance
    1. Configure Hyper-V Replica, including Replica Broker and VMs
      1. Replica is NOT failover clustering
      2. provides a way to keep another copy of VM files (usually at remote site)
      3. Replica CAN work with failover clusters
      4. Replica is NOT OS specific; you can set it up with just shell VM, no OS to prove it
      5. Kerberos – not encrypted traffic, requires trusted AD
      6. certs – encrypted, no trusted domain needed
      7. set up on each VM individually
      8. configure frequency
      9. can also set up scheduled recovery points
      10. VSS for application consistent recovery points
      11. you can do the initial replication via external media, network, choose other machine, etc.
      12. set failover TCP/IP
      13. on the TARGET location server there is “test failover” under network adapter in Hyper-V Manager
      14. PLANNED failovers all start from the SOURCE location
      15. UNPLANNED start from Destination location (thought is that the source location is down, or offline)
      16. Adding Replica to Failover Cluster, need to
        1. Need to add the Hyper-V Replica Broker ROLE
    2. Configure Multi Site Clustering, including network settings, Quorum, and Failover Settings
    3. Configure Hyper-V Replica Extended Replication
      1. create a second replication site
      2. this is initiated from the TARGET location of the original source.
      3. most other stuff is the same
    4. Configure Global Update Manager
      1. https://technet.microsoft.com/en-us/library/dn265972.aspx#BKMK_GUM
      2. When a state change occurs such as a cluster resource is taken offline, the nodes in a failover cluster must be notified of the change and acknowledge it before the cluster commits the change to the database. The Global Update Manager is responsible for managing these cluster database updates. In Windows Server 2012 R2, you can configure how the cluster manages global updates. By default, the Global Update Manager uses the following modes for failover cluster workloads in Windows Server 2012 R2:
    5. Recover a Multi Site Failover Cluster
      1. make sure you can support the IP and network configuration in the failover site
      2. same Cluster Manager is used to manage stretch (multi site) clusters
      3. configure preferred owners to deselect the DR site
      4. QUORUM
        1. node and file share is preferred
        2. even number of hosts per location preferred
        3. Force start without a quorum; https://msdn.microsoft.com/en-us/library/hh270275.aspx
Jul 11

Installing Hyper-V Role in VMware Workstation; error Hyper-V cannot be installed: A hypervisor is already running

This quick post and video shows how to get past the Hyper-V cannot be installed: “A hypervisor is 2012HyperVErroralready running” error when trying to install the Hyper-V Role on a server running as a VM on VMware Workstation. This is common in a virtual lap scenario for certification study.

To resolve this issue, change the guest OS type to Hyper-V.Caution: Hyper-V functionality inside VMware Fusion is experimental and is unsupported.To change the guest OS type to Hyper-V:

  1. Shut down the virtual machine.
  2. Click Virtual machine > Settings.
  3. Select General and change the guest OS type to Hyper-V (unsupported).
  4. Select Processors & Memory in the Settings.
  5. In the Advanced options of Processors & Memory, select Enable hypervisor applications in the virtual machine
  6. Reboot the virtual machine to enable Hyper-V.

The video is here

Jun 24

How to create RDM mappings for SQL Clustering with MSCS on VMware 6.0

How to create RDM mappings for SQL Clustering with MSCS on VMware 6.0

Using vSphere 6.0

For the sake of this discussion, we’re building two VMs for use in a two node failover MSCS cluster for SQL 2012.  We’ll simply call them A and B.

We will be using the Web Client for this, since that’s the direction VMware is pushing. However, the Fat (C#) client is faster for this task as it takes fewer steps.  For example, on the fat client, when you create the first RDM mapping, it will automatically create a new, second SCSI controller. When on the web client, you have to manually create the SCSI controller first, then start building the RDM drives.

The documentation in the 6.0 documents is very sparse, and I don’t think it’s even complete or accurate so this took a bit of effort to figure out and get set up.

Add a new SCSI Controller (we had issues with other “types” and use VMware Paravirtual exclusively now)
mscs2mscs1

Add a new disk;
mscs3Select the target LUN by LUN ID;
mscs4

Choose your new SCSI controller 1 (not like picture) and pick an unused SCSI ID.
mscs5

 

This shows the proper SCSI controller and ID selection.
mscs6

After creating this, go to the Windows OS on A, bring disk online, initialize, format, name, label, etc.

Now go to server Node B and add a RDM pointing to that exact same file.
mscs7

You told it to store the VMDK pointer “with the server” so go to that datastore and fine the VMDK that was created by the new drive creation on A. When you create this drive in VMware on B, then you can go into the OS on the B node and the drive should show up there labeled and formatted and drive lettered.

If you keep track of it as you go, you can add several drives at once on A (2,3,4,5,6,7…) and it will create them all at once, then go over to B and add/create them all at once. But you have to keep your VMDK names and LUN IDs straight so you know which one is which. Doing one at a time is slower but less confusing.

 

How to tell (after it’s created) which VMDK file a new RDM is using on A, so you can find the correct VMDK when you create B;

Go to “Edit Settings” then at the top there is a “Manage other disks”
mscs8

Open that button, then drop down the details on the disk you’re looking at and it will show you the VMDK and datastore. This VMDK is just a “pointer” or “mapping” file to the LUN.
mscs9

mscs10

mscs11

Pick the SAME SCSI controller and port that you did on A;
mscs6
ISSUES ENCOUNTERED;

Set LUNS as “perennially reserved”.  If this is not set right, the ESX HOST will take HOURS to boot, depending on how many RDMs it has to scan. Ours took 2.75 to boot. When this was set right via esxcli, they would boot in about 6 minutes, counting the HP specific boot processes. This is addressed in this KB, scroll down to the “perennially reserved” section. ESXi/ESX hosts with visibility to RDM LUNs being used by MSCS nodes with RDMs may take a long time to start or during LUN rescan (1016106)

 

EXPANDING RDM sizes. 

PARAVIRTUAL driver

Jun 15

Windows Server 2012 R2 (70-412) MCSA and the 70-412 Exam – Study Guide Part 2 – build a lab

These notes are my personal notes from the FREE training on Pluralsight. You can get your FREE signup through technet/MSDN or Dreamspark. The title of this course is exactly the title of this post. These notes are from this specific course only. I use these as a refresher Study Guide. POWERSHELL topics and2012GregShieldscmdlets are in purple. I have a few notes with the “DEMO” each time the training included a DEMO just so you can see how many demos there were which were really helpful. Thanks to Greg Shields @ConcentratdGreg, the trainer, contact info at the end.

As mentioned previously, the second section of this course seem like it was going to focus on how to build a lab in preparation for training, so I broke it into a separate post.

Windows Server 2012 R2 (70-412) MCSA and the 70-412 Exam

Building Your 70-412 R2 Environment

  1. VMware workstation
    1. please note; VM Workstation is a licensed product; you have to PAY for it. You can get a 30
      TG-LAB

      My physical lab 5 DL380 G5s (one not in picture) and two DL360 G5s. The G4s are being decomissioned.

      day trial of VM Workstation here. Also, if you have ever passed a VMware certification (like me) then you get a free license as one of your benefits. So, for example, I have a permanent license for Workstation 10, but cannot upgrade without buying a new license. I suppose you could do this lab on VBOX also if you have familiarity there. At the end of this I will also post some links to good sites about virtual labs.

  2. VM infrastructure and IP scheme
  3. Forest infrastructure
  4. Understanding the Network Infrastructure
  5. VyOs router for network routing
  6. Use of templates or clones. Discussion of Linked Clones to minimize disk use. Linked Clones are a VMware specific ability. VMware Linked Clones use the same virtual disks as the parent. So you could have 10 linked clones using one set of disks, with a very much improved storage use scenario especially in a lab.
  7. Reviewing lab IP scheme and host design;
    1. 4 Domain Controllers
    2. 1 File Server
    3. 2 NLB hosts
    4. 5 Failover Cluster hosts
    5. 1 Certificate server
    6. 1 RMS (Rights Management Server)
    7. 1 ADFS (Active Directory Federation Services)
    8. 1 desktop
    9. Total of 1,2,3 let’s see 16 machines looks like all in VM Workstation running on one PC
  8. Forest infrastructure
    1. company.whatever
    2. separate forest to test ADFS
    3. three different sites
    4. 4 subnets; VMware Workstation doesn’t support subnetting which is why we have VyOS
  9. Setting up VYOS
    1. default username and pw is “vyos”
    2. setting up multiple NICs to support the subnetting
    3. adding 4 more NICs
    4. Configured VYOS
    5. Configured internal home router for the appropriate vlans

Ok that’s about it. It does looks like a pretty good way to set up this all in a virtual lab. I’d like to see how it performs but probably pretty well since he put all the drives on a separate SSD.

Here are some of the other links I have gathered on building a lab. Some focus on low power (electricity costs), some focus on being quiet (don’t need the disturb the spouse) and some on different things. I’ve had the good fortune to be able to collect some HP G5 servers which I have been able to use, using iSCSI and / or VMware VSAN for storage. I used this lab to study for and pass my VCP-DCV5.1 test.

Links;

Labs in general

While this one could go under “low noise” or “low power” they’re not really stated goals so I’m putting it here, it’s one of the best; http://packetpushers.net/vmware-vcdx-lab-the-hardware/

Similar lab build; http://rickmur.com/home-lab-server/

A more expensive ($3,000.00) work office targeted option using HP / CDW parts; (can this run ILO?) https://virtualizationreview.com/blogs/virtual-mattox/2012/03/build-cheap-screaming-virtualization-lab-server.aspx

Another good follow along lab; http://ethancbanks.com/2014/03/15/my-home-lab-esxi-5-5-server-build-and-the-logic-behind-it-all/ but this guy had a couple of Cisco SG300-52 switches that are worth min $400.00 each so not really cheap.

 

Nested / Low Power / Low noise or some combination

“nested” generally simply means you have one hypervisor running on another, or one hypervisor running as a VM.

Nested lab on VMware Workstation; low cost; http://www.heathreynolds.com/2014/02/building-nested-esxi-lab-on-vmware.html

Nested lab on ONE DL380 G5; http://www.running-system.com/how-to-build-a-nested-lab-on-a-hp-dl380-g5-server-step-1/ You can sometimes get a G5 on Craigslist for cheap or free. I got a couple for free, and I got a couple for as little as $90.00. There are thousands of these G5s still in production and they are solid hardware. Anything older than G5 won’t have processors that will support virtualization.

First one I have seen specifically on VMware 6.0 which just came out a few months ago; http://www.vladan.fr/nested-esxi-6-in-a-lab/

This looks cool; Intel NUC, low power (15w with 5 running VMs) http://www.vclouds.nl/how-to-build-a-low-cost-low-power-and-fast-esxi-home-lab/

Around 30w; https://matthill.eu/projects/vmware-esxi-low-power-home-lab/

VBOX lab

http://pc-addicts.com/building-the-ultimate-virtualbox-lab-intro/

In my experience, Memory is going to be the first constraint on a lab system no matter which method you choose. After that, probably storage. On nested environments (like this Pluralsight training) SSD would be a great idea.

Jun 05

Links from HP Discover 2015

Water cooled server racks; APOLLO; http://www8.hp.com/us/en/products/servers/high-performance-computing/apollo/apollo8000-product-portfolio.html

Video explanation of the APOLLO water cooled system; this is the Peregrine system they talked about that is being used to heat the sidewalks with excess heat from the datacenter; https://youtu.be/9Ih3R84Corg

The MACHINE; the HP Labs folks running this section were real genius types;  http://www.hpl.hp.com/research/systems-research/themachine/

MEMRISTOR; http://www8.hp.com/hpnext/tags/memristor#.VXGmJc9VhBc

StoreVirtual VSA; virtual array storage and servers in single appliance; http://www8.hp.com/us/en/products/data-storage/storevirtual-vsa.html

VPV; http://www8.hp.com/us/en/software-solutions/vpv-server-virtualization-management/

SiteScope; http://www8.hp.com/us/en/software-solutions/sitescope-application-monitoring/

Operations Manager; http://www8.hp.com/us/en/software-solutions/operations-manager-infrastructure-monitoring/

 

HP Moonshot; lots of buzz, very flexible, and very dense; http://www8.hp.com/us/en/products/servers/moonshot/#products

HP Vertica; SQL on Hadoop; http://www.vertica.com/hp-vertica-products/sqlonhadoop/

Hadoop with Cloudera or Hortonworks; http://www8.hp.com/us/en/products/servers/high-performance-computing/hadoop.html

Helion; huge buzz about Helion the Cloud Infrastructure / Openstack offering; http://www8.hp.com/us/en/cloud/hphelion-openstack-overview.htmlhttps://docs.hpcloud.com/helion/openstack/1.1/. Supports Chef, Puppet, etc., etc., etc.

Internet Giants; this was running, just kind of interesting; http://pennystocks.la/battle-of-internet-giants/

Apr 01

VMware vSphere: Fast Track [V5.5] Now Available

VMwareEducationServicesVMware vSphere: Fast Track [V5.5] Now Available

VMware vSphere: Fast Track [V5.5] combines the content of the Install, Configure, Manage course with advanced tasks and skills for configuring a highly available and scalable virtual infrastructure.  It is a 5-day, intensive, extended-hours training course for those willing to work hard to achieve superior vSphere skills with minimal time away from the office.   Choose Classroom or Live Online where you can attend remotely from anywhere!     Elaine Sherwood Education Services, Online Marketing Manager