Anybody know of a way to clear all dead paths from the command line via powermt? I want to script this so users can just run a bat file to clean up powerpath rather than me doing it manually everytime.
If you remove the "dead" path, it won't be configured back in once the migration is complete. You'll have to visit each server and run "powercf -q"; "powermt config"; "powermt save"
I was also going to use psexec to run the command remotley so I wouldn'nt have to log into the servers. I have 450+ san attached hosts that will be losing 1 path during some switch upgrades and want to clean up powerpath afterwords so users don't complain about the red X's in powerpath. If there is a way to do this via the command line then I can script it and share it with everybody.
True. I forgot to mention that we were going to assign new SP ports in order to distribute things better. Also somebody used all the mirrorview ports for hosts so they need to be cleaned up as well
I don't believe 'powercf -q' command is run in an Windows environment, Solaris only AFAIK... MarcT is correct, you will need to configure the new paths into PowerPath, once you have removed the old dead paths (powermt check force) you will need to configure the new paths once they have been attached (run powermt config; powermt save)
MarcT2
2 Intern
•
131 Posts
9256
0
Posted September 11th, 2007 09:00
"powermt check force" will do the same with no confirmation.