OneLiner 3: Detección de errores de conectividad en las vmhba de fibra
Good, I spent a oneline charge of collecting the fiber HBAs settings associated with the ESX servers in a given cluster and print their status. If there is any connection failure to the SAN will be displayed and its corresponding WWNP hba (World Wide Port Name) in red. ') currently at the Virtual Center, regardless if the ESX is in maintenance mode or offline.
Tuesday, October 13, 2009
Friday, October 2, 2009
How Long To Stop Shaving Before Wax
OneLiner 2: Modificar la configuración NTP de los servidores ESX
This morning I was going through some logs when suddenly ... surprise! When log entries did not make sense either. The obvious problem was that the system time was not right, so I started to review the NTP client configuration y. .. voila! were wrong. The next and obvious step was to correct the ntp client configuration, but of course (and murphy ...), not on a single ESX, ... But throughout the datacenter!. Solution, the song script. In this case three oneliner:
Get-VMHost Get-VMHost service that interests you and Restart-VMHostService cmdlet by
, you can manage services on your ESX datacenter remotely. Of course, this is not the only way to do just one more:).
This morning I was going through some logs when suddenly ... surprise! When log entries did not make sense either. The obvious problem was that the system time was not right, so I started to review the NTP client configuration y. .. voila! were wrong. The next and obvious step was to correct the ntp client configuration, but of course (and murphy ...), not on a single ESX, ... But throughout the datacenter!. Solution, the song script. In this case three oneliner:
A oneline to check the settings ntp on all hosts in the datacenter:
Get-VMHost Get-VMHost service that interests you and Restart-VMHostService cmdlet by
VMHostService
or Start-Stop-VMHostService
, you can manage services on your ESX datacenter remotely. Of course, this is not the only way to do just one more:).
Thursday, October 1, 2009
Walkthrough For Bloons Tower Defense 4 Ipod Touch
Despiste 5: Dividir un fichero de texto en partes de tamaño fijo
This time I leave a script that takes a text file and splits it into parts of fixed size. The script you can download it from:
This time I leave a script that takes a text file and splits it into parts of fixed size. The script you can download it from:
http://dl.getdropbox.com/u/1039818/Blog/Windows/split-file.ps1To honor the truth, this script is not a creation mine, but a modification of a script that I found on the network (Written by Josh Einstein
- ) that does the same, but divided the text file in the number of parties that is passed as a parameter, unable to define the size of the parties. If you want to access the original, you will find on this link:
http://stackoverflow.com/questions/1001776/how-can-i-split-a-text-file-using-powershell/1003866 # 1003866
Subscribe to:
Posts (Atom)