v-Apps Blog moved

Permalink 03:30:00 pm by admin, Categories:

The v-Apps Blog has moved from www.v-apps.nl to blog.v-apps.nl to be abled to use the b2evolution blog.

Now visitors are abled to comment on the blogs i publish, i'm very curious about your opinion.


Permalink 04:41:00 pm by vappsnl, Categories: Personal

Link: http://communities.vmware.com/people/vmroyale/blog/2011/09/15/updating-esxi-5--single-use-esxcli-how-to

@vmroyale thanks for the explanation

This is what i did using vCli:



01: Make sure you have the vCLI installed and configured or that you have ESXi Shell access on the ESXi 5 host.

02: Download the patch bundle directly from VMware Support. This download will be .zip file. Do not extract it. patches: http://www.vmware.com/patchmgr/download.portal

03: Upload the .zip file to a datastore that is accessible on the ESXi host you wish to update. The syntax below will use /vmfs/volumes/datastore1, and you may need to adjust as necessary. Note that the .zip file is uploaded to the ESXi host.

Note:  In the examples below, the syntax is specific for the vCli. Adjust accordingly, if you are using another approach.

04: Obtain local console access to the vCli.

05. To determine if the host needs to be placed in maintenance mode, issue the following command:

esxcli --server= --username=root software sources vib get -d /vmfs/volumes/datastore1/ESXi500-201109001.zip | find "Maintenance Mode Required: True"

06.  If grep returns "Maintenance Mode Required: True" results, then issue the following command to place the host in maintenance mode:

vicfg-hostops.pl --server --operation enter

07. Verify that the host is in maintenance mode, by issuing the following command:

vicfg-hostops.pl --server= --operation info

Note: You could also use the vSphere Client to put the ESXi 5 host in maintenance mode.

08. To verify which VIBs are already installed on the ESXi 5 host, issue the following command:

esxcli --server= --username=root software vib list | more

09. To find out which VIBs are available in the depot (the downloaded .zip file), issue the following command:

esxcli --server= --username=root software sources vib list --depot=/vmfs/volumes/datastore1/ESXi500-201109001.zip | more

10. To update the ESXi 5 host with the VIBs included in the depot, issue the following command:

esxcli --server= --username=root software vib update --depot=/vmfs/volumes/datastore1/ESXi500-201109001.zip

esxcli --server= --username=root software vib update --depot=/vmfs/volumes/datastore1/ESXi500-201111001.zip

11. When the update is complete, verify the information presented. If prompted, reboot the ESXi 5 host by issuing the following command:

vicfg-hostops.pl --server --operation reboot

12. Verify the patch bundle was installed, by issuing the following command:

esxcli --server= --username=root software vib list | more

13. If applicable, take the ESXi 5 host out of maintenance mode using the vSphere Client or with the following command:

vicfg-hostops.pl --server --operation exit

build before: 469512 (Base Install)
build after 201109001: 474610
build after 201111001: 504890



Permalink 01:02:00 pm by vappsnl, Categories: Personal

After installing vSphere 5 on two hosts i saw the following:


If you want to configure systemlogging and want the syslog to be written on datastore vmfs01 you can do the following:

Select the appropriate host in virtual center client (vcc) an choose tab 'configuration'


Goto Advanced Settings


Goto 'Syslog' --> 'global'


In this case i created a folder 'logdir' with a subfolder 'ESX02' on datastore 'vmfs01'

You also have to use the brackets '[' and ']' around the name of the datastore.


The logfiles are created on the location:


Full story »


Permalink 10:59:00 am by vappsnl, Categories: Personal

On www.run-virtual.com i saw a really nice article about OSSEC regarding logfile gathering of vmWare servers.



Permalink 11:05:00 pm by vappsnl, Categories: Personal

I decided to try to configure a Media Center Server using Linux.

It's working right now but has to be tuned so everything will be working smoothly.

In the upcoming article(s) i will try to explain what i did to get it to work. Stay tuned!


Permalink 11:00:00 am by vappsnl, Categories: Personal

To get an overview of Virtual Machines with snapshots and put the outcome in an htm-file you can use the following script:

$a = "<style>"
$a = $a + "BODY{background-color:white;}"
$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: blue;border-collapse: collapse;}"
$a = $a + "TH{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color:darkgrey}"
$a = $a + "TD{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color:palegoldenrod}"
$a = $a + "</style>"
Connect-viserver vcs02

Get-VM | Get-Snapshot | select VM,Id,SizeMB | ConvertTo-Html -Head  $a -PreContent 'Existing Snapshots' | Out-File c:\snapshot.htm
Invoke-Expression c:\snapshot.htm

Disconnect-VIServer vcs02 -Confirm:$false

This is how the output could look like in your browser:


:: Next >>