RedCfg and Lmhosts File Examples
- Last UpdatedNov 20, 2024
- 2 minute read
In the example shown in the previous figure, two computers, AW7003 and AW7004 represent a master server and a backup server.
The computer names and network IP addresses shown in this example are used as the entries in the RedCfg and lmhosts files. You must substitute the appropriate IP addresses and hostnames as defined by your system administrator.
RedCfg File Example
The computer named AW7003 would have a RedCfg file as follows:
AW7004
<blank line>
\\AW7004\config_A\
<blank line>
AW7003PN
AW7003SN
AW7004PN
AW7004SN
<blank line>
The computer named AW7004 would have a RedCfg file as follows:
AW7003
<blank line>
\\AW7003\config_A\
<blank line>
AW7004PN
AW7004SN
AW7003PN
AW7003SN
<blank line>
In this example, the names AW7003PN, AW7003SN, AW7004PN, and AW7004SN are defined in the lmhosts file on each computer.
RedCfg File Structure
For details, see Chapter 5, Configuring AVEVA Batch Management, in the AVEVA Batch Management Installation Guide.
Lmhosts File
The lmhosts file contains the structure described below. The lmhosts file is located in the following folder on your computer:
C:\winnt\system32\drivers\etc
The file is the same for all stations. Note that the names entered correspond to the entries in the RedCfg file. The #PRE entries cause the entries to be preloaded when your system is started. Using PRE entries is recommended for improved performance.
|
10.40.20.181 |
AW7003 |
#PRE |
|
10.40.20.181 |
AW7003PN |
#PRE |
|
151.128.8.65 |
AW7003SN |
#PRE |
|
10.40.20.182 |
AW7004 |
#PRE |
|
10.40.20.182 |
AW7004PN |
#PRE |
|
151.128.8.66 |
AW7004SN |
#PRE |
|
10.40.20.183 |
AW7005 |
#PRE |
|
10.40.20.184 |
AW7006 |
#PRE |
|
10.40.20.185 |
HistoryServer |
#PRE |
Hosts File
The Hosts file contains Foxboro DCS network information and is located in the following file on your computer:
C:\winnt\system32\drivers\etc
You do not need to change the Hosts file because AVEVA Batch Management with Foxboro DCS components software does not use this file.