Prerequisites
Before starting the installation process verify the following:
- The Hirsch Velocity server is licensed for Message Queue Writer
- The software installed on the 3VR SmartRecorder is version 6.0.6 or later
- The Hirsch Velocity server and the SmartRecorder are configured to sync with the same NTP (Network Time Protoctol) server
- You have downloaded the 3VR Hirsch Plug-in Installation Package, which contains the following items:
- Plug-in file: Plugins.HirschMSMQTransaction-Release-1.0.0.xxxxx.3pg
- Patch file: disable-firewall.3pa
Configuring Velocity Server
|
|
---|
- Log in to the Hirsch Velocity server and launch Velocity.
- Select SQL Manager from the Console menu (alternatively, launch SQL Server Management Studio Express from the Start menu > Microsoft SQL Server 2005).
- In the Connect to Server dialog window, verify that the Authentication mode is Windows Authentication and click Connect.
- Right-click the server and select Properties from the menu.
- In the Server Properties window, make note of the
database instance Name (e.g. HIRSCH or if you have multiple databases installed, <IP address>\HIRSCH).
This information is required to configure the plug-in settings in referred in
- Select the Security page.
- In the Server authentication section, select SQL Server and Windows Authentication mode radio button.
- Click Ok button twice in the resulting pop up window.
- In the Object Explorer, click the plus sign next to Security.
- Right-click Logins and select New Login.
- In the Login - New dialog window:
In the General page:
- In the User Mapping page:
- Check the checkbox under the Map column in the Velocity row. Your newly created user name (“3vr”) should be automatically populated in the User column. If not, please enter it.
- In the bottom right window, check the checkbox next to db_datareader.
- Click the OK button.
- Exit Microsoft SQL Server Management.
|
|
Installing MSMQ
The steps for installing MSMQ may vary depending on the operating system of the Hirsch server. The following instructions are for Windows Server 2008:
|
|
---|
- Open the Windows Control Panel.
- Click Programs and Features.
- Select Turn Windows features on or off from the left-hand panel.
- In the Server Manager dialog, right click Features and select Add Features.
In the Add Features Wizard, expand Message Queuing and Message Queuing Services.
- Check the checkbox next to Message Queuing Services and
Message Queuing Triggers.
- Click Next and Install to complete your installation.
|
|
Creating New MSMQ Queue
|
|
---|
- On the Velocity Server, open the Windows Start menu and select Control Panel.
- Click Administrative Tools.
- Double-click Computer Management.
- Expand Services and Applications.
- Expand Message Queuing.
- Right-click Private Queues and select New > Private Queue.
- In the New Private Queue dialog window, enter a queue name, such
as 3vr, in the Queue Name field.
Click the OK button.
- Right-click the newly created 3vr private queue and select Properties in the right-click menu.
- In the [Queue Name] Properties window, select the Security tab.
- Select ANONYMOUS LOGON.
If ANONYMOUS LOGON is not available:
- Click Add.
- In the Enter the object names to select field, type “anonymous”.
- Click Check Names. The field should be repopulated with ‘ANONYMOUS LOGON’.
- Click OK.
- Check the Allow checkbox for Receive Message, Peek Message and Send Message.
- Click the OK button.
|
|
Enabling Message Queue Writer
|
|
---|
- Log in to the Hirsch Velocity server and launch Velocity.
- Select Server Extensions from the Add-Ins menu.
- In the Velocity Server Extensions Manager dialog window, click the checkbox to enable the Message Queue Writer extension.
- Click the OK button.
- Click OK in the resulting dialog box to confirm.
- Select Administration from the Console menu.
- In the Administration dialog window, expand Interfaces Configuration.
- Select Message Queue Writers.
Double click Add New Message Queue Writer. In the Message Queue Writer dialog box: - Enter 3vr in the Name field.
- In the Queue field, enter <hostname>\private$\3vr where <hostname> is the hostname of the velocity server.
- Select Velocity XML 1.0 from the Format drop-down menu.
- Select <Always> from the Active during time zone drop-down menu.
- Check the boxes next to Alarms and Transactions {Granted/Denied}.
- Click the Select Events button.
In the Advanced Event Selection dialog window, click the Select All button.
- Uncheck the checkboxes for the following event numbers:
- 3054
- 3088
- 5002
- 5004-5009
- 5011-5018
- 5022-5027
- 5029-5043
- 5059-5061
- 5078
- 5079
- 5082-5084
- 5093-5908
- Click the OK button.
- Check the Enabled checkbox.
- Click OK.
- On the windows task bar, right click the Velocity Service Control Manager task bar icon, and select Stop Velocity Extension Service. Click Yes to confirm.
- Wait a few seconds and right click the Velocity Service Control Manager task bar icon, and select Start Velocity Extension Service.
|
|
Opening Selected Ports in Windows Firewall (If Necessary)
If the Hirsch server is using the Windows firewall rather than an external firewall, you must open select ports in the firewall to allow communication between the server and the 3VR system. See Appendix B for instructions.
Configuring 3VR SmartRecorder
Installing Hirsch Plug-in
|
|
---|
- Launch 3VR System Manager.
- In the Manage Servers tab, click the plus sign next to the system name.
- Right-click the Plugins folder and select Add Plugin.
- To acknowledge that you must reboot the SmartRecorder after installing the plug-in, click Install.
- Navigate to the folder containing the plug-in file.
Click OK. The plug-in will now begin installing.
- When the plug-in has been successfully installed, it will be listed under the Plugins folder in System Manager.
| |
Configuring Plug-in Settings
|
|
---|
- In the Manage Servers tab of System Manager, click the plus sign next to the system name.
- Click the plus sign next to Plug-ins.
- Select Hirsch MSMQ Transaction Application. Information and settings for the plug-in will appear to the right.
- Edit the Database Address setting to the location of the database instance in the format [server IP address or hostname]\[database instance name]. The database instance name is noted in configuring SQL Database.
- By default the Database Name field is set to Velocity. If your database has another name, enter it here.
- The default SQL Database User Name setting is 3vr. If the database user name you created in configuring SQL Database is different, enter it here.
- Type the password you created in configuring SQL Database in the SQL Database Password field.
- Set the MSMQ Host Server to the IP Address (recommended) or hostname of the server hosting the MSMQ queue. This is typically the Hirsch Velocity Server.
- The default Queue Name setting is 3vr. If the queue name you entered in Creating New MSMQ Queue is different, enter it here.
- Click Save to save the plug-in settings.
|
|
Binding Channels to Plug-ins
|
|
---|
- Click Edit Bound Channels.
- In the Bind Plug-in to Channels dialog window, check the check-boxes
corresponding to the desired channels.
- Click the OK button.
- For each channel bound to the plug-in:
- Click Save to save the plug-in settings.
| |
Restarting 3VR Software to Initialize Plug-in
The 3VR VMS software must be restarted in order for any changes to plug-in configuration to take effect:
|
|
---|
- In the Manage Servers tab of SystemManager, right-click the system name and select Restart 3VR Software.
- In the resulting dialog box, click Restart to confirm.
- Wait 1-2 minutes for the software to restart.
| |
Applying Patch to Disable 3VR Firewall
|
|
---|
- Launch 3VR System Manager.
- Click the Update Software tab.
- Click Browse and browse to the location of disablefirewall.3pa on your computer or USB drive.
- Select the SmartRecorder with the Hirsch plug-in and click the Inspect button. Make sure the Status field says OK.
- Click Update.
- Wait for the update to complete and the system to restart. This may take a few minutes.
| |
Verifying Successful Integration
|
|
---|
- Generate a test event on all of the Velocity devices that were mapped to channels in binding channels to plug-ins. For example, if the device is a card reader, swipe an access card.
- Launch 3VR OpCenter.
- In the Monitor panel, select the channel number that corresponds to the device.
- Click the drop-down arrow next to Click here to choose events to open the event type drop-down menu.
- Select Access Event check box and Access Alarm check box.
- Click OK and verify that your test generated an event card in 3VR OpCenter for all devices bound to the plug-in. A sample Velocity event card is shown to the right.
| |
Appendix: A
Identifying Transaction IDs
Use the following steps to look up the Transaction ID of a Velocity device:
|
|
---|
- Log in to the Hirsch Velocity server and launch Velocity.
- Select Administration from the Console menu.
- In the Administration window, expand XNET (or SNET), then expand the remaining nodes until you locate the device you wish to associate with video footage in the 3VR system.
- Right-click the device and select Properties.
- The Transaction ID of the device is displayed in the title bar of the Properties window, for example XNET.001.0001.001.01.SM05. Record the Transaction IDs and channel numbers for each Velocity device here, then use this information to configure the plug-in:
|
|
Opening Ports in the Windows Firewall
If the Hirsch server has the Windows firewall enabled, you must open select ports in the firewall to allow communication with the 3VR system. Use the steps below to open ports 1030, 1043, 135, 1801, 2013, 2105 in the Windows firewall for TCP access
- in Windows Vista and Windows Server 2008 and later.
|
|
---|
- On the Start menu, click Run, type WF.msc, and then click OK.
- In the Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules and then click New Rule in the action pane.
- In the Rule Type dialog box, select Port, and then click Next >.
- In the Protocol and Ports dialog box, select TCP. Select Specific local ports, and then enter the comma-separated list of ports:
1030, 1043, 135, 1801, 2013, 2105
- Click Next.
- In the Action dialog box, select Allow the connection, and then click Next.
- In the Profile dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then click Next.
- In the Name dialog box, type a name and description for this rule (such as “3VR Access”), and then click Finish.
|
|
- in Windows XP and Windows Server 2003:
|
|
---|
- On the Start menu, click Run, type firewall.cpl and then click OK.
- In the Windows Firewall dialog box, click the Exceptions tab, and then click Add Port.
- In the Add a Port dialog box, enter a Name for the port in the text box.
- In the Port number text box, type the first port number: 1030.
- Verify that TCP is selected, and then click OK.
- Repeat steps 2-5 for the remaining ports.
Close the Windows Firewall and the Properties dialog boxes.
| |