You can configure the archive server in an active/passive cluster configuration, using Novell Cluster Servicesā¢ 1.7 for OES NetWare.
Before you attempt to implement this solution, familiarize yourself with how Cluster Services works. For information, see the OES 2: Novell Cluster Services 1.8.4 for NetWare Administration Guide.
This section discusses the following tasks:
After you plan your system and meet prerequisites and guidelines, you are ready to install the Archive and Version Services software module, ArkManager, on your server.
Perform the following procedure for each server you plan to include in the archive server cluster:
Install OES NetWare on your archive server, using the
install option.The Basic option installs ArkManager 2.1 on your server, but you must configure other key components after the install before you can run the program.
The configuration files and sample configuration files are located in the sys:\arkManager directory. Confirm the install by looking for the following elements:
arkConfig_sample_basic.xml
arkConfig_sample_full.xml
arkSQL_sample.cnf
Use the Archive Versioning plug-in for iManager as the management interface to control versioning jobs and to view the ArkManager job log.
Launch a Web browser, then open it to the Novell iManager Login:
https://svr1.example.com/nps/iManager.html
Replace svr1.example.com with the actual IP address or DNS name of your archive server. The URL path is case sensitive.
Log in as the administrator user (such as admin) to the Novell eDirectory tree that contains your archive server.
Continue with the next section, Making Devices Sharable for Clustering.
After you install OES NetWare, make your storage devices sharable for clustering.
In iManager, expand the
role, then click .Select the primary archive server for the cluster as the server you want to manage.
Select the devices you plan to use for the archive pool and volume, then mark the devices as
.Make sure the devices you choose are located in a configuration that is available to every server in the planned cluster. For more information, see Sharing Devices for NSS Pools in the OES 2: NSS File System Administration Guide.
Depending on your implementation plan, continue with one of the following:
After you make devices sharable for clustering, you can optionally create a software RAID devices for the archive pool and volume to satisfy your availability needs. Use one of the following methods:
To create a data fault-tolerant solution, create a software RAID 1 or 5 device to use for your archive pool and volume. For information, see Creating a Software RAID Device with iManager in the OES 2: NSS File System Administration Guide .
In iManager, expand the
role, then click .If it is not already selected, select the primary archive server in the cluster.
Click
to open the Create a Software RAID dialog box.Specify a name for the RAID.
Specify the type of RAID:
(mirroring)
(striping with parity)
(Conditional) For a RAID 5 device, specify the
.The default size of 64 KB typically provides the best performance for devices with NSS volumes.
From the available devices, select the devices that you made sharable in Section 7.4.2, Making Devices Sharable for Clustering.
For a RAID 1 device, specify 2 to 4 devices. For a RAID 5 device, specify 3 to 14 devices.
Specify the amount of space to use for each segment.
Each segment contributes equal amounts of space.
Click
.Continue with Section 7.4.4, Installing Novell Cluster Services 1.7 for OES NetWare.
To provide maximum data fault tolerance, create a software RAID 10 (mirrored RAID 0 device) pool by creating a pool on a RAID 0 device, and then mirroring the pool.
Create 2 to 4 RAID 0 (striping) devices. Repeat the following steps to create each device:
In iManager, expand the
role, then click .If it is not already selected, select the primary archive server in the cluster.
Click
to open the Create a Software RAID dialog box.Specify a name for the RAID.
Specify the type of RAID as
.Specify the
.The default size of 64 KB typically provides the best performance for devices with NSS volumes.
From the available devices, select the devices that you made sharable in Section 7.4.2, Making Devices Sharable for Clustering.
Make sure that the segments in each of your RAID 0 devices have no devices in common; otherwise, you cannot mirror them later.
Specify the amount of space to use for each segment.
Each segment contributes equal amounts of space.
Click
.Install Novell Cluster Services 1.7 on each of the servers. For information, see Section 7.4.4, Installing Novell Cluster Services 1.7 for OES NetWare.
Create a cluster-enabled pool on one of the RAID 0 devices. For information, see Section 7.4.5, Creating a Sharable Archive Pool.
Mirror the cluster-enabled pool to create the RAID 10.
For detailed information, see Mirroring an Existing Pool with NSSMU in the OES 2: NSS File System Administration Guide.
At a server console prompt, enter
nssmu
In NSSMU, select Partitions from the NSSMU main menu.
Select the NSS partition for the archive pool.
This is the cluster-enabled pool you create in Section 7.4.5, Creating a Sharable Archive Pool.
Press F3 to create the RAID 1 device and mirror the partition.
From the available devices, select 1 to 3 of the RAID 0 devices you created in Step 1, then press Enter.
Continue with Section 7.4.6, Creating a Shared Archive Volume.
Install Novell Cluster Services 1.7 for OES NetWare for each server you plan to include in the archive server cluster.
For information, see the OES 2: Novell Cluster Services 1.8.4 for NetWare Administration Guide.
After Cluster Services is installed successfully on each server, continue with the next section, Creating a Sharable Archive Pool.
Create a cluster-enabled, sharable pool. For more information, see Creating a Pool in the OES 2: NSS File System Administration Guide.
In iManager, expand the
role, then click .If it is not already selected, select the primary server in the cluster.
Click
to open the New Pool wizard.Name the pool.
For each of the shared devices, specify the space to use in the pool.
If you select sharable software RAID devices, the entire space is used in the pool.
Select
to enable this option.Select
to enable this option.To complete the cluster information, specify the following
:Virtual Server Name: The name assigned by NetWare to the virtual server that represents the shared pool in the cluster.
CIFS Virtual Server Name: The name assigned by NetWare to the virtual server for handling CIFS (Common Internet File System) requests. This is the name of the server as it appears in a Windows system.
IP Address: The IP address that you want to assign the virtual server.
To specify an IP address, tab between the different entries; no dot is required in the fields. For example, if the IP address is 192.168.1.1, type
192 168 1 1
Advertising Protocols: Protocols that give users native file access to data: NCP, CIFS, and AFP.
Specify one or more advertising protocols by selecting the check boxes of the protocols you want to enable for data requests to this shared pool.
Click
.Continue with the next section, Creating a Shared Archive Volume.
On the cluster-enabled archive pool, create an NSS volume and directory where you plan to store the archive database and archive data. You should use the volume exclusively for the archive.
Configure an NSS volume.
The following procedure describes how to create a nonencrypted NSS volume with iManager. For detailed information, see Creating and Configuring Unencrypted NSS Volumes with iManager in the OES 2: Novell Storage Services File System Administration Guide for OES.
If your implementation requires an encrypted NSS volume to store file versions from encrypted NSS data volumes, use the NSS Management Utility to create the encrypted volume. The iManager Storage plug-in does not provide an encryption option. For information, see Creating an Encrypted Volume in the OES 2: Novell Storage Services File System Administration Guide.
In iManager, expand the
role, then click .If it is not already selected, select the archive server.
Click
to open the New Volume wizard.Configure the new volume.
Specify a name for the volume. For example, ark.
Select the NSS pool you created in Section 7.3.3, Creating an Archive Pool, then select the check box.
Specify the desired attributes for the volume.
Click Finish.
(Optional, recommended) Create a directory in the archive volume where you want to store the archive database and archive data.
For detailed information, see Creating a Directory in the OES 2: File Systems Management Guide.
Open your Web browser to the Novell Remote Manager Login page on the archive server, and then log in with your administrator username and password. For example, enter
https://192.168.1.1:8009
Replace 192.168.1.1 with the actual IP address or DNS name of your archive server.
Click
.Click the
icon next to the archive volume.Type the name of the directory, then click
.Continue with Section 7.4.8, Installing and Configuring the ArkSQL Server.
On the primary server in the cluster, configure the sys:\arkManager\arkSQL.cnf file.
For information, see Section 7.3.5, Configuring the ArkSQL Configuration File.
Copy the sys:\arkManager\arkSQL.cnf file from the primary server to the sys:\arkManager directory for each of the other servers in the cluster.
Continue with Section 7.4.8, Installing and Configuring the ArkSQL Server.
On each server in the cluster, install MySQL. Specify the shared volume location as the path of the archive database.
For information, see Section 7.3.6, Installing and Configuring the ArkSQL Server.
Continue with the next section, Configuring Archive Server Information.
On the primary server, configure the archive server information in the sys:\arkManager\arkConfig.xml file.
For information, see Section 7.3.7, Configuring Archive Server Information.
Copy the sys:\arkManager\arkConfig.xml file from the primary server to the sys:\arkManager directory for each of the others servers in the cluster.
If you modify the settings for the archive server in the future, you must reconfigure the Basic elements in the sys:\arkManager\arkConfig.xml file and copy the modified file to all of the servers in the cluster.
Continue with Section 7.4.10, Archiving File Versions.
On the primary server in the cluster, configure the individual jobs for the archive cluster server. Specify the shared volume location as the path of the archive database.
For information, see Section 9.0, Configuring Jobs in ArkConfig.
Copy the sys:\arkManager\arkConfig.xml file from the primary server to the sys:\arkManager directory of the secondary servers in the cluster.
Continue with the next section, Editing the Autoexec.ncf File.
When you install MySQL and ArkManager, commands are added to the autoxec.ncf file on the server to automatically start both programs when the NetWare server starts. Because Novell Cluster Services starts and stops the programs, these commands must be removed or commented out from each server in the cluster where they are installed.
On the primary server, open the autoexec.ncf file in a text editor.
Comment out or remove the following line:
mysqld_safe --defaults-file=sys:\ArkManager\arkSQL.cnf
Comment out or remove the following line:
arkstart
If you are using Port 3306 for your ArkSQL server, make sure the following line is commented out.
mysqld_safe --autoclose
This line should already be commented out as part of the install procedure.
If you are using another port for your ArkSQL server, make sure the following line is commented out:
mysqld_safe --port=3307 --autoclose
Replace 3307 with your actual port number. This line should already be commented out as part of the install procedure.
Save the autoexec.ncf file.
Copy the autoexec.ncf file to the other servers in the cluster.
Continue with Section 7.4.12, Configuring Cluster Services to Automatically Stop and Start ArkManager and ArkSQL on System Reboot.
For each server in the cluster:
Set up Novell Cluster Services to start arkManager by default on reboot of the cluster.
Open ConsoleOneĀ®.
In the ConsoleOne Properties dialog box, select
.Add the following commands to the end of the existing load script:
delay 2
mysqld_safe --defaults-file=sys:\ArkManager\arkSQL.cnf
search add sys:\arkManager
arkstart
Click
.Set up Novell Cluster Services to stop arkManager services by default on the server down command.
In the ConsoleOne Properties dialog box, click
Add the following command to the beginning of the existing unload script:
arkstop
Click
, then click .Restart each of the servers in the cluster to offline and then online the resources.
For information, see the OES 2: Novell Cluster Services 1.8.4 for NetWare Administration Guide.
When the servers come back up, Novell Archive and Version Services is running on the primary server. The secondary servers will be on hot standby, waiting to be called to action.