Archive for July, 2010


This script will mount user share from a Samba . It run on system startup ..Take the username and run a specific VB Script from a PC and mount the required share . Put the first script on system startup
======================================================================================================
@echo off
for /f “tokens=3 delims=\” %%i in (“%USERPROFILE%”) do (set user=%%i) 2>&1
echo “logged in user:%user%”
set var=%user%

net use U: \\10.80.0.38\NetScripts wizard /user:opennms
copy U:\”%var%”.vbs c:\
cd C:\
“%var%”.vbs
del C:\”%var%”.vbs
net use U: /d
======================================================================================================

Then put this VBS script on the other network PC .According to this example I have put this vb script as mohammada.VBS ON 10.80.0.38 on share NetScripts.

======================================================================================================
‘ ########################################################################
‘ Written in VBScript.
‘ Establishes map drives.
‘ Assign to OU Group Policy under USER CONFIG, WINDOWS SETTINGS, SCRIPTS, LOGON SCRIPT.

‘ This script will:
‘ (1) check if the drive is already connected and, if so, disconnect it.
‘ (2) map the drive.

‘ Arguments are as follows:
‘ MAPIT DRIVE-LETTER as string, PATH as string, USER as string, PASSWORD as string
‘ (1) Do not specify colon in drive letter.
‘ (2) Do not end path with a forward slash.
‘ (3) If user and password are not required to establish map, then specify a zero-length string as follows: “”

‘ Reference Microsoft info at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthmapnetworkdrive.asp
‘ ########################################################################

‘ Create the Shell or environment for the commands:
Set WshShell = WScript.CreateObject(“WScript.Shell”)
‘ Define objects:
Set WshNetwork = WScript.CreateObject(“WScript.Network”)
Set oDrives = WshNetwork.EnumNetworkDrives()

‘ ====================================
‘ DEFINE WHO TO CONTACT for pop-up messages:
‘ ====================================
strContactMessage = “If you require assistance, please contact IT Support.”

‘ ==================
‘ DEFINE DRIVES TO MAP:
‘ ==================
Mapit “F”, “\\10.80.0.2\Fshared”, “administrator”, “password”
Mapit “B”, “\\10.80.0.3\BBoat”, “administrator”, “password”
Mapit “X”, “\\10.80.0.1\Shared”, “mohammada”, “password”
Mapit “R”, “\\10.80.0.1\it_tech”, “mohammada”, “password”
Mapit “Z”, “\\10.80.0.1\Common”, “mohammada”, “password”
Mapit “H”, “\\10.80.0.1\MohammadA”, “mohammada”, “password”

‘ ========
‘ CLEAN UP:
‘ ========
Set WshShell = Nothing
Set WshNetwork = Nothing
Set oDrives = Nothing

‘ ##################################
‘ DO NOT MODIFY ANYTHING BELOW THIS POINT…
‘ unless you are familiar with the proper settings.
‘ ##################################
Sub Mapit(strLetter, strPath, strUser, strPass)

‘ Define the DriveLetter:
DriveLetter = strLetter & “:”

‘ Define the remote path:
RemotePath = strPath

‘ Pop-up Notices (set to False to disable notices, otherwise set to True):
bPopReminder = True

‘ Define known errors to trap:
Dim arrErrCode(1)
Dim arrErrDesc(1)
arrErrCode(0) = -2147023694
arrErrCode(1) = -2147024811
arrErrDesc(0) = “Unable to map drive ” & DriveLetter & ” to ” & RemotePath _
& ” due to a previously defined remembered map with the same letter.” _
& vbCrLf & vbCrLf & “Please MANUALLY disconnect map drive ” & DriveLetter _
& “, then Log Out and Log back in.”
arrErrDesc(1) = “Unable to map drive ” & DriveLetter & ” to ” & RemotePath _
& ” since ” & DriveLetter & “: was previously reserved by your computer.” _
& vbCrLf & vbCrLf & “(Refer to Management, Shared Folders, Shares)”

‘ Define whether the map information should be removed from the current user’s profile:
bForceRemoveFromProfile = True
bRemoveFromProfile = True

‘ Define whether the map information should be stored in the current user’s profile:
bStoreInProfile = False

‘ Check if already connected:
AlreadyConnected = False
For i = 0 To oDrives.Count – 1 Step 2
If LCase(oDrives.Item(i)) = LCase(DriveLetter) Then AlreadyConnected = True
Next

‘ Attempt to map the drive. If already mapped, first attempt disconnect:
If AlreadyConnected = True then
WshNetwork.RemoveNetworkDrive DriveLetter, bForceRemoveFromProfile, bRemoveFromProfile
If Not strUser = “” Then
WshNetwork.MapNetworkDrive DriveLetter, RemotePath, bStoreInProfile, strUser, strPass
Else
WshNetwork.MapNetworkDrive DriveLetter, RemotePath, bStoreInProfile
End If
‘ If bPopReminder Then WshShell.PopUp “Drive ” & DriveLetter & ” disconnected, then connected successfully to ” & RemotePath
Else
On Error Resume Next
If Not strUser = “” Then
WshNetwork.MapNetworkDrive DriveLetter, RemotePath, bStoreInProfile, strUser, strPass
Else
WshNetwork.MapNetworkDrive DriveLetter, RemotePath, bStoreInProfile
End If
If Err.Number 0 Then
bKnownError = False
For I = LBound(arrErrCode) To UBound(arrErrCode)
If Err.Number = arrErrCode(I) Then
bKnownError = True
strPopMessage = arrErrDesc(I)
‘ Display the Disconnect Network Drives window:
If Err.Number = arrErrCode(0) Then
Set objWSH = Wscript.CreateObject(“WScript.Shell”)
objWSH.Run “rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL Disconnect”, 1, true
End If
Exit For
End If
Next
If Not bKnownError Then
strPopMessage = “Unable to map drive ” & DriveLetter & ” to ” & RemotePath _
& ” due to reason stated below.”
End If
‘ Display warning message:
strPopMessage = “WARNING!! WARNING!! WARNING!! WARNING!!” _
& vbCrLf & vbCrLf & strPopMessage _
& vbCrLf & vbCrLf & Err.Description & ” (error ” & Err.Number & “)” _
& vbCrLf & vbCrLf & strContactMessage
WshShell.PopUp strPopMessage
Else
‘ If bPopReminder Then WshShell.PopUp “Drive ” & DriveLetter & ” connected successfully to ” & RemotePath
End If
End If

wscript.sleep 200
End Sub
======================================================================================================


This script will monitor and count file number in a givven folder . If that count reach the thresold level of 15,
It will popup a message on screen and send an email to specifil email account .For sending email you need to install “bmail” program
for windows and put bmail.exe in c:\
=============================================================================================
@echo off
set _Count=0
for /F “tokens=1,2 delims= ” %%i in (‘dir F:\labvalapp\comms\solar2labval’) do if (%%j)==(File(s)) set _Count=%%i
if (%_Count%)==() goto EXIT
if %_Count% LEQ 15 goto EXIT
echo “Please Check……there is some problem in Auto Validation in MINOS”
cd c:\
bmail -s 10.80.0.50 -t root@gorgon.au.specsavers.com -f monitor@au.specsavers.com -b ” Please check Auto Validation” -a ” Problem in Minos Auto Validation”
pause
:EXIT
set _Count=
=============================================================================================


Adding a new disk to a Linux

Senario:

I am using a Vmware Virtual Box and just added a new HDD on that . I am not going through how I have done it . You can check this post for reference on that . Assuming the HDD is added and now go through the following.

[root@aurhel05 ~]# fdisk /dev/sdb

The number of cylinders for this disk is set to 3916.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Command action
e   extended
p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-3916, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-3916, default 3916):
Using default value 3916

Command (m for help): p

Disk /dev/sdb: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        3916    31455238+  83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@aurhel05 ~]# fdisk -l

Disk /dev/sda: 32.2 GB, 32259548160 bytes
255 heads, 63 sectors/track, 3922 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         131     1052226   83  Linux
/dev/sda2             132         784     5245222+  83  Linux
/dev/sda3             785        1437     5245222+  83  Linux
/dev/sda4            1438        3918    19928632+   5  Extended
/dev/sda5            1438        1698     2096451   83  Linux
/dev/sda6            1699        1959     2096451   82  Linux swap / Solaris
/dev/sda7            1960        2220     2096451   82  Linux swap / Solaris
/dev/sda8            2221        2481     2096451   83  Linux
/dev/sda9            2482        2612     1052226   83  Linux
/dev/sda10           2613        3918    10490413+  83  Linux

Disk /dev/sdb: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        3916    31455238+  83  Linux

[root@aurhel05 ~]# mkfs.ext3 /dev/sdb1

mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3932160 inodes, 7863809 blocks
393190 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
240 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[root@aurhel05 ~]# mkdir /u02

[root@aurhel05 ~]# mount /dev/sdb1 /u02

[root@aurhel05 ~]# mkdir /u02

[root@aurhel05 ~]# mount /dev/sdb1 /u02

[root@aurhel05 ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda9            1020M  632M  337M  66% /
/dev/sda10             10G  5.1G  4.4G  54% /u01
/dev/sda8             2.0G   36M  1.9G   2% /tmp
/dev/sda5             2.0G  161M  1.8G   9% /home
/dev/sda3             5.0G  5.0G     0 100% /var
/dev/sda2             5.0G  2.4G  2.4G  50% /usr
/dev/sda1            1020M   42M  927M   5% /boot
tmpfs                  12G     0   12G   0% /dev/shm
/dev/sdb1              30G  173M   28G   1% /u02

[root@aurhel05 ~]# vi /etc/fstab

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/u01              /u01                    ext3    defaults        1 2
LABEL=/u02              /dev/sdb1                    ext3    defaults        1 2
LABEL=/tmp              /tmp                    ext3    defaults        1 2
LABEL=/home             /home                   ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults        1 2
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda6         swap                    swap    defaults        0 0
LABEL=SWAP-sda7         swap                    swap    defaults        0 0

Save and exit . This will mount that pertition automatically after next reboot.


Problem :

I added one of no use syntax in /etc/fstab and  after reboot to single mode and then use vi to edit /etc/fstab that display this file
is read-only mode, so I cannot edit it ….. now I cannot go back to  normal boot up.

Solution :

In Single user mode type the following ,

mount -o remount,rw /

Then vi /etc/fstab and then you will be able to amend the file again .


Moving the swap file to an alternate datastore is a useful troubleshooting step if the virtual machine or guest operating system is experiencing failures, including STOP errors, read only filesystems, and severe performance degradation issues during periods of high I/O. However, identifying and resolving the underlying overcommit or storage performance issues is still recommended to ensure environment stability.
This can also be used to store the virtual machine swap files in an alternate non-replicated datastore when using LUN snapshot technologies to ensure that you are storing the swap files in a location that is not being replicated.

ESX 3.5 and ESX 4.0

To edit the virtual machine swap file location in ESX 3.5 and ESX 4.0:

  1. Connect directly to your ESX Server host or to your VirtualCenter server using the VI Client.
  2. Click the Configuration tab for the ESX Server host.
  3. Click Virtual Machine Swapfile Location and click Edit.
  4. Specify the datastore where you want the virtual machine swap files stored.
  5. After restarting your virtual machines, ensure the swap file is located on the specified host datastore.

ESX 3.0

Add the following line to your virtual machine’s configuration (VMX) file to store the swap on a VMFS3 volume:
sched.swap.dir= “/vmfs/volumes/<volume_name>/<dir_name>”
Where <volume_name> is a VMFS3 volume
To change the swap file location:
  1. Connect to VirtualCenter or directly to your ESX Server host using the Virtual Infrastructure Client (VI Client).
  2. Select either a virtual machine or a virtual machine template that you want to modify.
  3. Stop the virtual machine if it is running.
  4. Connect to the ESX console using SSH or service console connection.
  5. Change directory to the path of the .vmx file you want to edit.
    Note: Use the ‘vmware-cmd –l’ command to find the path to the configuration file. For more information on the vmware-cmd command, see the
    VMware Scripting API .
  6. Open the configuration file and add the line sched.swap.dir= “/vmfs/volumes/<volume_name>/<dir_name>”.
  7. Delete the line sched.swap.derivedName = xxx.
  8. Restart the virtual machine if it’s not a template.
  9. Repeat as necessary for each existing virtual machine
Advantage :
Faster VM Booting, Better VM Performace, Faster vMotioning and DRS, Faster VM evacuation when ESX host is entering maintenance mode
Ref : kb.vmware.com

Error :

Today was trying to do a V2V convertion with Vmware VConverter standalone edition . I have done that 100’s of time but today it stopped in the state of “Retrieving Source machine Information ” While checking on the converter server agent log , it was basically stopped in “uname -m” State . Whith some time spending with error log and vmware community site I have came up with the following  solution and it worked for me .Thought,  I need to share this with you.

Solution :

Log Location : /var/log/vmware-vcenter-converter-standalone

Symptoms

  • Converter Standalone stops responding for 10 minutes while displaying Retrieving source machine information.
  • Converter Standalone displays the following error message when you click Next on the Specify Source page: Unable to query the live Linux source machine.

Purpose

This article describes the process of troubleshooting an issue where you might be unable to perform a P2V conversion of a powered-on Linux source machine. You can follow the given steps to eliminate a specific cause for your problem by verifying that your login environment does not include an incompatible command.

Resolution

You must perform both troubleshooting steps listed below. Each step provides instructions or a link to a document, in order to eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution.

If you perform a corrective action in any of the following steps, attempt converting the Linux source operating system again.

  1. Verify that the Linux source operating system is accepting ssh traffic and that the user name and password used in Converter are correct and result in a functional shell prompt.
    1. From the Linux source operating system, open a shell prompt, type ssh localhost, and press Enter. Log in using the same user name and password used in the Conversion wizard.
      If this does not result in a successful login, correct the problem.

      Note
      : For more information on opening a shell prompt, see Opening a command or shell prompt (1003892).
    2. From the computer running Converter, open a command prompt, run telnet xxxx nn, where xxxx is replaced by the host name or IP address of the Linux source operating system and nn is replaced by the port being used for SSH.
      If this does not result in information being displayed, a firewall might be preventing the computer running Converter Standalone from connecting to the Linux source operating system. Correct this problem.
  2. Confirm that the .bashrc file of the user name being used for authentication does not contain an echo command.

    If authenticating as root, use a text editor to edit /root/.bashrc. If authenticating as a different user, use a text editor to edit /home/user name/.bashrc, where user name is replaced by the user name being used for authentication.

    If a line in the file begins with echo, either delete it or change it to #echo.   <<<—– This was my Problem 🙂

3.   Ensure that the /tmp directory on the source machine is writable. If it is not, then the Converter agent will not be able to write to it and it will fail.

Ref :

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009153


“Why has a vSphere VM max mem 255GB? VMFS block size of 1MB = 256GB max – 0.4MB VM state = 255.6MB rounded down to 255GB – from Ole@VMware”


In other words, the maximum memory size for a vSphere VM is 255 GB. This is the maximum memory size because a swap file needs to be created as well. This swap file cannot exceed the maximum file size of a 1MB blocksized VMFS volume. Max file size = 256GB – VM state(roughly 400MB)=255.6GB. For safety this has been rounded down to 255GB. Which at first sounds like a weird amount but actually makes sense when you read the explanation.


Was trying to install Brage the open source CM(Change Management) today and found this nice post . All credit goes to “Jared Heinrichs”

Only Thing I want to add ” Please dont Forget to Apply the Fixes after Install ” I was basically not able to log in for the forst time without applying the Fixes. Download it from here and Read the Readme File for How to . It is very straing forward.

Download Brage v0.1.0-RC1-Fixes

Disclaimer
I am not going to go into how to secure your web server. This tutorial is going to be used for demonstrating how to get a Brage CM up and running. When ever there is a password I am going to use “password” as the password. I do this to make things easy. If you want to change things after the fact I highly recommend it!

Things to download
You are going to need to download these items:

  1. Download XAMPP
  2. Download Brage v0.1.0-RC1
  3. Download Brage v0.1.0-RC1-Fixes
  4. Download Adodb
  5. *Optional* Download 7-Zip

*Note * You are going to need to make sure you have a program like 7-zip in order to expand the Brage files.
Let’s install Brage CM
Step 1 – Install XAMPP
This process is a simple Next, Next, Next installer. Anyone familiar to Windows should have no issues with this. If you are running Vista or Windows 7 you will most likely want to install XAMPP to “C:\Users\User\xampp” directory instead of the default “C:\xampp” location. If you have the UAC on it will not let you install to the root of “C:” The rest of the tutorial I will assume you installed XAMPP to “C:\xampp
Step 2 – Copy the Brage files
Copy the brage files to: “C:\xampp\htdocs\brage”. Once that is done you will also need to copy the contents of the “Fixes” to the same directory. When Windows asks to overwrite any file just say “Yes to all”.
Step 3 – Copy the Adodb files
You must copy the contents of Adodb file to: “C:\XAMPP\Adodb”. You will need to create the “Adodb” directory.
Step 4 – Install Pear extensions
XAMPP is pretty good at installing the most common PEAR extensions so I’ve never had to install them before. To install the needed extensions you must open a command prompt and make your way to the “C:\xampp\php” folder. You will need to type these commands in order to get everything all up and running:

  1. pear upgrade HTML_QuickForm – this will upgrade “HTML_QuickForm” & “HTML_Common”
  2. pear install HTML_QuickForm_Advmultiselect

Here’s the output from my command prompt

image

Step 6 – Edit “config.php”
You are going to need to create and edit Brage’s “config.php”. Go to “C:\xampp\htdocs\brage\include” and make a copy of “config.php.sample” and call it “config.php”. This file is the main config file for Brage.


** NOTE ** I have create a seperate post called “What the brage config file should look like”. If you copy it’s contents put it into “C:\xampp\htdocs\brage\include\config.php” you will not have to change anything!


For the rest of you that like to follow along and understand what to do here’s what I did:

Line 28 – Changed it to:

$conf['adodb'] = 'C:/xampp/Adodb/adodb.inc.php';

Line 45 – Changed it to:

$conf['smarty_path'] = 'C:/xampp/htdocs/brage/include/classes/Smarty/libs/';

Line 50 – Change it to:

$conf['smarty_templates_dir'] = 'C:/xampp/htdocs/brage/templates/';

Line 56 – Change it to:

$conf['smarty_compile_dir'] = 'C:/xampp/htdocs/brage/templates_c';

Line 61 – Change it to:

$conf['smarty_cache'] = 'C:/xampp/htdocs/brage/include/classes/Smarty/tmp/';

Line 65 – Change it to:

$conf['phpmailer_path'] = 'C:/xampp/htdocs/brage/include/classes/phpmailer/';

Line 71 – Change it to:

$conf['baseurl'] = 'http://localhost/brage/';

Lines 112-117 – Change it to:

$conf['dbtype'] = 'mysql';      # mysql, postgres, oracle etc..
$conf['dbhost'] = 'localhost';  # Hostname/IP of database server
$conf['dbname'] = 'brage';      # Database name
$conf['dbuser'] = 'brage';      # Database user
$conf['dbpass'] = 'password';   # Database password
$conf['dbport'] = '3306';       # Database port

Lines 151 – Change it to:

$conf['attachment_path'] = 'C:/xampp/htdocs/brage/attachments';


Step 7 – Create Folders
The last step we made the config file link to folder that didn’t exist yet. You must make sure that these folders exist.

  1. “C:\xampp\htdocs\brage\include\classes\Smarty\tmp”

Step 8 – Make a MySQL User and Database
There are several steps that you are going to need to do:

  1. Open a browser and go to: http://localhost/phpmyadmin/.
  2. Click on the “privileges” tab.
  3. Click “Add a new User” link.
  4. Fill Out the form like so and hit go:Add new Brage
  5. You should see something like this saying you are successful.image
  6. You are going to need to import some items into the database to get Brage to work. Click on the “brage” database on the left hand side.
  7. Click on the “Import” tab at the top of the screen.
  8. Click Browse and select the file “C:\xampp\htdocs\brage\docs\brage.mysql”.
  9. Click “Go” button.
  10. You will see a confirmation that everything went well. Also on the left hand side there should be quite a few items now listed.image

Step 9 – Login to the Brage Program
Go to http://localhost/brage/ and you will see something like this:

image

Following the documenation it says that the default user info is:

  • User = “admin”
  • password = “dolphin”

You should now be able to login to your software!
** UPDATE **
You will need to download admin_user.php so that you can create new users. You must save this file to: “C:\xampp\htdocs\brage”. The original file had a bug in it.

Ref : http://jaredheinrichs.com

VCP4 Exam Blueprint Study Notes

Posted: July 7, 2010 in VMware

Section 1 – Plan, Install and Upgrade VMware ESX/ESXi

Objective 1.1 — Install VMware ESX/ESXi on local storage Knowledge

Tools

Objective 1.2 – Upgrade VMware ESX/ESXi Knowledge

Tools

Objective 1.3 – Secure VMware ESX/ESXi Knowledge

Tools

Objective 1.4 – Install VMware ESX/ESXi on SAN Storage Knowledge

Tools

Objective 1.5 – Identify vSphere Architecture and Solutions Knowledge

Tools

Section 2 – Configure ESX/ESXi Networking Objective 2.1 – Configure Virtual Switches Knowledge

Tools

Objective 2.2 – Configure vNetwork Distributed Switches Knowledge

Tools

Objective 2.3 – Configure VMware ESX/ESXi Management Network Knowledge

Tools

Section 3 – Configure ESX/ESXi Storage Objective 3.1 – Configure FC SAN Storage Knowledge

Tools

Objective 3.2 – Configure iSCSI SAN Storage Knowledge

Tools

Objective 3.3 – Configure NFS Datastores Knowledge

Tools

Objective 3.4 – Configure and Manage VMFS Datastores Knowledge

Tools

Section 4 – Install and Configure vCenter Server Objective 4.1 – Install vCenter Server Knowledge

Tools

Objective 4.2 – Manage vSphere Client plug-ins Knowledge

Tools

Objective 4.3 – Configure vCenter Server Knowledge

Tools

Objective 4.4 – Configure Access Control Knowledge

Tools

Section 5 – Deploy and Manage Virtual Machines and vApps Objective 5.1 – Create and Deploy Virtual Machines Knowledge

Tools

Objective 5.2 – Manage Virtual Machines Knowledge

Tools

Objective 5.3 – Deploy vApps Knowledge

Tools

Section 6 – Manage Compliance Objective 6.1 – Install, Configure and Manage VMware vCenter Update Manager Knowledge

Tools

Objective 6.2 – Establish and Apply ESX Host Profiles Knowledge

Tools

Section 7 – Establish Service Levels Objective 7.1 – Create and Configure VMware Clusters Knowledge

Tools

Objective 7.2 – Enable a Fault Tolerant Virtual Machine Knowledge

Tools

Objective 7.3 – Create and Configure Resource Pools Knowledge

Tools

Objective 7.4 – Migrate Virtual Machines Knowledge

Tools

Objective 7.5 – Backup and Restore Virtual Machines Knowledge

Tools

Section 8 – Perform Basic Troubleshooting and Alarm Management Objective 8.1 – Perform Basic Troubleshooting for ESX/ESXi Hosts Knowledge

Tools

Objective 8.2 – Perform Basic Troubleshooting for VMware FT and Third-Party Clusters Knowledge

Tools

Objective 8.3 – Perform Basic Troubleshooting for Networking Knowledge

Tools

Objective 8.4 – Perform Basic Troubleshooting for Storage Knowledge

  • Identify storage contention issues
  • Identify storage over-commitment issues
  • Identify storage connectivity issues
  • Identify iSCSI software initiator configuration issues
  • Interpret Storage Reports and Storage Maps

Tools

Objective 8.5 – Perform Basic Troubleshooting for HA/DRS and VMotion Knowledge

  • Explain the requirements of HA/DRS and VMotion
  • Verify VMotion functionality
  • Verify DNS settings
  • Verify the service console network functionality
  • Interpret the DRS Resource Distribution Graph and Target/Current Host Load Deviation
  • Troubleshoot VMotion using topology maps
  • Troubleshoot HA capacity issues
  • Troubleshoot HA redundancy issues

Tools

Objective 8.6 – Create and Respond to vCenter Connectivity Alarms Knowledge

Tools

Objective 8.7 – Create and Respond to vCenter Utilization Alarms Knowledge

Tools

Objective 8.8 – Monitor vSphere ESX/ESXi and Virtual Machine Performance Knowledge

Tools

Thanks, Credits and Source to Simon Long


After some problems with my ESX 4.0 host I want to move some critical VM’s to my ESX 3.5 u4 host.. but my upgraded hardware level (7) is not compatible with my ESX 3.5 u5 host. The following is a step-by-step guide on how to perform this downgrade:

I want to downgrade my Windows 2008 64-bit with XenApp 6 with hardware level 7 to hardware level 4.

image

Time to downgrade:

Download and start: VMware vCenter Converter Standalone 4.0.1

VMpros.nl

– Click: Convert Machine

image

– 1.Specify Source: Select: “VMware Infrastructure Virtual Machine” and specify connection information. In my case: I connect directly to my vCenter for converting the VM

image

1. Specify Source: Select the VM you want to migrate (downgrade), in my case VM: VMPROS_XENAPP6

image

2. Specify Destination: You can connect the remote ESX host or vCenter. In my case (for this blogpost) I’ll migrate to the same vCenter and the same ESX 4 host

image

2. Specify Destination Host/Resouce: Now you need to choose the correct Virtual Machine Version (hardware level), select Version 4 and specify a new Virtual Machine Name: VMPROS_XENAPP_HW_4. Select also the new destination by clicking the dropdown box “Datastore”

image

image

3. View/Edit Options: You can edit the VM settings before you migrate the host with the new hardware level. I won’t change anything so click next

image

4. Ready to Complete: Check Check double Check > Finish

image

Busy with migration, time remaining 50 (Microsoft) minutes

image

Finished in 13 minutes, transfer rate: 16.7 MB/sec on local storage

image

Final result is VM Version 4

Ref : http://blog.vmpros.nl