Product: | Microsiga Protheus | ||||||||||||
Versions: | 11 and 12 | ||||||||||||
Step by Step: | Procedure to create test base based on a production base copy
- Make a copy of the root folder of Protheus (Ex.: C:\TOTVS 12) - In the copy folder, open file appserver.ini - For better identification, change the [Ambiente] name - In the section [Service], change the rows Name= e DisplayName= - If a test base is in the same server of the production base, change the port in section [TCP] - In the environment section, adjust paths of folders for the name of the renamed folder - If section [HTTP], change port - If you use database separated from Production, create a base in SGBD (or make a copy of the main database), configure the ODBC, then point to the configurations of this base in the section [DBAccess] or rows DB of the environment
- After copying, open file smartclient.ini - In the section [TCP], change the port for which it was defined in the appserver.ini file (if the base was put in other physical server, change the row Server as well, adding address of the server IP) - In the section [Config], in the row EnvServer, delete the content, add the environment name you defined in the appserver.ini file - When accessing by the shortcut of this Smartclient, it is connected in the Test base - Open file smartclient.ini of production - Copy section [TCP], and past below - Switch the name of the second section TCP to [TCP-Teste], for example - In this section, change the port that was defined in the file appserver.ini (if the base was put in other physical server, change the row Server as well, add the server IP address) - In the section [Config], in the row EnvServer, after the name of the production environment, add a comma and the name of the environment you defined in the appserver.ini file - When opening the Smartclient, in Communication in the customer, alternate between the Production TCP and the TCP-Teste. And in an Environment in the server, alternate between the name of the Production Environment and the Test Environment
| ||||||||||||
Notes: |