Professional Documents
Culture Documents
A. Configure RAID mode for disk array. B. Install operating system and its patches. 1. Configure operating system parameters. 2. Set dual-NIC teaming C. Install domain controller D. Install Windows cluster service E. Install SQL Server 2005 F. Install SQL2005 Server patches G. Install network management system
1. In normal working state, one machine runs OMCS and the other runs OMCR. The equipment is in the following state.
2. Switchover takes place once a server fails, one machine runs both OMCR and OMCS, as shown in the figure below.
According to the scene above, resources may be allocated as follows. Disk array: consists of at least 6 hard disks. 2 disks as CLUSTER arbitration disks, RAID1 mode, disk name: M 2 disks for wireless side network management system and database instances, RAID1 mode, (more disks will be better if permitted, and RAID mode may also alter according to the quantity of disks), disk name: Q
2 disks for core network side network management system and database instances, RAID1 mode, (more disks will be better if permitted, and RAID mode may also alter according to the quantity of disks), disk name: N Windows CLUSTER: 2 cluster groups: Group0 and Group1. Group0: Add resources Disk Q, SQL2005 default instance SQLDB1, and POMC network management application to this group, as shown in the figure below.
Group1: Add resources Disk N, SQL2005 default instance SQLDB2, and EMS network management application to this group, as shown in the figure below.
Version of core network EMS: EMS10.10.40.P4.B3b Version of wireless side POMC: V3.08.19.01_OMCR_ZXC10-BSSB Operations on server: Machine A (SERVER1): Install SQL2005 default instance and wireless side network management system POMC onto Disk Q. Machine B (SERVER2): Install SQL2005 instance 2 and core-network network management system EMS onto Disk N.
F8 F9 F10 F12
Disk Array Configuration (configuring RAID mode) Enter BIOS settings Enter system maintenance menu Boot up from network (PXE Boot)
Note: Planning on quantity of disks should be made before disk array installation. It is recommended to configure at least 6 disks: 2 disks as CLUSTER arbitration disks in RAID1 mode, other 2 disks for wireless side network management system and database instances, in RAID1 mode (more disks will be better if permitted, and RAID mode may also alter according to the quantity of disks), and the other 2 disks for core network side network management system and database instances, in RAID1 mode (more disks will be better if permitted, and RAID mode may also alter according to the quantity of disks). Refer to 2.1 for details about disk array configuration.
7. Select all disks and click OK to create array. (Depending on the situation, select two disks respectively if it is in 2+2+2 mode.)
8. Create logical drive, select RAID mode (fault tolerance) and default setting may be used for other items.
3 logic disks now appear in disk manager. Click Save. 9. Power on machine B to install on it.
is installed, which greatly simplifies the installation. In case of dual-computer cluster with a disk array, Machine B must be shut down before installing the cluster software such as MSCS, to ensure that the installation of cluster begins after Machine A takes over the disk array. And after the installation of cluster on Machine A, Machine A must keep running so that Machine B may detect the cluster created on Machine A when cluster is being installed on Machine B. Now, operating system may be installed on Machine A and Machine B at the same time. 1. Insert SmartStart Release 7.10 CD into the drive and start the machine, the system will boot up from the SmartStart CD. If the CDROM is not the first bootup disk, press F9 to enter BIOS settings and set CDROM as the first bootup disk (CDROM is the first bootup disk by default.) 2. Configure OS installation parameters at the Internet Explorer interface. a) b) c) d) e) Select setup page and configure installation information. Select prompt language English. Select OS Windows 2003 Advance Server. Set license type to 100 clients per server. Set file system to NTFS, and size of primary partition C to 20,000MB. And select formatting primary partition (partition C) only when a dialog box prompting for format appears. f) Keep the default SNMP setting.
3. After OS parameters configuration, insert Win2003 AS installation CD when the Smart CD ejects automatically. The installation process begins copying files. 4. When OS files are copied, the Win2003 AS installation CD ejects automatically while the OS installation proceeds. Time zone, work group and computer name need be configured during this process. Input according to the installation specifications of each server. Note: Input WORKGROUP for servers which are configured as domain controller. Configure domain name when installing domain controller after the installation of OS. 5. Wait some time for the HP drivers to configure the system after OS installation.
2.4 OS Settings
Note: Operations above may be made on Machine A and Machine B at the same time. As for the operations below, start the disk array first, then start Machine A with Machine B shut down to configure OS settings, and then shut down Machine A and start Machine B and configure the same settings on Machine B.
2. Double-click the icon to enter the NIC teaming window as shown in the figure below.
Select the NICs to be teamed and click Team, and the following window appears.
Check Fault Tolerant and keep default settings for other options, and change team name to Public for purpose of ease of management. 3. Open network connection properties after NIC teaming, and a new connection should be there, as connection 4 in the figure below.
Right-click it and select Properties to set the IP address, as shown in the figure below. It is unnecessary to configure gateway, and the preferred DNS is set to the IP address of the preferred domain controller. If the domain controller is installed on Machine A, then enter the IP address of Machine A.
Open the TCP/IP configuration window as shown in the figure below. Set DNS of Machine A to null and
Click Advance, and select tab WINS, disable NetBIOS over TCP/IP.
Right-click the heartbeat connection, select Properties to open the configuration window. Click Advanced and set Speed & Duplex to 10Mbps/Half Duplex. Note: Pay attention to the sequence in advanced settings of network and dialup connection as shown in the figure below. Public (the virtual NIC after NIC teaming) should be the first, and do not set Private (heartbeat) to the first.
2.
Click Next. The Wizard searches for network connections, and then the window as shown in Figure 4.1-2 appears.
3.
Check Typical configuration for a first server, click Next, input new domain name (DNS full name of the new domain), as shown in the figure below. Input the domain name as shown in Figure 4.1-3.
4.
Click Next, keep the default NetBIOS domain name as shown in Figure 4.1-4.
5.
Click Next. Select No when the prompt for forwarding DNS queries appears, as shown in Figure 4.1-5.
6.
Click Next. The Summary of Selections window appears as shown in Figure 4.1-6.
7.
Click Next to proceed. The wizard will ask to specify an existing interface for accessing Internet, as shown in Figure 4.1-7.
8.
Click Next to proceed. The wizard will ask to insert the Windows 2003 Server
CD. Insert Windows 2003 Enterprise With SP1 CD or SP1 CD, as shown in Figure 4.1-8.
9.
The wizard will automatically configure the DNS, the windows after configuration completed is as shown in Figure 4.1-9.
3.
Click Next. Select server role Domain Controller, as shown in Figure 4.1-11.
Figure 4.1-11 Set Domain Controller Type -2 4. Click Next. The Summary of Selections window appears as shown in Figure 4.112.
5.
Click Next to proceed. The window as shown in Figure 4.1-13 appears. Input user name, password, and domain to join in.
6.
Click Next to open the window as shown in Figure 4.1-14. Input the full domain name.
7.
Click Next to open the window as shown in Figure 4.1-15. Select or input the
paths of database and log files. The default settings may be adopted.
8.
Click Next to open the window as shown in Figure 4.1-16. Select or input the path of shared system volume. The default setting may be adopted.
9.
Click Next to open the window as shown in Figure 4.1-17. Set the administrator password for directory services in restoration mode. The default setting is null.
10.
Click Next and the Summary window appears as shown in Figure 4.1-18.
Note: After creating two logical partitions and formatting them in NTFS format, assign shared data partition to N and arbitration partition to M so that the purpose of shared disk array space may be easily identified. The detailed operation is as follows. 1. Open the Computer Management window. Ensure that the disk array and the connection between disk array and the server are normal. Click Start -> Administrative Tools -> Computer Management to open the Computer Management window as shown in Figure 4.1-19.
2. (1)
Initialize and convert disk Select Storage -> Disk Management on the navigation tree in the window as shown in Figure 4.1-19. The window for initializing and converting disk appears if the computer connects a disk array and it is the first time to open the Disk Management window, as shown in Figure 4.1-20.
(2)
Click Next to proceed. Check Disk 0 in the window that appears, as shown in Figure 4.1-21.
(3)
Click Next to proceed. Uncheck Disk 0 in the window that appears, as shown in Figure 4.1-22.
(4) (5)
Click Next to proceed. Click Finish to complete disk initialization and conversion and return to the Computer Management window, where three logical disks are now available. Perform fast format in NTFS on them.
Note:
Because of the difference in RAID mode and quantity of disks the size of Disk 0 may be different.
Note: After the disk array configuration on one computer an alarm about SCSI may occur on the other computer when it starts. The alarm may disappear after the cluster software is installed (Refer to 4.2 Installing Cluster Software.), since the arbitration disk will then become invalid and simultaneous access to the disk array will be avoided.
Open the Disk Management window and allocate partition size. Since Partition C is already created and formatted, just allocate the remaining disk space to Partition D and set CDROM to drive E. The file system of each partition is NTFS.
2.
3.
Click Next to open the window as shown in Figure 4.2-25. Input cluster name and domain.
Note: The cluster name must not be the same as an existing server name in the network. Otherwise it may cause configuration failure or conflict.
4.
Configure cluster node and select the first node, as shown in Figure 4.226.
5.
Click Next, and the wizard will analyze the configuration information. And then configure cluster IP, which should be within a same network section with the teamed virtual NIC, for example 129.20.129.154, as shown in Figure 4.2-27.
6.
Click Next to proceed. The domain account configuration window appears. Input domain user name and domain name, as shown in Figure 4.2-28.
7.
Click Next, and the cluster configuration is displayed, as shown in Figure 4.2-29.
8.
9.
Keep the active domain controller (Machine A) running, and log onto the additional domain controller (Machine B).
10.
On Machine B, click Start-> Administrative Tools->Cluster Manager to open the cluster manager and open the connection to the cluster, as shown in Figure.
11.
Click OK to open the connection to the cluster, and click Next to open the window as shown in Figure 4.2-32. Input the computer to be added.
12.
Click Next to proceed. The cluster service may start up successfully after the configuration.
Add another two groups: Group0 and Group1. And add Disk Q and Disk N as physical disk resources to the two groups respectively, as shown in the figure below.
Input disk name, select resource type Physical Disk, and select the group which the disk is to be added to.
Add the servers that may use this disk and click Next.
Select the disk to be added, for example Q, and click Finish to complete the adding of disk resource.
Accept the terms and click Next. The Installing Prerequisites window appears.
Warning messages concerning IIS may be ignored since the SQL2005 components to be installed do not use IIS functions. Click Next to proceed.
Input registration information and click Next. The window showing the components to be installed appears.
Select as is shown in the figure above, and click Advanced to open the Feature Selection window.
Select Database Services, and click Browse to change installation path. The installation path of Data Files of database services should be on Disk Q of the disk array (It is Disk N when SQL2005 is installed on Machine B). Other installation paths may be on the local disk.
Do not select item Full-Text Search under Database Services. Change the installation path of Shared Tools to Disk D. Analysis Servers are also required. The installation path of Data Files of analysis services should be on Disk Q of the disk array (It is Disk N when SQL2005 is installed on Machine B).
Change the installation path of client components to Disk D. Select client components as shown in the figure below.
Click Next. The Instance Name window appears. (Select the default instance on Machine A. Select the second instance and add an instance name, such as: SQLDB2.)
Click OK. The Virtual Server Name window appears. Input virtual server name, such as SQLDB1.
Click Next. The Virtual Server Configuration window appears. Select the virtual NIC with dual-NIC teamed, which may access the outer network. Set the IP address, which should be in a same network section with the virtual NIC, such as 129.20.129.155. For Machine B, the IP address is 129.20.129.156.
Click Next. The following window appears. Select group, for example Group0, and set the path of data files to Q:\Microsoft SQL Server\. (For installation on Machine B, select Group1, and set the path of data files to N:\Microsoft SQL Server\.) Note: Do not select the default Cluster Group which contains arbitration disk M.
Click Next, and the window as shown in the figure below appears. Select corresponding server node. Add the node name of Machine A in case of default instance on Machine A, for example ems1, or add the node name of Machine B in case of the second instance on Machine B, for example ems2.
Click Next, and the window as shown in the figure below appears. Input the password for Administrator.
Click Next, and the window as shown in the figure below appears. Input user name Administrator and password, and enter the domain name.
Click Next, and the window as shown in the figure below appears.
Click Next, and the window as shown in the figure below appears. Select Mixed Mode, and set the logon password for the database instance (a strong password may be required.)
Click Next, and the window as shown in the figure below appears. Configure as is shown in the figure.
Click Next, and the window as shown in the figure below appears. Configure as is shown in the figure.
Click Next, and the window as shown in the figure below appears.
Input CD2 as required and click OK to continue, as shown in the figure below.
Now the server need be rebooted. Open the Cluster Administrator on Machine when it is rebooted, and a successful installation result is as follows.
Refer to the operations above to install the second instance on Machine B. Note that correct cluster group and server node should be select. And a successful installation result is as follows.
Download SQL SERVER 2005 SP2 from Microsoft Website: http://www.microsoft.com/downloads/details.aspx?FamilyID=d07219b2-1e23-49c8-8f0c63fa18f26d3a&DisplayLang=en Double-click it to run the setup program.
Select I accept the agreement, and Next, and the Feature Selection window appears.
Select Windows Authentication, click Next to continue, and the Error and Usage Reporting Setting window appears.
Just click Next and do not have to end the processes, and the Ready to Install window appears.
Click OK to continue.
Do not check Launch the User Provisioning Tool for Windows Vista after SP2 installation completes, and just click Finish.
Compatibility level: 90 (default) Recovery: TornPageDetection (default: Checksum) Automatic: Auto Create Statistics: True
Data files and log files Run Microsoft SQL Server Management Studio and expand the navigation tree and select from under Database the database names to be configured (master and temp), and rightclick and select Properties from the pop-up menu. Select Files in the Database Properties window.
Settings: Master database: Data files: 200MB, log files: 100MB Temp database: Data files: 200MB, log files: 100MB
Network Configuration
Protocols: TCP/IP and named pipes are used on both client and server. TCP/IP Properties: Default TCP port at the server side: 1433, Default TCP port at the client side: 1433 Enable Shared Memory if client and server are installed on one machine.
D escri pt i on on I nst al l at i on of EM S10. 10. 40. P4. B3b and V3. 08. 19. 01_O CR_ZXC10- BSSB I nt egrat ed. doc M
make it automatically clear original Java processes and notification service processes. Otherwise the NMS possibly can not start normally due to occupied address caused by resource switchover.
offline_win.vbs with Notepad or another file editor. How to modify: Change the path of process java.exe to the actual path. Besides ending java processes, statements for deleting CORBA notification services, FTP services and notification service monitor program need also be added. a. Modify Q:\ NetNumenM3 \ums\ums-svr\bin\offline_win.vbs. The script is as follows. for each ps in getobject _ ("winmgmts:\\.\root\cimv2:win32_process").instances_ If ps.name = "notifyd.exe" Then wscript.echo ps.terminate End If If ps.name = "corbanotify.exe" Then wscript.echo ps.terminate End If If ps.name = "java.exe" Then if ps.executablepath windows\bin\java.exe" then wscript.echo ps.terminate end if End If If ps.name = "ftpserver.exe" Then wscript.echo ps.terminate = "Q:\ NetNumenM3\ums\jdk-
End If 'wscript.echo ps.handle&vbtab&ps.name&vbtab&ps.executablepath Next b. Modify Q:\ NetNumenM3 \ums\ums-svr\bin\run.bat. The script is as follows. echo off title UMS Server cscript Q:\NetNumenM3\ums\ums-svr\bin\offline_win.vbs start Q:\NetNumenM3\ums\ums-svr\bin\runNTF.bat echo @SUBPROCESS_CMD_BEGIN@ cd /d "%UMS_HOME%\tools\ftpserver" start /b Q:\NetNumenM3\ums\ums-svr\tools\ftpserver\ftpserver.bat echo @SUBPROCESS_CMD_END@ c. Modify Q:\ NetNumenM3\ums\ums-svr\tools\ftpserver\ftpserver.bat. The script is as follows. set path=.\;Q:\NetNumenM3\ums\ums-svr\tools\ftpserver echo off title @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal
program need also be added. offline_win.vbs modified is as follows. The path is changed to the actual path.
offline_win.vbs
4.
Modify file run.bat in folder N:\EMSP4B3b\ems\ums-svr\bin\, which is the startup script of OMC (ZX-EMS) server, with Notepad or another file editor. The file modified is as follows. The path is changed to the actual path.
Run.bat
5.
Edit
file
tpserver.bat
in
folder
N:\EMSP4B3b\ems\ums-
svr\tools\ftpserver\. The file modified is as follows. The path is changed to the actual path.
f t pserver. bat
6.
Modify EMS ports by editing file deploy-default.properties in folder N:\EMSP4B3b\ems\ums-svr\deploy. The file modified is as follows.
7.
To modify license and make the two servers may be switched over, modify file ums-license.LCS in folder N:\EMSP4B3b\ems\umssvr\deploy by unbind MAC address. The file modified is as follows.
um l i cense. LCS s-
8.
To make the NMS start without CORBA, mask CORBA by modifying file deploy-uep-csp-ems-uCorba.xml in folder N:\EMSP4B3b\ems\umssvr\deploy. The file modified is as follows.
4.
Click Next, and the node information will appear. Add the two servers, as shown in Figure 6.2-34.
5.
Click Next and specify dependencies. Select three resources which the NMS is dependent on: Cluster IP Address, shared disk (Disk Q for POMC, and Disk N for EMS), and SQL Server, as shown in Figure 6.235.
6.
Click Next, and enter the application parameters interfaced with the MSCS. Enter the path and file name of run.bat, and check the two check
boxes, as shown in Figure 6.2-36. Note: The path must be the actual path. (Allow application to interact with desktop: The NMS server running window will appear, from which the server information may be seen. If this option is not selected, this window does not appear and the NMS program runs as a background process, but Java processes can still be seen in Task Manager.)
7.
Click Next, and the window for registration table copying appears. Do not enter anything and just click Finish since NetNumen M3 (ZXEMS) does not write registration table.
Add CN NMS as a resource to Group1 by referring to the steps above. The configuration result is as shown in the two figures below. Result when POMC, the wireless-side NMS, is added to Group0 and is running normally:
Result when wireless-side EMS, the CN NMS, is added to Group0 and is running normally:
Now NMS resources are added and controlled under MSCS. MSCS may automatically run NMS respectively through online operations on NMS resources in the cluster administrator. To enter the mode of manual NMS debugging, right-click an NMS resource and select Offline, making the NMS out of the control of MSCS.
Note: The NMS debugging window on the former active machine will not close automatically after the first switchover, which will not affect the NMS running
on the standby machine. Once the resource is switched over back to the active machine, the NMS script automatically clears the original process and the NMS restarts. This may be confirmed by the test. If NMS working normally after switchover is taken as the criteria, the time duration of resource switchover depends on the time necessary for the NMS to start. The whole switchover may take 6 to 7 minutes since the NMS may take 5 minutes or more time to fully start. The duration will be shorter if the computer performance is higher.
2.
The server currently takes over the cluster should have the three features.
(1)
Besides the local public IP and heartbeat NIC IP, two virtual IP address may be seen with the ipconfig command. One is the virtual IP of SQL Server, and the other is cluster IP, that is, the virtual IP of the NMS for external access.
(2)
The arbitration disk and disk array disks assigned to this cluster group may be seen in Resource Manager.
(3)
It can be seen in Cluster Administrator that NMS resources and SQL resources are running on this server node and of course group Cluster Group is also running on this server node.
3. (1)
The following scenes may be tested in the simulated environment. Power off the server currently taking over the cluster, and check whether resources are successfully switched over to the standby machine.
(2)
Unplug both of the public network cables of the server currently taking over the cluster, and check whether resources are successfully switched over to the standby machine.
(3)
Manually close the NMS debugging window on the server currently taking over the cluster, and check whether the NMS restarts on this computer. (The protection strategy is: The applications try to restart on this computer incase of application failure, and only when applications fail to restart does the switchover take place in case.)
4. (1)
The following points should be noted during NMS function test. When logging on the NMS at the client, enter the NMS virtual IP address, i.e. the cluster IP. The virtual IP address remains the same no
matter which server of the cluster the NMS is running on. The virtual IP address need also be entered as the IP of the superior NMS when a junior NMS is being installed. (2) A short-time link break between client and server occurs in case of resource switchover. Re-log on the NMS after the switchover, and the link recovers. (3) The CORBA function is currently not supported since the function is rarely used. (4) Test NMS functions when the NMS is running on Machine A and when it is running on Machine B.
6.4.1.2 Environment Check After NMS resource offline, perform environment check on the server taking over the disk array to check whether the environment contains JAVA process. End the JAVA process if there is any.
6.4.1.3 System Backup System backup refers to back up the original file system and database data of the OMC. The details about the operation are omitted here. 6.4.1.4 Upgrading Installation Refer to relevant documents for details about upgrading installation. 6.4.1.5 Patch Installation Refer to relevant documents for details about patch installation. 6.4.1.6 Checks after Upgrading Check script files modified before after installation. Note that the file path of upgrading installation should be the same with script file path and the path in the script file also. Try to start the client and server in offline mode to check whether they can start up.
2. Perform NMS resources online operations on the server taking over the disk array. Click Start -> Administrative Tools -> Cluster Administrator to open the cluster administrator. Click node Group0 or Group1 under Groups, right-click a corresponding