2 SERVERS
2 SERVERS Running 2 databases at the same time
The following instructions are for the version 5 of MSDSpro. There are two parts to this. First is to make a second directory of the SERVER. And the second is to change the port numbers for the SERVERS.
What will be happening is that, you will be running two servers at the same time.
MAKING A COPY OF THE SERVER DIRECTORY
Go to MY COMPUTER->C Drive-> PROGRAM FILES. In your program files you should see the MSDSpro SERVER folder, make a copy of that (still in the PROGRAM FILES) But rename it to something like "MSDSPRO SERVER 2". You might also want to make a shortcut onto your desk to for its executable. Don't forget to rename the shortcut to "MSDSPRO SERVER 2" also.
CHANGING THE PORT NUMBERS
1) Open MSDSPRO SERVER, then open on one of the databases that you wanted to run. (just take note that this server will have the default PORT NUMBER 19813) We'll worry about that later.
2) Then open up "MSDSpro Server 2", then load the other database that you wanted. go to EDIT on the Menu bar at the upper left, and click PREFERECES. A new window will pop up for the preferences. On the left column, you will see CLIENT-SERVER, click on that and below it click CONFIGURATION. Now on the right you should see a field for PORT NUMBER. Change the port number to 19814. Then press ok
3) Now you should have two Servers running right? Its now time for the clients to connect to the server. So launch MSDSpro CLIENT by double clicking on it the HOLD ALT right away until it opens up fully. It should now prompt you "CONNECTION TO 4D SERVER" click the CUSTOMS tab. There you should see DATABASE NAME and NETWORK ADDRESS. The database name doesn't really matter what you put in there. But for the NETWORK ADDRESS you have to type in the IP ADDRESS of the SERVER COMPUTER followed by either ,19813 or ,19814.
So for example the IP address of my server computer is 192.168.0.27
If I wanted to connect to "MSDSPRO SERVER" I type in the NETWORK ADDRESS: 192.168.0.27,19813
And
If I wanted to connect to "MSDSPRO SERVER 2" I type in the NETWORK ADDRESS: 192.168.0.27,19814
|