Replicating the same DA setup across multiple new servers. What's the easest way?

InTheWoods

Verified User
Joined
Dec 31, 2020
Messages
47
Location
Internet
Trying to figure out the easiest way to complete this without it causing me too much stress or time, ha!

Is there a recommend 'simple' way to setup new DA servers across? Same software stacks, same settings, etc. I don't want to have to go into CustomBuild if I don't have to and check one by one that the new server is a 1:1 setup of the other ones. Is there a simple way to export existing settings and import them for a new build?
 
Well yes almost I guess.

You can setup 1 server and then adjust and install custombuild as required.

After that, copy the options.conf out of the custombuild directory to some backup place.

When you start a new server, first to the correct things like update OS and set the server's FQDN hostname.

After that, create a directory:
/usr/local/directadmin/custombuild
and place your saved options.conf file in there.

When starting setup now, this options.conf will be used and everything set in there, so it will be configured exactly as on your other servers.

I'm not sure if and how this can be done with directadmin.conf and other system settings which might be present.
 
Sounds like you might be in the market for a config management system like Ansible, Chef, Puppet, or one of the other ones that exists. We use Ansible to set up, configure, and maintain identical DA servers. It works well.
 
Back
Top