How to cluster SQL Server 2000 Analysis Services in Windows 2000 and in Windows Server 2003 (308023)
The information in this article applies to:
- Microsoft SQL Server 2000 Analysis Services
- Microsoft SQL Server 2000 Analysis Services 64 bit
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows Server 2003
This article was previously published under Q308023 Note This is specific to Microsoft Windows 2000 Advanced Server,
Windows 2000 Datacenter, and Windows Server 2003. IN THIS TASK SUMMARY This article provides step-by-step instructions on how to
set up SQL Server Analysis Services 2000 as a clustered service. Although
Analysis Services is not a cluster aware application, you can install and
configure Analysis Services as a generic service on a cluster. When
you follow the steps listed in this article, you can operate Analysis Services
in a clustered environment, which provides a high availability solution for
Analysis Services. The following assumptions are made for this Microsoft
Knowledge Base article:
- The cluster is running on a Microsoft Windows 2000 Advanced
Server-based computer, a Windows 2000 Datacenter Server-based computer, or a
Windows Server 2003-based computer.
- The cluster group in which you configure Analysis Services
always runs on the same node as the default cluster group, which contains the
Cluster IP Address and Cluster Name.
Note This Microsoft Knowledge Base article refers to the node that
currently has control of the cluster server virtual name, IP Address, and
shared disk where you want to store your Analysis Services data files as
Node1. NoteThere are instructions for Analysis Services 64-bit installations
in some sections under the "Analysis Services 64-bit installations" heading.
The setup is different because Analysis Services 64-bit installations must have
the repository and the query log saved on the SQL Server database. You can have
two configurations for the computer that is running SQL Server that has the
repository and the query log for Analysis Services 64-bit:
- You can configure the computer that is running SQL Server
that stores the repository and the query log off the cluster. This
configuration is the easiest to configure for Analysis Services because you
only have to make connection string changes to point to the computer that is
running SQL Server.
- You can configure the computer that is running SQL Server
that stores the repository and the query log on the cluster. This configuration
implies that this computer will also be clustered in an Active/Passive
configuration. This configuration requires more steps for Analysis Services to
be clustered.
Important SQL Server 2000 Analysis Services can only be set up for an
Active/Passive configuration. Active/Active configurations of Analysis Services
are not supported. We assume the following about Analysis Services
64-bit installations: SQL Server will be configured by using the
second configuration method. SQL Server will be installed and set up as a
virtual instance on the same cluster as Analysis Services before Analysis
Services is installed. This virtual instance will be the only instance of SQL
Server on the nodes. This instance of SQL Server is intended to store the
repository and the query log for Analysis Services 64-bit.
back to the top
Install Analysis Services on Node1- Run the Setup program located in the MSOLAP\Install folder
on the SQL Server 2000 CD, or click SQL Server 2000 Components...Install Analysis Services on the Autorun menu that appears when you insert the SQL Server CD.
- In the Welcome dialog box, click Next.
- In the Software License Agreement dialog box, read the Licensing Agreement, and then click Yes to signify your acceptance of the agreement.
- In the Select Components dialog box, make sure that you select all the components, and
then accept the default location for the Destination Folder. Click Next.
- In the Data Folder Location dialog box, click to select a folder on the shared disk resource
of the cluster in which to store your Analysis Services data files. If the
folder you want to use does not exist, the setup program prompts you to allow
the setup program to create it for you. Click Yes, and then click Next.
- In the Select Program Folder dialog box, click Next to accept the default location.
- When the setup completes, click Finish to exit the setup program.
Analysis Services 64-bit installations
Note Make sure that a virtual instance of SQL Server is installed and
clustered before you install Analysis Services. The installation of Analysis
Services 64-bit is different than the installation of Analysis Services 32-bit,
and you will see a tree that details SQL Server and Analysis Services.
To install Analysis Services 64-bit, follow these steps:
- Click Start a New Installation, click
Local Instance, and then click
Next.
- Click Next two times.
- Click to clear the SQL Server check box so that only the
Analysis Server product check box is selected.
- Under Analysis Server, click Data
Files .
- Click Browse, locate the folder on the
Shared disk resource of the cluster where you want to store your Analysis
Services data files, and then click Next.
- In the Instance Name dialog box, type the
name of a temporary SQL Server named instance, and then click
Next.
- Accept the default settings for the remaining
pages.
back to the top
Set the Analysis Server service to manual startup on Node1- Open the Services management console. To open the Services management console, on the Taskbar click Start, point to Programs, point to Administrative Tools, and then click Services.
- Locate the MSSQLServerOLAPService service in the list, and
then double-click the MSSQLServerOLAPService service name to open the Properties dialog box.
- On the General tab, change the Startup Type to Manual.
- If the Service Status is Started, click Stop.
- Click OK to close the Properties dialog box.
- Close the Services management console.
back to the top
Create domain OLAP Administrators group Analysis Services requires that the OLAP Administrators group
have access permissions to the shared directory where the Analysis Services
repository resides. Because the shared directory must be available regardless
of which node in the cluster is active, you will create this shared directory
as a cluster share at a later step in the configuration process. The ACL list
on cluster shares requires domain level accounts and you must create the OLAP
Administrators group as a domain level group and manage OLAP Administrator
membership through the domain level OLAP Administrator group.
- Log onto a system with an account that has Domain
Administrator privileges.
- Use either Active Directory Users and Computers or User
Manager for Domains and create a new domain level group named OLAP
Administrators.
- Add all the users who should be Administrators for Analysis
Services to the OLAP Administrators group.
- Close the Active Directory Users and Computers or User
Manager for Domains.
back to the top
Add domain OLAP administrators to Node1 OLAP Administrators group- On Node1, right-click My Computer, and then click Manage.
- Expand the Local Users and Groups node located under System Tools.
- Click the Groups folder.
- Right-click the OLAP Administrators group located in the
right-hand window, and then click Properties.
- In the OLAP Administrators Properties dialog box, click Add.
- In the Select Users or Groups dialog box, make sure you select the domain in which you created
the OLAP Administrators group.
- Locate the OLAP Administrators group in the list, and then
double-click the name to add the OLAP Administrators group.
- Click OK to close the Select Users or Groups dialog box.
- Click OK to close the OLAP Administrators Properties dialog
box.
- Close the Computer Management console.
back to the top
Move the Analysis Services Query Log database Microsoft Analysis Services stores a sampling of the queries sent
to the server in a Query Log database in Microsoft Access named Msmdqlog.mdb.
The Usage Based Optimization Wizard uses the Msmdqlog.mdb database to tune cube
performance. Microsoft Analysis Services uses a shared folder to allow access
to the Msmdqlog.mdb database from remote systems that run Analysis Manager.
This shared folder should be separate from the data folder; however, it should
be on the same shared disk resource in the cluster.
- Open Windows Explorer.
- Select the same shared disk you chose for the data folder
in the preceding "Install Analysis Services on Node1" section.
- Create a new folder named AnalysisLog.
- Navigate to the C:\Program Files\Microsoft Analysis
Services\Bin folder.
- Copy the Msmdqlog.mdb file from this directory to the AnalysisLog folder you created on the shared disk of the cluster.
Analysis Services 64-bit installationsBy default, the query log is located in the instance of SQL Server
that you selected when you set up Analysis Services 64-bit. Make sure
that the OLAPQueryLog database is copied from the local instance of SQL Server to the
virtual instance of SQL Server and that the OLAPQueryLog database resides on the shared disk. You can copy the database by
using any of the following methods:
- The backup and restore procedure of the SQL Server
database
- The detach and attach procedure of the SQL Server
database
- A Data Transformation Services (DTS) script to move the
structure to the virtual instance of SQL Server from a 32-bit instance of SQL
Server Enterprise Manager
Note You should still create the AnalysisLog folder on the shared disk
because you must have this folder for other files.
back to the top
Remove sharing from the
MsOLAPRepository$ share on Node1- Navigate to the C:\Program Files\Microsoft Analysis
Services\Bin folder.
- Right-click the Bin folder, and then click Sharing.
- Click to select the Do not share this folder option button.
- Click OK to close the Bin Properties dialog box.
- Close Windows Explorer.
back to the top
Force a fail over- Start the Cluster Administrator console.
- Open a connection to the cluster.
- Right-click the cluster group that contains the IP Address
and cluster name, and then click Move Group.
- Right-click the cluster group that contains the physical
disk in which you stored your OLAP data files and AnalysisLog directory, and
then click Move Group.
- Close the Cluster Administrator.
back to the top
Install Analysis Services on Node2- Run the Setup program located in the MSOLAP\Install folder
of the SQL Server 2000 CD, or click SQL Server 2000 Components...Install Analysis Services on the Autorun menu that appears when you insert the SQL Server CD.
- In the Welcome dialog box, click Next.
- In the Software License Agreement dialog box, read the Licensing Agreement, and then click Yes to signify your acceptance of the agreement.
- In the Select Components dialog box, make sure that you select all the components, and
then accept the default location for the Destination Folder. Click Next.
- In the Data Folder Location dialog box, select the same folder on the shared disk resource of
the cluster that you selected when you installed Analysis Services on Node1 of
the cluster. Click Next.
- In the Select Program Folder dialog box, click Next to accept the default location.
- When the setup completes, click Finish to exit the setup program.
Analysis Services 64-bit installationsNote Make sure that a virtual instance of SQL Server is installed and
clustered before you install Analysis Services. The installation of Analysis
Services 64-bit is different than the installation of Analysis Services 32-bit,
and you will see a tree that details SQL Server and Analysis Services.
To install Analysis Services 64-bit, follow these steps:
- Click Start a New Installation, click
Local Instance, and then click
Next.
- Click Next two times.
- Click to clear the SQL Server check box so that only the
Analysis Server product check box is selected.
- Under Analysis Server, click Data
Files .
- Click Browse, locate the folder on the
Shared disk resource of the cluster where you want to store your Analysis
Services data files, and then click Next.
- In the Instance Name dialog box, type the
name of a temporary SQL Server named instance, and then click
Next.
- Accept the default settings for the remaining
pages.
back to the top
Set the Analysis
Server service to manual startup on Node2- Open the Services management console. To open the Services management console, on the Taskbar click Start, point to Programs, point to Administrative Tools, and then click Services.
- Locate the MSSQLServerOLAPService service in the list, and
then double-click the MSSQLServerOLAPService service to open the Properties dialog box.
- On the General tab, change the Startup Type to Manual.
- If the Service Status shows Started, click Stop.
- Click OK to close the Properties dialog box.
- Close the Services management console.
back to the top
Add domain OLAP
administrators to Node2 OLAP Administrators group- On Node2, right-click My Computer, and then click Manage.
- Expand the Local Users and Groups node located under System Tools.
- Click the Groups folder.
- Right-click the OLAP Administrators group in the right-hand window, and then click Properties.
- Click Add in the OLAP Administrators Properties dialog box.
- In the Select Users or Groups dialog box, make sure that you select the domain in which you
created the OLAP Administrators group.
- Locate the OLAP Administrators group in the list, and then
double click the OLAP Administrators name to add this group.
- Click OK to close the Select Users or Groups dialog box.
- Click OK to close the OLAP Administrators Properties dialog box.
- Close the Computer Management console.
back to the top
Remove sharing from
the MsOLAPRepository$ share on Node2- Open Windows Explorer.
- Navigate to the C:\Program Files\Microsoft Analysis
Services\Bin folder.
- Right-click the Bin folder, and then click Sharing.
- Click to select the Do not share this folder option button.
- Click OK to close the Bin Properties dialog box.
back to the top
Move the Analysis Services repository- In Windows Explorer, navigate to the Program
Files\Microsoft Analysis Services\Bin folder.
- Copy the Msmdrep.mdb file from the local drive on the
cluster to the AnalysisLog folder on the shared disk of the cluster.
- Close Windows Explorer.
Analysis Services 64-bit installationsYou do not have to complete this section because the MDB file does
not exist, and the repository is on the computer that is running SQL Server.
You must move the OLAPRepository database to the virtual instance of SQL Server by using one of
the following methods:
- The backup and restore procedure
- The detach and attach procedure
- DTS copy
back to the top
Create a cluster share in the AnalysisLog folder- Open the Cluster Administrator console. To open the Cluster Administrator console, on the Taskbar click Start, point to Programs, point to Administrative Tools, and then click Cluster Administrator.
- Open a connection to the cluster.
- Right-click the Resources folder, and then click New...Resource.
- In the New Resource dialog box, type the following for the resource
name:
"MsOLAPRepository$" (without the quotation marks)
- For the description, type:
"Analysis
Services Share" (without the quotation marks) - Change the resource type to File Share.
- Change the group to be the same group that contains the
shared disk in which you want to store the Analysis Services data files.
- Click Next.
- In the Possible Owners dialog box, make sure both nodes are listed in the possible
owners list.
- Click Next.
- In the Available Resources list of the Dependencies dialog box, select the physical disk that contains the OLAP data
files.
- Click Add to move the physical disk to the Resource Dependencies list.
- Click Next.
- In the File Share Parameters dialog box, for the share name type:
"MsOLAPRepository$" (without the quotation marks) - Type the path to the AnalysisLog folder you created in the "Create Folder for Query Log" step.
- Click Permissions to configure permissions for the share.
- In the Permissions dialog box, click Add.
- In the Select Users or Groups dialog box, make sure you have selected the domain in which you
created the OLAP Administrators group.
- Locate the OLAP Administrators group in the list, and then
double-click the name to add the OLAP Administrators group.
- Locate the Domain Admins group in the list, and then
double-click the name to add the Domain Admins group.
- Click OK to close the Select Users or Groups dialog box.
- In the Permissions dialog box, click the Domain Admins group, and then select the Allow check box for full control.
- In the Permissions dialog box, click on the OLAP Administrators group, and then
select the Allow check box for full control.
- In the Permissions dialog box, click the Everyone group, and then click Remove to remove the Everyone group from the permissions on the share.
- Click OK to close the Permissions dialog box.
- Click Finish to complete the New Resource wizard. The following message should
appear:
Cluster resource 'MsOLAPRepository$' created
successfully. - Click OK to close the Message dialog box.
- Locate the MsOLAPRepository$ in the resource list, and then
right-click MsOLAPRepository$.
- Click Bring Online to make the cluster share available.
- Close the Cluster Administrator console.
back to the top
Modify the registry keys for the Analysis server on Node2 Microsoft Analysis Services reads numerous registry keys to
obtain information about the configuration of the Analysis Server. You must
modify some of the registry keys to reflect the fact that the server is running
on a cluster.
- Run the Registry Editor utility (Regedt32.exe).
- Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP Server\Server Connection Info registry key.
- The "RemoteRepositoryConnectionString" value contains the
name of the node for the data source. Change the
"RemoteRepositoryConnectionString" value to the name of the virtual server. For
example:
Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=\\MyClusterNode2\MsOLAPRepository$\Msmdrep.mdb
Becomes:
Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=\\ClusterServerVirtualName\MsOLAPRepository$\Msmdrep.mdb
Analysis Services 64-bit installations
From a computer that is running the 32-bit version of
Analysis Manager, right-click the server name, and then clickModify
Repository Connection String. You can modify the repository connection
string to point to the virtual instance of SQL Server for both the Repository
connection string and the Remote repository connection string. If the Analysis
server computer is not running when you try to make these changes, you receive
the following error message: "Automation
Error" The following is an example of a connection string: Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial
Catalog=OLAPRepository;Data Source=vsql64cluster;Use Procedure for
Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=AP135949;Use
Encryption for Data=False;Tag with column collation when possible=False - The "Repository Connection String" value contains the path
in which the binaries for the Analysis Services product were originally
installed. Change the "Repository Connection String" value to point to the new
location selected in the "Move Analysis Services Repository" section of this
article. For example:
Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Program Files\Microsoft Analysis Services\Bin\Msmdrep.mdb
Becomes:
Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=Q:\AnalysisLog\Msmdrep.mdb Assuming Q:\ is the drive where the
AnalysisLog directory was created.
Analysis Services 64-bit installations
You made this change in step 3. - The "Locks Directory" value contains the path in which the
binaries for the Analysis Services product were originally installed. Change
the "Locks Directory" value to point to the new location selected in the "Move
Analysis Query Log" section of this article. For example:
C:\Program
Files\Microsoft Analysis Services\Bin
Becomes:
Q:\AnalysisLog Assuming that Q:\ is the drive in which the AnalysisLog
directory is created. - Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP Server\ CurrentVersion key.
- The data source in the QueryLogConnectionString contains
the path in which the binaries for the Analysis Services product were
originally installed. You must change the data source to point to the new
AnalysisLog directory. For example:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Microsoft
Analysis Services\Bin\Msmdqlog.mdb
Becomes:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Q:\AnalysisLog\Msmdqlog.mdb
Assuming Q:\ is the drive in which the AnalysisLog directory was created.
Analysis Services 64-bit installations
Modify this connection string to point to the virtual
instance of SQL Server. The following is an example of a connection string: Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial
Catalog=OLAPQueryLog;Data Source=vSQL64cluster;Use Procedure for Prepare=1;Auto
Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column
collation when possible=False - The data source in the RemoteQueryLogConnectionString value
contains the name of the node. You must change the data source to the virtual
server name of the cluster. For example:
Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=\\MyClusterNode2\MsOLAPRepository$\Msmdqlog.mdb
Becomes:
Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=\\ClusterServerVirtualName\MsOLAPRepository$\Msmdqlog.mdb
Analysis Services 64-bit installationsModify this connection string to point to the virtual instance of
SQL Server. The following is an example of a connection string: Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial
Catalog=OLAPQueryLog;Data Source=vSQL64cluster;Use Procedure for Prepare=1;Auto
Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column
collation when possible=False - Close the Registry Editor.
Note If you are running SQL Server 2000 Analysis Services Service Pack
3 or a later version to modify the RemoteRepositoryConnectionString, follow these steps:
- Click the server name in Analysis Services.
- Click Modify Repository Connection String.
The Edit Repository Connection String dialog box appears. Now, you can modify the connection string.
back to the top
Configure Analysis
Services service as a generic service- Open the Cluster Administrator console. To open the Cluster Administrator console, on the Taskbar click Start, point to Programs, point to Administrative Tools, and then click Cluster Administrator.
- Open a connection to the cluster.
- Right-click the Resources folder, and then click New...Resource.
- In the New Resource dialog box, for the resource name type:
"Analysis Services" (without the quotation marks) - For the description, type:
"Analysis
Services" (without the quotation marks) - Change the resource type to Generic Service.
- Change the group to be the same group that contains the
shared disk in which the data files are located and the cluster IP address and
Name.
- Click Next.
- In the Possible Owners dialog box, make sure that both nodes are listed in the Possible Owners list, and then click Next.
- In the Available Resources list in the Dependencies dialog box, click to select the MsOLAPRepository$ share.
- Click Add to move the MsOLAPRepository file share to the Resource dependencies list.
- Click Next.
- In the Generic Service Parameters dialog box, type the following as the Service
Name:
"MSSQLServerOLAPService" (without quotation marks)
- In the Start Parameters text box, type:
"net start
MSSQLServerOLAPService" (without quotation marks) - Click Next.
- In the Registry Replication dialog box, click Add, and then type the following in the Root registry key entry text
box:
"Software\Microsoft\OLAP Server" (without quotation
marks) - Click OK to close the Registry Key dialog box.
- Click Finish to complete the New Resource wizard. The following message should
appear:
Cluster resource 'Analysis Services' created
successfully. - Click OK to close the Message dialog box.
- Locate, and then right-click Analysis Services in the
resource list.
- Click Bring Online to make the Analysis Server available.
- Close the Cluster Administrator console.
back to the top
Troubleshooting Because Analysis Services is not cluster aware, the following
pitfalls exist if Analysis Services is clustered and you use the steps listed
in this Microsoft Knowledge Base article.
- Registry replication synchronizes the memory settings for
the Analysis Server, which may be a problem if the two nodes in the cluster
have different amounts of RAM.
- Although it is possible to administer and query the
Analysis Server by using the name of the currently active node on the cluster,
you should not do this. You must perform all administration and querying by
using the cluster server name.
- Analysis Manager registers the Analysis Server by using the
machine name of the node. You must remove this server registration and then
register the cluster server name.
- Analysis Manager stores all server registrations in the
registry. Registry replication synchronizes the registered servers on the two
nodes of the cluster. Therefore, you must perform any new server registrations
in Analysis Manager on the currently active node of the cluster.
- Because Analysis Services is not cluster aware, Microsoft
Product Support Services may ask you to uncluster Analysis Services when
working with you to troubleshoot Analysis Services issues.
back to the top
REFERENCES For more information, click the following article number to
view the article in the Microsoft Knowledge Base: 224967
How to create file shares on a cluster
See the following white paper on the
following Microsoft Web site:
back to the top
Modification Type: | Minor | Last Reviewed: | 4/10/2006 |
---|
Keywords: | kbGraphxLink kbHOWTOmaster KB308023 kbAudDeveloper kbAudITPro |
---|
|