itnerd
11-09-2009, 07:47 AM
hey
I want my db server and code server as seprate machine.
so how to do that in whm.
when user created db in cpanel it goes to machine b and code/user application stays at machine a
antony_m
11-09-2009, 11:39 AM
@itnerd
You probably want to look at clustering your cPanel servers or even having your database installed on a separate server and code on another machine. However on the code server, in order to connect to your database server it wouldn't be localhost, you would have to type the actual ip address of the database server if that makes sense.
itnerd
11-09-2009, 11:57 AM
I can do that all.
but I need to do through whm. if new account is created it automatically gets settings of seperate db server. and user home directories are place on code server
antony_m
11-09-2009, 04:03 PM
I don't believe WHM does this automatically last time I checked. You could probably code a bash script to do this and set it on a cron job to run say every hour or so?