3. Set up hosts

The ClonePanel system is now set up, but before it can do anything useful you need to enter information about the host systems it will connect to and the accounts on them.

This is done by entering the commands "./server add" and "./account add", and following the prompts.

[tester@ACER scripts]$ ./server add

ClonePanel version 0.30, Copyright (C)2006 Chris Cheers
ClonePanel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute
it under certain conditions; read LICENSE.txt for details.

Enter a name to use for this server: KATE
Enter server numeric IP address: 172.31.255.3
Enter server A record [172.31.255.3]:
Enter nameserver IP address (default blank): 172.31.255.3
Enter dns update method [NONE]: WHM
Enter template for home directory on this host [/home/_USERNAME_]:
Monitor this host (y/n): y
Enter monitor IP address [172.31.255.3]:
Enter monitor path [cgi-bin/up.cgi]:
Enter monitor domain name [172.31.255.3]: internetlynx.com.au
Enter monitor priority [1]:
Enter server location [USA]: AUS
Upload monitor data to this host (y/n): y
Enter username for account to hold results files: cheers
Enter path to results file directory [public_html/monitor]:
Creating /home/tester/cp0.30/hosts/KATE/config
SERVER=’172.31.255.3′
NS=’172.31.255.3′
A=’172.31.255.3′
DNSUPDATE=’WHM’
MONITOR_IP=’172.31.255.3′
MONITOR_PATH=’cgi-bin/up.cgi’
MONITOR_HOST=’internetlynx.com.au’
PRIORITY=1
LOCATION=’AUS’
MONITOR_RESULT_USER=’cheers’
MONITOR_RESULT_DIR=’public_html/monitor’

REMOTEHOST_HOME=’/home/_USERNAME_’

Done!
[tester@ACER scripts]$

Here we’ve specified a host server (it may be a shared or reseller account, VPS or dedicated server). Since we answered "y" to the monitoring question there was some more information needed - the IP, domain name and path to the monitor program. More about monitoring later.

At this point if you have other hosts (for example, if you want to mirror a web site onto a second server) you can define them in the same way. Or if you prefer this can be done later.

Leave a Reply