john81661

updated

16 years ago

J

john81661

7 Posts

0

2624

November 29th, 2010 14:00

Cleanup logins on VMAX

We recently completed a migration where we used Open Replicator among other methods to migrate from DMX-3's to VMAX's. Now that the migration is completed and the zoning has been cleaned up, there are a ton of unneeded entries in the the Login History Tables of both arrays.

I am familiar with using symmask on the DMX (5773 code) and was able to successfully clean them all up with some scripting:

symmask -sid 94 -wwn 50000972082c751c delete -login -dir 8a -p 0

On the VMAX (5874 code) the commands are different and you must use symaccess. I am able to accomplish the cleanup running this command:

symaccess -sid 90 -wwn 50000972082d2921 remove -login -dirport 7e:0

but I am prompted to confirm after each line and -noprompt is not supported.

Remove 50000972082d2921 from Login history table of symmetrix XXXXXX90 (y/ )?

Given that I currently have 590 + lines for each VMAX, I am not inclined to C+P them line by line and answer "y" over a thousand times. There has to be a better way to accomplish this and I figured this is the place to ask.

Thanks,

John