Delete a SRDF pair on VMAX3

Recently I have had some issues with SRDF on the VMAX3 that I manage.  I was having issues trying to resolve it using the Unisphere GUI, which can be very limited in its capabilities, so I had to switch to command line.  First you create a text file and put in it something like “00001 00002” (No quotation marks in file).  Listing the two devices that need there pair broken.  Then you run this command.

symrdf -sid 123 -rdfg 1 -file rdf.txt deletepair -force

 

vBrownBag and preperation for the VCIX

Currently I am working towards the VMware VCIX6-DCV certification.  To prepare for this I am going through the vBrownBag videos on the VCP6-DCV certification.  It is a good deep dive that covers a lot of things you may have missed or forgotten over time.  It has helped me improve things in day job that I was not doing properly.   If you are working towards an VMWare certification or just trying to learn more. I really recommended going through the videos that they have put together.  They have also covered teh VCP6-NV and VCP6-CMA.  Hopefully soon they will cover the VCP6-DTM.

Using PowerCLI to change the Syslog server for your ESX host.

I recently discovered SexiLog to use with VMware ESX host.  I needed a quick and easy way to change where the ESX host sent there logs to.  Doing some google searches I was able to put together a quick PowerCLI script.  In about 5 minutes I was able to change the syslog for all of my ESX host.

$ESXLOG = “1.2.3.4”
Get-VMHost | Foreach {
Write-Host “Adding $ESXLOG as Syslog server for $($_.Name)”
$SetSyslog = Set-VMHostSysLogServer -SysLogServer $ESXLOG -SysLogServerPort 514 -VMHost $_
Write-Host “Reloading Syslog on $($_.Name)”
$Reload = (Get-ESXCLI -VMHost $_).System.Syslog.reload()
Write-Host “Setting firewall to allow Syslog out of $($_)”
$FW = $_ | Get-VMHostFirewallException | Where {$_.Name -eq ‘syslog’} | Set-VMHostFirewallException -Enabled:$true
}

Using Solution Enabler to Delete a Storage Group

Recently I have been working on cleaning up storage on a EMC VMAX3.  You can do a lot using the GUI for most of the day to day maintenance, but using the CLI is a lot more efficient when it comes to removing storage groups.

symsg -sid 1234 delete storgegroup_SG -force

Using that command is a simpler and quicker way to remove storage groups than to use the Unisphere GUI.

Blog at WordPress.com.

Up ↑