Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2011

January 27th, 2011 07:00

remote administration Powerpath

Hi all,

Hope you can help me...

I want to collect information of all the Powerpath clients in the environment. Is there a way to collect this information remotely?

For example, I want to get the status of the paths on a server. If I reboot a fibre channel switch or a storage processor, I want to make sure all the paths are online again.

Can I script this?

Any help appreciated.

Regards, Bart

197 Posts

June 9th, 2011 08:00

I was just able to download and install powerpath viewer, looks like it was released on the 8th. It is in its own section under; Home > Support > Software Downloads and Licensing > Downloads P-R > PowerPath Viewer

Only issue I'm working through now is creating a silent install process. Won't be fun manually installing the components on each of the hosts in our environment.

341 Posts

February 1st, 2011 11:00

What OS's do you have PowerPath on in your environment? If it is mainly Windows there is a PowerPath Viewer App in test at the moment...

1 Rookie

 • 

20.4K Posts

February 1st, 2011 12:00

what OS ?

25 Posts

February 3rd, 2011 00:00

Well, we use Powerpath on Windows 2003 server only.

1 Rookie

 • 

20.4K Posts

February 3rd, 2011 03:00

take a look at "psexec" utility, it allows you to run commands on remote systems. You could write a script that would use psexec to execute powermt command and pipe output to a UNC path somewhere.

25 Posts

April 11th, 2011 02:00

Can you be more specific about the location?

A search for "Powerpath Viewer" returns no results.


Regards,

Bart

5 Practitioner

 • 

274.2K Posts

April 11th, 2011 02:00

Have a look at 'PowerPath Viewer 1.0 SP1', which has been released on Powerlink.

Aubrey Murnaghan EMC TSE2

5 Practitioner

 • 

274.2K Posts

April 11th, 2011 03:00

sincere appologies but it looks like this product has not been released by Engineering yet.

I'll update this thread once it has been released with the location,

aubrey TS2

197 Posts

April 11th, 2011 06:00

You could use the mmc snap in to connect to other servers. You have to do it from a server that has powerpath installed. I created this little hack of vbscript when we were seeing dead paths after SP reboots. It asks you for your credentials (domain, username and password) and adds all the hosts found in c:\hosts.txt file (1 server per line). I also add disk management, this way if there is a path issue you can rescan and fix it that way. I call it a hack since it uses sendkeys, so don't touch anything while it runs .

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("c:\hosts.txt", ForReading)

Const ForReading = 1

Dim array_hosts()
i = 0
Do Until objFile.AtEndOfStream
Redim Preserve array_hosts(i)
array_hosts(i) = objFile.ReadLine
i = i + 1
Loop

Dim username, password

domain = InputBox("Enter the domain")
username = InputBox("Enter your username")
password = InputBox("Enter your password")

objFile.Close

' Create the MMC Application object.
Dim WshShell, objMMC, objNode, View, listitem, host, StdIn, fso
Set objMMC = Wscript.CreateObject("MMC20.Application")

' Show the MMC application.
objMMC.Show

Set StdIn = WScript.StdIn
i = i - 1

Set WshShell = WScript.CreateObject("WScript.Shell")

For j=0 to i

WshShell.Sendkeys "(%F)"
WshShell.Sendkeys "M"
WshShell.Sendkeys "(%D)"
WshShell.Sendkeys "P"
WshShell.Sendkeys "o"
WshShell.Sendkeys "(%A)"
WshShell.SendKeys "{DOWN}"
WshShell.SendKeys "{TAB}"
WshShell.Sendkeys array_hosts(j)
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys username
WshShell.SendKeys "{TAB}"
WshShell.SendKeys domain
WshShell.SendKeys "{TAB}"
WshShell.SendKeys password
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{ENTER}"

WshShell.SendKeys "(%C)"
WshShell.Sendkeys "(%D)"
WshShell.Sendkeys "Disk Management"
WshShell.Sendkeys "(%A)"

WshShell.SendKeys "{DOWN}"
WshShell.SendKeys "{TAB}"
WshShell.Sendkeys array_hosts(j)
WshShell.SendKeys "{ENTER}"
WshShell.SendKeys "(%C)"
WshShell.SendKeys "{ENTER}"


Next


WshShell.SendKeys "(%C)"
WshShell.Sendkeys "{ENTER}"


' Leave the MMC application in user control when this script ends.

objMMC.UserControl = 1
password = "garabe data"

wscript.echo "Script Complete"

103 Posts

May 9th, 2011 16:00

do we know when this app will come out?

154 Posts

May 9th, 2011 17:00

Hello. I believe you are referring to PowePath Viewer. It is scheduled to be available in June.

Thanks, Brion

Brion Stultz

EMC Corporate Systems Engineer

(cell) 508 498 4806

Sent from my iPhone

103 Posts

May 17th, 2011 12:00

cool! thanks!

197 Posts

June 9th, 2011 09:00

Found the silent install instructions in the release notes, page 19.

Home > Support > Technical Documentation and Advisories > Software ~ P-R ~ Documentation > PowerPath Family > PowerPath > Release Notes

No Events found!

Top