Originally posted by: ThomasJO
Thanks guys.
It dawned upon me this morning that what I was thinking of was an EMC supplied script (We have EMC VMAX storage). When I looked through the script I saw it is doing an odmget and an odmchange in the background.
symm_fcp_mpio_change_no_reserve()
{
print "************************"
print "* Status BEFORE update *"
print "************************\n"
odmget -q'uniquetype LIKE disk/fcp/MSYMM* and attribute=reserve_policy' PdAt | egrep "uniquetype|deflt"
odmchange -o PdAt -q"uniquetype LIKE disk/fcp/MSYMM* and attribute=reserve_policy" << EOF
PdAt:
deflt = "no_reserve"
EOF
print " ODM updates - reserve_policy=no_reserve - installed sucessfully \n"
print "************************"
print "* Status AFTER update *"
print "************************\n"
odmget -q'uniquetype LIKE disk/fcp/MSYMM* and attribute=reserve_policy' PdAt | egrep "uniquetype|deflt"
print "\n
}
Looks like this is probably the best way to handle the situation.