Cluster Services
Cluster Services
with OnGuard
(For use with Windows Server 2003 Enterprise Edition)
Lenel OnGuard ® 2008 Plus Using Microsoft® Cluster Services with OnGuard
Product version 6.1, item number DOC-903, revision 1.012, June 2008
Copyright © 1992-2008 Lenel Systems International, Inc. Information in this document is subject
to change without notice. No part of this document may be reproduced or transmitted in any form
or by any means, electronic or mechanical, for any purpose, without the express written
permission of Lenel Systems International, Inc.
Non-English versions of Lenel documents are offered as a service to our global audiences. We
have attempted to provide an accurate translation of the text, but the official text is the English
text, and any differences in the translation are not binding and have no legal effect.
The software described in this document is furnished under a license agreement and may only be
used in accordance with the terms of that agreement. Lenel and OnGuard are registered
trademarks and BadgeDesigner™, FormsDesigner™, and MapDesigner™ are trademarks of
Lenel Systems International, Inc.
Windows, Windows Vista, Windows 2003, and Windows XP are trademarks and Microsoft is a
registered trademark of Microsoft Corporation. Integral and FlashPoint are trademarks of Integral
Technologies, Inc. Crystal Reports for Windows is a trademark of Crystal Computer Services, Inc.
Oracle is a registered trademark of Oracle Corporation. Other product names mentioned in this
User Guide may be trademarks or registered trademarks of their respective companies and are
hereby acknowledged.
Portions of this product were created using LEADTOOLS © 1991-2008 LEAD Technologies, Inc.
ALL RIGHTS RESERVED.
OnGuard includes ImageStream® Graphic Filters. Copyright © 1991-2008 Inso Corporation. All
rights reserved. ImageStream Graphic Filters and ImageStream are registered trademarks of Inso
Corporation.
Using Microsoft® Cluster Services with OnGuard
Table of Contents
Index .................................................................................................45
revision 1 — 3
Table of Contents
4 — revision 1
Using Microsoft® Cluster Services with OnGuard
Chapter 1: Overview
OnGuard® 2008 with Windows 2003 Enterprise Server and Microsoft Cluster
Services provides a clustering solution for access control. This allows OnGuard
to continue running if a server or managed resource on the server fails. The
failure of a server or resource in a cluster is transparent (by not tying resources to
a physical server). Microsoft Cluster Service allows for the creation of a
customized failover process.
What is Clustering?
In order to ensure system availability in the event of a failure, or to enhance
performance, two or more servers can be connected by a high speed interconnect
and reference data on a shared data storage device. This grouping is called a
cluster. In a cluster, resources are connected to a virtual server that can easily be
referenced between servers in the cluster. When a failure is detected, resources
can be redirected and the workload redistributed.
revision 1 — 5
1: Overview
How It Works
A server cluster provides high availability by making application software and
data available on several servers linked together in a cluster configuration. If a
server stops functioning, a process called failover automatically shifts the
workload of the failed server to another server in the cluster. The failover process
is designed to ensure continuous availability for critical applications and data.
Although clusters are designed to handle failure, they are not fault tolerant with
regards to user data. The cluster by itself does not guard against loss of user data
such as the actual SQL 2005 database. The recovery of the lost data would
typically be handled by third party software or by taking advantage of a RAID
configuration for data redundancy.
OnGuard Requirements
• OnGuard 2008 must be installed on both servers. This also requires the
installation of Windows 2003 service pack 1 and DirectX 9.0.
Important: Due to conflicts with service pack 1 for Windows 2003, OnGuard runs a
Lenel Windows Security Utility during installation. Read the release notes
carefully before continuing with the installation.
6 — revision 1
Using Microsoft® Cluster Services with OnGuard
revision 1 — 7
1: Overview
8 — revision 1
Using Microsoft® Cluster Services with OnGuard
revision 1 — 9
2: Hardware Configuration
3. Assure that the shared media device contains at least two configured
volumes. One configured volume will host the database; the other
configured volume will host the quorum and clustering logs. The DATA and
QUORUM drives must be two different physical volumes.
4. On each server, connect one NIC to your public network. The other NIC is to
be directly connected to the other server using a cross-over Ethernet RJ-45
cable. Configure the NIC’s with the following pretensions:
• Make sure you have reserved six static IP addresses for the NIC and
cluster configuration. These addresses will be used for:
a. Two (2) public static IP addresses for each NIC connected to the
public network.
b. Two (2) private static IP addresses for each NIC connected to the
private network.
c. One (1) public static IP address for the cluster’s virtual IP address.
d. One (1) public static IP address for SQL Server’s virtual IP address.
• Make sure the public network link on each server is the first NIC
connection accessed by the DNS.
To do this:
a. On the desktop, right-click “My Network Places” and click
“Properties.”
b. On the menu bar, click “Advanced” and click “Advanced
Settings…”
c. Under “Connections”, make sure the public network link NIC is the
first connection in the list. If it is not, highlight the connection and
use the arrows to move it first in the list.
• Make sure the private network link on each server maintains an empty
WINS address.
To do this:
a. On the desktop, right-click “My Network Places” and click
“Properties.”
b. Right-click the private network link and click “Properties.”
c. Make sure that “Internet Protocol (TCP/IP)” is the only checked
component.
Note: Network card settings and IP addresses need to be configured prior to the
installation of the Microsoft Cluster Services.
10 — revision 1
Using Microsoft® Cluster Services with OnGuard
1. On cold boot, configure the PERC controller and update the NVRAM
accordingly.
2. During Microsoft Windows 2003 Enterprise Server installation, select
“Cluster Services” under the “Windows 2003 Components” window. If this
configuration is post-install, you can select “Cluster Services” in “Add/
Remove Programs.”
3. After Windows 2003 Enterprise Server has been installed, prepare the shared
media device hard drives for clustering.
• Revert both drives back to Basic drives; Dynamic drives are not
supported.
• Create primary partitions that are 100% of the drive space, and format
them as NTFS.
4. Run the “Cluster Service Configuration Wizard” on both servers to create a
two-node cluster, starting with the first server.
Note: It is suggested you create a second Administrator account for user validation
during cluster configuration.
revision 1 — 11
3: Install Microsoft Windows 2003 Enterprise Server and Microsoft Cluster Services
12 — revision 1
Using Microsoft® Cluster Services with OnGuard
b. Click [Next].
c. The wizard will now analyze your configuration. When the analysis is
completed, click [Next].
8. On the IP Address window.
a. Enter the IP address that is used to connect to the cluster.
revision 1 — 13
3: Install Microsoft Windows 2003 Enterprise Server and Microsoft Cluster Services
14 — revision 1
Using Microsoft® Cluster Services with OnGuard
Adding a Node
1. Start the Add Nodes Wizard.
a. Click [Next].
revision 1 — 15
3: Install Microsoft Windows 2003 Enterprise Server and Microsoft Cluster Services
16 — revision 1
Using Microsoft® Cluster Services with OnGuard
1. Insert the SQL Server 2005 Enterprise Edition installation disc into the disc
drive located on node one (the computer running the Windows operating
system).
• If autorun is enabled, the Microsoft SQL Server 2005 Enterprise splash
screen will automatically open. The Enterprise edition of SQL 2005 will
automatically install the necessary program files on both nodes during
installation.
• If the Microsoft SQL Server 2005 splash screen does not automatically
display, click the Start button, then select Run. In the Run window,
browse for splash.hta on the disc drive. Alternatively, you can run
revision 1 — 17
4: Install SQL Server 2005 Enterprise Edition
4. The Installing Prerequisites step installs any of the listed components that are missing
from your system. Click [Install].
18 — revision 1
Using Microsoft® Cluster Services with OnGuard
6. On the Welcome page of the SQL Server Installation Wizard, click [Next] to
continue.
7. Wait for the System Configuration Check to complete and then click
revision 1 — 19
4: Install SQL Server 2005 Enterprise Edition
[Next >].
20 — revision 1
Using Microsoft® Cluster Services with OnGuard
Notes: This is the name used to identify the failover cluster on your network.The
virtual SQL Server name must be unique on your network and different than
the names of the host cluster and cluster nodes.
The Virtual SQL Server Name window only displays if setup detects that
you are running Microsoft Cluster Server. If the Virtual SQL Server Name
revision 1 — 21
4: Install SQL Server 2005 Enterprise Edition
window does not display, cancel setup and configure Microsoft Cluster
Server.
Note: This is the IP address that will be shared between servers and bound to the
virtual SQL server name.
22 — revision 1
Using Microsoft® Cluster Services with OnGuard
Notes: One IP address is added for each network on which the failover cluster
instance is available to clients on a public (or mixed) network. Only one IP
address is allowed on each subnet.
To avoid IP address conflicts, make sure the IP addresses assigned to the
heartbeat and to SQL Server 2005 are not shared by any other application.
Note: The selected cluster group is where the SQL Server virtual SQL Server
resources are placed. If you select the group containing the cluster Quorum
revision 1 — 23
4: Install SQL Server 2005 Enterprise Edition
b. You can also specify a custom path for data files in the Data Files field.
c. To continue, click [Next].
14. On the Cluster Node Configuration window, specify the nodes to include in
the failover cluster instance:
a. To add a node to the failover cluster instance: Select the computer from
the Available nodes list and click [Add].
b. To remove a node from the failover cluster instance: Select the
computer from the Selected nodes list and click [Remove].
24 — revision 1
Using Microsoft® Cluster Services with OnGuard
Notes: Any nodes that are unavailable are displayed in the Unavailable nodes list,
as well as the reason the node is unavailable.
To create a one-node failover cluster, only the node that will be installed with
the failover cluster instance should be listed in the Required node list.
15. On the Remote Account Information window, specify the remote login
information by typing a user name (Account) and Password that has
administrator rights on all nodes of the cluster.
Note: This window displays only if you are installing to a remote node. The
credentials you provide are used only during SQL Server setup to configure
SQL Server on each node in the failover cluster instance. This account must
be a valid administrator account on all nodes of the cluster.
revision 1 — 25
4: Install SQL Server 2005 Enterprise Edition
26 — revision 1
Using Microsoft® Cluster Services with OnGuard
Notes: You can use one account for all of the services. All service accounts for a
failover cluster instance must be domain accounts.
The domain name cannot be a full DNS name. For example, if your DNS
name is “lenel_domain.com”, use “lenel_domain” in the Domain field. SQL
Server will not accept “lenel_domain.com” in the Domain field.
b. Select the Customize for each service account check box to specify
the Username, Password, and Domain for specific services, selecting
the service from the Service drop-down.
Important: The account for the SQL Server Agent service must be an administrator for
the cluster node. Do not use the same account assigned to the cluster service.
revision 1 — 27
4: Install SQL Server 2005 Enterprise Edition
service, and Full-Text Search service must run as domain accounts that
are members of the global or local domain group.
b. To continue, click [Next].
28 — revision 1
Using Microsoft® Cluster Services with OnGuard
revision 1 — 29
4: Install SQL Server 2005 Enterprise Edition
MSCLUSTER-A
30 — revision 1
Using Microsoft® Cluster Services with OnGuard
MSCLUSTER-B
b. To view the log file for a component during installation, click the
Product or Status name on the Setup Progress window.
c. When the configuration of SQL Server is done, click [Next] to continue.
23. On the Completing the Microsoft SQL Server 2005 Setup window:
a. View the Setup Summary Log by clicking the link provided on this
window.
b. To exit the SQL Server Installation Wizard, click [Finish].
revision 1 — 31
4: Install SQL Server 2005 Enterprise Edition
Note: Make sure that the SQL program files are directed to either the system drive
or the application drive, and the SQL data files are directed to the SQL data
drive that is part of the cluster.
24. Create a database under the SQL virtual computer name according to the
Lenel requirements on the active server. It will automatically be created on
the other server. (Refer to the Installation Guide for detailed instructions.)
25. After you have completed configuration of Microsoft Cluster Services and
SQL Server 2005 Enterprise Edition, open Cluster Administrator by
selecting the following:
Click the Windows Start button, then select Programs > Administrative Tools >
Cluster Administrator.
32 — revision 1
Using Microsoft® Cluster Services with OnGuard
Follow the steps below to install and configure OnGuard 2008 on both of the
clustering servers.
Note: This is a brief overview of the installation of OnGuard 2008. Please refer to
the Installation Guide for more in-depth installation instructions.
Important: Due to conflicts with service pack 1 for Windows 2003 OnGuard runs a
Lenel Windows Security Utility during installation. Read the release notes
carefully before continuing with the installation.
revision 1 — 33
5: OnGuard Installation and Configuration for Clustering Services
34 — revision 1
Using Microsoft® Cluster Services with OnGuard
assumes responsibility for any security issues that may occur due to these
adjustments.
9. Once the installation is complete, the database installation utility and Lenel
Windows Security Utility run. Follow the on screen instructions to finish the
installation.
10. Click [Finish] upon successful completion of the installation.
11. Depending on the components that you chose to install, you may need to
restart the computer. If you are prompted to do so, reboot the computer.
12. Once the server has restarted, navigate to the Administrative Tools menu
and open Services. Set all of the OnGuard services to “Manual” startup with
the exception of the LS Login Driver. The LS Login Driver should be set
to “Automatic” startup.
13. Repeat steps 1-12 on the second clustered server.
Note: If you have a USB dongle instead of a parallel port dongle, you must install
the driver for the dongle BEFORE attaching the USB hardware key to the
PC. The driver for the dongle is located in the Rainbow directory on the
Supplemental Materials disc. When you install the driver, make sure both the
revision 1 — 35
5: OnGuard Installation and Configuration for Clustering Services
USB and Parallel drivers are selected for installation. For more information,
refer to “Configure a USB Hardware Key” in the Installation Guide.
36 — revision 1
Using Microsoft® Cluster Services with OnGuard
The following steps need to be completed on the active server only. The cluster
shares an instance of SQL so the database only needs to be created once.
1. Apply patch for the OnGuard services to the registry by running the registry
file named OnGuard_Clustering_Services_Fix.reg from the Supplemental
Materials disc under Database Utilities > Clustering Materials.
2. Repeat the process on the secondary server.
Note: If the virtual computer name is not FAILOVER, the registry keys will need
to be further edited.
Note: The registry key will need to be changed if the Cluster name which was
configured in step 6 on page 12 is anything other than ‘FAILOVER’.
HKEY_LOCAL_MACHINE\SOFTWARE\Vinca\CoStandby\ClusterItems\
CLU_IPADDRS\192.168.1.111
revision 1 — 37
5: OnGuard Installation and Configuration for Clustering Services
Note: The directory that is named as the IP address does not have to be changed to
match your virtual cluster IP address, however, it can be if you would like.
38 — revision 1
Using Microsoft® Cluster Services with OnGuard
The steps that follow describe how to add the OnGuard services to the Cluster
Failover so that the OnGuard applications and database can run and be accessed
in the event of a server failure.
revision 1 — 39
6: Adding OnGuard Services to the Cluster Failover
In order to have OnGuard incorporated into the failover process, the necessary
OnGuard services need to be added as resources to the cluster. Open Cluster
Administration and follow the steps that follow.
4. Select dependencies for the service. You will need to select ”Cluster Name”
as a dependency. This determines the failover order. (The LS License
Server service will not start until the Cluster Name has started). Once the
dependency is selected, click [Next].
40 — revision 1
Using Microsoft® Cluster Services with OnGuard
Note: If you are configuring a service other than the LS License Service, you will
need to select only the LS License service resource as the dependency. All
OnGuard services need to be started after the LS License Server has started.
a. In the Service Name field, enter the exact name of the service. (This can
be found in Administrative Tools > Services under the properties for
the specific service.
b. In the Startup parameters field, do not enter anything.
c. Click [Next].
6. The Registry Replication window is displayed. Leave the window blank and
click [Finish].
revision 1 — 41
6: Adding OnGuard Services to the Cluster Failover
7. Repeat steps 1-6 for all other required OnGuard services such as LS Linkage
Server, LS Communications Server, and the LS Replicator.
8. Each service added to the Cluster Group needs to be brought online:
a. Right-click the service then select Bring Online.
b. An exception to this is the LS Linkage Server which must first be
configured in OnGuard using System Options to set a Linkage Server
otherwise the Online attempt will fail.
Once all the necessary resources have been created and added to the cluster, your
Cluster Administration window should be similar to what is shown in the
following graphic.
42 — revision 1
Using Microsoft® Cluster Services with OnGuard
Note: You may not have all the OnGuard services added as resources. You should
see all the necessary services listed as resources that you added.
The last thing that should be done is the execution of a manual failover to test and
verify your cluster configuration. If you have configured everything successfully,
all resources should come online and you should be able to access all OnGuard
applications and monitor configured hardware from the active cluster server no
matter which one it is.
revision 1 — 43
6: Adding OnGuard Services to the Cluster Failover
44 — revision 1
Using Microsoft® Cluster Services with OnGuard
Index
A R
Adding OnGuard services to the cluster failover 39 Requirements
OnGuard ........................................................ 6
C operating system ............................................ 6
Clustering SQL Server .................................................... 6
description...................................................... 5
how it works .................................................. 6 S
installing and configuring OnGuard for ...... 33 Services
operating system requirements ...................... 6 adding to cluster failover ............................. 39
SQL Server requirements .............................. 6 registry fix.................................................... 37
Configuring Setting up the OnGuard database........................ 36
NICs............................................................. 10 SQL Server requirements...................................... 6
OnGuard for clustering ................................ 33
PERC controller........................................... 11
Configuring hardware ........................................... 9
D
Database
recovery ......................................................... 6
setting up OnGuard...................................... 36
Dongle................................................................. 35
H
Hardware configuration ........................................ 9
I
Installing
dongle .......................................................... 35
license file.................................................... 35
Microsoft Cluster Services .......................... 11
Microsoft Windows 2003 Advanced Server 11
OnGuard ...................................................... 33
OnGuard for clustering ................................ 33
SQL Server 2005 Enterprise Edition ........... 17
L
License file.......................................................... 35
O
OnGuard
adding services to the cluster failover ......... 39
installation and configuration for clustering
services ................................................. 33
requirements .................................................. 6
service registry fix ....................................... 37
setting up the database ................................. 36
Operating system requirements ............................ 6
revision 1 — 45
Lenel Systems International, Inc.
1212 Pittsford-Victor Road
Pittsford, New York 14534 USA
Tel 585.248.9720 Fax 585.248.9185
www.lenel.com
[email protected]