http://www.covmug.org

News
Troubleshooting: Slow startup with PowerCLI 4.0 U1 PDF Print E-mail
Written by Eric Sarakaitis   
Friday, 22 January 2010 07:33

January 04, 2010

Troubleshooting: Slow startup with PowerCLI 4.0 U1

A substantial portion of PowerCLI 4.0 U1 users report extremely slow startup. On affected systems PowerCLI takes very long (sometimes up to 5 minutes) to start. Standard PowerShell window opens as usual.

The problem appears when a machine does not have Internet access. The cause is a security feature of Windows - checking for revocation of software publisher's certificate. The problem is not specific to PowerCLI. Other applications on the same machine which use certificates are affected as well.

To avoid the delay, disable the following option:
Windows > Control Panel > Internet Options > Advanced > Security > Check for publisher's certificate revocation

For details, the original discussion in the forums is:
http://communities.vmware.com/message/1438321

 
January Update PDF Print E-mail
Written by Randy Snyder   
Friday, 15 January 2010 11:23

Happy New year and I hope to see you at the January VMUG. We will have HyTrust sponsoring and presenting at the event as well as a security presentation from Jeff Szastak. HyTrust will be giving away an Amazon Kindle at the end of the meeting so don't forget to bring business cards. Also be sure to check out the VMware forum as we are already booked out through 2011. Also we are still looking for feedback on the All day VMUG in May, so if you have any idea's let us know. I will also have some more Train Signal VMware training videos for February's meeting.

 
PowerShell and ESX Memory PDF Print E-mail
Written by Randy Snyder   
Wednesday, 23 December 2009 14:11

I recently was looking for a way to improve one of the reports I do for my forecasting. I used to dump everything from Excel in list format and calculate up the guest RAM. Too many guest and too much time. This script saves time and I can see what my actual allocated RAM is on an ESX host. So I had asked Eric to write something up. Here is what he came up with and how it works. This is also posted on VMwarescripting.com. Keep in mind that this assumes you are using a script editor and have already connected to the vCenter that you want to run against. As well you should run against a test environment as well to validate that it works as you want. There are some additional documents on basics of PowerShell in the shared document folder.

Original code

 

foreach ($vmhost in get-cluster “cluster name” | get-vmhost){

$meminfo = $vmhost | get-vm | measure-object -property memorymb -sum

$guestcount = $vmhost | get-vm |  measure-object

"" | select-object @{Name="Host"; Expression={$vmhost.name}},

@{Name="Num VM's"; Expression={$guestcount.count}},

@{Name="Mem Allocation"; Expression={$meminfo.Sum}}

}

 

 

Code with comments defined with #

 

 

#connect to specified cluster and get all of the vmhost info

foreach ($vmhost in get-cluster “cluster name” | get-vmhost)

{

#define variable for function that calculates amount of allocated memory

$meminfo = $vmhost | get-vm | measure-object -property memorymb –sum

#define variable for function that calculates number of virtual machines

$guestcount = $vmhost | get-vm |  measure-object

#build output expression column titled “Host” and populate it

"" | select-object @{Name="Host"; Expression={$vmhost.name}},

#build output expression column titled “Num VM’s” and populate it

@{Name="Num VM's"; Expression={$guestcount.count}},

#build output expression column titled “Mem Allocation” and populate it

@{Name="Mem Allocation"; Expression={$meminfo.Sum}}

}

Your output should look something like this:

Name

MemoryTotalMB

nVMs

VM_Mem

Server1

65530

26

39424

Server2

65530

15

27136

Keep in mind there are a lot of other things you can do in PowerShell so if there is something that you can’t find check out VMwarescripting.com and make a post or ask at a VMUG meeting. Don't forget Ecoshell is a great way to get started with scripting as well.  Under the blog section of http://www.thevesi.org/index.jspa there is a Webinar to help you get started.  Also check out http://blogs.vmware.com/vipowershell/

Last Updated on Tuesday, 29 December 2009 13:48
 
VMware Update 1a PDF Print E-mail
Written by Randy Snyder   
Sunday, 13 December 2009 20:39

VMware released an update to update1 so take a look at this article Tom mentioned this at the meeting. (http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016070 )  Also take a look at the latest blog from VMware If you missed the announcement from VMware there is a new blog out there called VMware KBTV.  This if for video’s on how to perform tasks.  (http://blogs.vmware.com/kbtv/ ).  If you need another resource for the latest news checkout http://www.vmware.com/vmtn/planet/v12n/ or sign up for their Twitter. 

 

 
All Day Event May 2010 PDF Print E-mail
Written by Randy Snyder   
Saturday, 05 December 2009 09:32

If you missed the news we are still working on an “All Day VMUG Event”.  This will be held at the OCLC Conference Center in Dublin on May 18th 2010 from 8am to 6pm.  Currently we have Mike Laverick of http://www.rtfm-ed.co.uk/ attending and we are working on some other guests.  We are looking for some input from the community on what you want to see.  There will be more information and announcements as we get closer to the event.  As well we may need some volunteers to assist let me know if you are interested.    

On another note the first round of vSphere training videos got passed out at the November meeting and I got some very positive feedback on them.  Train signal has also said that there are more videos to come so please check out their site http://www.trainsignal.com/  So come prepared with business cards at the meetings because you never know what we will have for give aways. 

 
See you on December 8th for our next meeting. 

Last Updated on Saturday, 05 December 2009 11:46
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 Next > End >>

Page 6 of 9

Feedburner Email Subscription Module

Enter your email address:

Delivered by FeedBurner

YouCMSAndBlog Module Generator Wizard Plugin

Sponsors

Platform Lab has been hosting COVMUG freely for over two years now! stop by and say thanks!