ESX4 backup using Backup Exec 12.5

After struggling with this error “e0009558 – Cannot find the VMware Converter. Please install the VMware Converter. For additional information regarding this error refer to link V-79-57344-38232

This while version “VMware-converter-4.0.0-146302″ is up and running on vcb proxy server and backupexec server. After searching a lot of google options I found the solution.

It seems that the only working Vmware Converter version is VMware-converter-3.0.2u1-62456.exe.

So I uninstalled the new version 4, and installed the old version 3.0.2 and well believe it or not its running.

Posted in Esx4, VMWare at February 9th, 2010. No Comments.

ForeFront Server and Client.

Forefront is based on 32bits platform, so keeping that in mind. I’m using Windows2008 Datacenter (x86) as OS. Disk space about 60 GB. Activated the following “Roles and Features”:

Roles: Application server, Webserver(Application server foundation,web server support also IIS6)

Features: .Net Framework 3.0 Features, Group Policy Management,Remote server Administration Tools, Windows Proces Activation Service.

Apply al windows updates.

After that you have to install SQL2005 including reporting and integration services. Installed SQL2005 SP3 and again all Windows updates.

Then another pre-requirement .Net Framework 1.1 and SP1. And again install your windows updates and reboot your machine. If you take a look within the IIS manager Handler Mappings you will discover the ASPNET 1.1 entry’s

image

Create your “DAS” account on your Active Directory and make local admin on your ForeFront Server.

Mount your iso image or play the CD/DVD “en_forefront_client_security_x86_x64_cd_x13-62435.iso”

And start the install. Give al the information during installation and wait a moment.

If run into a error as “System.Runtime.InteropServices.COMException (0×80080005)” this is mostly a timing issue use the “back button and click next”.  yep it sounds bad but it’s an official workaround.

Other issues can be found http://technet.microsoft.com

And on the end.

image

Run windows update again! Your ready.

For manual deployment you can use Forefront Client Security Deployment Tool

The Security setting may not correct by the initial setup http://technet.microsoft.com

Posted in ForeFront, Windows Server 2008 at January 28th, 2010. No Comments.

Web access in ESX4 (vSphere)

After a default installation you will probably receive a 503 Error.

Check if the service is running “service vmware-webAccess status”
If not “service vmware-webAccess start“.
To start it automatic after a reboot “chkconfig –level 345 vmware-webAccess on

Posted in Esx4, VMWare at December 9th, 2009. No Comments.

MetaLun EMC SAN and ESX 4 (vSphere)

 imageExpand the CLARiiON LUN on the ClaRiiON  storage system to the desired LUN size, issue a rescan at the ESX level. Sometimes you have to rescan again before your metalun will be shown.(I have to find out why) Your old disk will disappear from storage adapter view and the new metalun wil be shown.

 

 

Switch over to the Storage view:

image

Right click your storage disk what needs to be increased. Select properties…

 

 

Hit the Increase button:

image

Select the volume you need:

image

And finish:

Now you have to expand your disk within the properties of the VM.

image  

The Last step go on the the console of your VM do a rescan of your disks and extend your disk on OS level.

Posted in Esx4, Esxi4, SAN, VMWare at December 8th, 2009. No Comments.

Using a Qlogic QLE220 HBA with ESX 4

After installing ESX4, we see that the HBA is not recognized.

Put the server in maintenance mode.

To get it working you have to modify your qla2xxx.xml file. So login to your ESX4 server using putty and change to /etc/vmware/pciid the mentioned file will be there.

copy this part

<device id=”5432″>
  <vmware label=”fc”>
    <driver>qla2xxx</driver>
  </vmware>
  <name>QLE220</name>
  <table file=”pcitable” module=”ignore” />
  <table file=”pcitable.Linux” module=”qla2xxx” />
</device>

into your qla2xxx.xml file and save it.

Now we have to run a utility that will update some files.
Run the following command esxcfg-pciid

reboot your server. And exit maintenance mode.

Posted in Esx4, SAN, VMWare at November 19th, 2009. No Comments.

Update ESX4 using the commandline.

Just starting to update a esx4 server using the commandline. I downloaded from VMWare the update I needed.

Started putty and did a copy of the downloaded zip file to the local storage.

Then run:
esxupdate check –bundle ESX400-200906001.zip
esxupdate update –bundle ESX400-200906001.zip

Posted in Uncategorized, VMWare at November 19th, 2009. No Comments.

Enable ssh on Esxi4

1. Press ALT-F1 to access the main console.
2. Type the word: unsupported.

You will get the nice message:

You have activated Tech Support Mode.
The time and date of this activation have been sent to the system logs.
Tech Support Mode is not supported unless used in consultation with VMware Tech Support.
VMware offers supported, powerful system administration tools. Please see www.vmware.com/go/sysadmintools for details.
Tech Support Mode may be disabled by an administrative user. Disabling requires a reboot of the system. Please consult the ESXi Configuration Guide for additional important information.

3. Enter the root password when prompted
4. Then type: vi /etc/inetd.conf
5. Scroll down the list until you find the line that begins with #SSH (for IPv4 not IPv6)
6. Delete the # sign directly proceeding SSH
7. Press ESC
8. Type: :wq! to save and exit.
9. Reboot the server.
10. SSH Root should be enabled now.

Posted in Esxi4 at October 23rd, 2009. No Comments.

Setting up Windows Deployment Services – Injecting drivers into Windows 7 and WIndows 2008R2

The final part about this item.

First of all we need the "Windows® Automated Installation Kit (AIK) for Windows® 7" after installing the Kit I added the directory "C:\Program Files\Windows AIK\Tools\Servicing" to the system variables path variable. Before we are to inject some stuff. We have to export a image, so right click on your image and choose "Export Image". I’m going to place it on c:\wimedit. After doing that you have to create a folder where you are going to mount the image. In my case C:\mounted.

A wim file can contain several images, to find the index number you need. use the following command:

dism.exe /Get-WimInfo  /wimfile:"c:\wimedit\install.wim".

In my case only 1 Index is available so that’s easy.

Now we can mount the image using the next command:

dism.exe /mount-wim /wimfile:"c:\wimedit\install.wim"  /index:1 /mountdir:"C:\mounted".

This will consume some time. After a while you will see a filled directory "c:\mounted".

image

Now we can start injecting the drivers.

For that we need the following command:

dism.exe /image:"c:\mounted" /add-driver /driver:"C:\new-drivers-wds\laptop Integrated Webcam\oem1.inf"  or  dism.exe /image:"c:\mounted" /add-driver /driver:"C:\new-drivers-wds\laptop Integrated Webcam” /recurse.

If you have unsigned drivers or you receive “Error 50 The request is not supported” than you may use the "/forceunsigned" switch at the end.

image

Committing and unmount the image.

For that we need the following command:

dism.exe /unmount-wim /Mountdir:"C:\mounted" /commit

After a while you will see.

image

In our folder "c:\wimedit" you will find the updated "wim" file ready for upload or replace the original.

Well that’s it for know.

Posted in WDS, Windows Server 2008, Windows7 at October 2nd, 2009. No Comments.

Setting up Windows Deployment Services – Capture a Windows 7 Image

Well guys it took me a lot of time (and google sessions) to solve this issue.

Having installed the Windows 7 OS and installed the complete office surrounding including additional software. After all this work started windows update so the machine is updated to the latest versions. So far so good. mmmmm now the trouble started. Starting the sysprep “Windows could not finish configuring the system error after sysprep /generalize“. Used some workarounds found on the “net” but no one gives a permanent working solution.

So we have to investigate this to get it working:

First of all I started to disable a nasty windows service (you can always enable it after deploying) The service is called (Windows Media Player Network Sharing Service) and cause sysprep to fail.

I started over again, now it seems to be running. The system is shutting down. After powering on again to see it working I received

Windows could not finish configuring the system. To attempt to resume configuration restart computer”

errorwin7

Ye restart and restart and restart it will never finish.

So I have to rollback my image again, and start digging again. After reading some google results I came on Dave Stork’s article. That saved me a lot of time.

So the final way to go:

  1. Use a third party tool to format your disk.
  2. Install Windows 7 do NOT create the additional partion from 100 Mb.
  3. Install all your software, and Installed al the updates.
  4. Disable the windows service called Windows Media Player Network Sharing Service.
  5. Reboot your system.
  6. Open a elevated Dos Prompt and run slmgr -rearm.
  7. Reboot again.
  8. Open a elevated Dos Prompt and run sysprep.exe /oobe /generalize /shutdown.

Now your ready to capture your image! Good luck

Posted in WDS, Windows Server 2008 at September 29th, 2009. No Comments.

Setting up Windows Deployment Services – Creating the capture image.

Inside WDS you have to go to the boot images. Select the appropriate one and right click on it. Choose "create capture boot image", enter your image name and description and the location were to store the capture.wim file. Click on next and wait a while. When completed click on finish.

Adding the capture image to WDS. Inside WDS the boot images right click on empty space and choose add boot image. Browse to your capture.wim file and click on next, check the name given and go on using next and again next. Now the capture image is added to the store.

Now prepare your desktop/laptop/server fore capture. Search the sysprep tool. The only one I’ve used is generalize.(In the earlier years-reseal)  It makes changes so that the computer can be used as a base for imaging. It strips out all unique security descriptors and hardware specific drivers out. After that PXE boot your machine. Hit the F12 key and select your capture image from the boot menu.

Now you receive a warm welcome to the Deployment Service Image Capture Wizard. Click on next select the volume to capture, apply a image name and description and click on next. Here you can make a decision where you will save the image or on another local (usb) disk or uploading to the WDS server.

I will use the direct upload, so you have to enter a name and location, given the server name and the image group name. Hit the "Next" button and relax.

Now the image is automatic uploaded and ready to use, other wise you have to upload it to the "Install Images" by your self.

Posted in WDS, Windows Server 2008 at September 8th, 2009. No Comments.