VMware Cloud Community
miladmeh8
Hot Shot
Hot Shot
Jump to solution

Need to get storage adapter path state

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
Hot Shot
Hot Shot
Jump to solution

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
Hot Shot
Hot Shot
Jump to solution

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);
}
}