Sie sind auf Seite 1von 34

ZXUN MSCS (V4) OMM Installation Restore Manual (Dual-server) Confidential▲

ZXWN-MSCS (V3) Cluster Recovery


Manual (For Windows)
ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Revision History
Version No. Author Date Update Description
V1.0 Tang Debao 2011-08-12 First draft
V1.1 Zhou Qingling 2011-08-20 Translation

© 2019 ZTE Corporation. All rights reserved.


Disclaimer:

Copyright of this document is enjoyed by ZTE Corporation. All information contained herein is proprietary information of
ZTE Corporation. Without express written approval of ZTE, no part of this document may be reproduced, stored in any
retrieval system, or transmitted in any form or by any means (including electronic, mechanical, photocopying and
recording) for any purpose.

Information in this document is updated with product and technology development of ZTE Corporation. ZTE will not
notify users of any information update.

All Rights reserved, No Spreading abroad without Permission of ZTE 2


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Contents

ZXWN-MSCS (V3) Cluster Recovery Manual (For Windows).................................................i


Contents.....................................................................................................................................3
Chapter 1 Preparation Before Recovery..................................................................4
1.1 Software Preparation........................................................................................................4
1.2 Hardware Preparation.......................................................................................................4
1.3 Network Planning...............................................................................................................4
1.4 Disk Partitioning.................................................................................................................6
Chapter 2 Oracle Installation and Example Creation..........................................19
2.1 Uploading Oracle Installation Program to Standby Server......................................19
2.2 Installing Oracle and Listener........................................................................................19
2.3 Creating Oracle Database Example.............................................................................19
2.4 Configuring Local Network Service Name..................................................................19
2.5 Check After Database Example Creating....................................................................19
Chapter 3 NEC Installation and Registration........................................................21
Chapter 4 Cluster Recovery Operation..................................................................30
4.1 Examination Before Recovery.......................................................................................30
4.2 Recovery Procedures.....................................................................................................30

All Rights reserved, No Spreading abroad without Permission of ZTE 3


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Chapter 1 Preparation Before Recovery

1.1 Software Preparation

Software Name Notes


EC Download EXPRESSCLUSTER X2.0 for Windows and license from FTP
server.
OMM software Apply for and download OMM software from the FTP server in advance,
and confirm that the version number, version file bytes are correct
Notes: This document is applicable to ZXWN-CS(OMM)V3.10.12 and
future version; if the version of existing network is lower than this version,
upgrade must be performed.
Oracle Oracle10201 software installation CD, Oracle10204 patch
Operation system Windows2003 and patches
Other FTP software

1.2 Hardware Preparation

Tool Name Notes


Standby server Used in cluster environment
Screw driver Used to fix server or Ethernet card
Ethernet card At least four Ethernet cards/network ports are needed; make preparation in
advance if there are no sufficient Ethernet cards/network ports.
Switch Used to connect heartbeat network by standby server and active server
Wiring board, network Used to connect standby server power and network
cable
Notes: The tools whose names are marked in red must be prepared in advance; other
tools should be prepared in advance.

1.3 Network Planning

See the following figure for cluster environment topology:

All Rights reserved, No Spreading abroad without Permission of ZTE 4


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

See table 1 for the cluster configuration:


Notes: For cluster-server, at least two Ethernet cards are used to configure private
network (also heartbeat) and public network addresses. For standard
configuration, four Ethernet cards are needed, respectively used for heartbeat
network, private network and public network. If the network is bound with
Ethernet card, the amount of Ethernet cards needs would be multiplied;
Table 1
Server 1 Server 2
Cluster Name OMM_Cluster
Host Name Test4-238 Test4-239
Device name Local connection 2 Local connection 2
IP address 10.1.1.238 10.1.1.239
Heartbeat
Device name Local connection 3 Local connection 3
IP address 10.1.2.238 10.1.2.239
Device name Local connection 1 Local connection 1
Public Network IP address 10.44.102.238 10.44.102.239
Floating IP address 10.44.102.138
Device name Local connection 4 Local connection 4
Private Network IP address 129.0.102.238 129.0.102.239
Floating IP address 129.0.102.138
Disk Partition Operation system installation Disk C Disk C
Disk Mirror Mirror connection Private network Private network
Cluster1 partition Disk D Disk D
Mirror partition 1 (omm), used Disk E Disk E
to install OMM program

All Rights reserved, No Spreading abroad without Permission of ZTE 5


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Server 1 Server 2
Cluster2 partition Disk F Disk F
Mirror partition 2 (data), used
to install database-related Disk H Disk H
data files
Oracle application program
Disk Partition Disk I Disk I
installation

1.4 Disk Partitioning

Notes:
a. If all disks have been allocated and formatted when the operation system is installed,
perform step 1 to step 22; if only the disk (generally, disk C) where the operation
system is installed is allocated and formatted after installation of operation system,
and the remaining disk space is enough as mirror disk resource, perform step 5 to
step 22;
b. If the total hard disk space on the server is 73GB, it is recommended that the partition
for oracle application program should be 10GB, partition for omm mirror 10GB,
partition for data mirror 30GB, cluster partitions for omm and data 20MB respectively;
c. If the total hard disk space on the server is 146GB, it is recommended that the
partition for oracle application program should be at least 10GB, partition for omm
mirror 20GB, partition for data mirror 60GB, cluster partitions for omm and data 20MB
respectively;
Notes: For disk formatting, do not format the disk where operation system is installed;
otherwise, the operation system needs to be re-installed.
1. In the current operation system interface, right click “My Computer”, and then select
“Manage” in the popup menu. See Figure 1-1:

All Rights reserved, No Spreading abroad without Permission of ZTE 6


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-1
2. After “Manage” is selected, the following interface appears; select “Storage->Disk
Management” in the left pane, and then select the disk that has been partitioned in
the right “Disk” pane (do not select the disk where operation system is installed and
stored). Right click the disk, and select “Delete Disk Drive” in the popup shortcut
menu as in figure 1-2; for logic partition, select “Delete Logical Drive”:

Figure 1-2
3. The following prompt pops up; click “Yes” and the original disk partition would be
deleted:
Notes: Before the partition is deleted, if there is important or useful program files in the
disk partition, copy or transfer the files to external or other device.

All Rights reserved, No Spreading abroad without Permission of ZTE 7


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-3
4. After part of the partitions are deleted, or if there are sufficient unallocated disk
partitions that could be used as mirror disk resources as shown in figure 1-4, perform
the following operation:

Figure 1-4
5. Right click the unallocated disk, and select “New Partition” as shown in figure 1-5:

All Rights reserved, No Spreading abroad without Permission of ZTE 8


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-5
6. After “New Partition” in selected, new partition wizard pops up:

Figure 1-6
7. After “Next” in figure 1-6 is selected, the following interface appears; select “Extended
partition” as shown in the following figure:

All Rights reserved, No Spreading abroad without Permission of ZTE 9


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-7
8. Click “Next” in figure 1-7 and appears the following interface; the partition size does
not need to be modified, which indicates that all unallocated disk is used as extended
partition:

Figure 1-8
9. Click “Next” in Figure 1-8, and appears the following information:

All Rights reserved, No Spreading abroad without Permission of ZTE 10


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-9
10. Click “Finish” in figure 1-9; the unallocated disk partition information in figure 1-5 will
be updated, and the available space will be displayed; right click the extended
partition, and select “New Logical Drive”:

Figure 1-10
11. When “New Logical Drive” is selected, the interface which is the same as figure 1-
6will pop up; click “Next” and the following interface appears; select “Logical drive”:

All Rights reserved, No Spreading abroad without Permission of ZTE 11


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-11
12. When “Next” is selected, the following interface appears; the partition size is
displayed as 20MB:
Notes: The partition is used as cluster partition, so the size should be no smaller
than 20MB, and should be the same as that of the partition which is used as
the cluster partition in the active server.

All Rights reserved, No Spreading abroad without Permission of ZTE 12


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-12
13. Click “Next” in figure 1-12, and appears the following interface:
Notes: The drive letter must be the same as the letter of the drive also used as the
cluster partition in the active server. If more than one cluster partition are set,
drive letters of all cluster partitions on the two servers must be the same.

Figure 1-13
14. Click “Next” in figure 1-13, and appears the following interface:
Notes: For the disk partition used as cluster partition, select “Do not format this partition”.

All Rights reserved, No Spreading abroad without Permission of ZTE 13


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-14
15. Click “Next” in figure 1-14, and appears the following interface, which indicates that
the setting of disk partition is completed:

Figure 1-15
16. Click “Finish” in figure 1-15; the interface in figure 1-10 will be updated and shown as
in the following figure. Right click the disk with available space, and select “New

All Rights reserved, No Spreading abroad without Permission of ZTE 14


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Logical Drive” to create partition on the disk used to store OMM program file in the
mirror disk:

Figure 1-16
17. When “New Logical Drive” is selected, the interface which is the same as figure 1-6
pops up; click “Next”, and appears the following interface; select “Logical drive”:

Figure 1-17
18. Click “Next” in figure 1-17, and appears the following interface; set the partition size

All Rights reserved, No Spreading abroad without Permission of ZTE 15


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

to 10000MB:
Notes: When the partition is used to install OMM server and store OMM program file, the
partition size must be the same (such as 10000MB) as that of the partition also
used to install OMM program in the active server.

Figure 1-18
19. Click “Next” in figure 1-18, and appears the following interface; select “Assign the
following driver letter” :
Notes: The drive letter must be the same as the drive letter of the mirror partition also
used to install OMM server in the active server.

All Rights reserved, No Spreading abroad without Permission of ZTE 16


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 1-19
20. Click “Next” in figure 1-19, and appears the following interface; select “NTFS” for
“File system”, “Default” for “Allocation unit size”, “omm” or default value for “Volume
label”, and then select check the “Perform a quick format” box:

Figure 1-20
21. Click “Next” in figure 1-20, and appears the following interface, which indicates that

All Rights reserved, No Spreading abroad without Permission of ZTE 17


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

the setting of mirror disk partition used to install OMM program is completed:

Figure 1-21
22. Click “Finish” in figure 1-21, and the disk partition as shown in figure 1-16 will be
updated.
Notes: In the above operation description, the setting of a cluster partition and a mirror
disk partition (omm) is taken as an example; for the creation of other cluster
partitions and mirror disk partitions, the operation procedures are the same. The
sizes and drive letters of all cluster partitions and mirror partitions in the
recovered standby server are the same as those in the active server.

All Rights reserved, No Spreading abroad without Permission of ZTE 18


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Chapter 2 Oracle Installation and Example Creation

2.1 Uploading Oracle Installation Program to Standby Server

2.2 Installing Oracle and Listener

Installation of
Oracle 10g for Windows.doc

2.3 Creating Oracle Database Example

Oracle10g
Database Example Installation.doc

Notes:
The database example name, database username, database file storing directory,
database component, database memory and character set, database initialization
parameter, redo log group file amount and size in the recovered standby server are the
same as those in the active server.

2.4 Configuring Local Network Service Name

Local Network
Service Name Configuration.doc

2.5 Check After Database Example Creating

Microsoft Windows [Version 5.2.3790]


(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>sqlplus /nolog

SQL*Plus: Release 10.2.0.4.0 - Production on Sat Aug 13 15:10:37 2011

All Rights reserved, No Spreading abroad without Permission of ZTE 19


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

SQL> conn /as sysdba ///log in by dba


Connected to an idle instance.
SQL> startup ///Start database
ORACLE instance started.

Total System Global Area 1442840576 bytes


Fixed Size 1298808 bytes
Variable Size 595594888 bytes
Database Buffers 838860800 bytes
Redo Buffers 7086080 bytes
Database mounted.
Database opened.
SQL> shutdown immediate //Shut down database
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> quit
Disconnected from Oracle Database 10g Release 10.2.0.4.0 - Production

C:\Documents and Settings\Administrator>


Notes: Listener and database of the server to be recovered must be shut down.

All Rights reserved, No Spreading abroad without Permission of ZTE 20


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Chapter 3 NEC Installation and Registration

1. First upload NEC installation program and license file (for Windows) to the operation
system, and then double click menu.exe in the installation program files:

Figure 2-1
2. The following interface appears:

Figure 2-2

All Rights reserved, No Spreading abroad without Permission of ZTE 21


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

3. Select “NEC EXPRESSCLUSTER for Windows” in figure 2-2 and appears the
following interface:

Figure 2-3
4. Select “NEC EXPRESSCLUSTER X 2.0 for Windows” in figure 2-3 and appears the
following interface:

Figure 2-4
5. Click “Next” in figure 2-4, and appears the following interface:

All Rights reserved, No Spreading abroad without Permission of ZTE 22


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-5
6. Click “Next” in figure 2-5, and appears the following interface:

Figure 2-6
7. Click “Next” in figure 2-6, and appears the following interface; copy the EC program
file:

All Rights reserved, No Spreading abroad without Permission of ZTE 23


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-7
8. After the EC program file is copied, appears the following interface, in which Web
management port number and disk agent port number could be set (default setting is
recommended):

All Rights reserved, No Spreading abroad without Permission of ZTE 24


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-8
9. Click “Next” in figure 2-8, and appears the following interface, in which filter settings
of shared disk could be made; use the default values here:

All Rights reserved, No Spreading abroad without Permission of ZTE 25


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-9
10. Click “Next” in figure 2-9, and appears the following interface:

Figure 2-10
11. Click “Yes” in figure 2-10 to continue with the installation process; and then the
following interface appears:

All Rights reserved, No Spreading abroad without Permission of ZTE 26


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-11
12. Click “Register” in figure 2-11, and pops up the following interface:

All Rights reserved, No Spreading abroad without Permission of ZTE 27


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-12
13. Click “Register with License File” in figure 2-12, and register with local license file:

Figure 2-13
14. Select the corresponding license file in figure 2-13, and then click “Open”; the BASE
file will be registered; then, the following interface appears:

15. The REPL file registration process is the same as that of the BASE file. Register the
REPL file; then, click “Finish” and the following information appears as in the figure 2-
14:

All Rights reserved, No Spreading abroad without Permission of ZTE 28


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Figure 2-14
16. The default setting is “No, I will restart my computer later” in figure 2-14; select “Yes, I
want to restart my computer now” according to the actual situation.

All Rights reserved, No Spreading abroad without Permission of ZTE 29


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

Chapter 4 Cluster Recovery Operation

4.1 Examination Before Recovery

Before recovery operation, check and confirm the following items:

A. All data and cluster configuration files in the host have been backed up;

B. The heartbeat network, private network, and public network are normal
between the host and the recovered device, and the host name of the
recovered server and relevant IP address must be the same as the original;

C. All omm and data partitions in the recovered operation system have been
formatted and installed with database example, and the listener and
database in the recovered operation system have been shut down.

To avoid abnormal changeover during active/standby server synchronization,


which would influence the recovery process, the listener resources (such as
servicew-ora, servicew-ora listener) of the active server should be suspended
and failed switch resources (such as service-ora listener, genw-omm start) should
be stopped.

4.2 Recovery Procedures

1. Export the cluster configuration file in the host that is normally running currently,
as shown in the following figure:

All Rights reserved, No Spreading abroad without Permission of ZTE 30


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

2. Log in to the standby server with IE, and pops up the following prompt:

3. Then, select “Import cluster configuration file” to import the cluster configuration
file (clp.conf) from the active server to the recovered standby server;

4. In the server to be recovered, upload the configuration file in the “Config Mode”
page by selecting “File -> Apply the Configuration File”;

5. During the uploading process of the configuration file, the following prompt would
appear:

All Rights reserved, No Spreading abroad without Permission of ZTE 31


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

6. Select “OK” and the following prompt would appear:

7. Switch to “Operation Mode” according to the prompt; in the operation mode,


select “Restart Manager”:

8. The following prompt appears; click “OK”:

9. Select “Service -> Start Mirror Agent” to start the mirror agent; after the mirror
agent is started successfully, the following interface appears:

All Rights reserved, No Spreading abroad without Permission of ZTE 32


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

10. After the mirror agent is started successfully, select “Service -> Start Cluster” to
start the cluster; after the cluster is started successfully, the following interface
appears; the data synchronization from the mirror disk in the active server to the
recovered server begins (30 minutes or so):

11. During the process of synchronization, click the mirror disk, and the
synchronization progress information would be displayed:

All Rights reserved, No Spreading abroad without Permission of ZTE 33


ZXWN-MSCS (V3) Cluster Recovery Manual Confidential▲

12. When the mirror synchronization is completed successfully, the nodes of the
cluster will be displayed as follows:

13. Until then, the recovery of one server of the cluster which breaks down is
completed; after that, check whether functions including cluster changeover are
normal.

All Rights reserved, No Spreading abroad without Permission of ZTE 34

Das könnte Ihnen auch gefallen