Location of configuration parameters
Configuration parameters are located according to the operating system with the running application server.
- APPL_NAME – application name
- APPL_DIR – application directory
- INSTALL_DIR – installation directory
Parameters for MS Windows platforms
Parameters for other platforms (OpenVMS, Linux, ...)
Note: For the purpose of synchronisation of configuration database of SBS server during its connecting to HOT server it is necessary to configure DSN of configuration database of SBS server.
Parameters for MS Windows platforms
All parameters, which are not bound with the application but are required for the application run are located in the system registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000V70].
"InstallDir"="C:\\D2000\\D2000.E70"
"ApplDir"="C:\\D2000\\D2000.V70"
"Log_Dir"="C:\\D2000\\D2000.E70\\Log\\"
"Debug_Dir"="C:\\D2000\\D2000.E70\\Log\\"
"Perf_Dir"="C:\\D2000\\D2000.E70\\Log\\"
"IPMask"="255.255.0.0"
"IPAddr1"="10.12.01.1"
"IPAddr2"="10.12.65.1"
Parameters IPAddr1 and IPAddr2 are described in greater detail in the chapter Configuration of redundant group.
The other parameters, which are bound with the application are located in the system registry: [HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000V70\cfg_APPL_NAME\KERNEL]
and the parameter for RDS setting is located in the system registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000V70\cfg_APPL_NAME\KERNEL.Redundancy]
"State"="SBS"
"GroupName"="WS1BCON1_GROUP"
"Priority"=dword:00000001
"KernelName"="WS1BCON1"
"RD_TIMEOUT_iElection"=dword:00000005
"RD_TIMEOUT_iWaitingHot"=dword:00000014
"RD_TIMEOUT_iWaitingReadyHot"=dword:00000078
"RD_TIMEOUT_iStartingKernelToSBS"=dword:00000078
"RD_TIMEOUT_iStartingKernelToHOT"=dword:00000078
"RD_TIMEOUT_iHotOrSBSToSBS_WaitForHot"=dword:00000014
"RD_TIMEOUT_iHotOrSBSToSBS_WaitAnsConn"=dword:00000003
"NetCheck_Ping1"="172.16.0.3"
"NetCheck_Ping2"="172.16.0.1"
"NetCheck_Ping_TIME_OUT"=dword:00001000
Parameters for other platforms (OpenVMS, Linux, ...)
The parameters are located in two files.
The content of the file GLOBAL.PROPERTIES corresponds to the registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000V70] on Windows platform. The file must be located in the installation directory.
Example of the file GLOBAL.PROPERTIES for OpenVMS platforms:
######################################## # Global ApplDir = /DKA100/D2000/D2000-APP InstallDir = /DKA100/D2000/D2000-EXE DCL_Path = DKA100:[D2000.D2000-EXE.DCL] Product = D2000 OpenVMS IPAddr1 = 10.12.01.1 IPAddr2 = 10.12.65.1 IPMask = 255.255.255.0 ######################################## # Log_Dir = /dka100/d2000/D2000-EXE/LOG Debug_Dir = /dka100/d2000/D2000-EXE/LOG Perf_Dir = /dka100/d2000/D2000-EXE/LOG
The content of the file APPL_NAME.PROPERTIES corresponds to the registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Ipesoft\D2000V70\cfg_APPL_NAME]. The hierarchic (tree) structure of information is written using the separator "." within the parameter name in the file.
Example of the file APPL_NAME.PROPERTIES for OpenVMS platforms:
############################################################## # # Kernel # Parametre for RDG connection Kernel.Redundancy.GroupName = RIS_ROVE Kernel.Redundancy.KernelName = DS25A Kernel.Redundancy.State = SBS Kernel.Redundancy.Priority = 1 Kernel.Redundancy.RD_TIMEOUT_iElection = 7 Kernel.Redundancy.RD_TIMEOUT_iWaitingHot = 10 Kernel.Redundancy.RD_TIMEOUT_iWaitingReadyHot = 120 Kernel.Redundancy.RD_TIMEOUT_iStartingKernelToSBS = 120 Kernel.Redundancy.RD_TIMEOUT_iStartingKernelToHOT = 120 Kernel.Redundancy.RD_TIMEOUT_iHotOrSBSToSBS_WaitForHot = 10 Kernel.Redundancy.RD_TIMEOUT_iHotOrSBSToSBS_WaitAnsConn = 20 # NetCheck_Ping Kernel.Redundancy.NetCheck_Ping1 = 10.12.01.2 Kernel.Redundancy.NetCheck_Ping2 = 10.12.65.2 Kernel.Redundancy.NetCheck_Ping3 = 10.12.01.253 Kernel.Redundancy.NetCheck_Ping4 = 10.12.65.253 Kernel.Redundancy.NetCheck_Ping5 = 10.12.01.254 Kernel.Redundancy.NetCheck_Ping6 = 10.12.65.254 Kernel.Redundancy.NetCheck_Ping_TIME_OUT = 3000 # Parameter for connecting the server to the database Kernel.TNS_Service_Name = D2000 # Parameter for connecting the archive to the database SELF.ARC.TNS_Service_Name = D2000
Related pages:
0 komentárov