Unsolved
This post is more than 5 years old
5 Posts
0
895
Map volume to 1000 SDC clients
Hi,
I have a requirement to map a scaleio volume to 1000 odd SDCs. In such a scenario, I do not think using "scli --map_volume_to_sdc..." would be the preferable way - which will attract running the command 1000 times.
Is there an easier way, to e.g auto-map the volume to all registered SDCs, during the volume creation time itself ? So, that when the 1000 SDCs come up, register themselves to the scaleio MDM, can automatically see the volume ? Or any other way ?
Regards,
Sravan.
tanr1
9 Posts
3
January 12th, 2016 07:00
scli is the way to go for such task. You just run a "loop" which your "scli --map_volume_to_sdc...". First, you need to create a text file with a list of all of your 1000 SDC clients's sdc_id, sdc_name, sdc_guid, or sdc_ip (depend on which one you prefer). Let say you want to use sdc_ip, create the file with IP addresses of your 1000 SDC clients, one per line, call it SDC.Clients.IP.txt. Now you're ready to do this:
That should do it.
sravan625
5 Posts
0
January 17th, 2016 06:00
Thank you tanr. This helps.