Submitted by impire on Tue, 04/19/2011 - 07:32
Hello,
Is there a way to bulk create virtual servers based on a certain template?
Regards,
Andy
Status:
Active
Hello,
Is there a way to bulk create virtual servers based on a certain template?
Regards,
Andy
Comments
Submitted by andreychek on Tue, 04/19/2011 - 08:54 Comment #1
Hi Andy -- take a look at Add Servers -> Bulk Create Servers, that offers a way to create Virtual Servers from a template.
Submitted by impire on Tue, 04/19/2011 - 14:37 Comment #2
Thank you very much Andrey. I sincerely appreciate it.
I wonder if there's a way to bulk modify the servers. Let say a batch was created with a certain IP address. Then later on we need to change that IP address to something else. It would be helpful to be able to make a bulk update to those intended servers with the new IP address.
I also contain ability to create only the Master DNS. Is there a way to also include the slaves DNS?
Submitted by andreychek on Tue, 04/19/2011 - 14:46 Comment #3
Howdy -- you can update IP addresses for any domain or domains on your server by going into Addresses and Networking -> Change IP Addresses.
As far as creating slave DNS records -- there's info on setting that up here:
http://www.virtualmin.com/documentation/dns/slave-configuration
Submitted by impire on Tue, 04/19/2011 - 15:05 Comment #4
Hi Andrey,
Thanks very much. But I still don't see a way to bulk update the IP address to all the servers of my choosing. The method you've suggested only applies to a single server. Any suggestion? Thanks in advance.
Regards,
Andy
Submitted by andreychek on Tue, 04/19/2011 - 15:09 Comment #5
Hmm... can you describe the setup you have there, and what it is you're looking to do exactly?
Submitted by impire on Tue, 04/19/2011 - 15:20 Comment #6
1) Setup 100 servers with shared IP address of 192.168.15.2 2) Later, need to update these 100 servers IP address to 192.168.15.10
While we are on this topic, another related question.
1) DNS zones were created for these 100 servers. 2) These servers are using shared IP so therefore carry an A record in the DNS server (192.168.15.2). Need to go back and bulk change the A record to point to the new IP address (192.168.15.10).
What's the bulk and easiest method to accomplish these task?
Submitted by andreychek on Tue, 04/19/2011 - 16:40 Comment #7
Hmm, I'm confused about something, I'm trying to figure out what :-)
You had mentioned this --
The method you've suggested only applies to a single server.
I wanted to clarify that the "Change IP Address" function I mentioned can change the IP address for all Virtual Servers being hosted on your server (or at least, the ones you tell it to update).
So when you go into "Change IP Addresses", where it says "Servers to update" -- it defaults to "All Servers".
Or, if you prefer to choose some specific Virtual Servers, you can choose one or more from the list.
Does that by chance answer your question, or isn't that what you mean?
Submitted by impire on Tue, 04/19/2011 - 19:06 Comment #8
Hi Andrey,
Thanks. That's exactly what I need. Sorry I was clicking on "SERVER-CHANGE IP ADDRESS" and hence the reason why I thought it was for a single server. Sorry about that.
Under "Change IP Addresses", it would also be nice to be able to enter the IP address and virtualmin know exactly which servers to make the changes to (based on all the servers using such IP). This would save the task of selecting hundreds of servers manually. Of course, having the option to select the servers would always be optional.
Thanks again for your help.
Submitted by andreychek on Tue, 04/19/2011 - 19:13 Comment #9
it would also be nice to be able to enter the IP address and virtualmin know exactly which servers to make the changes to
Yup, that's how it works :-)
You only need to specify a Virtual Server if you don't wish to have all the domains with that IP updated.
Submitted by impire on Tue, 04/19/2011 - 23:32 Comment #10
Hi Andrey,
Thanks very much. I guess it was confusing with the "All servers" because it really listed all the servers, including the one without such IP. However, I did what you suggested and it works like a charm. Wow, the folks at Virtualmin really did thought of everything. It is the best control panel, hands down.