Disk Enclosures
Showing results for 
Search instead for 
Did you mean: 

EVA BC/CA -- RSM Question

Adam Garsha
Valued Contributor

EVA BC/CA -- RSM Question

I am wondering if there is a way to get programatic input from a "Launch" result string into a variable in the RSM context. I see that you can return the "Launch" result to a variable, but when I "Log" the result, it seems to be more then just stdout.

In simple terms, is this possible:

$programmatically_determined_vdisk_name = Launch("somehost","/some/path/my_program","$some_input","WAIT","")
//do something with the vdisk we figured out by injecting it into another RSM command

How would my_program be written? Does stdout go to the variable or the exit value? Or... is it impossible to really get a name back for use other then logging or emailing?

Thanks, much!