VCSA 5.1

What’s new in the VCSA 5.1

With this new release of the vCenter Server VA a few new features have been added, most of them related to the WebUI and to the new features and services that have been released globally for the vCenter 5.1, Windows and Linux based versions.

These new enhancements can be seen in the Summary section of the vCenter Server Tab as shown in the screenshot below.


From here all the vCenter Service can be started and stopped. The Services Tab no longer exists and it’s now a section of the vCenter Server Tab.

In the Storage Usage are you can check the disk usage of the different components of the VCSA.

There is also a Utilities are where you can:

  • Generate a support bundle in case of an incidence with the vCenter Server.
  • Download the configuration file of the VCSA an...
Read More

Monitoring VMware ESX 3.x, ESXi, vSphere 4 and vCenter Server

The purpose of this article is to describe how op5 Monitor or Nagios used with the Check ESX Plugin can be used to monitor your VMware ESX and vSphere servers. You may monitor either a single ESX(i)/vSphere server or a VMware VirtualCenter/vCenter Server and individual virtual machines. If you have a VMware cluster you should monitor the data center (VMware VirtualCenter/vCenter Server) and not the ESX/vSphere servers by them self.

More information can be found on Monitor Virtual Infrastructure with op5 Monitor


Before you start you need to make sure you have an account on the server with correct access rights.
In the default installation of VMware ESX/vSphere there is a ‘read only’ profile you should use when creating a new user...

Read More

Install Oracle8i

Downloading / Unpacking Oracle8i Installation Files

  •  Download Oracle 8i from Oracle’s OTN Site.
    (If you do not currently have an account with Oracle OTN, you will need to create one. This is a FREE account!)
  • Unpack the downloaded file: % tar xvf linux81701.tar
  • You should now have a directory called “Disk1” containing the Oracle 8i Installation files: /Disk1

Swap Space Considerations

  • Installing Oracle 8i requires a minimum of 128MB of memory.
    (An inadequate amount of swap during the installation will cause the Oracle Universal Installer to either “hang” or “die”)
  • To check the amount of memory / swap you have allocated, type either:% free– OR –

    % cat /proc/swaps

    – OR –

    % cat /proc/meminfo | grep MemTotal


  • If you ha...
Read More

Monitoring: Setting up Nagois + ndoutils

Nagios is one of the great tool that monitoring servers. The benefit of this is that it has many plugins which supports various software and hardware. Here, ndoutils is a plugin which stores status data comes from nagios into databases like Mysql or PostgreSQL.

Ndoutils has two components. The one is ndomod. nodomod has role of exporting nagios runtime data from nagios daemon and then write it to a file or unix socket or  tcp. The other is ndo2db, which is sending nagios data from ndomod via unix socket or tcp to database.

How to install and setting
# Download and configure to install ndoutils
$ wget$ tar -xzvf ndoutils-1.5.2.tar.gz$ cd ndoutils-1.5.2$ ...

Read More

Corrective Action Cache Batery EVA3000

Corrective Action Code: 38
Before performing cache battery replacement the following must be understood:

  • CAUTION: Never remove batteries from the controller while it is powered down. Replace a cache battery only when the controller power is on.
  • CAUTION: If the amber status LED is on in both battery assemblies, both batteries must be removed before installing either of the new batteries. If one of the batteries is replaced while the other failed battery is still in the enclosure, the original failure may be propagated to the newly installed battery. To ensure there is no propagated failure, wait a minimum of 15 seconds after the removal of both batteries before inserting the new batteries.
  • CAUTION: Never install a battery that was previously failed by any controller.
  • NOTE: When installing ...
Read More

Monitoring Remote Windows Servers with NAGIOS

Monitoring Windows Servers and Workstations will requiring installing a service if you need data better than a simple ping. For this, we will be using NSClient++. In particular, we will be downloading the Win32 and x64 "zip" files for version 0.3.9. The reason why I chose ZIP files instead of the MSI files is that it is much more simple to configure and rollout. Extract the Win32 ZIP file to C:NSClient and edit C:NSClientnsc.ini Uncomment the DLL files you will be using between lines 10 and 22. For example: Code:

; Script to check external scripts and/or internal aliases.

On line 56, set the password that will be required to access the remote functions. For example: Code:


On the Nagios server, you will need to match this password in your resource file which will then be referenced in your server config file. /etc/nagios/resources.cfg Code:


On line 62, set the IP of the Nagios server to limit access to just that host. For example: Code:

Read More

Defining Basic Virtual Machine Configuration Parameters


Before you create a new virtual machine (VM) using the Hyper-V Manager, it is crucial that you define these essential parameters:


  • Virtual Machine Name
    This is the name that is associated by default with the new virtual machine folder, as well as the new virtual hard disk (VHD) that will contain the virtual machine operating system and data files. This is also the virtual machine name that is displayed in the Hyper-V Manager console. You should develop a naming convention that reflects the information that is required in your environment to quickly and appropriately identify the new VM.
  • Virtual Machine Processor Allocation
    This represents the number of virtual processors to allocate to the new virtual machine. This parameter should take into consideration the requirements of the virtual machine guest operating system and hosted applications, as well as those of other running virtual machines, and the host operating system. All of the Microsoft Windows Server 2008 Hyper-V editions and Microsoft Hyper-V Server 2008 support a maximum of 24 logical processors in a Hyper-V host (up to 4 physical processors, each with 6 cores), and a maximum virtual machine allocation of 4 virtual processors. Although this is not used in the New Virtual Machine Wizard, you must define this parameter to ensure that you create the new virtual machine on a Hyper-V host with sufficient resources to support it.
  • Virtual Machine Memory Allocation
    This represents the amount of memory to allocate to the new virtual machine. The memory allocation should take into consideration the amount of RAM in the physical server in conjunction with the memory requirements of the new guest operating system and hosted applications, as well as other running virtual machines. Microsoft Hyper-V Server 2008 and Windows Server 2008 Standard Edition limit a virtual machine memory allocation to 31 GB, while Microsoft Windows Server 2008 Enterprise and Datacenter Edition allow a maximum memory allocation of 64 GB.
  • Virtual Hard Disk Size and Location
    If you need to install a new guest operating system, you must define the size for a new IDE-based virtual hard disk. In Hyper-V, IDE-based VHDs can support up to 2040 GB. Although Hyper-V also includes a SCSI controller, it is a synthetic device (one that does not represent a physical counterpart) that cannot be used to boot a VHD without an installed operating system. Unless you specify otherwise, a new virtual hard disk is stored in the default virtual machine directory using the same name as the virtual machine and a .vhd extension. If you intend to connect a pre-existing VHD to the new virtual machine, you must define the virtual hard disk folder location and copy the VHD to it prior to creating the VM.
  • Virtual Network Connection
    This represents the virtual network to connect to the new virtual machine. If you want to isolate the virtual machine, you can choose not to connect the virtual network adapter to any virtual network. Hyper-V allows connection multiple virtual networks using a combination of legacy and synthetic virtual network adapters. However, the New Virtual Machine Wizard only provides the connection to a single virtual network.
  • Installation Method and Media
    There are several methods available in Hyper-V to install a guest operating system in a new virtual machine. You can use physical installation media in a connected CD/DVD-ROM drive mapped to a virtual CD/DVD-ROM drive, an accessible ISO image file that contains a bootable image of a guest operating system, a virtual floppy boot disk image, or a network-based installation.


Once you have defined these basic parameters, you are ready to create a virtual machine using the New Virtual Machine Wizard available in Hyper-V Manager.

Read More

Replacing Failed Disks on NetApp FAS


If the disk fails in our NetApp FAS2040 it did it’s thing and put one of the hot spare to use and sends AutoSupport mail to  It sent us an email to let us know what was happened and also automatically raised a ticket with NetApp support.  10 min later NetApp decided to ship a replacement disk.  They requested a replacement disk for us at around midnight and the replacement disk turned up at 10.30AM on the site. Much respect to NetApp and UPS!


A couple of things that I found useful so I thought I’d make a note:


Identifying The Disk


A failed disk should have an orange LED lit.  Sometimes it doesn’t though but you can manually switch the LED on.


1.  SSH onto the NetApp box and logon

2.  Switch to advanced mode:

filer> priv set advanced


Read More

How to install the NRPE service (Nagios Remote Plugin Executor) on a Windows host

Install NRPE

Download the latest version of NRPE_NT currently from

Extract the files to a permanent directory and open a command prompt

Change directory to the nrpe_nt’bin directory and to install the service type

Nrpe_nt.exe -i

You should receive a message that the service was successfully installed


Read More

Multiple FS in AWK

Sample file:

$ cat summary.txt

Output Required:

(First field)|(last field converted to minutes)
A|165 B|132 C|192 A|70 B|670 B|190 C|214

This is how we can specify two field separators with FS in awk:

$ awk 'BEGIN{FS="[|,:]"; OFS="|"} {print $1,$(NF-1)*60+$NF}' summary.txt
Read More