Labels

3300 (1) 3PAR (1) Active Directory (1) ADFS (1) Admin Share (1) Auto-Sync (2) Auto-Sync locked (1) AWS (3) AzCopy (1) Azure (3) Backups (2) Broadcom (1) Call Forwarding (1) CLI (2) cmd (1) Compatibility View (1) Dameware MRC (1) Databases (1) DFS (1) DNS (1) Domain Admin (1) domain controller (1) Enterprise Mode (1) ESXi 5.0 (1) ESXi 5.1 (5) ESXi 5.5 (3) Exchange (3) Exchange 2010 (5) Extreme (1) ExtremeXOS (1) Federation (1) File Share (1) FSMO (1) GPO (1) Group Policy (1) Group Policy Client (1) Hardware Acceleration (1) Helpdesk (1) HP-UX (1) Hyper-V (2) IAM (1) IE10 (1) IE11 (1) IP conflict (1) Kayako (3) LDAP (1) Licence (1) Links (9) local groups (1) LUN lock (1) LUN number (1) MAC address (1) Microsoft Teams (1) Mitel (1) Namespaces (1) Networking (6) Nexenta (6) NMC (1) Office 365 (4) OneDrive (1) Outlook 2003 (1) Outlook 2013 (1) PC (1) Physical (1) PowerCLI (10) Powershell (10) promoted links (2) Public Folders (1) RDP (1) RDS (1) Recovery Services (1) RedShift (1) Registry (3) Reports (1) Resolve (2) Restart (1) RSA (1) Run As (1) SAML (1) SAN (1) Scavenging (1) script (10) Server 2003 (3) Server 2008 R2 (1) Server 2012 R2 (2) Servers (2) sharepoint 2013 (3) SMTP (3) Snapshot (2) SRM (1) SSH (5) SSL Certificate (2) Temporary profile (1) Terminal Server (3) Troubleshooting (5) Ubuntu (1) Update Manager (1) Useful Apps (1) VAAI (1) vCenter Server Appliance (1) VDI (1) VDP (1) Veeam Backup and Replication (2) VM (1) VM Error (1) vmdk (1) VMFS (1) vMotion (2) VMware (20) VoiP (1) vSphere 5.5 (4) vSphere 6.0 (2) vSphere 6.5 (1) vUM (1) webpart (1) Windows (3) Windows 10 (1) Windows 7 (2)

Wednesday 19 June 2013

ESXi 5.1 VM Stuck At 95% When Restarted

When trying to open a console to a VM, I encountered the message;
Unable to connect to the MKS
I tried forcing a reset but this got stuck at 95% and I wasn't allowed to force a power off through the GUI as the reset process was still ongoing.

To get round this I followed the steps below;

1. SSH onto the host running the VM.
2. Run the command;
ps | grep "VMName" 
The name is case sensitive so make sure you type it exactly as shown in vSphere. You will get a list of  information as below;
2106831 2097959 vmx-mks:VDP01        /bin/vmx
The second number (in this case 2097959) is the process ID (PID).
3. Kill the process by running the command;
kill -9 PID
4. cd to /vmfs/volumes/DataStoreName/VMName 
5. Delete the swap file by using the command below;
rm -r swapfilename.vswp
6. In vSphere Client you should see the machine has powered off. Right click it and remove it from the inventory.
7. Browse the datastore, open the VM folder, right click the .vmx file and choose "Add to Inventory".
8. Power on the VM. You may be prompted to answer a question about whether you have moved or copied the VM so if the power on is stuck at 95%, check for a hidden popup.

VDP Not Backing Up Virtual Machine

On trying to backup a newly P2V converted Server 2003 machine, I found that VDP would allow me to create a backup job and initialise it, but wouldn't actually carry out any tasks and would flag up immediately as a failure.

To resolve this, I had to power off the VDP appliance, edit the settings and double the amount of memory VMware had published the machine at (increased memory from 4GB to 8GB).

Once this had been done, I powered the appliance back on and the new machine backed up successfully.

Tuesday 11 June 2013

Finding Network Connection After Moving Ubuntu VM

After restoring a VM from backup the VM would not bring up it's network connection, despite all the correct information being in /etc/network/interfaces

Running ifconfig only showed the lo connection, no eth interfaces.

Running ifconfig -a lists all network interfaces, including those that are currently down. There was an eth3 interface, but no eth1 as specified in the /etc/network/interfaces file. I updated this file with the correct interface number and after reboot, the machine was live.

Tuesday 4 June 2013

Hide "SSH Enabled" Warning Message On ESXi 5.1 Host

If you have enabled SSH access to a host you will constantly see a warning message informing you that SSH has been enabled. This message can be suppressed by following the steps below;

1. Connect to the Host via vSphere Client
2. Go to the Configuration tab and click on Advanced Settings under the Software section
3. Scroll down and select the UserVars option on the left
4. Find the UserVars.SuppressShellWarning option (should be at the bottom of the list) and set it to 1

Problems With vMotion To New Host

After building an ESXi 5.1 host and setting up the networking I found I was unable to vMotion any machines onto the new host once added to vCenter. Whilst I had correctly added a vMotion VMKernel port, on the new host I had created the Virtual Machine Port Groups with the label all in capitals (eg. SERVERS rather than Servers).

In order for vMotion to proceed, the label of the port group must match that on the old ESXi 4 hosts.

Track Nexenta Auto-Sync Progress From NMC

By running the command below in the Nexenta Management Console (NMC) you can view live data transfer progress of an auto-sync job to confirm it is running OK.

SSH to the Nexenta box running the auto-sync service you wish to monitor and su to root permissions.
At the NMC level, run the command
show auto-sync ;autosyncname stats -i 1