Difference between revisions of "ITrack/Migrating a server"
From ISoft Wiki
< ITrack
Jump to navigationJump to search
Daytonlowell (talk | contribs) |
Daytonlowell (talk | contribs) m (ITrack/Migrating a MySQL server moved to ITrack/Migrating a server) |
(No difference)
|
Revision as of 09:50, 19 August 2009
- To access services in the UI, go to Start > Control Panel > Administrative Tools > Services
- To start the MySQL service from the command line: net start mysql or net start mysql5
- To stop the MySQL service from the command line: net stop mysql or net stop mysql5
Note: Before making the switch, warn customer/users that ITrack will not work while the move is happening.
Server Side
- Stop the MySQL service on the "old ITrack server"
- Set it to not start on "automatically"
- Create a share on the old ITrack server
- Copy the ITrack database from C:\Program Files\MySQL\MySQL Server 5.0\data to the share you just created
- On the new ITrack server, install MySQL server
- Stop the MySQL service on the new server
- Use explorer to navigate to the share on the old server
- Copy the ITrack database directory to the MySQL data directory on the new server
- Start the MySQL service on the new server.
- Install SQLYog
- Create a new user in the mysql database that ITrack will use to connect to the server
- Change all client machines to be pointed to the new server's name/IP
- Create an ITrack share on the new server, make sure "everyone" has read and write privileges(for images and attachments).
- Move the reports, images, attachments directories from the old server to the share on the new server
Client Side
- Change the "hostname" in all clients host.ini to be the name/IP of the new server.
- Change the "server" in the ODBC to the name/IP of the new server.
- Change the reports, images, attachments to point to the share on the new server.
- Double check to make sure everything is working properly.