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


Note:
To return to the Standard Administration Page to set SMTP, view/collect logs, change admin password, etc.
https:///adminMain.action



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]
GO
CREATE DATABASE [vcd01] ON PRIMARY
(NAME = N'vcd01', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.VMWSQL\MSSQL\DATA\vcd01.mdf', SIZE = 100MB, FILEGROWTH = 10% )
LOG ON
(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
GO

Set database to READ_COMMIT_SNAPSHOT
USE [vcd-01]
GO
ALTER DATABASE [vcd01] SET RECOVERY SIMPLE;  /*OPTIONAL: Recommended. Seek advise from DBA*/
ALTER DATABASE [vcd01] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE [vcd01] SET ALLOW_SNAPSHOT_ISOLATION ON;
EXEC sp_addextendedproperty @name = N'ALLOW_SNAPSHOT_ISOLATION', @value = 'ON';
ALTER DATABASE [vcd01] SET READ_COMMITTED_SNAPSHOT ON WITH NO_WAIT;
EXEC sp_addextendedproperty @name = N'READ_COMMITTED_SNAPSHOT', @value = 'ON';
ALTER DATABASE [vcd01] SET MULTI_USER;
GO


Create DB account, vcdmgr
USE [vcd01]
GO
CREATE LOGIN [vcdmgr] WITH PASSWORD = 'password', DEFAULT_DATABASE =[vcd01],
   DEFAULT_LANGUAGE =[us_english], CHECK_POLICY=OFF
GO
CREATE USER [vcdmgr] for LOGIN [vcdmgr]
GO

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


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.

"/opt/vmware/vcloud-director/jre/bin/"

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 http://www.rabbitmq.com/ 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 http://packages.vmware.com/tools/keys

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

>/opt/vmware/vcloud-director/deploymentPackageCreator/createSysprepPackage.sh 
SysprepBinariesDirectory

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.

Example:
 >/opt/vmware/vcloud-director/deploymentPackageCreator/createSysprepPackage.sh 
/root/Desktop/sysprep/

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.

/opt/vmware/vcloud-director/guestcustomization/windows_deployment_package_sysprep.cab

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.

Yahoo!
INCOMING SERVER SETTINGS
Imap server - imap.mail.yahoo.com
Port - 143
Security type - TLS
IMA path prefix - (leave blank)

OUTGOING SERVER SETTINGS
SMTP Server- smtp.mail.yahoo.com
Port - 587
Security type - None
(check) require sign-in

GMail IMAP
INCOMING SERVER SETTINGS
Imap server - imap.gmail.com
Port - 993
Security type - SSL
IMAP path prefix - (leave blank)

OUTGOING SERVER SETTINGS
SMTP Server- smtp.gmail.com
Port - 465
Security type - SSL
(check) require sign-in

GMail Exchange
Domain\Username: your user name no domain required
Exchange Server: m.google.com
(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

Others
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



Performance
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


Storage
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

VSA
VMware vSphere Storage Appliance Technical Whitepaper

Others
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.

Tuesday, November 22, 2011

View 5: Upgrade MSI package

I was testing out and playing around with ThinApp on my View 5.0.  The great thing about View is you are able to assign ThinApp in their MSI package to the various desktop or pools.

However I was curious how can I perform and upgrade when a new version is out e.g. Firefox 7.0.1 to Firefox 8.0?

I decide to search around and came across this post in VMware Blog.  It not only allow me to understand how to perform an upgrade over the old MSI, it also help explained the MSIProductCode, MSIUpgradeCode and the MSIProductVersion.

The upgrade code is very important especially in my example above.  It will have different MSIProductCode due to the version change however, the MSIUpgradeCode has to be the same in order for View to detect this is an upgrade and to uninstall the previous away when you place a higher version of MSIProductVersion.

As the post in the blog mentioned, you can put MSIProductVersion from 1.0 to 2.0.  You can also do incremental from 1.0 to 1.1 as well which is useful for build level upgrade rather than a version upgrade.


View 5: Deploy Persona Management Overview

Finally I have save this post as a draft for the longest time exactly a month and finally find some time to do this.

Have gone through lots of reading of the deployment of View 5.  It almost similar with View 4.6 except for the Persona Management which I was very keen to try it out.

The View Administration for View 5 is a must read to understand the Personal Management and also the VMware View Persona Management Deployment Guide.

If  you are already using Roaming Profile, you can carry on using it with Persona Management turn on working together leaving the depository stick with what is already configured in your Roaming Profiles.

Persona Management will supercede Roaming Profile if you assign a depository path in the group policy.  Honestly I would like ease of work and administration here and will use everything from Persona Management instead.

When doing sizing, if performance is what you are looking for, even with Persona Management or with Roaming profile, please include the persistent disk for your dedicated desktop pool.  This is so as to use this as a cache disk.



Before I start the video on showing some of persona management is done on View 5.0, I first have to prepare a few things.

  1. Have a file server in this case, sg-fs01 with a shared disk of D: drive of 40GB
  2. I create a folder named "win7\profiles"  and follow the guide from here to set the permission for the folders.
  3. I shared the name of the folder as recommend with a '$' so if anyone were to browse the file server it will be transparent unless the person know the exact path.
  4. Export from View manager the ViewPM.adm found in c:\program files (x86)\VMware\Server\extras\GroupPolicyFiles (Program Files for 32bit windows servers)
  5. Create a OU for your virtual desktop for neatness if possible.  Create a group policy and edit it.
  6. In Group Policy Management Editor, browse to Computer Configuration>Policies>Administrative Templates, right click on it and choose Add/Remove Templates.  Import the ViewPM.adm into it.
  7. You will see Classic Administrative Templates (ADM), under it contain VMware View Agent Configuration>Persona Management.
  8. In Roaming & synchronization, Edit Persona repository location and enter your file server location where the profile will be stored.
  9. For Folder Redirection, you can redirect any of the folder listed.


Monday, November 21, 2011

ThinApp: OptimizeFor

I came across this blog posting on using the variable optimizeFor to be place in which place holder in package.ini.  Is it in [Compression] or is it in [BuildOptions].

From ThinApp 4.6.1 Manual, page 85, as refer to the comments, it clearly stated it can be placed in either place holders.  However the VMware blog itself is stating otherwise that it was an error made and it must be place in [Compression] place holder.  There was no one commenting further.

On the launch of ThinApp 4.7, I refer to the ThinApp 4.7 Package.ini Parameters Package guide, on Page 48, the scenario given this time was place it in [BuildOptions] place holder.

This got me very curious.  Is this a mistake brought over from 4.6.1 to 4.6.2 and to 4.7 on the document or did the this blog make a mistake?

So I decide to run this on thinapp 4.7 and try it out.  The results:
OptimizedFor=Memory for both [Compression] and [BuildOptions] as from the windows path I saved in.
OptimizeFor=Disk


The results?  Its either place holder and it will work!


For those who are not clear on this variable, OptimizeFor=Memory, what it does, it has all the files in uncompressed format for for memory performance on loading which reduce the start up time.


As for OptimizeFor=disk, it is instructing ThinApp to do disk space saving.  In such, less disk space is used which means a compressed format is used and in such performance on memory will not be as good as it will first uncompress before loading it the app increasing the start up time.

Update 1:  It also works on ThinApp 4.6.2

Thursday, November 17, 2011

vStorage API: VADP VAAI

I came across some questions by people who were like me who got confused by the new terms of VADP and VAAI or vStorage API.

What are these?  How are these related.  The letters do not tell you much so I am doing a explanation here.

vStorage API are API also known as application programming interface which are a set of rules or codes given out for any one including vendors or principles to use them and integrate them to produce the function which is provided from the API.

In this case, the API has two components:
  1. Data Protection
  2. Array Integration
Do not get confused these two function different things and are meant for different components.  The only similarities is that they allow the function that the API allows to make use of the storage subsystem to lessen the load on the hosts.

Lets talk about the two.

vStorage API for Data Protection (VADP)
In layman terms. This is the API mainly used by backup principles to integrate this function into their software to provide seamless backup of VMs via LAN free which is similar to VMware Consolidate Backup (VCB).  However VCB has end its product line at 1.5 Update 2 and we are encourage to use whatever is provided from backup vendors.

With the VADP, backup software is able to offload the load created by backup of VMs and handle it by the storage subsystem.  This not only allows the host to be able to run its normal task and not affect its performance but also perform backup making use of VMware snapshot without the use of any agent installed in the VM.  This require of cause the storage to support this feature.

The advantage of VADP versus VCB is that you do not have to install VCB on a separate machine and also there is no need of complicate setup and configuration to get VCB to work with your backup software.

A more detail explanation can be found in VMware KB on VADP.

vStorage API for Array Integration (VAAI)
This was explained previously in my post earlier.  Basicallyin short and layman terms, this allows storage vendors to integrate and enable their storage to handle the load whenever a storage related function is activated.

VMware KB also have some very detailed explanation of VAAI.

Wednesday, November 16, 2011

vSphere: iSCSI Multipath

Once again, I have just learned about iSCSI Multipathing and tested it out in my home lab using a openfiler as my iSCSI virtual SAN and with nested ESX 4.1 and ESXi 5.0.

Reason why I taken such a combination of different Hypervisor is to show how this can be done.  In vSphere 5, where ESXi 5.0, there is a GUI to perform the MPIO binding unlike in vSphere 4.x, this has to be done via the command line.  Even changing the MTU value has been made easy in vSphere 5.

You can also do a load balance by changing the path selection to round robin.

vSphere 5


vSphere 4

Update: After setting up the mutipath, reboot the esx host and the path would be shown correct.

iSCSI binding Commands
Changing a vSwitch with MTU 9000 (Optional)
>esxcfg-vswitch -m 9000 vSwitch0

Add a vmknic to a port group with MTU 9000
>esxcfg-vmknic -a -i 172.16.200.91 -n 255.255.255.0 -m 9000 "Port Group"
Where port group is the name of the port group. 

To view your vmknics for iSCSI 
>esxcfg-vmknics -l

My iSCSI adapter is vmhba33.  My vmknic are 1 and 2.
To bind the respective vmknic to adaptor 
>esxcli swiscsi nic add -n vmk1 -d vmhba33

>esxcli swiscsi nic add -n vmk2 -d vmhba33

 
To remove the vmknics, make sure the iSCSI is disabled and not datastore are connected.
To ensure a reboot is recommended.
>esxcli swiscsi nic remove -n vmk1 -d vmhba33
>esxcli swiscsi nic remove -n vmk2 -d vmhba33 

To see the vmknics associated with your adapter 
>esxcli swiscsi nic list -d vmhba35


References:
Changing MTU for vSwitch and vmk
http://www.gavinadams.org/blog/2010/07/19/esxi-41-and-the-9000-byte-mtu-on-vmk0/
vSphere 4.x
http://virtualgeek.typepad.com/virtual_geek/2009/09/a-multivendor-post-on-using-iscsi-with-vmware-vsphere.html
http://www.yellow-bricks.com/2009/03/18/iscsi-multipathing-with-esxcliexploring-the-next-version-of-esx/
http://yourmacguy.wordpress.com/2009/11/09/vsphere-iscsi-multipathing/

vSphere 5
http://blogs.vmware.com/vsphere/2011/08/vsphere-50-storage-features-part-12-iscsi-multipathing-enhancements.html

vExpert Pro What is it?

Something new just starts out from VMware Palo Alto. There is a new twitter handler, VMware vExpert Pro . It just posted something a few ...