Friday 19 November 2010

Checking DFS replication status

On windows 2003 R2 and Windwos 2008, Distributed File System replication is handles by the new DFSR service.

You can check the status of replciation using the DFSRDIAG command, but if you're on a windows 2008 server, be careful to run this as Administrator otherwise you'll get an error "[ERROR] Access is denied when connecting to WMI services".

Posted via email from Pio's work related musings

Tuesday 16 November 2010

Netstat tips and tricks for Windows Server admins

What process is running on the open port: Tracking down which process identifier (PID) has a port open is quite easy when netstat is run with the -a -n -o combination of parameters

A useful article explaining the netstat command parameters, especially the example I'm always looking for which shows the process name.

Posted via email from Pio's work related musings

Friday 12 November 2010

Serial ports created during a P2V process & why you should delete them asap

A quick tip for machines that have just been P2V'd with vConverter: 

Make sure you remove the TTY / serial devices which are automatically created. 

These are class as mapped host devices but unlike a mapped host cd drive, they cannot be disconnected without powering off the new VM.

As a result you can't vMotion the new VM and hence it stops DRS from being able to migrate the VM and also you can't put the host into maintenance mode (such as during a host update patch process)

Posted via email from Pio's work related musings

VMWare iSCSI access policy in vSphere ESX4.1

The iSCSI access policy is the method VMware uses to leverage multiple paths to iSCSI storage.

By default even if you have multiple paths from VMWare to your storage, it will use an active/passive configuration, usually meaning that you'll have a 1Gb/s bottleneck (unless you're fortunate enough to be using 10Gb/s networking.

To change the policy in older versions of VMware, you updated the properties of each volume on each server and changed the drop down to the value you want (usually Round Robin).  The change was instantaneous meaning a misclick of the list actually changed the value.

In ESX 4.1 this behaviour has been changed by adding a button next to the drop down.  You need to make sure you click this button for the change to be applied, otherwise you'll be wasting your time.

Posted via email from Pio's work related musings