Saturday, December 31, 2011

vCenter Operations Manager Standard: Setup

This video shows you how to setup the vCenter Operations Manager Standard also known as VCOPS.

You will first need to download the .ova vApp from VMware and sign up for a trial license.

The following credential will be needed:
Web console ID & Password: admin, admin
VCOPS vApp ID & Password: root, vmware

To return to the Standard Administration Page to set SMTP, view/collect logs, change admin password, etc.

This mark my last post for 2011.  A Happy New Year to all!

VMware has release a new version of vCenter Operation Manager 5.0.  Installation and configuration setup can be view below from VMwareTV.

Thursday, December 29, 2011

vCloud Director 1.5: Setup Guide

I am very new to vCloud Director and in such have a hard time learning how to install this.  I have to rely on reading the installation guide but this cannot beat anything that have been written by someone who have gone through the installation and listed down some of the requirements.  This was all done in my home lab in such, the FQDN here may not apply for production case.

I am no linux nor oracle expert so I am going to stick most of my work on Windows wherever possible.  As vCD has released to 1.5 that comes with SQL support, I am lucky that I can drop oracle completely.  As for the requirement for linux, I have used RHEL 5.5. Do not that RHEL is supported for 5.4, 5.5 and 5.6 also know as RHEL 5 update 4 to update 6.

Here are some of the reference I used to get my vCloud Director working.
Installation of vCD on RHEL (vCloud Director 1.5 Installation Guide, Pg 26-17)
Installing vCloud Director 1.5 on SQL 2008 (vCloud Director 1.5 Installation Guide, Pg 16)

For those who wants to do on Oracle database you can refer to this link.  This is done on Oracle express not the full enterprise database which is suitable for those doing POC or in their home lab.

The high level steps would be as follows:
  1. Prepare Database
  2. Create certificates
  3. Import vShield Manager from .ovf and configure IP, subnet, DNS
  4. Install RabbitMQ
  5. Download and install VMware public key
  6. Install vCD binary in RHEL
  7. Configure vCD with database
  8. Prepare sysprep file on vCD server

1. Prepare SQL 2008 R2 database with user (vCloud Director 1.5 Installation Guide, Pg16-17)

Create Database Instance
USE [master]
(NAME = N'vcd01', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.VMWSQL\MSSQL\DATA\vcd01.mdf', SIZE = 100MB, FILEGROWTH = 10% )
(NAME = N'vcd01_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.VMWSQL\MSSQL\DATA\vcd01.ldf', SIZE = 1MB, FILEGROWTH = 10%)
COLLATE Latin1_General_CS_AS

USE [vcd-01]
ALTER DATABASE [vcd01] SET RECOVERY SIMPLE;  /*OPTIONAL: Recommended. Seek advise from DBA*/
EXEC sp_addextendedproperty @name = N'ALLOW_SNAPSHOT_ISOLATION', @value = 'ON';
EXEC sp_addextendedproperty @name = N'READ_COMMITTED_SNAPSHOT', @value = 'ON';

Create DB account, vcdmgr
USE [vcd01]
CREATE LOGIN [vcdmgr] WITH PASSWORD = 'password', DEFAULT_DATABASE =[vcd01],
CREATE USER [vcdmgr] for LOGIN [vcdmgr]

Assign role to vCD DB
USE [vcd01]
sp_addrolemember [db_owner], [vcdmgr]

2. Create certificates (vCloud Director 1.5 Installation Guide, Pg 18-21)
In RHEL, use the terminal windows and follow the instruction in the installation guide.
Make sure your Java version is 1.6 as stated in this KB.

The path of the java in vCloud Director should be as follows which is mistype in the KB.


You would need to run the keytool command with the above path if your Java version is other than 1.6.

2.1 To create an untrusted certificate for HTTP service 
> keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -keyalg RSA -alias http 

Enter the First and Last name the FQDN associated with the IP of the HTTP service.

Note: In case you create with mistake and needed to delete type
> keytool -delete -keystore certificates.ks -storetype JCEKS -storepass passwd -alias http

2.2 Create a certificate signing request for the HTTP service.
> keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -certreq -alias http - file http.csr 

2.3 Create an untrusted certificate for control proxy service
>keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -keyalg RSA - alias consoleproxy 

Enter the First and Last name the FQDN associated with the IP of the console proxy service.

2.4 Create a certificate signing request for the console proxy service.
> keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -certreq -alias consoleproxy -file consoleproxy.csr

2.5 Send signing certificates requests to Certification Authority
If you have self signed certificates to import, please follow the KB.

In our case, we will only verify that all the certificates have been imported, list the contents of the keystore file with the command:

> keytool -storetype JCEKS -storepass passwd -keystore certificates.ks -list

 Note: By default, certificates are valid only for 3 months. To increase the duration, add the switch -validity when creating your certificate.

3. Import vShield Manager and configure it (vCloud Director 1.5 Installation Guide, Pg 21-22)
This is pretty straight forward so you can refer to the installation guide.
default id: admin
default password: default

4. Install RabbitMQ (vCloud Director 1.5 Installation Guide, Pg 22)
Go to to download the RabbitMQ server.  It recommended for Windows although there are packages for Linux as well.

When install RabbitMQ server in Windows, it will request to install Erlang package.  This is a prerequisite.  So you would need this server to have access to internet else you can go here to download the package in advance.

You can install this on any server.  Do note that all vCloud Director cell must be able to reach the RabbitMQ server.

We will have to follow up this section if message need to be encrypted.

5. Download and install VMware public key (vCloud Director 1.5 Installation Guide, Pg 23)
Go to

Copy all the keys to the keystore where you place the certificates.  And run the following command on every key.
> rpm --import path\key_file

6. Install vCD binary in RHEL (vCloud Director 1.5 Installation Guide, pg 26-27)
In RHEL, open the terminal windows and type the command> chmod u+x installation-file

7. Configure vCD with database (vCloud Director 1.5 Installation Guide, pg 27-31)
To start the configuration we will type the command.
> /opt/vmware/vcloud-director/bin/configure

Note: in vCloud Director 1.0 the path is /opt/vmware/cloud-director/bin/configure
IMPORTANT: Make sure Windows firewall is turn off in my video I have to troubleshoot it to realize it turn on!

Update: I missed out the sysprep package importing as part of the installation.

8. Prepare sysprep file on vCD server (vCloud Director 1.5 Installation Guide, pg 32-33)
After everything is running, we need to prepare the sysprep file on the vCD server.
The table in the installation guide is show as below.  Refer to the KB here for a video demonstration.

Guest OS
Copy Destination
Windows 2000
ysprepBinariesDirectory /win2000
Windows 2003 (32-bit)
SysprepBinariesDirectory /win2k3
Windows 2003 (64-bit)
SysprepBinariesDirectory /win2k3_64
Windows XP (32-bit)
SysprepBinariesDirectory /winxp
Windows XP (64-bit)
SysprepBinariesDirectory /winxp_64


Where SysprepBinariesDirectory is the Directory you place your sysprep files to be used by vCD.  In my case I place make a folder named “Sysprep” and place the respective Guest OS sysprep files in the folder naming convention required as shown in the table above.


A cab file will be created in the following path, you will need to copy this file to the additional vCD servers that you have.


After the cab package is created, you have to restart the vCD service
> service vmware-vcd restart

Wednesday, December 28, 2011

Samsung Galaxy Note: Review

Date: 17 Dec 2011
Time: 1:24PM

Just receive the user trial set of the Samsung Galaxy Note.  There are only 100 users and I was lucky to sign up as one of them.  There is only the  Dark Blue/Black set.  How I wish it could be the white set.  There was no included microSD card in this set.  

I did a factory reset as it was loaded with Samsung own customization of screensavers and apps and some calendar entries.  To start the review I did a full factory reset for a clean start.

All the pictures of the Galaxy Note is taken with my iPhone 3GS.  I will show the pictures from Galaxy Note later to let you do the comparison.

To start with brief specification introduction of Samsung Galaxy Note.
Mobile Network: HSDPA 850 / 900 / 1900 / 2100
Processor: Dual-core 1.4 GHz ARM Cortex-A9
GPU: Mali-400MPaass
Memory: 1 GB RAM
Insternal Storage: 16GB/32GB storage (mine is a 16GB)
Dimension: 146.9 x 83 x 9.7 mm
Weight: 178g
Display: 5.3" Super HD AMOLED screen, Corning Gorilla Glass
Resolution: 800 x 1280 pixels, 5.3 inches, 285ppi
OS: Android OS, v2.3.5 (Gingerbread)
Camera: 8MP Rear 4x zoom, 2MP front, LED Flash
Video Recording: Yes, 1080p @ 30fps (1,920 x 1,080), MPEG4, H.264
Card slot: microSD, up to 32GB
Radio: Stereo FM radio with RDS
GPS: Yes, with A-GPS support and GLONASS
Communication: Wi-Fi 802.11 a/b/g/n, DLNA, Wi-Fi Direct, Wi-Fi hotspot
Bluetooth:  v3.0+HS
Speaker: Yes
3.5mm Jack: Yes
Alerts: MP3, Wave, vibration
Battery: Standard battery, Li-Ion 2500 mAh
Standby: Up to 960 h (2G) / Up to 820 h (3G)
Talktime: Up to 26 h 10 min (2G) / Up to 13 h 30 min (3G)

The whole set of the Galaxy Note comes neatly in a box just like an typical iPhone.  That is an instruction sheet from the user trial workshop.
Opening up the box review the Galaxy Note.  Yes it looks big with a 5.3" Super HD AMOLED screen.  Almost as good as the retina screen from iPhone 4/4S with Galaxy note at 285ppi to retina at 330ppi, which our naked eye will not see this significant honestly.
 Lifting up the phone tray review the power adaptor with the two pit attachment for Singapore, a handsfree set with ear stud, USB cable.
 Samsung actually provide the ear studs and two different size in the package to suit different users which most phone just come generic.
 The power adaptor comes with a module in this case in Singapore, its a two flat pins used here.  This I believe is a standard package and for different country the adaptor would just need to be changed to the relevant ones.

This will be a one post review of the features and will be starting to use it later on at night for an event I am attending at St James Power Station.  Meantime its taking time to charge it full.

Date: 18 Dec 2011
Time: 12:37AM

Just got back from an event.  Didn't manage to take any picture but during my journey I downloaded some apps, use some internet, and check some emails.  The battery total usage was about 6 hours plus and it has already gone low battery.  A quick check on the battery usage shows that the display is consuming most of the power.  For that, I left the setting as automatic.  I shall test this with a low screen brightness the next time and see how far it fair.

As for iTunes musics, I came across this video from SamsungUK which recommended this application call Easy Phone Tunes for Windows and Mac to transfer your music and sync it to most Android phones.  Its free to sync musics but need to pay when you want to sync your podcast.

I did hit some tracks which was unable to transfer and the listed possible issues was not part of what I am encountering though.

After I found that you have to lengthen you Screen timout period.  Default was 15 seconds and every time after that it got disconnected as USB storage.  Samsung should make sure the screen do not time out when connecting as USB storage.

Instead of taking any pictures, I took some at home and was with flash with macro shots.  The outcome was surprisingly amazing.  When taking the screen almost show me an overexpose but after the picture was taken it appears pretty well.  Take a look below.  Though Red seems abit over contrast.

Date: 18 Dec 2011
Time: 5:12PM

Early in the morning I downloaded and install the Samsung Software Kies to work with Galaxy Note.  Only connecting I get drivers issues on and off.  Well as a IT professional, I decided to remove all the drivers in device manager using the set devmgr_show_nonpresent_devices=1 command and reinstall the drivers via Kies and it works properly this time.

While out for a movie I took a picture using Camera Zoom app which was worth $0.10 last week.  I like this effect.  But the app crashed on me the first time when I was choosing this effect. 

The usage today was 5 hours plus and 50% was used up.  This time I have dim the brightness to the lowest and turn off GPS and WiFi.

Was prompted for firmware upgrade for upgrade of the Kernel and Build to DXKL1.  The upgrade was fast its the download was not as fast.

I took screen shot using the palm over screen gesture to take the below screen capture.  Or yes Samsung actually have this  thumb gesture to take a screen shot instead of the traditional Power and home button depression at same time like iPhone.

I sort of did a google and realize Galaxy S2 has a firmware upgrade to KL1 as well and it seems for a battery performance.  Since I have upgraded, let see if there is any improvement on that.

There are some feedback on the default Camera settings that do not save after exit.  Features like Auto Contrast and Outdoor visibility.  However I think there are only some drastic settings, settings like Anti Shake and Grid do stay turn on after exiting.  There must be some reasons for this not saving.  Perhaps its rare to use those settings unless for particular shots only that is the reason the settings are not saved.  Both KK1 and KL1 build remains the same.

Date: 19 Dec 2011
Time: 6:21PM

Did a full charge and turn off all the communications like Wifi, GPS and dim the screen to the lowest possible.  I also enable the Default Power saving settings.

Did some browsing and return some messages on facebook and whatsapp.  It got to last till 8 hours this time before prompting me on a 10% low battery signal.

Tried to take a picture using the phone and was given a warning that flash will not be enable as its on low battery.  Interesting feature.

I setup my GMail, Yahoo but not for Exchange email which seems to fail with Gingerbread or wit Honeycomb.  Below are the settings if you need them.

Below I go further, For Yahoo!, there is only one setting that is setting up an IMAP account.
For GMail, there are two type of settings, one is using IMAP (which I do not really like it as it really drain power), the other is to set it to use Exchange setting.

For Corporate Exchange, I realize it just won't work on my Galaxy Note or my Transformer on Honeycomb.  Instead I used this app call Touchdown, it will definitely work.

Imap server -
Port - 143
Security type - TLS
IMA path prefix - (leave blank)

SMTP Server-
Port - 587
Security type - None
(check) require sign-in

Imap server -
Port - 993
Security type - SSL
IMAP path prefix - (leave blank)

SMTP Server-
Port - 465
Security type - SSL
(check) require sign-in

GMail Exchange
Domain\Username: your user name no domain required
Exchange Server:
(check) Use secure connect (SSL)

Date: 20 Dec 2011
Time: 3:38PM

Left the note overnight without charging to see how the battery consumption would be like.  I have turned off all notification and pushed features others than facebook and weather like what iPhone on iOS 5.x.

Turn out it requires 20% of battery over night as show below from 87% to 67% in about 8 hours.  The shots were taken before I turn in to bed and after I woke up.

Before I head to bed

After I got up

Looking at the battery bar on the status bar cannot tell me how much power I have left.  In such I downloaded this Circle Battery Widget.  Which you can see from my screenshot above.  At least a percentage now.

Now I found out in S-Memo if you press and hold the tip icon you only get the color pallet.  Silly me was that I forgot Android is all about press and release or press and hold.  If press and release, you can to choose the tip type and size. 

Last and not least, as I specialize in virtualization or also known as part of cloud computing. So I installed VMware View on this phone and access my Home Lab which was setup with VMware View.  And Yes I am running WIndows & on my Note and the S-Pen now comes in very handy to click on those button though I am able to pinch the screen bigger to zoom or use a mouse pointer with the mouth pad provided in this tab.

All works well.  It works just like my Honeycomb tablet.

Date: 21 Dec 2011
Time: 6:39PM

Went for a 4 hours exam last night and my Note was really on low battery less than 10%.  Luckily I have an Energizer Energi to Go XP8000 battery pack and put to charge while I was in exam room and come out with 100% charged.

One thing if you are buying a battery pack, make sure it has a output of 5V and 1000 mA output else it will take forever for your Note to be charged.

If you are in your Contacts, when you click on the picture icon, you are given the options below instead of scrolling through the list of information: Call, Video Call or Message.
I found this out by accident though.

Did you Hardwarezone review on Note? I did.  And learn this.  If you press and hold on your pages numbers at the home page, it will turn into a scroll bar.

Got nothing to do so I did a S-Memo an paste a picture I took and write some words on it.  This is the turn out.

Yes you can create a folder and place everything in that folder like in iPhone.  However you can arrange it that is something sad though.  I hope Ice Cream Sandwich won't be like this.

To add a Folder in the apps, press your Left Menu hard button on the bottom of Note and choose Edit.  You will see the screen below.  Click and drag the icons into the Add Folder on the left until you are done, click and drag the folder onto the apps page.  You will be prompt to give the folder a name.

From the Apps page, you can click add the folder into your home pages. Just click and hold you will be able to put the Folder to the home page.

In the home page, you can also create a Folder.  Press the left Hard button on the bottom, Choose Add>Folders>New Folder, enter a name for the folder and start dragging your shortcuts from your Home pages to the folders.

To change the name of any folders, just click on the folder to open it.  And click on the folder title bar where the name is.

Just play with Kies Air.  Its an app in your Apps.  You can connect this to your home Wireless network and with your computer and browse to the address given.  Or choose Wireless hotspot and it will create one and use your PC and connect to it to access it.

Fire up your browser on your laptop, in my case I use firefox.  You will need Java so make sure you have that installed.  Key in the address and you will see a prompt on you phone to choose to allow your PC to connect to it (Your computer name will be shown).

Once connected you will see the below screen.  You can upload, download, delete, etc. anything from pictures to music and manage your phone wirelessly.  You can also play the music or even better still reply an SMS from your web browser easier than doing it on the phone.  Only thing it cannot launch an app like Whatsapp and help to reply that.  Wish it could allow you to console in that would be best.

Date: 26 Dec 2011
Time: 2:07PM

Have not been able to blog as I have returned my laptop to my company on my last day 23rd Dec and I do not own a computer at home but mainly servers which are on command mode so was not able to blog further till today using my Asus Transformer with its keyboard dock to post this.

23rd Dec was also the end of the user trial period and we have to decide whether to return the set or to purchase it at a big discount of $499 instead of the retail of $998.

I was able to do some camera shooting before the end of period.  The pictures taken was pretty impressive.  I love macro shooting and it turn out really well.  I love the smart flash what auto counter the backlight.

Macro shot
Indoor with backlight counter by flash

Taken with Asus Tranformer comparison of 3GS and Galaxy Note

One thing I would like to point out, which I was alarmed is that if you switch off your phone with alarm setup, the phone will not ring the alarm by turning itself on.  Surprisingly this feature was long possible in the old Nokia, Windows Mobile and Symbian phone and I am amazed that Android have this feature not possible!

The quality of the flip cover was not that great, with less than 3 days, the edges of the flip cover has start to peel.  Not sure if the black mark on my groove of my White Galaxy Note was by design, I can see that black mark hidden in the groove.

This mark my review for the week of using the Galaxy Note and in the end I got myself a white Galaxy Note from my telco and happily using it!

Some tips I wasn't aware it exist.  You can catch it from the video here.

Wednesday, December 14, 2011

View 5 Performance, Best practices, Whitepapers, Guides

View 5 has just launched and there are many who are concern on the performance tuning and various enhancements which are not really mentioned.

I will not go into details but rather place some of the good white papers that most of us might be interested in.

Will not be listing those applicable  only to View 4.x but those will apply to View 5.x will be listed and will overwrite those that are updated to View 5.x.

Performance & Best Practice
VMware View 5 Performance and Best Practices
VMware View Backup Best Practices

Validating Adobe Connect Client on VMware® View Desktops
VMware View Optimization Guide for Windows 7
PCoIP Display Protocol: Information and Scenario-Based Network Sizing Guide

How to Optmize the Master Desktop Image for VMware View

vSphere 5 Performance, Best practices, Whitepapers, Guides

vSphere 5 has just launched and there are many who are concern on the performance tuning and various enhancements which are not really mentioned.

I will not go into details but rather place some of the good white papers that most of us might be interested in.

Do note of this WARNING when managing Hybrid environment
ESXi 4.0 U2 not compatible with vCenter Server 5.0 When attempting to manage an ESXi 4.0 Update 2 host with vCenter Server 5.0, a purple diagnostics screen appears. To workaround the issue, upgrade ESXi 4.0 Update 2 hosts to ESXi 4.0 Update 3 or later, prior to upgrading vCenter Server to 5.0. For more information, see the article linked below. Article 2007269

vSphere High Availability Deployment Best Practices
Storage vMotion of a Virtualized SQL Server Database
Best Practices for Performance Tuning of Latency-Sensitive Workloads in vSphere VMs Performance Best Practices for VMware vSphere 5.0
VMware vCenter Update Manager 5.0 Performance and Best Practices
vMotion Architecture, Performance, and Best Practices in VMware vSphere 5
Understanding Memory Management in VMware vSphere 5
Microsoft Exchange 2010 Performance in vSphere 5

Performance of VSA in VMware vSphere 5

Performance Implications of Storage I/O Control–Enabled NFS Datastores in VMware vSphere 5.0
Achieving a Million I/O Operations per Second from a Single VMware vSphere 5.0 Host
VMware vSphere VMFS-5 Upgrade Considerations

VMware vSphere Storage Appliance Technical Whitepaper

vSphere 5 MSCS Setup (was not able to locate this on their website but was given when attending some training)
Host Power Manage in vSphere 5 
Creating a vSphere Update Manager Depot
VMware ESXi 5.0 Operations Guide
Timekeeping in VMware Virtual Machines

Update 3:14 Dec 2011: Added more technical paper links.
Update 2:17 Oct 2011: Added ESXi 4.0U2 issue when managing with vCenter 5.0.
Update 1: More Whitepapers and documents added .

Thursday, December 1, 2011

vCenter 5: Prepare SQL Database

I was trying to find any article or videos or any help of steps or guide when I encounter setting up of the SQL database for vCenter 5.  I was surprise there wasn't much around.  The closest I got was from Jason Boche.

I mean if I were to just assigned DBO to both MSDN and the vCenter DB for the easy way out.  However as security and user rights has become a concern at many customers' requirement.  I tried going through the installation guide to setup database with just enough rights but no DBO.

The bad thing is its a lot of work to do it manually following the guide.  The good news is VMware has provided the script however some work need to be done to customize to your own needs.

Here my setup is on Windows 2008 R2 with SQL Server 2008 R2.

For MSDB, you can assign the DBO directly instead and remove it after installing vCenter and Update Manager.  Yes you hear me.  Do not remove the DBO rights on the vCenter user till you are done with Update Manager.  This is so as Update Manager installation also require access to MSDB.

You can definitely assign dbo to the vCenter database or just the required base on the script.

vSphere Assessment Tool (vSAT)

If you are not aware, there is a new tool announced during VMworld US 2019. That is the vSphere Assessment Tool (vSAT). To access the sit...