Update Custom Attributes for VMhosts in vCenter

Yet another role added to my Job description, Now I am managing our Virtual Servers. So true to form I’ve dived headfirst into powershell / powercli to see what I can do. Some of the posts coming up on this will likely be similar to others around the web as I reinvent the wheel while I learn. But you never know one of you might find me 1st or I might do it in a way that suits you better.

First up is a simple script to read data from an xml file and then update custom attributes on the vmhosts.

Read More

CPUInfo

Small shell script that returns the details in /proc/cpuinfo in a more human readable and relevant way.

Sample output

Processor seems to be quite old guessing number.
#######################################
#           CPU Information           #
#######################################

CPU Architecture is: x86_64
CPU Manufacturer is: AMD
CPU Model is:  AMD Opteron(tm) Processor 252
CPU Speed is:  1800 1800MHz
Number of physical CPUs: 2
Number of cores per CPU: 1
Number of logical CPUs (cores & hyperthreading): 2
Hyperthreading enabled (Intel only): N/A

#######################################

Read More

Infiniband cluster Part 1

Overview and installing the operating system

Intro:

To facilitate testing of our software and so that support can model possible customer environments I was tasked with setting up a cluster with infiniband. I was excited as the system was a Dell PowerEdge blade cluster (our 1st blade system) and we have never used or deployed infiniband (this would be our 1st infiniband system), in fact other than a basic “we have heard of this and know (very) roughly what it is” no-one in the group had any real knowledge of it. After a few hours of searching the deepest recesses of the Internet I had a limited understanding of how to setup the system. I know how irritating it is to have to read the crud in order to find that wee gem of info so from here on I’ll mark the paragraphs of the article so those of you wanting to “just get it done” can skip them.

Read More