Lock-S - Synchronizing Databases with a second computer
Premise
This guide will provide the basic instructions on how to set up a secondary computer and have it access the same Lock-S database as the main computer.
Prerequisites
- Main computer fully configured and installed as per the instructions in this article.
- Admin privileges and passwords on both computers
- Lock-S installed on the secondary computer (no need for the rest of the components, such as the SQL Server Management)
Main Computer Steps
Locate SQL Server Configuration Manager
- Press Start
- Type in "SQL server configuration manager"
- Launch and proceed to the next step
If it does not appear under your apps, instead go to:
"C:\Windows\SysWOW64\" and locate "SQLServerManager11" in the files there.
Configuring with the SQL Server Configuration Manager
- Locate "SQL Server Network Configuration" on the left-hand window (Fig. 1)
- Select "Protocols for KASDB" (Note: KASDB might be named differently, according to your initial set up)
- Double-Click "TCP/IP"
- Change "Enabled" to "Yes"
- Select the "IP Addresses" tap
- Scroll all the way down to "IPAII"
- Select "TCP Dynamic Ports" and type in the port you wish to use (e.g. 15133)
- Press Apply and OK
Note: Avoid using
reserved ports, such as 433 and 80. If in doubt, use a 4-digit random number.
Configuring the Firewall
- Press Start
- Type in "Defender Firewall" and open the app
- Select "Advanced Settings"
- Right Click "Inbound Rules" and "New Rule"
- In the "Rule Type" window select "Port" and click Next
- Ensure that "TCP" is checked, and type in your selected port in the bottom bar (e.g. 15133)
Ensure the database is on the local computer
- Press Start
- Type in "SQL Server Management Studio" and open it
- Note down your "Server Name" for your own reference (in case you need to restore the current values)
- Replace "Server Name" with "LOCALHOST\KASDB" (Note: KASDB might be named differently, according to your initial set up)
- Authentication: SQL Server Authentication
- Login: sa || password: "Kas123!" or "kas123". These are the default credentials, if you have changed them, they will be different.
- Connect. If this is successful, you may proceed to the next step.
Retrieve the computer's IP address
- Press Start
- Type "CMD" and open the app
- Type in "ipconfig"
- Note down the "IPv4 Address"
If several appear, the IP of interest typically begins with a 10.X.X.X or 192.X.X.X
Secondary Computer Steps
- Launch Lock-S
- Under "SQL Server" input the IPv4 address from the previous step, then "\" and KASDB, and then comma ( , ) and the port opened in the Firewall configuration. Example: "10.0.10.1\KASDB,15133"
- Lock-S should now be able to connect to the database on the other computer.
Note: The "main" computer has to be running when attempting to open Lock-S with the secondary computer.
Related Articles
Lock-S Manual / User Guide
KAS Lock-S Hotel Card Lock Software Module Introduction The KAS Lock-S Software must be activated with Serial number and Product ID. The authorized client must safeguard the unique Product ID assigned. An authorized person should be assigned to take ...
Lock-S Software Neo - Factory Reset
These Instructions are only for the Neo Lock when managed from the Lock-S software. Please revisit the knowledge base if you are looking for instructions on the Standalone/ Cloud-managed Neo Lock By System Card - Hotel mode only you cannot use the ...
Lock-S Software - Installing on your Computer
Step # 1 SQL has been installed You must already have installed SQL Server 2012. If you have not done so please click here to complete the steps first Step # 2 Download Lock-S Software Download the zip file in the footer of this document. Once the ...
Universal (Adel) Lock - Full Software Manual
Please click attached file to download.
How to manually take a database backup
Instructions Open SQL Server Management Studio Login with your details. This information should be kept upper management. If you need help finding your login details, please contact contact your IT department Right-click on the database named ...