Convert text to upper or lower case with bash

I had a spreadsheet with a list of lower case names that I needed to compare it with another spreadsheet with upper case names. I know there are lots of ways to do it, but I went to my Linux machine and was able to convert all the server names with a single line command in the bash shell.

cat FILENAME | tr “[:lower:]” “[:upper:]”

You could also drop this in a script as well if you are discovering servers.

echo $HOSTNAME | tr “[:lower:]” “[:upper:]“

Citrix Releases XenServer 4.1

Citrix releases XenServer 4.1. I’ve been working with this version for a while now and this first offering post Citrix acquisition shows a lot of promise and some more maturity.

Storage

One of the most anticipated and needed features that version 4.1 brings is Fiber Channel shared storage support. What this means is now XenServer resource pools (clusters of hosts) can utilize Fiber Channel SAN storage.

[Read more...]

ESX Post Installation Script

This is a script that will configure the networks, VLAN’s and ntp service on the ESX servers after you have a base installation complete. Just save this as a bash script and run it on each Service Console before adding the hosts to the cluster.

#!/bin/bash

#Add VMotion vmkernel port to vSwitch0
/usr/sbin/esxcfg-vswitch -A VMotion vSwitch0
/usr/sbin/esxcfg-vmknic -a -i 192.15.1.124 -n 255.255.255.0 VMotion

[Read more...]

XenServer 4.1 Beta is Available

Citrix has released XenServer 4.1 beta.  This version addresses several key areas to help enterprise adoption.  Specifically,  Citrix has added Fiber Channel shared storage support and NIC bonding. Both of these additions will address a couple of really needed features.

One of the more interesting features I saw at the partner conference  is how they worked with Network Appliance to expose the XAPI to the Network Appliance API.  The end result is you can see and provision storage from either the XenServer or the Network Appliance interface.  Scripting hardware snapshots from XenServer will be easy to do with this configuration. The important point to be made here is the tie in to Network Appliance uses the open XAPI, and any vendor can do the same thing; Network Appliance just happened to be the first vendor.

Further evidence that this is the first release of XenServer after Citrix  acquired them is the new XenApp Server (formally Citrix Presentation Server) virtual machine template. This template is built to optimize XenApp server guests.

To download XenServer 4.1 and for a full list of enhancements, see http://www.citrixxenserver.com/Pages/XenServerMiamiBeta.aspx