Home
Pure Storage
Cloud
VMware
Categories
Tags
Series
Certifications
About
  • PowerCLI - Troubleshooting Multiple Default Servers

    Jan 29, 2015 PowerCLI
    Share on:

    I use a customized version of http://www.virtu-al.net/vcheck-pluginsheaders/vcheck/ by Alan Renouf to connect to multiple servers. However a coworker of mine was trying to run it, and the script would only return data from the 2nd vCenter we were connecting to.

    Doing some troubleshooting we noticed their DefaultVIServerMode was set to single. This means that only a single servers connection will occur at once. Changing this setting is very easy, there are 3 scopes, but only one really needs to be set. You can review the 3 scope options …

    Read More
  • PowerCLI - Enable CPU and Memory HotAdd

    Jan 14, 2015 PowerCLI
    Share on:

    I had a need to enable CPU and Memory hotadd to many virtual machines prior to a template being updated, doing some research there is no easy way, however there are some functions out there to do it. You can copy and paste each function into a powershell window and then run the associated command.

    1Enable-MemHotAdd $ServerName
    2Disable-MemHotAdd $ServerName
    3Enable-vCPUHotAdd $ServerName
    4Disable-vCPUHotAdd $ServerName
    

    Enable Memory HotAdd

    1Function Enable-MemHotAdd($vm){
    2$vmview = Get-vm $vm | Get-View
    3$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
    4$extra = New-Object …

    Read More
  • vSphere Data Protection - Insufficient Disk Space for Upgrade

    Sep 22, 2014 vSphere Data Protection
    Share on:

    As I was upgrading my VDP-A environment from 5.5 to 5.8 the upgrade failed due to the following error.

    “Please make sure you have at least 20GB for repo, 10GB for var, and 1GB for root partition.”

    Upon further research there seems to be an issue from 5.5.1 and 5.5.5 appliances with the /space partition filling up due to PostGres events. The issue can be resolving by installing the following VDP patch (vdp_patch-5.5.5.190.)

    Read More
  • Sysprep runs repeatedly on virtual machines deployed to ESXi 5.1 build 1743533

    Jul 8, 2014 PowerCLI Sysprep vSphere 5.1
    Share on:

    We had a strange issue that any time a VM was snapshotted it then forced a reboot and sysprep. Reviewing the customization logs(C:\windows\temp\vmware-imc\guestcust.log) I noticed the following error..Unable to set customization status in vmx.

    Upon further research it seems this is a known issue and is resolved in ESXi 5.1 Express Patch 5 KB2077640 as referenced in this article KB2078352.

    However the hotfix only fixes future occurences, you still need to fix all the VMs affected. See below for the powercli script I created to connect to all my vcenters, get VM’s that are affected and …

    Read More
  • Configuring ESXi 5.5 Dump Collector

    Jun 10, 2014 PowerCLI Dump Collector
    Share on:

    Thank you to everyone who listened to me on the EMEA vBrownbag. Here are copies of documentation and scripts on how to configure ESXi to use the remote dump collector.

    Check the ESXi Dump Collector Configuration Example:

    1Foreach ($vmhost in (get-vmhost)){
    2$esxcli = Get-EsxCli -vmhost $vmhost
    3$esxcli.system.coredump.network.get()}
    

    Setting the ESXi Dump Collector Example:

    1Foreach ($vmhost in (get-vmhost)) {
    2$esxcli = Get-EsxCli -vmhost $vmhost
    3$esxcli.system.coredump.network.set($null, “vmk0″, “IPtoDumpCollector″, “6500″)
    4$esxcli.system.coredump.network.set($true)}
    

    Read More
  • Configuring ESXi 5.5 Syslog Collector

    Jun 10, 2014 PowerCLI Syslog
    Share on:

    Thank you to everyone who listened to me on the EMEA vBrownbag. Here are copies of documentation and scripts on how to configure ESXi to use the Syslog collector.

    Check the ESXi Syslog Collector Configuration Example:

    1Foreach ($vmhost in (get-vmhost)){
    2$esxcli = Get-EsxCli -vmhost $vmhost
    3$esxcli.system.syslog.config.get()}
    

    Setting the ESXi Syslog Collector Example:

    1Foreach ($vmhost in (get-vmhost)){
    2$esxcli = Get-EsxCli -vmhost $vmhost
    3$esxcli.system.syslog.config.set($null, $null, $null, $null,"udp://IPtoSyslogServer:514″)
    4$esxcli.system.syslog.reload()}
    

    Post-Installation …

    Read More
  • Deploying vCloud Connector 2.6 and Configuring For vCHS (Part 3)

    Jun 4, 2014 vCloud Air
    Share on:

    In Part 1 we showed you how to deploy vCloud Connector 2.6, and in Part 2 we showed you how to configure it.

    Here in Part 3 we will show you how to migrate a workload from your private cloud to your public cloud.

    Lets go back to our vCenter and select our vCloud Connector Plugin

    Expand your vCenter and select the folder that contains the VM you wish to copy to vCHS. (The source VM must be powered off)

    Read More
  • Deploying vCloud Connector 2.6 and Configuring For vCHS (Part 1)

    Jun 3, 2014 vCloud Air
    Share on:

    So luckily i was selected for the June 2014 wave of vCloud Hybrid Service access as a vExpert. I have been looking forwarding to using vCHS since it went GA and am glad to finally have the opportunity to use it hands on.

    Once I got access I knew I wanted to copy some of my existing workloads to vCHS instead of having to start from scratch. I begin to look for some good guides on implementing vCloud Connector 2.6 but couldn’t find anything as it was just released and majorly overhauled.

    Read More
  • Deploying vCloud Connector 2.6 and Configuring For vCHS (Part 2)

    Jun 3, 2014 vCloud Air
    Share on:

    Here is Part 2 a continuation of Deploying vCloud Connector 2.6 and Configuring For vCHS (Part 1) (http://davidstamen.com/2014/06/03/deploying-vcloud-connector-2-6-and-configuring-for-vchs-part-1/) where we will configure vCloud connector to your Private(vCenter) and Public(vCHS) clouds.

    Lets start with getting the vCloud Connector Server ready. Just in case you forgot what IP you assigned we can open the appliance and view the management information.

    As we can see here the URL to configure the appliace is https://192.168.0.13:5480 and the default username is admin and default password is …

    Read More
  • Create VMFS Datastore Using PowerCLI

    May 22, 2014 PowerCLI Storage
    Share on:

    For upcoming testing there was a need to create 140 datastores on a cluster for testing. Who wants to do that much clicking and typing? Not me! You can use the below PowerCLI commands to get the SCSI ID’s,  Create the Datastore and then Rescan all hosts in the cluster.

    How do i get the CanonicalName for allocated disks?

    1Get-SCSILun -VMhost 192.168.1.103 -LunType Disk | Select CanonicalName,Capacity
    

    How do I create a VMFS datastore for the CanonicalName I identified above?

    1New-Datastore -VMHost Host -Name Datastore -Path CanonicalName -VMFS
    

    How do i rescan all the hosts in the cluster …

    Read More
    • ««
    • «
    • 11
    • 12
    • 13
    • 14
    • 15
    • »
    • »»
a blog about virtualization, storage and stuff

Recent Posts

  • Unlocking Performance Insights: Using resxtop to Monitor Your Azure VMware Solution Environment
  • Navigating the Azure Cloud: Key Considerations for Strengthening Infrastructure Security with Azure Locks
  • The Power of PowerShell: Calculating Azure VMware Solution (AVS) Costs
  • Navigating the Azure Cloud: Key Considerations for Azure VMware Solution (AVS)
  • Navigating the Azure Cloud: Key Considerations for Harnessing DNS with Azure Private Endpoints
  • Using Bicep to Deploy a Microsoft SQL on Azure VM with Cloud Block Store Volumes
  • Using Bicep to Deploy an Azure Virtual Machine
  • Using CloudFormation to Manage EC2 in AWS

Copyright ©  DAVIDSTAMEN. All Rights Reserved.      Privacy Policy