Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure multiple LNS databases in one Vista database.

Issue

In many situations customers have the need to integrate more than one LNS database into a single Vista database.

Environment

  • Vista
  • LNS
  • LonMaker
  • NL220
  • TAC Vista System Plug-In

Cause

  • This is very common in retrofit situations where a new LonMaker or NL220 database is created for the new section of the building, but the existing system was programmed in a completely separate LonMaker or NL220 database.
  • This is also common for multi-building systems like school districts that expand and add schools or buildings over time and integrate to one Vista database.

Resolution

There are some general rules that need to be followed when integrating multiple LNS databases into one Vista database.

These rules are:

  1. You can not integrate more than 4 LNS networks to 1 Vista database when doing straight LNS server to Vista server communication.
    NOTE: If more than 4 networks are needed, then the system must utilize the Loytec NIC852 key and the Orion stack.
    • When using the Orion stack and 1 Loytec NIC852 key this will expand Vista's capability to 8 LNS networks simultaneously.
    • If more than 8 LNS databases are needed then multiple Loytec NIC852 keys are needed.
    • Vista can only communicate to 4 Loytec NIC852 keys at a time for a maximum of 32 LNS databases per Vista server.
    • It is recommended to never use more than 7 ports on the NIC852 for serviceability reasons with Lonmaker or NL220 truly giving the system a 28 network limitation.
  2. The Menta file paths from the site or engineering PC will be stored within the path structure of the System Plug-In. If these files are not in the exact same path on the Vista server that the LNS database is being integrated to, all .MTA files will have to be rebrowsed for every controller. It is recommended to save all Menta files out of the engineering Vista database to a folder on the machine to ensure they are the most current files. Then copy that menta files directory to the new Vista server to ensure the System Plug-In will search and copy the same path when transferring the network to the vista database.
  3. Every LNS database that is being integrated to the Vista server needs to have a unique domain ID. See instructions and screen shots below.

The screen shots and instructions below detail how to build one Vista database with two LonMaker databases. The first database will be called NETWORK1 and the second database will be called NETWORK2.

Please follow these instructions:

  1. Restore and open the LonMaker database NETWORK1 on the machine that is running the Vista server database to which the LNS system will be integrated. Vista server must be running and logged in to continue with the next instruction.


     
  2. From the Visio menu bar, choose LonMaker and Network Properties. Set the Domain ID to a unique number within the Vista database. Systems sharing the same LNS server communicating to one Vista server always have to have unique Domain ID numbers.


     
  3. In the NETWORK1 LonMaker database, open the TAC Vista System Plug-In and choose the toolbar menu item TAC Network, then choose settings. Click the browse button next to the Operator unit object: and browse to the local Vista server object running on the machine. The Operator unit object: entry to change to the Vista server object name currently running on the local machine.


     
  4. In the TAC Network Settings menu, the Vista communication port should be set to Communication Port - LNS, and the Vista communication port name should be named unique to the LNS network name.  LNS_Network Name is good practice. In the example below it is LNS_NETWORK1. Click Apply then OK and close to close the TAC Network Settings window.


     
  5. In the TAC Vista System Plug-In click the Update TAC Network Icon. 


     
  6. Next click the Check TAC Network Icon. Check for any errors or warnings in the output pane.


     
  7. Then finally click the Update Vista Database icon. This process will copy all of the Xenta groups, Lonworks groups, .MTA files, and .XIF files to the Vista database.


     
  8. Once the Vista database has successfully updated, open Vista Workstation and the LNS port should be created along with the physical LNS network. In the screen shot below LNS_NETWORK1 is the LNS port, and NETWORK1 is the physical LNS database.

 

The steps to add the second LNS database are almost identical with the exception of steps 2 and 4  above. Follow these instructions to integrate NETWORK2 in the Vista database.

  1. Restore and open the LonMaker database NETWORK2 on the machine that is running the Vista server database to which the LNS database will be integrated. Vista server must be running and logged in to continue with the next instruction.


     
  2. From the Visio menu bar choose LonMaker and Network Properties and set the Domain ID to a unique number within the Vista database. Systems sharing the same LNS server communicating to one Vista server always have to have unique Domain ID numbers.


     
  3. In the NETWORK2 LonMaker database, open the TAC Vista System Plug-In and choose the toolbar menu item TAC Network, then choose settings. Click the browse button next to the Operator unit object: and browse to the local Vista server object running on the machine. The Operator unit object: entry to change to the Vista server object name currently running on the local machine.


     
  4. In the TAC Network Settings menu the Vista communication port should be set to Communication Port - LNS, and the Vista communication port name should be named unique to the LNS network name. In the example below it is LNS_NETWORK2. LNS_Network Name is good practice. Click Apply then OK and close to close the TAC Network Settings window.


     
  5. In the TAC Vista System Plug-In click the Update TAC Network Icon. 


     
  6. Next click the Check TAC Network Icon. Check for any errors or warnings in the output pane.


     
  7. Then finally click the Update Vista Database icon. This process will copy all of the Xenta groups, Lonworks groups, .MTA files, and .XIF files to the Vista database.


     
  8. Once the Vista database has successfully updated, open Vista Workstation and the LNS port should be created along with the physical LNS network. In the screen shot below LNS_NETWORK2 is the LNS port, and NETWORK2 is the physical LNS database.


     
Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
2 weeks ago
Updated by: