Jump to content

Set-Up on Multiple Servers


robwee

Recommended Posts

Hello All,

 

I have just setup a second server in WHMCS. Would it be possible for WHMCS to set up automation on 2 separate servers at the same time like this? -

 

Hosting Package 1.

Upon hosting payment and domain name sign up -

WHMCS will set up Server 1 automatically with nameservers:

ns1.mydomain.com

ns2.mydomain.com

 

Hosting Package 2.

Upon hosting payment and domain name sign up -

WHMCS will set up Server 2 automatically with nameservers:

ns3.mydomain.com

ns4.mydomain.com

 

What are the steps to set this up correctly?

 

Also, I see a "default" server with "*" indicator for automation set-up. If I set the second server to default, does that mean that I will lose all automation for server 1? Also what happens when the auto suspension/termination kicks in for server 1 when cron jobs run? Will it be ignored since server 2 is the new default?

 

Thanks in advance!

Link to comment
Share on other sites

If you have WHMCS uploaded on two separate servers then you will need 2 licences, but if you have WHMCS uploaded only on one server, you can add as many servers as you want by going to your admin area>configuration>servers. and then what you set up your hosting packages you can indicate which server to assign to which package and all thwese would be automated.

Link to comment
Share on other sites

Thanks. I only have one WHMCS with added server on it. So you are saying that it would be automated? How about the domain name settings, I see that it's being defaulted to ns1,ns2. WHMCS would automated this and override these settings?

Link to comment
Share on other sites

What you're looking for is something that another system does very wll. i.e. you can setup more than one server, and then specify how the accounts should be spread on the servers. I liked this feature a lot!

 

But, WHMCS doesn't support this option. So, if you setup Server1 & Server2, you need to specify which server to use, and WHMCS will deploy all new clients on the server specified, The problem with this is, it doesn't spread the accounts among the servers at all.

Link to comment
Share on other sites

Yes, that's what I was trying to say :)

 

The problem is, it doesn't spread the accounts evenly throughout the servers. i.e if Server1 has 10 accounts and Server2 only 9, then the next signup should go on Server2.

 

The other problem is that if you have servers located in different countries ( and thus have different costs) then this is not very helpful, but could in fact cause more harm than good.

 

So, what we have done, was to set the limit on each server very high, and then we changed the default server when we think Server1 has enough clients. So all new signups would then start going to Server2 untill we feel Server2 is full.

 

Another way which works well for us, is to "group the packages", i.e. setup all instances of PackageA on Server1, all PackageB on Server2, and PackageC on Server3, etc. This helped to spread the accounts evenly to some degree.

Link to comment
Share on other sites

  • 5 weeks later...

Most resellers work with at least 2 different servers and work with both of them at the same time. So we should be able to open accounts on both servers at the same time and not have to fill one up first and then start opening accounts on the second one. It doesn't makes sense to have one license for each server and that would not address the issue any way, for we cannot have 2 sites with 2 order forms, one for each server.

 

Another way which works well for us, is to "group the packages", i.e. setup all instances of PackageA on Server1, all PackageB on Server2, and PackageC on Server3, etc. This helped to spread the accounts evenly to some degree.

 

This is a nice work around, but what about the welcome email? It will show the same server IP for all accounts (ie: on cPanel's http://SERVER_IP/~user). And what about Windows server with Plesk? The welcome mail is very different from cPanel.

 

It should be up to the admin to choose in which server the new account will be opened and the welcome email should apply for that server.

 

How do you guys work with this? I'd like to have some feedback and ideas from resellers with 2 or more servers.

Link to comment
Share on other sites

Most resellers work with at least 2 different servers and work with both of them at the same time. So we should be able to open accounts on both servers at the same time and not have to fill one up first and then start opening accounts on the second one. It doesn't makes sense to have one license for each server and that would not address the issue any way, for we cannot have 2 sites with 2 order forms, one for each server.

 

 

 

This is a nice work around, but what about the welcome email? It will show the same server IP for all accounts (ie: on cPanel's http://SERVER_IP/~user). And what about Windows server with Plesk? The welcome mail is very different from cPanel.

 

It should be up to the admin to choose in which server the new account will be opened and the welcome email should apply for that server.

 

How do you guys work with this? I'd like to have some feedback and ideas from resellers with 2 or more servers.

 

The email templates read the config variables from the server settings, so even if you have 500 servers, it will always email the user the right IP that his account is on :)

 

My email templates look like this:

 

New Account Info

 

Domain: {$service_domain}

Username: {$service_username}

Password: {$service_password}

Hosting Package: {$service_product_name}

Server IP: {$service_server_ip}

Nameserver 1: {$service_ns1}

Nameserver 2: {$service_ns2}

 

Temporarily you may use one of the addresses given below manage your web site

 

Temporary FTP Hostname: {$service_server_ip}

Temporary Webpage URL: http://{$service_server_ip}/~{$service_username}/

Temporary Control Panel: http://{$service_server_ip}/cpanel

 

 

 

 

 

 

So, for ServerA, I have 1.2.3.4, ServerB has 1.2.3.5, ServerC has 1.2.3.6, etc. And the client will get the right IP address in his email. There's no real need to "manage" the process" Just make sure the server(s) / VPS('s) or Reseller Account(s) can handle the amount of accounts you'll put onto them.

Link to comment
Share on other sites

  • 8 months later...

I have situation where I need auto setup working for 2 hosting servers running Kloxo/Lxadmin, as they each host different packages based on costs. Does anyone have this working ?

 

I tried copying the /servers/lxadmin directory and renaming the lxadmin.php file to something else to make a second module, that unfortunatly does strange things for some reason.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated