Moving your master and web server to a new dedicated server

**This tutorial is for moving your TCAdmin master and web server to a new dedicated server only. This tutorial does NOT apply to people moving their master server to a remote server or if you have TCAdmin web hosting**

- Make sure the master server requirements are installed in the new server.
http://clients.tcadmin.com/knowledgebase.php?action=displayarticle&catid=7&id=26

- If you are using a MySQL database install MySQL on the new server. Make a backup of your MySQL database and restore it on the new server.
To backup your database you can use mysqldump.exe located in the mysql\bin folder like this:
mysqldump.exe -uroot -pRoot_Password Database_Name > C:\backup.sql
This creates the backup file at c:\backup.sql. Replace Root_Password with the root password and Database_Name with the name of your tcadmin database. The database is named tcadmin by default.

To restore your backup on the new server install MySQL GUI Tools from mysql.com. Use MySQL Administrator to create a new database and a user will full permissions on this database. By default the database and user are named tcadmin.
Save the backup file on the new server and use mysql.exe located in the mysql\bin folder like this:
mysql.exe -uroot -pRoot_Password --database=Database_Name < C:\backup.sql
This restores the backup file located at c:\backup.sql. Replace Root_Password with the root password and Database_Name with the name of the empty database you created.

- Copy the tcadmin installation folder to the new master. If you are using MS Access the database file should be in that folder (tcadmin.mdb). If you selected a different location make sure you backup this file too.

- Request a license reset so you can use your key on a new ip. Your current installation can be active for up to 5 days with the key assigned to another ip.

- Run Enable_ASP_NET.BAT to configure IIS and ASP.NET.

- On the new server run the TCAdmin configuration utility (TCAdminConfig.exe) to create the tcadmin service and website.

- Start the master monitor.

- If you have game servers on the master copy the user files from the old server to the new one and place it in the same location (c:\UserFiles).

- Log in to your control panel. Go to each of those game server's service settings. Select a new ip and save. Then start the game service.

Remote server configuration:

- If you have Remote Database Connections enabled update the MySQL server ip and login in System Settings > Remote DB Connections.

- Reconfigure the remote servers with a new Monitor.config so they know the master's new ip.

  • 495 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?