Jump to content

TCAdmin master move to what is currently the remote server


Recommended Posts

if i remember correctly, when i installed the files on both machines i had to select which was the master and which was the remote server.

i need to remove the master server from the network and allow the service to run on 1 machine for a while.

Meaning that the current remote server will be the master server.
is it actually a simple process and am i over complicating it in my mind?

i dont seem to see any documentation regarding this as i need to keep the files intact and well not destroy them all...

would someone mind walking me through it so i can ensure its done right first time without issues, when the even happens

Link to comment
Share on other sites

First of; make sure you move your database in case it resides on your master server. Without your database, all of your data will be lost.

To switch the remote server to be a master server, open the tc_servers table in your database. Change the is_master field to 0 for your current master server and set it to 1 for the new master. Also make sure the new master server has id 1.

Also change the server_id of the server's services to 1 in tc_services.

Link to comment
Share on other sites

Thankyou denis, do i need to run the installation.exe again on the remote machine, or litrally just database stuff.

regarding database

i was considering just sending all of the current master server database over to the new master server, would this totally mess things up?

 

Link to comment
Share on other sites

You don't need to run the installer again.

You should move the database to the new server. It might be a good idea to copy the ConfigUtility file to the new master server as well.

Link to comment
Share on other sites

o wow thats great! actually might be easier then expected.

so to clarify this do i simply just need to change the ids you mentioned ?
- will tcadmin move information to the correct place it self for me
or
once the changes are done i need to move the entire tcadmin database over to the "new master server".
- Bearing in mind i have games such as life is feudal that uses sql database.


or can i be selective with what is sent over such as tables
tc_game_services
tc_game_ports
tc_users

sorry if i am asking annoying questions 😄
i just want to get it done right the first time without mistakes and without much down time if needed.
which makes me wonder, can this be done without game servers going down?

Many thanks,
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use