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: tar -xvf *.ova Import the disk into the vmid of the new vm qm importdisk targetvmid disk001.vmdk local -format qcow2 or qm importdisk targetvmid disk001.vmdk local-lvm -format qcow2 Depending… 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: root@vcenter-sb-psc [ ~ ]# cmsso-util unregister –node-pnid vcenter-sb.redacted.lan –username administrator@vsphere.local Password: 2017-11-01T18:20:15.806Z Running command: [‘/usr/lib/vmware-vmafd/bin/dir-cli’, ‘service’, ‘list’,… 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: [2017-10-10 01:40:04:334 ‘VciScanTask.ScanTask{44}’ 140420998207232 INFO]… 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: Get-HardDisk -VM Guest-VM-Name-Here But we can also focus on the filename: PowerCLI C:\> Get-HardDisk -VM VM-core | Select-Object Parent,Name,Filename Filename ——– [EMC2_Tier2_Replicated_VMFS1] VM-core/VM-core_16.vmdk [EMC_Tier2_NotReplicated_VMFS11] VM-core/VM-core_7.vmdk [EMC2_Tier2_Replicated_VMFS3] VM-core/VM-core_14.vmdk [EMC2_Tier2_Replicated_VMFS1] VM-core/VM-core_2.vmdk [EMC2_Tier2_Replicated_VMFS4] VM-core/VM-core_5.vmdk [EMC2_Tier2_Replicated_VMFS4] VM-core/VM-core_1.vmdk [EMC_Tier2_Replicated_VMFS2] VM-core/VM-core_17.vmdk [EMC2_Tier2_Replicated_VMFS1] VM-core/VM-core_1.vmdk [EMC2_Tier2_Replicated_VMFS1]… Read more »

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 login as: root VMware vCenter Server Appliance Type:… 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 »