DotNetPanel & WHMCS: What to do when resources get full...
In this environment, I was wondering what you guys do when a server's resources get full. I'm mostly concerned with disk space. Do you start migrating some customers to another server? What's the process for this?
Exactly, we follow the same procedure where the server is never filled more than 60-70% of resources (disk space included) so as to ensure that you have room for customers who want to upgrade and also for updates, new service pack installations, etc. Hence, when this is reached, its time to add another server & virtual server in DNP and configure WHMCS to provision new accounts on new DNP virtual server.
██ Softsys Hosting ██ - 8 Years In Business - 24/7 In-House Support - Enterprise DDoS Protection Available!
Question: If you populate a server to say 60-70% and then provision a second server and start sending new users to the second server so that users on the first server will have room to 'grow into it' with addons and such, what do you do when the first server is eventually getting full and at the point where the original residents won't have room to grow or order addons anymore?
When a client want to upgrade and we are reaching our self imposed limits, we move that client (some times some other client/s) to new server, this also free up some resources.
Its simple, we just use commonsense on what is to be done, like if the server is becoming old, or if its been long on the old server and we can get a more powerful server for lesser rates, we plan a move though this also depends on various other factors.
In the end of the day, client must get a good services without incurring any financial loss.
Thank you. What needs to be done to transfer a client with DNP and WHMCS with regards to:
1) their plan
2) resources they've used during the current billing period already
3) recurring payments?
In other words, do you have to copy the client directory to the other server, delete him from the system on the old server, and re-add him to the system on the new server? If so, will permissions be correct on the files and folders?
I'm wondering how DNP will know where to look to manage the user's resources once the user has been moved, and also how WHMCS will be able to continue it's recurring billing (and handle addons/upgrades) for a user that's been moved.
Or, is there a built-in transfer function and am I making this more difficult than it is.
Unfortunately, DNP does not have feature to move/transfer accounts directly. However, it does have a provision to import resources (websites, emails, databases). Hence, transfer of web files will need to be handled manually. Regarding WHMCS, you can just update the hosting plan of customer (the plan pointing to new hosting space of customer) and it will continue its operations on new hosting plan/username combination.
1) Where is the place in DNP to import resources, I haven't seen that.
2) After the transfer will DNP still be aware how much bandwidth the user has used during the current billing cycle or should I make a note before transferring and manually adjust.
3) Sounds like the WHMCS part will run smoothly then, no interruption of billing and no need to delete and re-add, just point the user's account to his new space, correct?
In DNP you can setup load balancing so there is no need to move clients etc.
Originally Posted by louis87
Can you please tell me how to setup load balancing in DNP? I would really love to learn.
I was curious about how to do this as well. As I understand it, you specify a 'target server' for each hosting plan, and when creating a server I don't think you can put two urls into the server url field so I don't think it's possible to combine 2 servers into one on the system. Not seeing how to fork the process to obtain load balancing and haven't seen it mentioned in the documentation...
When creating a virtual server (not the same as a VPS) you can chose as many webservers, mssql servers etc as you want. Then you have the chose of load balancing between them.
Awesome! I thought of the Virtual Server feature when trying to figure this out but didn't know you could add 2 or more servers to the same service type.
Now this leads me to a new question.
How does the load balancing work? I can think of two potential ways (and it makes a big difference when juggling resources):
(To keep things simple, I am ONLY concerned with disk space and bandwidth usage.)
Let's say we have 3 servers added with System and FTP services and combined into 1 virtual server for load balancing.
DNP allocates new accounts in a rotating method viz:
server1, server2, server3, server1, server2, server3...etc.
These 3 servers were purchased around the same time so their load steadily increases until we get to the point where 60% on all 3 servers is being used and we want to buy a 4th server. Once we do and add it to the virtual server for load balancing, what happens is that DNP allocates new accounts still in a rotating method:
server1, server2, server3, server4, server1, server2, server3, server4...etc
So... with this scenario the first 3 servers are at 60% with the 4th server at 0%, and all servers increase steadily at the same pace, with the first 3 servers using up all their space long before the 4th one does.
Same situation with the 3 servers set up as one virtual server except that this time DNP allocates new accounts based on which server has the most available resources. Since the first 3 servers were purchased at around the same time, their used resources percentage increases evenly until they are all at around 60% full. Now, we bring in a brand new 4th server and add it to the virtual server for load balancing. DNP sends ALL new accounts to the new server, until it too is at around 60% full, then starts distributing evenly among all 4 servers.
I see advantages and disadvantages in both scenarios and would like to know which way this works, or if it works some other way I haven't thought of.