Advocacy is it's own reward. In our development and test VMware environments, some of our host systems are showing their age. We do Microsoft patch updates through SMS and if you reboot the environment at the same time, well, there are consequences. The most telling one is that services time out and fail to start, like the SMS service.
I was asked to come up with a manual staggered reboot method and it turns out to be remarkably simple.
# ===========================================================
# NAME: delayed-reboot.ps1
# AUTHOR: Steven Peck
# DATE: 9/4/2008
# COMMENT: Reboot list of servers in a given VMware environment
# REQUIRE: Text list of selected systems
# ===========================================================
# Connect to Virtual Infrastructure server
Connect-VIServer -Server [servername/ip] -protocol https
# Set delay in seconds
[int]$delay = 10
# change to point to server file list - one server per line
$servers = get-Content C:\servers.txt
foreach ($server in $servers) {
get-vm $server | restart-vmguest
start-sleep -s $delay
}
# Disconnect from VMware environment, you will be prompted
Disconnect-VIServer
# NAME: delayed-reboot.ps1
# AUTHOR: Steven Peck
# DATE: 9/4/2008
# COMMENT: Reboot list of servers in a given VMware environment
# REQUIRE: Text list of selected systems
# ===========================================================
# Connect to Virtual Infrastructure server
Connect-VIServer -Server [servername/ip] -protocol https
# Set delay in seconds
[int]$delay = 10
# change to point to server file list - one server per line
$servers = get-Content C:\servers.txt
foreach ($server in $servers) {
get-vm $server | restart-vmguest
start-sleep -s $delay
}
# Disconnect from VMware environment, you will be prompted
Disconnect-VIServer
Comments
i see here in your tags on
i see here in your tags on the left that some points like www.blkmtn.org/drupal,wwww.blkmtn.org/wmware than the usual taxonomy terms as u have like www.blkmtn.org/taxonomy/term/44..
how those drupal,wmware,powershell came like that.. is it like a menu like blog,forum/ how u created..
could u say me....
arun, Turn on Path module in
arun,
Turn on Path module in the Core optional modules.
THis gives you a new option of URL Alias
Alias taxonomy/term/44 to vmware
That's it.
Steven