## Posts

Showing posts from March, 2011

### Emulex OneCommand Plugin for vCenter

Summary: This plug in adds an extra tab to vCenter that lets you manage your Emulex HBA/UCNA’s.  From setting drivers parameters to allowing you to apply firmware updates to your HBA/UCNA card.  To do so, you must install the CIM package onto your host and have a server for the Emulex OneCommand Software Plug-in. PreReqs: Windows Server VM(suggest 2008 x64 R1 or R2) Software Plug-in CIM Provider 3.2.x + vSphere CLI or vMA <— Needed to remotely install CIM provider bundle vCenter 4.1+ Details: You can install the Emulex Software Plug-in on the vCenter server, but I suggest keeping all modules separate from vCenter if possible. Run the Software Plug-in installation. Install the CIM Provider on all hosts you would like to have onecommand management capabilities. Place ESXi server in maintenance mode. vCLI command is as follows: vihostupdate.pl --server nameofyouresxserver --install --bundle \\path\to\elx-esx4.1.0-emulex-cim-provider-3.2.30.1-offline_bundle-364582.zi

### Outlook 2011 Reply, New E-mail, etc. not working...

Summary: Click to create an new e-mail or hitting reply cause nothing to happen.  This seems to occur after updating to Safari 5.0.4. Workaround: Uninstall Safari and reinstall it. Download the current Safari version.  Do not install it yet, it will attempt to run. http://www.apple.com/safari/download/ Drag and drop the Safari icon from the applications folder to your trash and empty it. Now go to your downloads folder and find the file named something like "Safari5.0.4".dmg  Double-click it.  Then double click the pkg file that appears in a new window. Follow the wizard, then reboot.

### NFS Mapping to ESX and why you should use PowerCLI, not vCenter.

Summary: Inserting a new host in an ESX Cluster and mapping an NFS share to it produced an interesting result.  vCenter showed 2 datastores w/ similar names.  1 w/ 48 hosts mapped to it and another w/ my 1 new host mapped to it.  The names were the same albeit one having a "(1)" appended to it.  Attempting to change the new one would result in error stating that a datastore already exists w/ that name. Details: Something as minor as an extra '/', servername.local vs. servername, or IP instead of name, makes ESX treat those mapped NFS shares as completely different even if they all point to the same end point. Example: Both of these are valid paths to a NFS share in ESX and they both connect to the same resource, but because of one having a FQDN ESX treats them as different shares completely. netfs://servername.local/share netfs://servername/share Resolution: Use PowerCLI to map NFS shares (or host profiles if you're licensed for them) 1: #Use an

Summary: Was looking for the method to do this, it’s pretty simple, but everyone had very detailed posts of other things they were doing (checks and balances).  Here is the key snippet to do it: 1: #This simply gets you the object to work with. You can replace 2: #'nameofcomputer' with a variable to target more systems. 3: $admin = [adsi]( "WinNT://" + nameofcomputer + "/administrator, user" ) 4: 5: #This invokes the set password method and changed the administrator password 6: #to Whatever1 7:$admin.psbase.invoke( "SetPassword" , "Whatever1" ) If you want more robust script that records data of it’s changes see here .