miladmeh8
Enthusiast
Enthusiast

Need to get storage adapter path state

Jump to solution

Hi all

I need to get state for each of storage adapter path in vRealize orchestrator.

I want to know the exact code and attribute for a host please

Tags (1)
1 Solution

Accepted Solutions
miladmeh8
Enthusiast
Enthusiast

I found it:

for each (var path in host.configManager.storageSystem.multipathStateInfo.path){
if (path.pathState != "active"){
System.log("Path name is : " + path.name)
System.error("Path state is : " + path.pathState);
}
}

View solution in original post

1 Reply
miladmeh8
Enthusiast
Enthusiast

I found it:

for each (var path in host.configManager.storageSystem.multipathStateInfo.path){
if (path.pathState != "active"){
System.log("Path name is : " + path.name)
System.error("Path state is : " + path.pathState);
}
}

View solution in original post