Extending a volume online

Posted by & filed under Server Admin.

I was attempting to resize a GPT partition ( http://natesbox.com/blog/extending-logical-volume-online/ ). Expanded the physical disk from 4TB to 6TB. Found that fdisk reported the disk size to be 6TB, but would not let me use any of the additional sectors: Disk /dev/sda: 6 TiB, 6597069766656 bytes, 12884901888 sectors Units: sectors of 1 * 512 = 512… Read more »

Proxmox import ova ovf qcow2 disk into VM

Posted by & filed under Virtualization.

Create new VM Note the VM ID If you have a .ova or .ovf file, you simply need to do the following to extract the vmdk:

Import the disk into the vmid of the new vm

or

Depending on the storage you have setup. It’s also worth noting that at least on… Read more »

Decommissioning a vCenter PSC and VCSA

Posted by & filed under Virtualization, VMWare.

I recently needed to decommission a VCSA and external PSC. Following the VMWare KB 2106736 I proceeded to decomission the servers usign the cmsso utility.   Decommission vCenter — connected to the PSC it is registered with and:

Now to connect to the PSC that will be staying online and decommission the other PSC… Read more »

Extending a logical volume online

Posted by & filed under Server Admin, VMWare.

I’ve written about this in past posts. Here is an updated article straight from VMWare: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006371   Power off the virtual machine. Edit the virtual machine settings and extend the virtual disk size. For more information, see Increasing the size of a virtual disk (1004047). Power on the virtual machine. Identify the device name, which is by… Read more »

VMWare Update Manager Fails

Posted by & filed under Uncategorized, Virtualization, VMWare.

I received a fairly generic error when running VMWARE Update Manager against some hosts: No real useful information. The actual log is available on the VCSA 6.5 at: /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server-log4cpp.log In my case it was as simple as the DNS being set incorrectly on the ESXi hosts due to some networking changes:

Other threads that might… Read more »

PowerCLI – Get a VM’s Disks

Posted by & filed under Virtualization, VMWare.

PowerCLI snippets to get a VM’s disks This command will retrieve the specified VM’s attached disk paths:

But we can also focus on the filename:

We can also see the other columns available:

We could also do something like get the Disk paths for all guests:

 

Microsoft Online Services Network IP Ranges

Posted by & filed under Email, Firewalls, Networking.

I recently needed to whitelist some Microsoft service addresses. I found the following information containing the Microsoft IP space for services. Exchange Online Protection IP Addresses – technet.microsoft.com/en-us/library/dn16…  

Platform services controller — Migrating to external psc and verifying replication partners

Posted by & filed under Virtualization, VMWare.

In preparation for migrating from vCenter 6.5 w/ embedded PSC, to a external PSC I needed to validate the replication between my new external PSC and the embedded platform services controller. To validate PSC replication partners, the vdcrepadmin utility can be used. For more information see https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2127057

Note in the above commands, for the -w… Read more »

vCenter Server (VCSA) 6.5 – Add root CA cert to Windows Server 2016 AD to enable the default VCSA cert to be trusted

Posted by & filed under Active Directory, Server Admin, Virtualization, VMWare.

The VCSA has it’s own CA built in. It uses that CA to generate certs for all the various services. There are two options available to ensure that the certificate is trusted in the browser: Generate a CSR for the cert and submit to a CA who can generate the cert. Use Microsoft Active Directory… Read more »