Announcement Banner
UNSOLVED

MidnightDBA

updated

14 years ago

0

1531

December 31st, 2012 07:00

Remote Management

Ok, so I'm a DBA and I don't know a lot about SANs.  We have a new SAN and I usually look at stats through powerpath.  However, that requires me to TS into the server and run powerpath locally.
Is there a way to get info like deviceID remotely through powershell or through a mgmt pack of some kind so I can script these things and just pass in a couple params?  I'd like to avoid the slow method of getting onto the console just to get a deviceID.
Thanks.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    833

    0

    Posted December 31st, 2012 07:00

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    833

    0

    Posted December 31st, 2012 07:00

    psexec \\mysqlserver "powermt display dev=all every=5"

    PowerPath is not only MMC

  • 833

    0

    Posted December 31st, 2012 07:00

    Thanks, though I was hoping for a more native solution from EMC.  So what exe would I run with psexec?  Because powerpath is an msc and I need to be able to script this as fully as possible.

  • 833

    0

    Posted December 31st, 2012 08:00

    Thanks, I see what that command does, but the output is horrendous.  It would require me to use regex to cycle through all the  disks and parse out the deviceIDs and then I would still have to find a way to map it to a specific drive letter or mountpoint.  Isn't there a better way?  I find it hard to believe that EMC would have to rely on psexec to script the mgmt of large environments.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    833

    0

    Posted December 31st, 2012 08:00

    for large environments EMC offers Prosphere,  EMC Control Center or Watch4net. if you are trying to build home-grown solution be ready to get creative.

  • 833

    0

    Posted December 31st, 2012 10:00

    well I don't necessarily need homegrown, but free would be nice.
    Is it safe to assume that none of those solutions are free?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    832

    0

    Posted December 31st, 2012 11:00

    Yes none of those are  free but then again they provide so much more than what you are looking for.

  • 832

    0

    Posted December 31st, 2012 11:00

    Y, but I've seen blog posts about some EMC powershell cmdlets but I can't seem to find a download for them.  Do they just not exist anymore? 

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    832

    0

    Posted December 31st, 2012 11:00

    Cmdlets for PowerPath ?

  • 163

    0

    Posted December 31st, 2012 13:00

    Here's the blog post I'm talking about.
    https://community.emc.com/docs/DOC-8561