Hello community...we're doing a really fun virtual SQL cluster project, running on ESXi 5.0. Without getting too much into the design detail, I'm looking to try to script adding a whole slew (45ish) of RDMs to a VM. The RDMs have been presented to the hosts, so the next step is to add the appropriate RDMs to the VM in the proper order. Here's a partial list of the available RDMs:
Based on our design, I know that LUN 46 needs to go in to SCSI 1:1, LUN 47 needs to go to SCSI 2:1, LUN 48 needs to go to SCSI 3:1, and so on. I have a spreadsheet that has a correlation between LUN ID and SCSI ID needed. I can also manually add 1:0, 2:0, 3:0 to get the controllers created. What I'd like to do is script out the rest.
I've seen a number of scripts and I'm not seeing quite what I need. For starters, how do I specify LUN ID? From there the questions keep coming. Any suggestions/ideas? Thanks!