Vous êtes sur la page 1sur 36

Security Center 5.

1 Installation Guide for NEC Cluster


Click here for the most recent version of this document.

Copyright notice
2011, 2012 Genetec Inc. All rights reserved. Genetec Inc. distributes this document with software that includes an end-user license agreement and is furnished under license and may be used only in accordance with the terms of the license agreement. The contents of this document are protected under copyright law. The contents of this guide are furnished for informational use only and are subject to change without notice. Genetec Inc. assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. This publication may not be copied, modified, or reproduced in any form or for any purpose, nor can any derivative works be created therefrom without Genetec Inc.s prior written consent. Genetec Inc. reserves the right to revise and improve its products as it sees fit. This document describes the state of a product at the time of documents last revision, and may not reflect the product at all times in the future. In no event shall Genetec Inc. be liable to any person or entity with respect to any loss or damage that is incidental to or consequential upon the instructions found in this document or the computer software and hardware products described herein. The use of this document is subject to the disclaimer of liability found in the enduser license agreement. "Genetec", "Omnicast", "Synergis", "Synergis Master Controller", "AutoVu", "Federation", the Genetec stylized "G" and the Omnicast, Synergis and AutoVu logos are trademarks of Genetec Inc., either registered or pending registration in several jurisdictions. "Security Center", "Security Center Mobile", "Plan Manager", and the Security Center logo are trademarks of Genetec Inc. Other trade names used in this document may be trademarks or registered trademarks of the manufacturers or vendors of the respective products. All specifications are subject to change without notice.

Document information
Document title: Security Center 5.1 Installation Guide for NEC Cluster Document number: EN.500.071-V5.1.C1(1) Document update date: February 24, 2012 You can send your comments, corrections, and suggestions about this guide to documentation@genetec.com.

ii

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Product documentation
Security Center includes the following documentation:

Security Center Release Notes. Describes the release in detail, including new features, resolved issues, known issues, and limitations. Security Center Installation and Upgrade Guide. Describes the prerequisites for installing Security Center, and provides instructions for installing and upgrading Security Center on your system. Security Center Administrator Guide. Provides all the instructions and conceptual information youll need to set up, configure, and administer your Security Center system. Getting Started with Security Desk. A task-oriented introduction to Security Desk that uses real-world scenarios (viewing a camera, searching/exporting video, and managing alarms) to show new users how to use the basic product features. Genetec Security Desk User Guide. Provides the instructions and conceptual information you need to get started with Security Desk, to monitor and generate reports for AutoVu LPR, Omnicast video surveillance, and Synergis access control systems. Security Center Video Unit Configuration Guide. Provides the pre-configuration instructions for integrating video units into Security Center, and any configuration steps required for some video unit features to work. Security Center Portable Archive Player User Guide. Explains how to use the Portable Archive Player to view exported video files. AutoVu Patroller Release Notes. Describes the AutoVu Patroller release in detail, including new features, resolved issues, known issues, and limitations. AutoVu Hardware Release Notes. Describes the AutoVu Hardware for this release in detail, including new features, resolved issues, known issues, and limitations. AutoVu Handbook. Provides AutoVu installers and administrators with a single source of information about installing and configuring AutoVu hardware and software. AutoVu Patroller User Guides. Quick reference guides to using Patroller, AutoVus mobile LPR solution. There is a separate user guide for each Patroller installation type (Law Enforcement, City Parking Enforcement, City Parking Enforcement with Wheel Imaging, University Parking Enforcement, and Mobile License Plate Inventory). AutoVu Connecting the Sharp Camera. Explains how to power up and connect your Sharp. A printed version is provided in the Sharp box. AutoVu Connecting the SharpX Camera. Explains how to power up and connect your SharpX. A printed version is provided in the SharpX box. Plugin User Guides. Introduces you to the plugin features and describes whats new in the current release. It also explains how to install and configure the plugin in Security Center, and how to use it in Security Desk.

Where can I find the product documentation?

Product DVD. The documentation is available on the product DVD in the Documentation folder. Release notes and installation guides include a direct link to the latest version of the document. Genetec Technical Assistance Portal (GTAP). The latest version of the documentation is available from GTAP. Note, youll need a username and password to log on to GTAP. Online help. Security Center client applications include online help, which explain how the product works and provide instructions on how to use the product features. Patroller and the Sharp portal also include context-sensitive help for each screen. To access the online help, click Help, press F1, or tap the ? (question mark) in the different client applications.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

iii

Technical support
Genetec Technical Assistance Center (GTAC) is committed to providing its worldwide clientele with the best technical support services available. As a Genetec customer, you have access to the Genetec Technical Assistance Portal (GTAP), where you can find information and search for answers to your product questions.

Genetec Technical Assistance Portal (GTAP). GTAP is a support website that provides in-depth support information, such as FAQs, knowledge base articles, user guides, supported device lists, training videos, product tools, and much more. Prior to contacting GTAC or opening a support case, it is important to look at this website for potential fixes, workarounds, or known issues. You can log in to GTAP or sign up at https://gtap.genetec.com. Genetec Technical Assistance Center (GTAC). If you cannot find your answers on GTAP, you can open a support case online at https://gtap.genetec.com. For GTAC's contact information in your region see the Contact page at https://gtap.genetec.com. NOTE Before contacting GTAC, please have your System ID (available from the About button in your client application) and your SMA contract number (if applicable) ready. Licensing. For license activations or resets, please contact GTAC at https://gtap.genetec.com. For issues with license content or part numbers, or concerns about an order, please contact Genetec Customer Service at customerservice@genetec.com, or call 1-866-684-8006 (option #3). If you require a demo license or have questions regarding pricing, please contact Genetec Sales at sales@genetec.com, or call 1-866-684-8006 (option #2).

Additional resources
If you require additional resources other than the Genetec Technical Assistance Center, the following is available to you:

GTAP Forum. The Forum is an easy to use message board that allows clients and Genetec staff to communicate with each other and discuss a variety of topics, ranging from technical questions to technology tips. You can log in or sign up at https://gtapforum.genetec.com. Technical training. In a professional classroom environment or from the convenience of your own office, our qualified trainers can guide you through system design, installation, operation, and troubleshooting. Technical training services are offered for all products and for customers with a varied level of technical experience, and can be customized to meet your specific needs and objectives. For more information, go to http://www.genetec.com/English/Support/Training.

iv

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Contents
Product documentation . Technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii . iv . vii

About this guide .

Chapter 1: Before you install


About NEC clustering for Security Center What can fail over? . . . . . . . . . . . . . . NEC ExpressCluster terminology . Minimum server requirements Planning checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 3 4 5

Chapter 2: Installing Security Center in a NEC ExpressCluster environment


Prepare your servers for clustering Install NEC ExpressCluster . . . Install Security Center server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 . 10 . 11

Chapter 3: Configuring your Security Center NEC cluster


Configure Security Center Server for the cluster . Configure SQL Server for the cluster . Create the script files manually . Create the cluster . Testing your cluster . . . . . . . . . . . . . . . . . . . . . . . Configure NEC ExpressCluster X LAN edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 . 16 . 21 . 21 . 23 . 25

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

About this guide


This guide describes how to install and configure Security Center on a two node (two servers) NEC mirrored cluster on a Windows Server 2008 operating system.
NOTE The procedures in this guide can be extended to additional nodes.

This guide is written for those responsible for installing Security Center. It assumes you are familiar with the following concepts and systems:

Genetecs Security Center solution and its architecture Windows system administration The concept of clustering and how to install and configure the NEC ExpressCluster X
Lan Edition for Windows SQL Server administration and Microsofts SQL Management Studio

This guide is organized into the following chapters:

Chapter 1, Before you install on page 1. Chapter 2, Installing Security Center in a NEC ExpressCluster environment on page
7. Chapter 3, Configuring your Security Center NEC cluster on page 13.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

vii

1
Before you install
This section describes what you need to know and do before installing and configuring your clustered Security Center system. This section includes the following topics:

"About NEC clustering for Security Center" on page 2 "What can fail over?" on page 3 "NEC ExpressCluster terminology" on page 3 "Minimum server requirements" on page 4 "Planning checklist" on page 5

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Before you install | About NEC clustering for Security Center

About NEC clustering for Security Center


Your NEC ExpressCluster X LAN Edition provides synchronous data mirroring between two (or more) servers. Fast application recovery and data protection is ensured in case of a system failure. Clustering ensures that your Security Center servers configuration files and database files found on one server are mirrored on another server. A virtual IP address is used to accept incoming client connections. The cluster then monitors the active servers hardware and software. If a failure is detected, the cluster replaces the active server with the standby server so that the system remains online. Clients do not know whether the active server or the standby server is managing the system as they are still connected to the same IP address.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Before you install | What can fail over?

What can fail over?


Security Center server roles supported for failover with NEC ExpressCluster

Directory role Active Directory role Access Manager role Report Manager role Archiver role Zone Manager role Intrusion Manager role Omnicast federation role

NEC ExpressCluster terminology


This guide uses the following terms to describe the components of a NEC ExpressCluster:
Term Description

Public network Private network Active node Standby node Heartbeat

The network hosting the Security Center server and clients. Also known as Interconnect network. The dedicated link connecting the two clustered servers together. The clustered server actively managing Security Center. The clustered server waiting on standby. A signal that servers in a cluster send to each other to detect a failure in the cluster.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Before you install | Minimum server requirements

Minimum server requirements


Your servers should be identical in terms of hardware, operating system, and software. NEC ExpressCluster, SQL server, and Security Center each have their own set of minimum requirements. This table lists the minimum requirements as a combination of all three:
Component Requirements

CPU and memory Operating system Disk partitions

Refer to Server hardware requirements in the Security Center Installation and Upgrade Guide. Refer to the NEC ExpressCluster system requirements located at: http://support.necam.com/EnterpriseSW/EC/XR3/Windows/#LAN. Each server will need two identically configured disk partitions (apart from your C:\). One for the cluster partition (64 MB RAW) and one for the mirrored partition (40 GB or more NTFS). These partitions should not be on the same physical disk as the operating system and software, so two physical hard drives are required. IMPORTANT For systems with more than 1,000 entities (cameras, doors, cardholders, etc) three physical hard drives are required for performance reasons. Each server will need two network cards. One to accept external client connections and the other for the clusters interconnection. 1Gb/s cards are recommended. A workstation needs to be identified as the NEC Client workstation. It will be used for configuration and administration of the cluster. SQL Server 2008 R2 Express is bundled on the Security Center DVD. But for installations where the database size will grow over 10 GB (very rare), two copies of SQL Standard or Enterprise will be needed. SQL Management Studio needs to be installed on both servers. See http://www.microsoft.com/download/en/details.aspx?id=22985.

Network cards

NEC Client workstation SQL Server

Database management tool

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Before you install | Planning checklist

Planning checklist
You will need to know the following information before starting your cluster installation.
Cluster component Description Your system

Cluster name Failover group name Failover floating IP Management floating IP Virtual computer name Active Node name Active Node Public IP address Active Node Public Subnet mask Active Node Public Default Gateway Active Node Public Preferred DNS server address Active Node Private IP Active Node Private Subnet mask Standby Node Name Standby Node Public IP Standby Node Public Subnet mask Standby Node Public Default Gateway Standby Node Public preferred DNS server Standby Node Private IP Standby Node Private Subnet mask

Name of the cluster configuration. Name of the failover group Static IP address used by clients to access Security Center services within the cluster. Static IP used to access cluster management services. Name to be used to access the server (Active or Standby) currently hosting the Security Center services. Name of the active server used in cluster configurations. Static IP address used in the public IP network. Subnet mask used in the public IP network. Default Gateway used in the public IP network. Static IP address of the Preferred DNS server in the public IP network. Static IP address used in the interconnect IP network. Subnet mask used in the interconnect IP network. Name used for identification in the cluster configuration. Static IP address used in the public IP network. Subnet mask used in the public IP network. Default Gateway used in the public IP network. Static IP address used in the interconnect IP network. Static IP address used in the interconnect IP network. Subnet mask used in the interconnect IP network.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

2
Installing Security Center in a NEC ExpressCluster environment
This section explains how to install Security Center in a NEC ExpressCluster environment. This section includes the following topics:

"Prepare your servers for clustering" on page 8 "Install NEC ExpressCluster" on page 10 "Install Security Center server" on page 11

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Installing Security Center in a NEC ExpressCluster environment | Prepare your servers for clustering

Prepare your servers for clustering


Before you begin: Before installing the NEC ExpressCluster software, follow these steps to prepare the servers. 1 Make sure that each server has two network cards and two physical hard disks. 2 Configure your first hard disk with one partition only. It will be used for your operating system and software. 3 Configure your second hard disk with two partitions. One is called the cluster partition (64 MB raw) and the other is called the data partition (40 GB or more, NTFS). The data partition will contain Security Centers SQL database files as well as the servers configuration files. This data will be mirrored between the two servers.
IMPORTANT Not only must the partitions be identical on both servers, but the drive letters assigned must also be identical.

4 Create two folders on the data partition for mirroring:

N:\Genetec Security Center 5.1 ConfigurationFiles N:\MSSQL\DATA

NOTE In this example N: is the drive letter assigned to our mirrored data partition.

5 If your system has more than 1,000 entities, or requires extensive reporting, a third disk should be configured with another cluster partition and data partition. SQLs *.ldf files will be clustered from one disk and SQLs *.mdf files will be clustered from another physical disk. This step is added for performance stability in larger systems. 6 Install the same operating system on both servers. (See "Operating system" on page 4). 7 In Windows, rename the first network card as Public. This is the network interface that will accept incoming client connections. Repeat on the second server. 8 Rename the second network card as Private or Interconnect. This is for the dedicated interconnection between the two clustered servers. Repeat on the second server.
IMPORTANT The order of the network cards as seen by Windows is significant. The first network card is assigned to the public network and the second network card to the private interconnect.

9 On each server, configure the Public network card to use the same IP subnet. 10 On each server, configure Private network card to use the same IP subnet.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Installing Security Center in a NEC ExpressCluster environment | Prepare your servers for clustering

11 Disable all network card features of the Private NIC except TCP/IP version 4 (and, if it appears in the list, the driver).

12 From the command line, test whether the two servers nodes can ping each other over their public interface and over their private interface.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Installing Security Center in a NEC ExpressCluster environment | Install NEC ExpressCluster

Install NEC ExpressCluster


Before you begin: It is assumed that you are familiar with the concept of clustering and how to install and configure the NEC ExpressCluster X LAN Edition for Windows. For more information, see the NEC documentation supplied with the NEC ExpressCluster software, or at http://support.necam.com/EnterpriseSW/EC/XR3/Windows/#LAN. When installing the NEC ExpressCluster software, keep the following points in mind:

NEC clusters can be set up with several different configurations. Note that we are using
their High availability cluster configuration using mirror disks with 2 nodes. The NEC software should be installed on the servers C:\ drive, not a mirrored disk. The identical folder path is required on both servers for the NEC software installation. NEC cluster licenses will be required after the installation. DO NOT reboot either server until the NEC ExpressCluster has been installed on both. Apart from installing the cluster software on two servers, you will also need to install the NEC WebManager on a workstation. This will be used to manage the cluster.

10

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Installing Security Center in a NEC ExpressCluster environment | Install Security Center server

Install Security Center server


Before you begin: A Security Center license will be needed for each main server. After the NEC ExpressCluster software has been installed, you will need to install Security Center Server and SQL Server, first on your active server, then on your standby server. 1 If Security Center will federate with earlier Omnicast video systems, you will need to install the appropriate compatibility packs. For more information, see Install Omnicast compatibility packs in the Security Center Installation and Upgrade Guide. 2 Install Security Center Server and SQL Server. For more information, see Install Security Center on a main server the Security Center Installation and Upgrade Guide. 3 Launch the Server Admin application and do the following: a If the server is a Security Center Main Server (hosting the Directory role), apply the Security Center license in the Server Admin. For more information, see Activate your license in the Security Center Installation and Upgrade Guide.
NOTE Two Security Center server licenses will be needed. One for each server.

b In the Server Admin, make sure that the network card binding for the Genetec Server is set to Any. c Close the Server Admin and reboot the server. 4 Repeat Step 1 to Step 3 on the standby server. 5 Using your Config Tool application, login to the active Security Center server to ensure that the roles you need have been successfully created. For more information, see the Security Center Administrator Guide.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

11

3
Configuring your Security Center NEC cluster
This section explains how to configure Security Center once the cluster software, Security Center Server, and SQL Server have been installed. This section includes the following topics:

"Configure Security Center Server for the cluster" on page 14 "Configure SQL Server for the cluster" on page 16 "Configure NEC ExpressCluster X LAN edition" on page 21 "Testing your cluster" on page 25

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

13

Configuring your Security Center NEC cluster | Configure Security Center Server for the cluster

Configure Security Center Server for the cluster


You will need to make some changes to Security Center Server for it to be protected with failover by the cluster. The servers license file must be moved to a non-mirrored folder, and the configuration files must be moved to a mirrored disk. The Genetec Watchdog service must also be modified so that it doesnt try to restart the Genetec Server service. To move your Security Center servers license file and configuration files for a clustered environment: 1 On both servers, stop the Genetec Watchdog service and the Genetec Server service. a Click Start > Control Panel > Administrative Tools > Services b Select the Genetec Watchdog service and click Stop Service on the toolbar at the top of the page. c Select the Genetec Server service and click Stop Service on the toolbar at the top of the page. d Minimize, but dont close the Services window. 2 Move the Genetec Servers license file (license.gconfig) from C:\Program Files\Genetec Security Center 5.1\ConfigurationFiles to the Security Center root folder (C:\Program Files\Genetec Security Center 5.1). 3 Using Notepad, paste the following text into an empty text file: <?xml version="1.0" encoding="utf-8" ?> <configurationPath path="N:\Genetec Security Center 5.1 ConfigurationFiles"> <forceRoot name="License" /> </configurationPath> This file contains four lines. It will point to your mirrored data drive (N: is used in the example) as the location of your configuration files and your local root folder as the location of your license file. If your mirrored data drive is configured differently, adjust the file with your mirrored drive path. 4 Save the text file with the name ConfigurationPath.gconfig in your Security Center root folder (C:\Program Files\Genetec Security Center 5.1) 5 Repeat steps 1-4 on your standby server. You have just created a supplementary server configuration file called configurationPath.gconfig. This file tells the server to look in an alternative path for your configuration files (the mirrored data drive) and an alternative path for the server license. The NEC Cluster will monitor and control the Genetec Server service, so you do not want the Genetec Watchdog service trying to start or stop the server anymore.

14

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Configuring your Security Center NEC cluster | Configure Security Center Server for the cluster

To stop the Genetec Watchdog service from controlling the Genetec Server service: 1 Use Notepad to open the file GenetecWatchdog.gconfig found in the patch C:\Program Files\Genetec Security Center 5.1\ConfigurationFiles 2 Edit the file to include the string: preventServiceRestart="true" The third line should now read (without any hyphen at the line break): <Watchdog serverPort="4534" registrationRetryDelay="00:00:15" responsivenessTimeout="00:02:00" emailFilterLevel="None" preventServiceRestart="true"> 3 On the active server, move the configuration files from their default path to the new configuration folder on your mirrored data partition. See "Create two folders on the data partition for mirroring:" on page 8. 4 Repeat Step 1 to Step 4 on your standby server. 5 Start the Genetec Server service on both servers.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

15

Configuring your Security Center NEC cluster | Configure SQL Server for the cluster

Configure SQL Server for the cluster


To configure your SQL database server for a clustered environment, you must move the database to your mirrored data partition so that the contents of the database are identical on the active server and the standby server. 1 On both servers, stop the Genetec Watchdog service and the Genetec Server service. a Click Start > Control Panel > Administrative Tools > Services b Select the Genetec Watchdog service and click Stop Service on the toolbar at the top of the page. c Double-click the Genetec Watchdog service and set the Startup Type to Manual d Select the Genetec Server service and click Stop Service on the toolbar at the top of the page. e Double-click the Genetec Server service and set the Startup Type to Manual 2 In SQL Management Studio, you will need detach all Security Center databases before the database files can be moved to your mirrored data partition. Detaching a database removes it from the instance of the Microsoft SQL Server but leaves intact the database, with its data files and transaction log files. a Open SQL Management Studio and connect to the Security Center database instance (by default the instance name is SQLEXPRESS)

16

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Configuring your Security Center NEC cluster | Configure SQL Server for the cluster

b Right click on each one of the Security Center databases and select Task > Detach.

3 Move the Security Center *.MDF and *.LDF database files from their default folder (C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA) to the SQL folder on the mirror partition created earlier (N:\MSSQL\DATA). 4 Stop the SQL service on both servers. 5 Using SQL Server Configuration Manager, modify the SQL startup parameters for the master database on both servers. a Open your SQL Server Configuration Manager. b Select SQL Server Services in the pane on the left.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

17

Configuring your Security Center NEC cluster | Configure SQL Server for the cluster

c Right-click on SQL Server (SQLEXPRESS) and select Properties.


.

d Select the Advanced tab in the SQL Server (SQLEXPRESS) Properties window. e Modify the field Startup Parameters to point to the new master database path.

In this example we have modified the startup parameters to: -dN:\MSSQL\Data\master.mdf;-eN:\MSSQL\Data\Log\ERRORLOG;lN:\MSSQL\mastlog.ldf Whereby the field points to the new (mirrored) drive and folder path of our master database (N:\MSSQL\Data).

18

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Configuring your Security Center NEC cluster | Configure SQL Server for the cluster

6 Move the master database (master.mdf and master.ldf) for the active server to the SQL folder on the mirror partition created earlier (N:\MSSQL\DATA). Delete the master database (master.mdf and master.ldf) on the standby server (it will be replicated from the active server). 7 Restart SQL service on both servers. 8 Reconnect SQL Management studio to SQL server for the active server. 9 Re-attach the Security Center databases.

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

19

Configuring your Security Center NEC cluster | Configure SQL Server for the cluster

10 When prompted to point to the database to be attached, use the Add button to browse to the new path of your (moved) master database.

IMPORTANT This step needs to be performed on the standby server as well but it is not possible at this point. Once the cluster configuration has been completed, you will need to force a failover to the standby server, then connect SQL Management Studio to its SQL server to re-attach the same databases.

20

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Configuring your Security Center NEC cluster | Configure NEC ExpressCluster X LAN edition

Configure NEC ExpressCluster X LAN edition


Before the NEC cluster can offer failover protection, you must create two script files, and use the NEC WebManager to configure the cluster:

"Create the script files manually" on page 21 "Create the cluster" on page 23
NOTE The required script files are called Start.bat and Stop.bat. They can be found in the

\Tools folder of your Security Center installation disk or, downloaded from http:// GTPA.genetec.com.

Create the script files manually


1 To prepare your start.bat script, open Notepad and paste the following lines of code: rem *************************************** rem * start.bat * rem *************************************** IF "%CLP_EVENT%" == "START" GOTO GEN_PROC IF "%CLP_EVENT%" == "FAILOVER" GOTO GEN_PROC IF "%CLP_EVENT%" == "RECOVER" GOTO EXIT rem CLUSTERPRO Server is not started ARMBCAST /MSG "CLUSTERPRO Server is offline" /A GOTO EXIT rem *************************************** rem Normal Startup process rem *************************************** :GEN_PROC rem Check Disk IF "%CLP_DISK%" == "FAILURE" GOTO ERROR_DISK rem Clear VertX case and remove VertX temp files IF EXIST "C:\Program Files (x86)\Genetec Security Center 5.1\VertXFileCache" rmdir /S /Q "C:\Program Files (x86)\Genetec Security Center 5.1\VertXFileCache" IF EXIST "C:\Program Files (x86)\Genetec Security Center 5.1\VertXTempFiles" rmdir /S /Q "C:\Program Files (x86)\Genetec Security Center 5.1\VertXTempFiles" rem Start services armload MSSQL /s /a /r 3 /fov /WAIT 30 MSSQL$SQLEXPRESS
genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1) 21

Configuring your Security Center NEC cluster | Configure NEC ExpressCluster X LAN edition

armload GenetecServer /s /a /r 3 /fov GenetecServer armload GenetecWatchdog /s /a /r 3 /fov GenetecWatchdog GOTO EXIT rem *************************************** rem Irregular process rem *************************************** rem Process for disk errors :ERROR_DISK ARMBCAST /MSG "Failed to connect the switched disk partition" /A GOTO EXIT :EXIT 2 Save the file in a temporary location like your Windows desktop with the name Start.bat. 3 To prepare your Stop.bat script, open Notepad and paste the following lines of code: rem *************************************** rem * stop.bat * rem *************************************** IF "%CLP_EVENT%" == "START" GOTO GEN_PROC IF "%CLP_EVENT%" == "FAILOVER" GOTO GEN_PROC rem CLUSTERPRO Server is not started ARMBCAST /MSG "CLUSTERPRO Server is offline" /A GOTO EXIT :GEN_PROC rem Check Disk IF "%CLP_DISK%" == "FAILURE" GOTO ERROR_DISK rem ** Stop the Genetech Services ** armkill GenetecWatchdog armkill GenetecServer armkill MSSQL GOTO EXIT rem *************************************** rem Irregular process rem ***************************************
22 genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Configuring your Security Center NEC cluster | Configure NEC ExpressCluster X LAN edition

rem Process for disk errors :ERROR_DISK ARMBCAST /MSG "Failed to connect the switched disk partition" /A :EXIT 4 Save the file in a temporary location like your Windows desktop with the name Stop.bat. After you are done: Keep the two script files aside for the moment. They will be applied to the cluster later. You will now need to create the cluster itself with the NEC WebManager application.

Create the cluster


1 Open the NEC WebManager on your cluster management workstation. 2 From the File menu, select Cluster Generation Wizard 3 Refer to the planning checklist above ("Planning checklist" on page 5) to configure your new cluster through the wizard. To finalize the cluster configuration: 1 Use the NEC ClusterManager application on the workstation used for cluster management to add the Start script and Stop script batch files. 2 Change the Cluster Managers view from Operation mode to Configuration mode. 3 Right-click the failover group and select Add Resource.

The Resource Definition of Group (failover) wizard opens. 4 Select Type: script resource, and click Next. 5 Accept the defaults for dependencies, and click Next.
genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1) 23

Configuring your Security Center NEC cluster | Configure NEC ExpressCluster X LAN edition

6 Accept the defaults for Recovery operations, and click Next. 7 On the Scripts page, click Add and select your Start.bat script file. 8 On the Scripts page, click Add and select your Stop.bat script file. 9 Click Finish. 10 Right-click Monitors, and select Add Monitor Resource.

11 Add the following Monitors:

IP monitor for your network gateway. Mirror connect monitor for your clustered mirror disk. Mirror disk monitor for your clustered mirror disk. NIC Link Up/Down monitor for your active server and standby servers public network interface. Service monitor for the Microsoft SQL Server.

24

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

Configuring your Security Center NEC cluster | Testing your cluster

Testing your cluster


To test your Security Center cluster configuration, try the following four failover tests.
Description of task Data transition time

Failover Test #1 - NEC move operation Using the NEC ClusterManager, perform a move operation to switch active to standby and standby to active. The standby server should become active and the active should become standby. Let the servers operate for a period of 30 minutes. Using the NEC ClusterManager, perform a move operation to revert to the original configuration. 10 minutes

n/a 10 minutes

Failover Test #2 - Windows OS shutdown of Security Center and active server Perform a standard Windows shutdown of the Security Center and Omnicast Primary servers, failover to Secondary Security Center and Omnicast servers. Let the Secondary failover servers operate for a period of 30 minutes. After 30 minutes, bring up the Primary Security Center and Omnicast servers and switch operation back to these servers from the Secondary servers 5 minutes

n/a 5 minutes

Failover Test #3 - Disconnect the Public NIC on the Security Center active server Disconnect the Public NIC on the Security Center active server. Operations should automatically switch over to the standby server. Let the secondary failover server operate for a period of 30 minutes. Reconnect the Public NIC on Security Centers primary server. 5 minutes n/a 5 minutes

Failover Test #4 - Disconnect the Interconnect NIC on Security Center active server used to relay the heartbeat of primary server to secondary (failover) server Disconnect the network cable on the Security Center primary server used to relay the heartbeat of the server to the secondary (failover) server; operations should continue to be maintained by the primary server. Keep the network cable disconnected for a period of 30 minutes. Reconnect the network cable on the Security Center primary server; wait for the SQL database on the secondary (failover) server to get updated. n/a

n/a 5 minutes

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

25

Index
C
clustering NEC clustering, 2 configuring NEC ExpressCluster X LAN edition, 21 Security Center for NEC clustering, 14 SQL server for NEC clustering, 16 contacting technical support, iv

P
product documentation about, iii where to find, iii

S
server requirements NEC clustering, 4

D
demo license, acquiring, iv document information, ii documentation See production documentation

T
technical support, contacting, iv testing NEC clustering, 25

I
installing NEC ExpressCluster, 10

N
NEC clustering about, 2 configuring NEC ExpressCluster X LAN edition, 21 Security Center server, 14 SQL server, 16 installing NEC ExpressCluster, 10 prerequisites planning checklist, 5 server requirements, 4 supported roles, 3 terminology, 3 testing, 25

genetec.com | Security Center 5.1 Installation Guide for NEC Cluster | Download latest version EN.500.071-V5.1.C1(1)

27

Vous aimerez peut-être aussi