Académique Documents
Professionnel Documents
Culture Documents
1.2 System Networking ................................................................................ 1.3 Hardware Configuration ......................................................................... 1.4 System Hardware Description ................................................................ Chapter 2 Connecting the System Hardware ................................................ 2.1 Connecting Disk Arrays .......................................................................... 2.2 Connecting the Hot Backup System ....................................................... Chapter 3 Preparation for Installation ........................................................... 3.1 Installation Procedure ............................................................................. 3.2 Software Configuration ........................................................................... 3.3 Checks Before Installation ...................................................................... 3.3.1 Checking the Solaris 8 ................................................................... 3.3.2 Checking the Sun Cluster .............................................................. 3.3.3 Checking the Volume Manager...................................................... 3.3.4 Checking the Configuration of Cluster ........................................... 3.3.5 Checking the Sybase Database ..................................................... 3.4 Planning System Resources .................................................................. 3.4.1 Planning Installation Resources ..................................................... 3.4.2 Planning Sun Cluster Environment ................................................ 3.4.3 Planning Global Devices and the Cluster File System ................... 3.4.4 Planning Volume Management ...................................................... 3.5 Configuring the Hardware ...................................................................... 3.5.1 Configuring the TC ......................................................................... 3.5.2 Configuring the Sun StorEdge3310s ............................................. 3.5.3 Preparing the Sun Fire V880 ......................................................... 3.6 Software Preparations ............................................................................ 3.6.1 Sun Solaris 8 Operating System Software ..................................... 3.6.2 Volume Management Software...................................................... 3.6.3 Cluster Software ............................................................................ 3.6.4 Sybase Database Software ........................................................... 3.6.5 M2000 Server Application .............................................................. 3.6.6 Patch Package ............................................................................... 3.6.7 Script Package ............................................................................... Chapter 4 Installing the Sun Solaris 8 ........................................................... 4.1 Preparations Before Installation ............................................................. 4.2 Installation Procedures ........................................................................... 4.3 Installing Patches of the Solaris 8 ..........................................................
1-1 1-1 1-1 1-2 1-3 2-1 2-1 2-1 3-1 3-1 3-1 3-2 3-2 3-5 3-5 3-5 3-5 3-7 3-7 3-11 3-12 3-12 3-13 3-13 3-17 3-36 3-37 3-37 3-37 3-37 3-38 3-38 3-38 3-38 4-1 4-1 4-1 4-11
4.4 Configuring the Sun Solaris Operating System ...................................... 4.5 Checking Installation Result ................................................................... Chapter 5 Installing the Sun Cluster .............................................................. 5.1 Checks Before Installation ...................................................................... 5.2 Installing the Sun Cluster on Master Node ............................................. 5.3 Installing the Sun Cluster on the Slave Node ......................................... 5.4 Checking Sun Cluster Installation .......................................................... 5.5 Configuring the File /etc/inet/ntp.conf.cluster ......................................... 5.6 Configuring NAFO Group ....................................................................... 5.6.1 Introduction to NAFO ..................................................................... 5.6.2 Creating an NAFO Group .............................................................. 5.6.3 Checking Configuration of NAFO Group ........................................ 5.7 Configuring Quorum Devices ................................................................. 5.8 Checking Installation Result ................................................................... Chapter 6 Installing the Volume Manager ..................................................... 6.1 Checks Before Installation ...................................................................... 6.2 Installing the Volume Manager ............................................................... 6.3 Checking Volume Manager Installation .................................................. Chapter 7 Configuring the Cluster ................................................................. 7.1 Mirroring the Root Disk........................................................................... 7.2 Creating m2000_rg................................................................................. 7.3 Checking Installation Result ................................................................... Chapter 8 Installing Sybase Database ........................................................... 8.1 Checks Before Installation ...................................................................... 8.2 Preparations Before Installation ............................................................. 8.2.1 Modifying the File .rhosts ............................................................... 8.2.2 Creating the User Sybase .............................................................. 8.2.3 Setting the Properties of Raw Devices .......................................... 8.2.4 Switching to the User Sybase and Editing the File .profile ............ 8.2.5 Modifying the File /etc/system ........................................................ 8.2.6 Rebooting the Cluster .................................................................... 8.3 Installing Sybase Database on the Master Node ................................... 8.3.1 Preparations Before Installation ..................................................... 8.3.2 Disk Array Partition Plan ................................................................ 8.3.3 Installation Procedure .................................................................... 8.4 Installing Sybase Database on the Slave Node ..................................... 8.4.1 Installation Procedure .................................................................... 8.4.2 Checking Installation Result ...........................................................
4-17 4-18 5-1 5-1 5-1 5-11 5-17 5-19 5-19 5-19 5-20 5-21 5-21 5-24 6-1 6-1 6-2 6-8 7-1 7-1 7-2 7-13 8-1 8-1 8-1 8-1 8-1 8-2 8-2 8-3 8-3 8-3 8-3 8-4 8-4 8-7 8-7 8-8
Chapter 9 Installing the M2000 Application .................................................. 9.1 Preparations Before Installation ............................................................. 9.1.1 Checking for Existing M2000 System ............................................ 9.1.2 Checking the User m2000 ............................................................. 9.2 Installing the M2000 Application on the Master Node ............................ 9.2.1 Switching the m2000_rg Resource Group to the Master Node ..... 9.2.2 Preparing the M2000 Software Package ....................................... 9.2.3 Starting the Sybase Database Server ............................................ 9.2.4 Installing the M2000 Application .................................................... 9.2.5 Checking Installation Result ........................................................... 9.3 Installing M2000 Application on the Slave Node .................................... 9.4 Installing the Adapter Monitor and Adapters .......................................... Chapter 10 Registering Sybase and M2000 Applications ............................ 10.1 Installing the Application Package ........................................................ 10.2 Registering the Applications on the Master Node ................................ 10.3 Checking the Registration .................................................................... 10.3.1 Checking Resource Registration ................................................. 10.3.2 Checking Sybase Processes ....................................................... 10.3.3 Checking M2000 Processesi ....................................................... 10.3.4 Checking the Switchover Function ............................................... Appendix A Modifying IP Addresses ............................................................. A.1 Introduction ............................................................................................ A.2 Modifying the IP Address of Solaris 8, Sybase and M2000 ................... A.3 Modifying Two IP Addresses of the Same Server ................................. A.4 Precautions ............................................................................................ Index .................................................................................................................
9-1 9-1 9-1 9-1 9-2 9-2 9-3 9-3 9-4 9-9 9-10 9-11 10-1 10-1 10-1 10-1 10-1 10-2 10-3 10-3 A-1 A-1 A-2 A-3 A-3
HUAWEI
iManager M2000 Two-node Cluster Hot Backup System Installation Manual V100R005
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. Please feel free to contact our local office or company headquarters.
Trademarks
TELLIN, InfoLink, Netkey, Quidway, SYNLOCK, Radium, M900/M1800, TELESIGHT, Quidview, Musa, Airbridge, Tellwin, Inmedia, VRP, DOPRA, iTELLIN, HUAWEI OptiX, C&C08 iNET, NETENGINE, OptiX, iSite, U-SYS, iMUSE, OpenEye, Lansway, SmartAX, infoX, TopEng are trademarks of Huawei Technologies Co., Ltd. All other trademarks mentioned in this manual are the property of their respective holders.
Notice
The information in this manual is subject to change without notice. Every effort has been made in the preparation of this manual to ensure accuracy of the contents, but all statements, information, and recommendations in this manual do not constitute the warranty of any kind, express or implied.
Related Manuals
The related manuals are listed in the following table. Manual iManager M2000 Technical Manual iManager M2000 Operation Manual iManager M2000 Installation Manual iManager M2000 Maintenance Manual iManager M2000 Intelligent Report System User Manual iManager M2000 Two-node Cluster Hot Backup System Installation Manual Content It introduces the system structure, software functions, hardware functions and networking applications of the iManager M2000 Integrated Network Management System. It is used for assisting the users in GUIs of iManager M2000 Integrated Network Management System. It provides information for the system installation, including the installation of the hardware, server software and client software, and network applications. It introduces common problems and troubleshooting in the iManager M2000, as well as the commands of Solaris operating system and Sybase database. It provides an overall introduction to the iManager M2000 Intelligent Report System, including the system architecture, client operation, template customization, software installation, maintenance and examples. It introduces the basic features, system architecture and software & hardware configuration of the iManager M2000 two-node cluster hot backup system. Then it takes Sun Fire V880 as an example to illustrate the installation and configuration procedures of the system.
Organization
This manual first introduces the basic features, system architecture and software & hardware configuration of the iManager M2000 two-node cluster hot backup system. Then it takes Sun Fire V880 as an example to illustrate the installation and configuration procedures of the system. This manual comprises the following chapters:
Chapter 1 Introduction to the Hardware of Hot Backup System. It covers the basic features, system architecture and software and hardware configuration of the hot backup system. Chapter 2 Connecting the System Hardware. It covers the connection of two disk arrays, and that of the hot backup system. Chapter 3 Preparation for Installation. It covers the software and hardware preparation, brief installation procedure and system planning. Chapter 4 Installing the Sun Solaris 8. It introduces how to install the operating system for the hot backup system. Chapter 5 Installing the Sun Cluster. It describes how to install the cluster management software for the hot backup system. Chapter 6 Installing the Volume Manager. It describes how to install the volume management software for the hot backup system. Chapter 7 Configuring the Cluster. It describes how to mirror the root disk, create the m2000_rg resource group, and check the installation. Chapter 8 Installing Sybase Database. It describes how to install the Sybase system for the hot backup system. Chapter 9 Installing iManager M2000 Application. It describes how to install the iManager M2000 server applications for the hot backup system. Chapter 10 Registering Sybase and M2000 Applications. It describes how to register the applications of Sybase and M2000, and check the configuration. Appendix A Modifying IP Addresses. It describes how to modify the IP addresses of the hot backup system.
Intended Audience
The manual is intended for the following readers: Installation engineers and technicians Operation and maintenance personnel
Conventions
The manual uses the following conventions:
I. General conventions
Convention Arial Arial Narrow Boldface Courier New Description Normal paragraphs are in Arial. Warnings, Cautions, Notes and Tips are in Arial Narrow. Headings are in Boldface. Terminal Display is in Courier New.
V. Mouse operation
Action Click Double Click Drag Description Press the left button or right button quickly (left button by default). Press the left button twice continuously and quickly. Press and hold the left button and drag it to a certain position.
VI. Remark
Format // Description Double slashes are in front of command explanations, option explanations, procedure explanations, and other remark.
VII. Symbols
Eye-catching symbols are also used in the manual to highlight the points worthy of special attention during the operation. They are defined as follows:
Caution, Warning, Danger: Means reader be extremely careful during the operation. Note, Comment, Tip, Knowhow, Thought: Means a complementary description.
Environmental Protection
This product has been designed to comply with the requirements on environmental protection. For the proper storage, use and disposal of this product, national laws and regulations must be observed.
Table of Contents
Table of Contents
Chapter 1 Introduction to the Hardware of Hot Backup System .............................................. 1-1 1.1 Features of the Hot Backup System .................................................................................. 1-1 1.2 System Networking ............................................................................................................ 1-1 1.3 Hardware Configuration..................................................................................................... 1-2 1.4 System Hardware Description ........................................................................................... 1-3 Chapter 2 Connecting the System Hardware ............................................................................. 2-1 2.1 Connecting Disk Arrays ..................................................................................................... 2-1 2.2 Connecting the Hot Backup System .................................................................................. 2-1 Chapter 3 Preparation for Installation ......................................................................................... 3-1 3.1 Installation Procedure ........................................................................................................ 3-1 3.2 Software Configuration ...................................................................................................... 3-1 3.3 Checks Before Installation ................................................................................................. 3-2 3.3.1 Checking the Solaris 8 ............................................................................................ 3-2 3.3.2 Checking the Sun Cluster ....................................................................................... 3-5 3.3.3 Checking the Volume Manager............................................................................... 3-5 3.3.4 Checking the Configuration of Cluster .................................................................... 3-5 3.3.5 Checking the Sybase Database.............................................................................. 3-5 3.4 Planning System Resources.............................................................................................. 3-7 3.4.1 Planning Installation Resources.............................................................................. 3-7 3.4.2 Planning Sun Cluster Environment ....................................................................... 3-11 3.4.3 Planning Global Devices and the Cluster File System.......................................... 3-12 3.4.4 Planning Volume Management ............................................................................. 3-12 3.5 Configuring the Hardware................................................................................................ 3-13 3.5.1 Configuring the TC ................................................................................................ 3-13 3.5.2 Configuring the Sun StorEdge3310s .................................................................... 3-17 3.5.3 Preparing the Sun Fire V880................................................................................. 3-36 3.6 Software Preparations ..................................................................................................... 3-37 3.6.1 Sun Solaris 8 Operating System Software............................................................ 3-37 3.6.2 Volume Management Software............................................................................. 3-37 3.6.3 Cluster Software.................................................................................................... 3-37 3.6.4 Sybase Database Software................................................................................... 3-38 3.6.5 M2000 Server Application ..................................................................................... 3-38 3.6.6 Patch Package ...................................................................................................... 3-38 3.6.7 Script Package ...................................................................................................... 3-38 Chapter 4 Installing the Sun Solaris 8......................................................................................... 4-1 4.1 Preparations Before Installation......................................................................................... 4-1 4.2 Installation Procedures ...................................................................................................... 4-1
i
Table of Contents
4.3 Installing Patches of the Solaris 8.................................................................................... 4-11 4.4 Configuring the Sun Solaris Operating System ............................................................... 4-17 4.5 Checking Installation Result ............................................................................................ 4-18 Chapter 5 Installing the Sun Cluster ........................................................................................... 5-1 5.1 Checks Before Installation ................................................................................................. 5-1 5.2 Installing the Sun Cluster on Master Node ........................................................................ 5-1 5.3 Installing the Sun Cluster on the Slave Node .................................................................. 5-11 5.4 Checking Sun Cluster Installation.................................................................................... 5-17 5.5 Configuring the File /etc/inet/ntp.conf.cluster .................................................................. 5-19 5.6 Configuring NAFO Group ................................................................................................ 5-19 5.6.1 Introduction to NAFO ............................................................................................ 5-19 5.6.2 Creating an NAFO Group...................................................................................... 5-20 5.6.3 Checking Configuration of NAFO Group............................................................... 5-21 5.7 Configuring Quorum Devices........................................................................................... 5-21 5.8 Checking Installation Result ............................................................................................ 5-24 Chapter 6 Installing the Volume Manager................................................................................... 6-1 6.1 Checks Before Installation ................................................................................................. 6-1 6.2 Installing the Volume Manager .......................................................................................... 6-2 6.3 Checking Volume Manager Installation ............................................................................. 6-8 Chapter 7 Configuring the Cluster............................................................................................... 7-1 7.1 Mirroring the Root Disk ...................................................................................................... 7-1 7.2 Creating m2000_rg ............................................................................................................ 7-2 7.3 Checking Installation Result ............................................................................................ 7-13 Chapter 8 Installing Sybase Database ........................................................................................ 8-1 8.1 Checks Before Installation ................................................................................................. 8-1 8.2 Preparations Before Installation......................................................................................... 8-1 8.2.1 Modifying the File .rhosts ........................................................................................ 8-1 8.2.2 Creating the User Sybase ....................................................................................... 8-1 8.2.3 Setting the Properties of Raw Devices ................................................................... 8-2 8.2.4 Switching to the User Sybase and Editing the File .profile ..................................... 8-2 8.2.5 Modifying the File /etc/system................................................................................. 8-3 8.2.6 Rebooting the Cluster ............................................................................................. 8-3 8.3 Installing Sybase Database on the Master Node .............................................................. 8-3 8.3.1 Preparations Before Installation .............................................................................. 8-3 8.3.2 Disk Array Partition Plan ......................................................................................... 8-4 8.3.3 Installation Procedure ............................................................................................. 8-4 8.4 Installing Sybase Database on the Slave Node ................................................................ 8-7 8.4.1 Installation Procedure ............................................................................................. 8-7 8.4.2 Checking Installation Result.................................................................................... 8-8 Chapter 9 Installing the M2000 Application................................................................................ 9-1 9.1 Preparations Before Installation......................................................................................... 9-1
ii
Table of Contents
9.1.1 Checking for Existing M2000 System ..................................................................... 9-1 9.1.2 Checking the User m2000....................................................................................... 9-1 9.2 Installing the M2000 Application on the Master Node ....................................................... 9-2 9.2.1 Switching the m2000_rg Resource Group to the Master Node .............................. 9-2 9.2.2 Preparing the M2000 Software Package ................................................................ 9-3 9.2.3 Starting the Sybase Database Server..................................................................... 9-3 9.2.4 Installing the M2000 Application ............................................................................. 9-4 9.2.5 Checking Installation Result.................................................................................... 9-9 9.3 Installing M2000 Application on the Slave Node ............................................................. 9-10 9.4 Installing the Adapter Monitor and Adapters ................................................................... 9-11 Chapter 10 Registering Sybase and M2000 Applications ....................................................... 10-1 10.1 Installing the Application Package ................................................................................. 10-1 10.2 Registering the Applications on the Master Node ......................................................... 10-1 10.3 Checking the Registration.............................................................................................. 10-1 10.3.1 Checking Resource Registration......................................................................... 10-1 10.3.2 Checking Sybase Processes .............................................................................. 10-2 10.3.3 Checking M2000 Processesi............................................................................... 10-3 10.3.4 Checking the Switchover Function...................................................................... 10-3 Appendix A Modifying IP Addresses...........................................................................................A-1 A.1 Introduction........................................................................................................................A-1 A.2 Modifying the IP Address of Solaris 8, Sybase and M2000 ..............................................A-2 A.3 Modifying Two IP Addresses of the Same Server.............................................................A-3 A.4 Precautions........................................................................................................................A-3
iii
List of Figures
List of Figures
Figure 1-1 Networking of the M2000 two-node cluster hot backup system........................... 1-2 Figure 1-2 Rear view of the Sun Fire V880 ........................................................................... 1-6 Figure 1-3 Partial zoom-in rear view of the Sun Fire V880.................................................... 1-6 Figure 1-4 Rear view of the Sun StorEdge3310 .................................................................... 1-7 Figure 1-5 Front view of the S3026........................................................................................ 1-7 Figure 2-1 Connecting the two disk arrays ............................................................................ 2-1 Figure 3-1 Connecting the administrative console to the TC............................................... 3-14 Figure 3-2 Front panel of the TC.......................................................................................... 3-14 Figure 3-3 Configuring the IP address for the Sun StorEdge3310 ...................................... 3-18 Figure 3-4 Setting the IP address and the mask ................................................................. 3-19 Figure 3-5 Configuring the SCSI channel ............................................................................ 3-20 Figure 3-6 Selecting the logical drive................................................................................... 3-21 Figure 3-7 Selecting the type of logical drive....................................................................... 3-21 Figure 3-8 Selecting drives .................................................................................................. 3-22 Figure 3-9 Selecting whether to create logical drives .......................................................... 3-22 Figure 3-10 Creating logical drives ...................................................................................... 3-23 Figure 3-11 Completion of the RAID5 mirroring................................................................... 3-23 Figure 3-12 Selecting logical drives ..................................................................................... 3-24 Figure 3-13 Selecting of the partition logical drive............................................................... 3-24 Figure 3-14 confirming the partitioning ................................................................................ 3-25 Figure 3-15 The first partition ............................................................................................... 3-25 Figure 3-16 Size of the first partition .................................................................................... 3-26 Figure 3-17 Confirming the partitioning................................................................................ 3-26 Figure 3-18 The second partition ......................................................................................... 3-27 Figure 3-19 Size of the second partition .............................................................................. 3-27 Figure 3-20 Confirming the partitioning................................................................................ 3-28 Figure 3-21 Main menu of the Sun StorEdge3310 .............................................................. 3-28 Figure 3-22 Selecting channel 1 .......................................................................................... 3-29 Figure 3-23 Selecting the logical drive................................................................................. 3-30 Figure 3-24 Selecting the first LUN...................................................................................... 3-30
iv
List of Figures
Figure 3-25 Selecting the logical drive................................................................................. 3-31 Figure 3-26 Selecting the partition of the logical drive......................................................... 3-31 Figure 3-27 Mapping the LUN.............................................................................................. 3-32 Figure 3-28 Confirming the LUN mapping ........................................................................... 3-32 Figure 3-29 Selecting the second LUN ................................................................................ 3-33 Figure 3-30 Selecting the logical drive................................................................................. 3-33 Figure 3-31 Selecting the partition of the logical drive........................................................ 3-34 Figure 3-32 Mapping the LUN.............................................................................................. 3-34 Figure 3-33 Confirming the mapping ................................................................................... 3-35 Figure 3-34 Selecting channel 3 .......................................................................................... 3-35 Figure 5-1 A sample of two-node cluster configuration........................................................ 5-20
List of Tables
List of Table
Table 1-1 Hardware configuration of the Sun Fire V880 M2000 hot backup system............. 1-3 Table 1-2 Type and components of the server ....................................................................... 1-3 Table 1-3 Specifications of the Sun Fire V880 ....................................................................... 1-4 Table 1-4 Type and components of the disk array ................................................................. 1-5 Table 1-5 Introduction to the Sun StorEdge 3310 .................................................................. 1-5 Table 1-6 Arrangement of the 24 network interfaces of the S3026 ........................................ 1-7 Table 1-7 Meanings of S3026 status indicators ..................................................................... 1-7 Table 2-1 Label description of HA cables ............................................................................... 2-1 Table 3-1 Installation procedure of the iManager M2000 hot backup system........................ 3-1 Table 3-2 Lists of non-integral time zones.............................................................................. 3-3 Table 3-3 IP addresses of the iManager M2000 hot backup system ..................................... 3-8 Table 3-4 Hard disk partitions and IP planning of host A (Sun Fire V880) ............................. 3-8 Table 3-5 Partition description of the first hard disk of the m2000svr-1 ................................. 3-8 Table 3-6 Hard disk partition and IP planning of the host B (Sun Fire V880)......................... 3-9 Table 3-7 IP planning............................................................................................................ 3-11 Table 3-8 Names of cluster components.............................................................................. 3-11 Table 3-9 Statuses of indicators in the TC configuration mode............................................ 3-15 Table 3-10 Statuses of TC fault indicators............................................................................ 3-15 Table 4-1 Partitions of system disk 1...................................................................................... 4-8 Table 8-1 Partitions of the Sun StorEdge3310 ....................................................................... 8-4 Table 9-1 Files and directories generated after installation.................................................... 9-9 Table A-1 IP address planning (default) .................................................................................A-1
vi
1-1
TC
12345678
ce0 ce2 ce1 ce3 ce0 ce2 Administrative Console
m2000svr-1
SCSI SCSI
Disk Array
Figure 1-1 Networking of the M2000 two-node cluster hot backup system Two M2000 servers (high-performance Sun servers) act as the two nodes of the cluster. Here, take the V880 for example. The master and slave nodes are respectively named m2000svr-1 and m2000svr-2. The network interface name varies with the network adapter configured. Two disk arrays (Sun StorEdge3310) act as the mirror for each other. The terminal concentrator (TC) connects the administrative console with the two nodes. The administrative console performs single-node management on the cluster system and database, and handles faults in the cluster system.
1-2
Table 1-1 Hardware configuration of the Sun Fire V880 M2000 hot backup system Hardware Type Memory: 8 GB Hard disk: 73 GB x 2 M2000 server Sun Fire V880 server x 2 Tape: DDS4 SCSI card: PCI Dual Ultra3 SCSI host adapter x 2 Network adapter: 4-port network adapter x 2 No video adapter, keyboard, mouse, and audio adapter Disk arrays TC Management console LAN Switch Sun StorEdge3310 Nortel Micro Annex CPU: 650 MHz Sun Blade 150 Quidway S3026 Straight through network cable Crossover network cable RS232-RJ45 cable Accessories SCSI cable Connection board Host or console power cable DC power connector Memory: 512 MB Hard disk: 40 GB Quidway S3026 x 3 7 4 2 4 3 Sun StorEdge3310 (8 x 36 GB) x 2 A control module is needed. Configuration CPU: 1050 MHz x 4
1-3
Component description PCI Dual Ultra3 SCSI PCI Dual Ultra3 SCSI Dual FastEthernet + Dual SCSI Dual FastEthernet + Dual SCSI
Table 1-3 lists the specifications of the Sun Fire V880. Table 1-3 Specifications of the Sun Fire V880 Physical dimensions Height Depth Width Weight Requirements of power supply AC input power Hot swap power supplies Redundant AC input power Current under 220 V Rated power Maximum power Environments requirements Temperature Operation Storage Operation Storage Operation Storage 714 mm (28.1 in.) 836 mm (32.9 in.) 480 mm (18.9 in.) 130.9 kg (288.6 lb) Value 100 V 240 V, 47 Hz 63 Hz 2 included 2 required 7A 1,515 W 3,000 W Value 5C 35C (41F - 95F) 20C +60C (-4F - 140F) 20% 80% 5% 95%, without dews <3 km <12 km Value
Relative humidity
Altitude Cooling
1-4
Table 1-4 Type and components of the disk array Type of the disk array 3310 (1-AC) Slot of the hard disk Components order No. XTA-3310-36GB-10K Name of the disk array 3310-1, 3310-2 Component PN No. Component description 36 GB Sun StorEdge3310 hard disk
1-5
540-5522
Table 1-5 lists the specifications of the Sun StorEdge 3310. Table 1-5 Introduction to the Sun StorEdge 3310 Physical dimensions Height Depth Width Weigh Requirements of power supply Input voltage Maximum input current Output voltage DC power Input voltage Environment requirements Temperature Operation Storage Operation Storage Operation Storage 5C 35C (41F - 95F) 40C +65C (-40F - 149F) 10% 90% (not frozen) 0% 93% (not frozen) 0 km 3 km 0 km 12 km 133 mm (5.24 in.) 469.9 mm (18.5 in.) 444.5 mm (17.5 in.) 30.39 kg (67 lb) Value 90 V AC 264 V AC, 47 Hz 63 Hz (single-phase) 5A +5 V DC and +12 V DC 48 V DC (36 V DC 72 V DC) 90 V AC 264 V AC, 47 Hz 63 Hz (single-phase) Value Value
Humidity
Altitude Ventilation
1-5
Figure 1-2 Rear view of the Sun Fire V880 Figure 1-3 shows the partial zoom-in rear view of the Sun Fire V880.
pci 8
pci 7
pci 6
Figure 1-3 Partial zoom-in rear view of the Sun Fire V880
1-6
(1)
(2)
(3) (4)
(5)
(6) (7)
(8)
(9)
Power indicator
Console
Figure 1-5 Front view of the S3026 Table 1-6 lists the arrangement of the 24 network interfaces of the S3026 (front view). Table 1-6 Arrangement of the 24 network interfaces of the S3026 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23
The Ethernet interface is an RJ45 connector. Status indicators are on the front panel. Table 1-7 explains these indicators. Table 1-7 Meanings of S3026 status indicators Indicator Power indicator Identifier POWER Status ON OFF Meaning The LAN Switch is powered on. The LAN Switch is powered off.
1-7
Indicator
Status ON
Meaning The connection is normal. The connection is not set up. The data is being received or transmitting. 100 Mbit/s 10 Mbit/s
OFF Flashing
Speed (Green)
ON OFF
The 10Base-T/100Base-TX Ethernet port can work in semi-duplex, full duplex, or auto-negotiation mode. It can negotiate with other network equipment to choose the best working mode and transfer rate.
1-8
01
1000 M Ethernet
Public network
02
1000 M Ethernet
Host 1
Public network
03 04
Host 2 Host 2
2-1
SN
Connection type 1000 M Ethernet (crossover network cable) 1000 M Ethernet (crossover network cable) SCSI cable SCSI cable SCSI cable SCSI cable SCSI cable SCSI cable Serial port cable Serial port cable
Source equipment port Network interface 1 in slot PCI5 (ce1) Network interface 1 in slot PCI6 (ce3) SCSI 1 in slot PCI7 SCSI 1 in slot PCI8 SCSI 1 in slot PCI7 SCSI 1 in slot PCI8 Single Bus port Single Bus port Serial port A Serial port A
Target equipment port Network interface 1 in slot PCI5 (ce1) Network interface 1 in slot PCI6 (ce3) CH1 CH1 CH3 CH3 CH0 CH0 Port 2 Port 3
Remarks
05
Private network
06
Host 1
Host 2
Private network
07 08 09 10 11 12 13 14
2-2
Register the Sybase and M2000 applications. Check the installation result.
3-1
Operating system: Solaris 8 (02/04 SPARC Platform Edition) Volume management software: VERITAS Volume Manager 3.2 Cluster software: Sun Cluster 3.0 Database software: Sybase Adapter Server Enterprise 11.9.2 NMS software: iManager M2000 Patch package of the system: Patch 3.1 Installation and monitoring script packages: M2000-scripts-xx.tar.gz
Note: The xx in the name of script package file indicates the version of the script package. Select corresponding script package according to the M2000 system. The latest script package version is M2000-scripts-10.tar.gz.
The third field in the above returned result indicates that the version of the operating system is Sun OS 5.8. The M2000 Server runs on this version. Install Sun OS 5.8 if the OS version is not Sun OS 5.8.
3-2
If the patch number is earlier than 19, obtain the Solaris Patch3.0 under the directory "software\Mobile Communication\01-OMC and M2000\Patch\Solaris2.8 Patch3.0(M2000)\SUN\PATCH\8" at http://support.huawei.com and then install it.
3-3
Note: The TZ in the Solaris 8 system differs from that in the Windows system. Therefore, observe the following rules to set the TZ in the Solaris system: If the local TZ is GMT+3 in the Windows, set the TZ to GMT-3 in the Solaris. Similarly, if the TZ is GMT-5 in the Windows, set the TZ to GMT+5 in the Solaris. Violation of the above rules may cause exception of the clock synchronization system and result in inaccurate system clock.
V. Checking IP Address
Execute the following command to check the IP address of the server: #ifconfig a If the IP address does not meet the requirement of the LAN, change it. You need not reinstall the operating system.
3-4
Check whether partitions are the same as those in Table 3-4. If there are different, install the operating system again.
3-5
If the result contains the processes "dataserver" and "backupserver", it indicates that Sybase database is installed. Otherwise, reboot the system by executing the following commands: $cd /export/home/sybase/install $startserver -f RUN_sybserver -f RUN_sybserver_back Check the processes again. If you cannot access the directory or the above two processes do not exist, reinstall the Sybase database. 3) Log in to isql as sa. $isql -Usa -Pserver1234 1> If you can log in to the system, it indicates that the Sybase database is installed.
1> "11.9.2" in the above result indicates the version of the Sybase. If the version of Sybase database is earlier than this, remove this Sybase and install the Sybase of version 11.9.2.
status cntrltype device_number low high data_dev MB 3 0 ----------------------------------------------------------------/dev/md/rdsk/d32 .. 3 special, default disk, physical disk,7000.00
3-6
1> If the result contains devices "data_dev" and "log_dev", you need not reinstall the Sybase database.
I. Naming Servers
Name the host A m2000svr-1 and the host B m2000svr-2.
Modifying IP
Table 3-3 IP addresses of the iManager M2000 hot backup system Device m2000svr-1 m2000svr-2 Logical IP of the hot backup system Terminal concentrator (TC) IP address 192.168.8.11 192.168.8.12 192.168.8.10 192.168.8.244 Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0
Table 3-5 describes the partitions of the first hard disk of the m2000svr-1. Table 3-5 Partition description of the first hard disk of the m2000svr-1 Physical device c1t0d0s0 Partition name Root partition Purpose It is used to install the Solaris 8 operating system and manage files. It is the Solaris data exchange area. (It is recommended that this partition is one or two times greater than the memory.) It is the mirrored disk of the operating system. (This partition is unavailable and need not be partitioned.) Remarks
c1t0d0s1
swap
c1t0d0s2
overlap
3-8
Physical device
Partition name
Purpose It is used to install the system software and third party software, including Sun Cluster, VERITAS Volume Manager, Sybase database, and drivers. It is a special partition assigned during the installation of the Sun Cluster 3.x. (Assign this partition in advance.) These three partitions are spare ones. Two of them are reserved for the mirroring of the system disk.
Remarks The /opt partition is used to separate the software from the operating system to improve the security.
c1t0d0s3
/opt
/globedevices
Reserve the rest space (about 1,100 MB) as the overhead for the system disk mirroring. The second built-in hard disk in the m2000svr-1 acts as the mirror of the first one and needs no partitioning.
Note: The names of the two built-in hard disks (73 GB) vary with actual situations. Here, c1t0do and c1t1d0 are assumed disk names.
Built-in hard disk partitions of the host B Table 3-6 provides the hard disk partition and IP planning information of the host B. Table 3-6 Hard disk partition and IP planning of the host B (Sun Fire V880) Host IP Address Netmask Hard disk m2000svr-2 192.168.8.12 255.255.255.0 c1t0d0 0 1 Hard disk partition 2 3 4 / Swap Overlap /opt /globedevices 10240MB 500 MB 43000 MB 16384 MB c1t1d0 0 1 2 3 4 overlap
3-9
Note: In a 3310 disk array, there are eight 36-GB hard disks. One of them serves as a global hot backup disk. The other seven hard disks can work in the 6+1 protection mode with RAID5 configuration. That is, among the seven hard disks, only six hard disks are available at the same time, and the rest one serves as a redundant one for parity check. When one disk is damaged, data can be automatically recovered. RAID1 is configured for the two 3310 disk arrays. That is, the mirroring protection is implemented between two 3310 disk arrays. The host data can be read or written into the two disk arrays at the same time to ensure the system safety. In a word, the two 3310 disk arrays in the iManager M2000 hot backup system can provide a 36 x 6 space (about 201GB) to the system.
The space allocation of the Sun StorEdge3310 refers to the allocation of the 201 GB space.
Note: The VERITAS Volume Manager manages disk arrays. It is only required to partition one of the two Sun StorEdge3310s. The other Sun StorEdge3310 acts as the mirror of the first one through the Volume Manager.
The Sun StorEdge3310 is managed by its built-in operating system. Perform the following operations on both disk arrays through the built-in system to access the two partitions from the V880 server. 1) 2) 3) 4) Divide the eight hard disks in the RAID 5+1 hot backup mode to create a logical disk (about 201 GB). Partition the logical disk into two partitions: one with 200 MB and the other with about 201 GB. Map these two partitions to the Host LUNs. Reboot the Sun StorEdge3310s.
For details of the Sun StorEdge3310 disk arrays, see section 3.5.2 "Configuring the Sun StorEdge3310s".
3-10
I. IP Planning
Set IP addresses for Sun cluster components according to the cluster configuration. In the cluster configuration, each node must connect to the public network. In addition, it is required to add these IP addresses to the file /etc/hosts. Table 3-7 lists the planned IP addresses necessary for the installation. Table 3-7 IP planning Item Administrative console TC Logical address IP planning One IP for each subnet One IP for each subnet One IP for each logical node IP address and subnet mask 192.168.8.236; 255.255.255.0 192.168.8.244; 255.255.255.0 192.168.8.10; 255.255.255.0
Cluster private network Cluster interconnection Cluster private host name Cluster public network
3-11
Mirroring of multiple host disks Configure the two Sun StorEdge3310s as RAID1 Root disk mirroring Configure RAID1 for the two local disks. Unique name Node list Multi-port disk Disk for hot backup
I. Connecting the TC
To connect the TC, proceed as follows: 1) 2) Connect Com port A of the administrative console to Port 1 of the TC with a network cable (with BD9/DB25-RJ45 connectors). Connect the Ethernet port of the TC to the administrative console with a network cable, as shown in Figure 3-1.
3-13
Figure 3-2 Front panel of the TC If the statuses of indicators on the TC front panel are the same as those listed in Table 3-9, and the monitoring terminal of the administrative console displays
3-14
"monitor::", it indicates that the TC is connected correctly and you can start the configuration. Table 3-9 Statuses of indicators in the TC configuration mode Indicator Status Power (Green) ON Unit (Green) ON Net (Green) ON Attn (Yellow) ON Load (Green) OFF Active (Green) Flash irregularly Test (Orange) ON
Otherwise, locate and clear the fault according to description in Table 3-10 and the installation and maintenance manual delivered with the TC. Table 3-10 Statuses of TC fault indicators Fault Hardware failure Network test failure Network test interruption or network command execution failure Using the wrong mirror for booting Power (Green) ON ON Unit (Green) Flash ON Net (Green) OFF Flash Attn (Yellow) Flash OFF Load (Green) OFF OFF Active (Green) OFF Flash irregularly
ON
ON
OFF
Flash
OFF
Flash irregularly
ON
ON
ON
Flash
OFF
OFF
Execute the command addr to configure the IP address of the TC, subnet mask, and network address. monitor::addr
Enter Internet address [<uninitialized>]::192.168.8.244 Internet address: 192.168.8.244 Enter Subnet mask [255.255.0.0]:: 255.255.255.0 Subnet mask: 255.255.255.0 Enter Preferred load host Internet address [<any host>]:: 192.168.8.244 *** Warning: Load host and Internet address are the same *** Preferred load host address: 192.168.8.244 Enter Broadcast address [0.0.0.0]:: 192.168.8.255 Broadcast address: 192.168.8.255 Enter Preferred dump address [0.0.0.0]:: 192.168.8.244 Preferred dump address: 192.168.8.244 Select type of IP packet encapsulation (ieee802/ethernet) [<ethernet>]:: Press <Enter>. Type of IP packet encapsulation: <ethernet>
3-15
3)
Reboot the TC. Power off the TC and then power it on. During the start process, the Load and Active indicators flash for a while, and then the Load indicator is off and the Active indicator flashes irregularly.
4)
Test the network connectivity of the TC. On the administrative console, execute the command ping to test the connectivity. #ping 192.168.8.244
192.168.8.244 is alive
If the above information is displayed, it indicates the administrative console connects to the TC. If the displayed information is "no answer from TC ip address", it indicates the administrative console fails to connect to the TC. Check the network. If the network is normal, reconfigure the TC.
5)
Exit the tip tool. At the prompt of the tip tool, enter the following contents: ~.
~ [EOT] #
3-16
Press <Enter>.
Rotaries Defined: cli Enter Annex port name or number:cli
Annex Command Line Interpreter * Copyright 1991 Xylogics, Inc. annex:su Password:
//Type the password. The default password is the IP address of the TC.
annex# admin Annex administration MICRO-XL-UX R7.0.1, 8 ports admin : set port=1-8 type dial_in imask_7bits Y You may need to reset the appropriate port, Annex subsystem or reboot the Annex for changes to take effect. admin : set port=2-7 mode slave admin : quit annex# boot bootfile: <Enter> warning: <Enter>
After configuring the TC, remove the serial port cable between the administrative console and TC. During the above operation, you may type command "?" or "help" to obtain the help information.
Note: If the Sun workstation is unavailable for the on-site deployment, you can use programs such as the HyperTerminal of the minicomputer to configure the TC. For details, see relevant documents of the HyperTerminal software.
I. Preparations
Proceed as follows before configuring the Sun StorEdge3310. 1) Connect Com port B of the administrative console to the Serial A/B port of the Sun StorEdge3310 controller with a serial port cable (DB9-DB25).
3-17
2)
Figure 3-3 Configuring the IP address for the Sun StorEdge3310 Type the IP address, subnet mask, and network gateway IP address in the window, as shown in Figure 3-4.
3-18
Figure 3-4 Setting the IP address and the mask Press <ESC>. The system asks you whether to set the IP address. If you select "Yes", the system asks whether to reboot the controller. Select "Yes" to reboot the controller. After the Sun StorEdge3310 reboots, log in to it. #telnet IP address of the disk array
Trying IP address of the disk array... Connected to IP address of the disk array. Escape character is ^].
Press <Ctrl+L>. The initial configuration interface appears. 6) Configure the SCSI channel of the Sun StorEdge3310. Click [Terminal (VT100 Mode)] in the menu. Press <Enter> to display the main menu.
3-19
Figure 3-5 Configuring the SCSI channel In the main menu, click [view and edit Scsi channels] and then edit SCSI channels according to Figure 3-5. Set CHL1 and CHL3 as Host, that is, the Primary Controller. Press <ESC> to return to the main menu. Select "Yes" when the system asks you whether to reboot the controller. Telnet to the Sun StorEdge3310 again after it reboots. #telnet IP address of the disk array
Trying IP address of the disk array... Connected to IP address of the disk array. Escape character is ^].
Press <Ctrl+L> The initial configuration interface appears again. 7) Configure logical drives for the Sun StorEdge3310. Click [Terminal (VT100 Mode)]. Press <Enter> to enter the main menu. In the main menu click [view and edit Logical drives] and then press <Enter> to configure the logical drives.
Note: New disks have no logical drives. That is, in Figure 3-6, "NONE" is displayed for logical disks. If a logical drive exists, delete it first. If the LUN is mapped, the system prompts the failure of deleting the logical drive. In this case, unmap the Host LUN and then delete the logical drive.
3-20
Select the first row and press <Enter>. Select "Yes" to create a logical drive. Press <Enter>, as shown in Figure 3-6.
Figure 3-6 Selecting the logical drive Select "RAID5" and press <Enter>, as shown in Figure 3-7.
Figure 3-7 Selecting the type of logical drive Select the first seven disks for RAID5 mirroring. The "*" appears in the Slot column, as shown in Figure 3-8.
3-21
Figure 3-8 Selecting drives Press <ESC> to confirm the selection. Select "Yes" and then press <Enter> to create a logical drive, as shown in Figure 3-9.
Figure 3-9 Selecting whether to create logical drives The percentage displayed on the upper left corner indicates the mirroring progress, as shown in Figure 3-10.
3-22
Figure 3-10 Creating logical drives You can press <Ctrl+L> to refresh the interface during the process. When the percentage disappears, it indicates the RAID5 mirroring is completed, as shown in Figure 3-11.
Figure 3-11 Completion of the RAID5 mirroring Press <ESC> twice. Select the prepared RAID5 logical drives, as shown in Figure 3-12.
3-23
Figure 3-12 Selecting logical drives 8) Partition the logical drive. Select [Partition logical drive], as shown in Figure 3-13, then press <Enter> to start partitioning.
Figure 3-13 Selecting of the partition logical drive Select "Yes" as shown in Figure 3-14 and press <Enter>.
3-24
Figure 3-14 confirming the partitioning Press <Enter> as shown in Figure 3-15.
Figure 3-15 The first partition Enter "200" after "Partition Size (MB):", as shown in Figure 3-16.
3-25
Figure 3-16 Size of the first partition Press <Enter>. Select "Yes" and the press <Enter> to allocate space for the first partition, as shown in Figure 3-17.
Figure 3-17 Confirming the partitioning Select the second row, as shown in Figure 3-18.
3-26
Figure 3-18 The second partition Press <Enter>. Enter "103228" at the prompt "Partition Size (MB):", as shown in Figure 3-19. Then press <Enter>.
Figure 3-19 Size of the second partition Select "Yes" and press <Enter> to start allocate space for the second partition, as shown in Figure 3-20.
3-27
Figure 3-20 Confirming the partitioning Press <ESC> twice to return to the main menu. 9) Map the logical partition to the Host LUN. Partition 0: 200 MB Partition 1: 201 GB The size of each partition in the following figures is just an example. In the main menu, click [view and edit Host luns], as shown in Figure 3-21
Press <Enter> to map the logical partition to the LUN. Click [CHL 1 ID 0 (Primary Controller)] and then press <Enter>, as shown in Figure 3-22.
Caution: Make sure that CHL 1 is the Primary Controller. If [CHL1 ID 0 (Secondary Controller)] is displayed, delete this channel first and then add [CHL 1 ID 0 (Primary Controller)].
Click [Logical Drive] and then press <Enter>, as shown in Figure 3-23.
3-29
Figure 3-23 Selecting the logical drive Select Row 0 and then press <Enter> to map the first LUN, as shown in Figure 3-24.
Figure 3-24 Selecting the first LUN Select the prepared RAID5 logical drive and press <Enter>, as shown in Figure 3-25.
3-30
Figure 3-25 Selecting the logical drive Select Row 0 and press <Enter>, as shown in Figure 3-26.
Figure 3-26 Selecting the partition of the logical drive Click [Map Host LUN] and press <Enter>, as shown in Figure 3-27.
3-31
Figure 3-27 Mapping the LUN Select "Yes" and press <Enter>, as shown in Figure 3-28.
Figure 3-28 Confirming the LUN mapping Select Row 1 and then press <Enter> to map the second LUN, as shown in Figure 3-29.
3-32
Figure 3-29 Selecting the second LUN Select the prepared RAID5 logical drive and press <Enter>, as shown in Figure 3-30.
Figure 3-30 Selecting the logical drive Select Row 1 and press <Enter>, as shown in Figure 3-31.
3-33
Figure 3-31 Selecting the partition of the logical drive Click [Map Host LUN] and press <Enter>, as shown in Figure 3-32.
Figure 3-32 Mapping the LUN Select "Yes" and press <Enter>, as shown in Figure 3-33.
3-34
Figure 3-33 Confirming the mapping Press <ESC> to return to channel selection interface, as shown in Figure 3-34.
Figure 3-34 Selecting channel 3 Map the LUN of channel 3 in the same way as that of channel 1. Press <ESC> to display the initial configuration interface again after the configuration is completed. Press <Ctrl+]> and the screen prompts:
3-35
3-36
3-37
Check the following items: Whether the version of script package M2000-scripts-xx.tar.gz matches the version of the installed iManager M2000 system. Whether the script package is complete.
Note: If the package can be unpacked normally, it indicates that the script package is complete.
3-38
Note: The SolarisTM 8 operating system is a product of Sun Microsystems, Inc. For detailed specifications, see related technical documents. Sun Microsystems, Inc. reserves all the rights of the company name, trademarks, and manuals involved in this chapter.
4-1
Press <Enter>
Rotaries Defined: cli Enter Annex port name or number: 2
Attached to port 2
Press <Enter>.
ok
Note: If the Sun Fire V880 is used for the first time, the ok prompt will appear on the screen. If the Sun Fire V880 is installed with the operating system, you need to enter the ok state by carrying out the following operations: Enter "Ctrl+]". telnet>send brk If the system does not shield the break signal, it indicates that you are in the ok state now. If the system shields the break signal, continue the following operations. Log in to the operating system and enter init 0 at the prompt. The system enters the ok state after reboot.
2) 3)
Put the Solaris 8 Software 1 (2/02 SPARC Platform Edition) into the CD-ROM drive. Enter the following command at the ok prompt: boot cdrom The system reboots. In about five minutes, the system asks you to select the installation language.
4)
4-2
Press Return to show more choices. Please make a choice (0 - 51), or press h or ? for help:
Select "0. English (C 7-bit ASCII)" and press <Enter>. Click <Continue> when the system prompts that the identification of the system starts. 6) Select the terminal.
What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT52 3) DEC VT100 4) Heathkit 19 5) Lear Siegler ADM31 6) PC Console 7) Sun Command Tool 8) Sun Workstation 9) Televideo 910 10) Televideo 925 11) Wyse Model 50 12) X Terminal Emulator (xterms) 13) Other Type the number of your choice and press Return: 3 The system is coming up. Please wait.
4-3
2)
Select "No" and click <Continue>. 3) Select the primary network interface.
Primary network interface [X] eri0 [ ] ce0 [ ] ce1 [ ] ce2 [ ] ce3 [ ] fcip0
Select "eri0" as the primary network interface and then click <Continue>. 4) Enter the host name. Host name: m2000svr-1 (according to actual situations) Click <Continue>.
Note: The host name of the master node is m2000svr-1 and that of the slave node is m2000svr-2.
5)
Click <Continue>.
Note: The IP address of the master node is 192.168.8.11 and that of the slave node is 192.168.8.12.
6)
Select "Yes" and click <Continue>. 7) Enter the subnet mask. Netmask: 255.255.255.0 //Set the subnet mask according to actual situations.
4-4
Select "No" and then click <Continue>. Then the system summarizes the above results. Confirm the results and click <Continue> to go on with the installation. 9) Specify whether to configure the Kerberos Security.
Configure Kerberos Security [ ] Yes [X] No
Confirm the above result and click <Continue>. 10) Specify whether to provide the Name Service.
Name service [ ] NIS+ [ ] NIS [ ] DNS [ ] LDAP [X] None
Confirm the above result and click <Continue>. 11) Specify the time zone.
Specify timezone by: [ ] Geographic region [X] Offset from GMT [ ] Time zone file
Select "Offset from GMT" and click <set> to continue the installation.
Hours offset: -8
//Enter the time zone according to the actual situation (such as GMT-8 for China), and then click <Continue>.
Date and time: 2003-12-15 16:44 Year Month Day (4 digits) : 2003 (1-12) (1-31) : 12 : 15
4-5
Minute (0-59)
If the date or time is incorrect, modify it with the help of the up and down arrows. After the modification, click <Continue>.
Time zone: GMT-8 Date and time: 2003-12-15 16:44
The system then summarizes the information of the time zone and system time. Click <Continue>.
Note: As mentioned above, if the time zone of a local area is GMT+8 in the Windows, set the time zone to GMT-8 in the Solaris. Similarly, if the time zone is GMT-5 in the Windows, set the time zone to GMT+5 in the Solaris. Violation of the above rules can cause exceptions of the clock synchronization system and result in an inaccurate system clock.
Press <F4> to select the initial installation. 2) Select the standard installation.
F2_Standard F3_Go Back F4_Flash F5_Exit F6_Help
4-6
Select the following regions: Asia --Simple Chinese EUC --Simple Chinese GBK --Simple Chinese UTF-8 North America <U.S.A> (en_US.IS08859-1) Click <Continue>. 4) Select installation type of Sun Solaris software package.
[X] Entire Distribution plus OEM Custom [ ] Entire Distribution 64-bit ................. 1763.00 MB [ ] Developer System Support 64-bit ............ 1713.00 MB [ ] End User System Support 64-bit ............. 1285.00 MB [ ] Core System Support 64-bit ................. 441.00 MB support 64-bit 1798.00 MB (F4 to
Select "Entire Distribution Plus OEM support 64-bit". Click <Continue>. 5) Select the hard disk available for the installation.
[X] c1t0d0 [ ] c1t1d0 (34730 MB) (34730 MB) boot disk 34730 MB (F4 to edit)
Select c1t0d0 and click <Continue>. 6) Specify whether to preserve data on the hard disk.
Preserve Data? ... Continue Go Back Preserve Exit Help
Click <Continue> not to preserve data. 7) Specify whether to lay out system files automatically.
Auto Layout Go Back Manual Layout Exit Help
Click <Auto Layout>. 8) Select "/, /opt, /usr, swap, and /var", and then click <Continue>.
[X] [X] / /opt
4-7
9)
Select the mode for layout of the file system and hard disk.
Continue Go Back Customize Exit Help
Click <Customize> for installation. Adjust partitions of the hard disk according to Table 4-1 and then click <OK> to continue the installation. Confirm the above result and click <Continue>. Table 4-1 lists the partition layout of system disk 1. Table 4-1 Partitions of system disk 1 Host name IP Address Netmask Boot disk m2000svr-1 192.168.8.11 255.255.255.0 c1t0d0 0 1 Disk partition 2 3 4 / swap overlap /opt /globaldevices 10,240 MB 500 MB 43,000MB 16,384 MB c1t1d0 0 1 2 3 4 overlap
The other hard disk c1t1d0 is used for mirroring. 10) Specify whether to mount the remote file system.
Mount Remote File Systems? Continue Go Back Remote Mounts Exit Help
Click <Continue> to continue the installation without mounting remote file systems. 11) Display the configuration.
Continue Change Exit Help
Confirm the results and click <Continue>. 12) Reboot the system.
Auto Reboot Manual Reboot
4-8
The system displays the installation progress. The entire installation process lasts about 25 minutes and the system reboots automatically after the installation. 2) Enter the root password. Press <Enter> and confirm the password.
Root password:****** Press Return to continue. Re-enter your root password.
Note: Keep the password in mind. It is recommended to use "root" as the password to facilitate the remote maintenance.
3)
Next
Skip
Select <CD/DVD> and press <Enter> to continue the installation. 4) Insert the Solaris 8 Software 2 (2/02 SPARC Platform Edition) into the CD-ROM drive.
Please insert the CD/DVD for Solaris 8 Software 2 of 2 (2/02 SPARC Platform Edition). After you insert the disc, please press Enter.
Insert the Solaris 8 Software 2 (2/02 SPARC Platform Edition) as prompted and then press <Enter> to continue the installation. The screen displays the installation progress.
Installation Summary: Product Status Information
Installed
Detail
4-9
Select <CD/DVD> and then click <Next> to continue the installation (about 15 minutes).
Installing Solaris 8 packages (part 2) |-1%--------25%---------50%----------75%--------100%|
5)
Insert the CD for Solaris 8 Languages (2/02 SPARC Platform Edition) as prompted. Press <Enter> to start installation.
Ready to Install Back Install Now Exit
Installed
Detail
Press <Enter> to continue the installation (about 10 minutes). 6) Reboot the system.
Reboot Press Reboot Now to continue
Click <Reboot Now> to reboot the computer. The system reboots automatically. Now the installation of the operating system is completed. 7) Edit the file /etc/hosts. This file contains the names and corresponding IP addresses of all hosts on the network. Add the character string "Server name.net" behind loghost. Press <Tab> to separate them. For example:
127.0.0.1 localhost 192.168.8.11 m2000svr-1 loghost m2000svr-1.net
8)
Caution: Update the system time after the installation. Ensure that system time must be the same as the current time after installation. Otherwise, bill problems may occur owing to the inaccurate clock.
Update the current system time using the command date. Command format: date mmddHHMM[cc]yy][.SS] For example, if you want update the time to 17:30:01 on February 13, 2003, enter the following command as root: #date 021317302003.01
4-11
Do you wish to add the SFK & SNIA packages? [y/n]: y ........ Do you wish to ENABLE the alternate break sequence? [E/n]: n ........ Do you want to install the ACT package? [y/n]: y ........ enter base directory for install (Default /opt/CTEact)? [?,q] <Enter> Do you wish to enable the email of panic facility [y] [y,n,?] n ........ Do you want this directory created now [y,n,?,q] y ........ Do you want to continue with the installation of <CTEact> [y,n,?] y ........ Press RETURN to continue...<Enter> ........ Agree to these terms? [y,n] y ........ Where should this package be installed? [/opt/SUNWexplo] <Enter> Company name []: <Enter> Contract ID []: <Enter> System serial number: []: <Enter> Contact name []: <Enter> Contact email address []: <Enter> Phone number []: <Enter> Address(line 1) []: <Enter> Address(line 2) []: <Enter> City []: <Enter> State []: <Enter> Zip []: <Enter> Please select your geo from this list 1) AMERICAS 2) EMEA 3) APAC [AMERICAS]
Note: The above three regions stand for America, Europe, and Asia-Pacific. Select the region according to actual situations. The selection here determines the country to be selected next.
4-12
Please Enter the two character Country code or enter ? for a list of countries. []: CN
Note: Enter a two-digit country code according to actual situations. For example, the country code for China is CN. You may key in "?" to query the country code.
........ Would you like all explorer output to be send to: explorer-database-apac@sun.com at the completion of explorer when mail or e is specified? [y,n] n ........ To enter multiple addresses, separate them with a comma(,). []: <Enter> Return address for explorer email output [] :<Enter> To receive email notification that your explorer output has been loaded into the repository, enter the email address to send the notification to. If notification is not wanted, enter a single . []: <Enter> ........ Are these values okey? [y,n]: y ........ Do you wish to run explorer once a week? [y,n]: n ....... Would you like to do this now? [y,n] n ........ Do you want this directory created now [y,n,?,q] y Do you want to continue with the installation of <SUNWexplo> [y,n,?] y ........ setup-standard completed.
II. Installing the Recommended Patch and Extended Patch of Sun Solaris Operating System
To install the recommended patch and extended patch of Sun Solaris operating system, 1) Execute the following command to validate the new environment variable. # . /.profile
4-13
2)
Insert the CD for Patch 3.1. Unpack the patches of Sun Solaris operating system to the directory /tmp/8 (default patch).
root@m2000svr-1# cd /cdrom/cdrom0/sun/patch/8 root@m2000svr-1# unpack-patches Are you ready to unpack patches into /tmp/8? [y/n]: y Unpacking.....
3) 4)
Execute the command #cd /;eject to take out the CD. Install the patches. Run the patch installation script under the corresponding directory according to the system prompt until the installation completes.
root@m2000svr-1# cd /tmp/8 root@m2000svr-1# ./install_all_patches
4-14
4) 5)
Execute the command #cd /;eject to take out the CD. Run the patch installation script in the corresponding directory according to the system prompt. # cd /tmp/8 # ./install_patches
Are you ready to continue with install? [y/n]: y
Press <Enter>
........ Do you want to continue with the installation of <SUNWqus> [y,n,?] y ........ Do you want to continue with the installation of <SUNWqusux> [y,n,?] y
4-15
Select package(s) you wish to process (or all to process all packages). (default: all) [?,??,q]:q
# cd /tmp/8 # ./install_patches
Are you ready to continue with install? [y/n] y
VIII. Installing Scripts for the Sun Two-node Cluster Hot Backup System
Put the CD of the script software in the CD-ROM and execute the following commands: # cp M2000-scripts-xx.tar.gz /opt/ # cd /opt # gzcat M2000-scripts-xx.tar.gz | tar xvf
Note: You can obtain the mirror installation script "M2000-scripts-xx.tar.gz" by accessing the website http://support.huawei.com. The script is under the directory: software\Mobile Communication\90-OS PATCH\Solaris\solaris\M2000V1 Server Installation Script Package. "XX" stands for the version. For example, the latest version is 1.0, so the name of the script package is M2000-scripts-10.tar.gz.
4-16
# reboot -- -r
After configuration, the contents in the file /etc/hosts of the slave node are as follows:
# # Internet host table # 127.0.0.1 localhost 192.168.8.11 192.168.8.12 192.168.8.10 192.168.8.244 192.168.8.236 m2000svr-1 m2000svr-2 loghost m2000svr tc m2000-console m2000svr-2.net
Note: The file /etc/hosts contains IP addresses of all nodes and logical nodes in the cluster: 192.168.8.11 is the IP address of the master node. 192.168.8.12 is the IP address of the slave node. 192.168.8.10 is the IP address of m2000svr logical node. 192.168.8.244 is the IP address of the TC. 192.168.8.236 is the IP address of the administrative console. Enter specific IP addresses according to the IP planning shown in Table 3-3.
2)
4-17
Add a line "exclude: lofs" at the end of the file /etc/system: 3) Rebooting the Server. Execute the following commands to reboot the server: #sync;sync;sync;sync;sync #shutdown -y -g0 -i6
AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfc33819,0 1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfc33722,0 2. c3t0d0 <SUN-StorEdge3310-0325 cyl 198 alt 2 hd 64 sec 32> /pci@8,700000/pci@2/scsi@4/sd@0,0 3. c3t0d1 <SUN-StorEdge3310-0325 cyl 51612 alt 2 hd 64 sec 64> /pci@8,700000/pci@2/scsi@4/sd@0,1 4. c4t0d0 <SUN-StorEdge3310-0325 cyl 198 alt 2 hd 64 sec 32> /pci@8,700000/pci@2/scsi@5/sd@0,0 5. c4t0d1 <SUN-StorEdge3310-0325 cyl 51612 alt 2 hd 64 sec 64> /pci@8,700000/pci@2/scsi@5/sd@0,1
Specify disk (enter its number): <Ctrl+D> Execute the command format to query disks, and the system displays the above information. The number of the disks is six.
4-18
Note: The M2000 system occupies the bigger disks while the smaller disk (198MB) is reserved. c3t0d1 and c4t0d1 are the bigger disks and belong to two different disk arrays respectively. These two disks are used to create the volume and volume mirroring of the M2000.
4-19
Note: The Sun Cluster management software is a product of Sun Microsystems, Inc. For detailed instructions, see the related technical documents about the Sun cluster. Sun Microsystems, Inc. reserves all rights of the company name, trademarks, and manual names involved in this chapter.
Before installing the Sun Cluster, check whether: The Solaris system is installed on the master and slave nodes. The patch of the Solaris operating system is installed on the master and slave nodes. The Sun StorEdge3310 disk arrays can be searched in the Solaris operating system. The files /etc/hosts and /etc/system are modified.
5-1
* 1) Establish a new cluster using this machine as the first node * 2) Add this machine as a node in an established cluster 3) Configure a cluster to be JumpStarted from this install server 4) Add support for new data services to this cluster node 5) Print release information for this cluster node
Option:1
This option is used to establish a new cluster using this machine as the first node in that cluster.
Once the cluster framework software is installed, you will be asked for the name of the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements.
After sccheck(1M) passes, you will be asked for the names of the other nodes which will initially be joining that cluster. In addition, you will be asked to provide certain cluster transport configuration information.
Installation of the Sun Cluster framework software packages will take a few minutes to complete.
5-2
Each cluster has a name assigned to it. The name can be made up of any characters other than whitespace. It may be up to 256 characters in length. And, you may want to assign a cluster name which will be the same as one of the failover logical host names in the cluster. Create each cluster name to be unique within the namespace of your enterprise.
This step runs sccheck(1M) to verify that certain basic hardware and software pre-configuration requirements have been met. If sccheck(1M) detects potential problems with configuring this machine as a cluster node, a list of warnings is printed.
5-3
Running sccheck ... done All sccheck tests passed. Hit ENTER to continue: //Press <Enter> to continue
Please list the names of the other nodes planned for the initial cluster configuration. List one node name per line. When finished, type Control-D:
Node name:
m2000svr-2
m2000svr-1 m2000svr-2
Once the first node establishes itself as a single node cluster, other nodes attempting to add themselves to the cluster configuration must be found on the list of nodes you just provided. The list can be modified once the cluster has been established using scconf(1M) or other tools.
By default, nodes are not securely authenticated as they attempt to add themselves to the cluster configuration. This is generally considered adequate, since nodes which are not physically connected to the private cluster interconnect will never be able to actually
5-4
join the cluster. However, DES authentication is available. If DES authentication is selected, you must configure all necessary encryption keys before any node will be allowed to join the cluster (see keyserv(1M), publickey(4)).
The private cluster transport uses a default network address of 172.16.0.0. But, if this network address is already in use elsewhere within your enterprise, you may need to select another address from the range of recommended private addresses (see RFC 1597 for details).
If you do select another network address, please bear in mind that the Sun Clustering software requires that the rightmost two octets always be zero.
The default netmask is 255.255.0.0; you may select another netmask, as long as it minimally masks all bits given in the network address and does not contain any "holes".
Caution: The private network IP address for the Cluster is 172.16.0.0 in this step. If the IP address is in use, select "no" in this step and configure the IP address as prompted. The last two bytes in the IP address must be "0".
The two nodes of a two-node cluster may use a directly-connected interconnect. That is, no cluster transport junctions are configured. However, when there are greater than two nodes, this interactive form of scinstall assumes that there will be exactly two cluster transport junctions.
5-5
All cluster transport adapters in this cluster must be cabled to a transport junction, or "switch". And, each adapter on a given node must be cabled to a different junction. Interactive scinstall requires that you identify two switches for use in the cluster and the two transport adapters on each node to which they are cabled.
What is the name of the first junction in the cluster [switch1]? Hit ENTER to continue. //Press <Enter> to continue
What is the name of the second junction in the cluster [switch2]? Hit ENTER to continue. //Press <Enter> to continue
You must configure at least two transport adapters on each node which serve as connection points to the private cluster transport. More than two connection points are allowed, but this interactive form of scinstall assumes exactly two.
Note that interactive scinstall does not allow you to specify any special transport adapter properties settings. If your adapters have special properties which must be set, you may need to use non-interactive scinstall by specifying a complete set of command line options. For more information, please refer to the man pages for your adapters in the scconf_transp_adap family of man pages (e.g., scconf_transp_adap_hme(1M)).
Option: 3
5-6
Note: The network adapter may vary with the configurations of the computer. Select the correct network adapter according to the actual situation.
Searching for any unexpected network traffic on "ce1" ... done Verification completed. No traffic was detected over a 10 second sample period.
All transport adapters support the "dlpi" transport type. Ethernet adapters are supported only with the "dlpi" transport; however, other adapter types may support other types of transport. For more information on which transports are supported with which adapters, please refer to the scconf_transp_adap family of man pages (scconf_transp_adap_hme(1M), ...).
Name of the junction to which "ce1" is connected [switch1]? Hit ENTER to continue. //Press <Enter> to continue
Each adapter is cabled to a particular port on a transport junction. And, each port is assigned a name. You may explicitly assign a name to each port. Or, for ethernet switches, you may allow scinstall to assign a default name for you. The default port name assignment sets the name to the node number of the node hosting the transport adapter at the other end of the cable.
For more information regarding port naming requirements, refer to the scconf_transp_jct family of man pages (e.g., scconf_transp_jct_dolphinswitch(1M)).
Use the default port name for the "ce1" connection (yes/no) [yes]?yes
5-7
Note: The network adapter may vary with the configurations of the computer. Select the correct network adapter according to the actual situation.
Searching for any unexpected network traffic on "ce3" ... done Verification completed. No traffic was detected over a 10 second sample period.
Each node in the cluster must have a local file system mounted on /global/.devices/node@<nodeID> before it can successfully participate as a cluster member. Since the "nodeID" is not assigned until scinstall is run, scinstall will set this up for you. However, in order to do this, you must supply the name of either an already-mounted file system or raw disk partition at this time. This file system or partition should be at least 512 MB in size.
If an already-mounted file system is used, the file system must be empty. If a raw disk partition is used, a new file system will be created for you.
Once scinstall has successfully installed and initialized the Sun Cluster software for this machine, it will be necessary to reboot. After the reboot, this machine will be established as the first node
5-8
You will need to manually reboot this node in "cluster mode" after scinstall successfully completes.
scinstall -ik \ -C M2000Cluster \ -F \ -T node=m2000svr-1,node=m2000svr-2,authtype=sys \ -A trtype=dlpi,name=ce1 -A trtype=dlpi,name=ce3 \ -B type=switch,name=switch1 -B type=switch,name=switch2 \ -m endpoint=:ce1,endpoint=switch1 \ -m endpoint=:ce3,endpoint=switch2
Checking device to use for global devices file system ... done
Initializing cluster name to "M2000Cluster" ... done Initializing authentication options ... done Initializing configuration for adapter "ce1" ... done Initializing configuration for adapter "ce3" ... done Initializing configuration for junction "switch1" ... done Initializing configuration for junction "switch2" ... done Initializing configuration for cable ... done Initializing configuration for cable ... done
Setting the major number for the "did" driver ... done "did" driver major number set to 300 Checking for global devices global file system ... done
5-9
Verifying that NTP is configured ... done Installing a default NTP configuration ... done Please complete the NTP configuration after scinstall has finished.
Verifying that "cluster" is set for "hosts" in nsswitch.conf ... done Adding the "cluster" switch to "hosts" in nsswitch.conf ... done
Verifying that "cluster" is set for "netmasks" in nsswitch.conf ... done Adding the "cluster" switch to "netmasks" in nsswitch.conf ... done
Verifying that power management is NOT configured ... done Unconfiguring power management ... done /etc/power.conf has been renamed to /etc/power.conf.101001001139 Power management is incompatible with the HA goals of the cluster. Please do not attempt to re-configure power management.
Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done
Ensure network routing is disabled ... done Network routing has been disabled on this node by creating /etc/notrouter. Having a cluster node act as a router is not supported by Sun Cluster. Please do not re-enable network routing.
1) Establish a new cluster using this machine as the first node 2) Add this machine as a node in an established cluster 3) Configure a cluster to be JumpStarted from this install server * 4) Add support for new data services to this cluster node * 5) Print release information for this cluster node
Option:q
5-10
* 1) Establish a new cluster using this machine as the first node * 2) Add this machine as a node in an established cluster 3) Configure a cluster to be JumpStarted from this install server 4) Add support for new data services to this cluster node 5) Print release information for this cluster node
Option:2
5-11
This option is used to add this machine as a node in an already established cluster. If this is an initial cluster install, there may only be a single node which has established itself in the new cluster.
Once the cluster framework software is installed, you will be asked to provide both the name of the cluster and the name of one of the nodes already in the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements.
After sccheck(1M) passes, you may be asked to provide certain cluster transport configuration information.
Installation of the Sun Cluster framework software packages will take a few minutes to complete.
** Installing SunCluster 3.1 framework ** SUNWscr.....done SUNWscu.....done SUNWscnm....done SUNWscdev...done SUNWscgds...done SUNWscman...done SUNWscsal...done SUNWscsam...done SUNWscvm....done SUNWmdm.....done SUNWscva....done SUNWscvr....done SUNWscvw....done SUNWfsc.....done SUNWfscvw...done
5-12
For any machine to join a cluster, it must identify a node in that cluster willing to "sponsor" its membership in the cluster. When configuring a new cluster, this "sponsor" node is typically the first node used to build the new cluster. However, if the cluster is already established, the "sponsoring" node can be any node in that cluster.
Already established clusters can keep a list of hosts which are able to configure themselves as new cluster members. This machine should be in the join list of any cluster which it tries to join. If the list does not include this machine, you may need to add it using scconf(1M) or other tools.
And, if the target cluster uses DES to authenticate new machines attempting to configure themselves as new cluster members, the necessary encryption keys must be configured before any attempt to join.
m2000svr-1
Each cluster has a name assigned to it. When adding a node to the cluster, you must identify the name of the cluster you are attempting to join. A sanity check is performed to verify that the "sponsoring"
5-13
M2000Cluster
This step runs sccheck(1M) to verify that certain basic hardware and software pre-configuration requirements have been met. If sccheck(1M) detects potential problems with configuring this machine as a cluster node, a list of warnings is printed.
Hit ENTER to continue: //Press <Enter> to continue >>> Autodiscovery of Cluster Transport <<<
If you are using ethernet adapters as your cluster transport adapters, autodiscovery is the best method for configuring the cluster transport.
Probing
.......
m2000svr-1:ce1 m2000svr-1:ce3
switch1 switch2
m2000svr-2:ce1 m2000svr-2:ce3
>>> Global Devices File System <<< Each node in the cluster must have a local file system mounted on /global/.devices/node@<nodeID> before it can successfully participate
5-14
as a cluster member. Since the "nodeID" is not assigned until scinstall is run, scinstall will set this up for you. However, in order to do this, you must supply the name of either an already-mounted file system or raw disk partition at this time. This file system or partition should be at least 512 MB in size.
If an already-mounted file system is used, the file system must be empty. If a raw disk partition is used, a new file system will be created for you.
Once scinstall has successfully installed and initialized the Sun Cluster software for this machine, it will be necessary to reboot. The reboot will cause this machine to join the cluster for the first time.
You will need to manually reboot this node in "cluster mode" after scinstall successfully completes.
5-15
Checking device to use for global devices file system ... done
Adding node "m2000svr-2" to the cluster configuration ... done Adding adapter "ce1" to the cluster configuration ... done Adding adapter "ce3" to the cluster configuration ... done Adding cable to the cluster configuration ... done Adding cable to the cluster configuration ... done
Setting the major number for the "did" driver ... Obtaining the major number for the "did" driver from "m2000svr-1" ... done "did" driver major number set to 300
Checking for global devices global file system ... done Updating vfstab ... done
Verifying that NTP is configured ... done Installing a default NTP configuration ... done Please complete the NTP configuration after scinstall has finished.
Verifying that "cluster" is set for "hosts" in nsswitch.conf ... done Adding the "cluster" switch to "hosts" in nsswitch.conf ... done
Verifying that "cluster" is set for "netmasks" in nsswitch.conf ... done Adding the "cluster" switch to "netmasks" in nsswitch.conf ... done
Verifying that power management is NOT configured ... done Unconfiguring power management ... done /etc/power.conf has been renamed to /etc/power.conf.101001022213 Power management is incompatible with the HA goals of the cluster. Please do not attempt to re-configure power management.
Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done
Ensure network routing is disabled ... done Network routing has been disabled on this node by creating /etc/notrouter. Having a cluster node act as a router is not supported by Sun Cluster. Please do not re-enable network routing.
5-16
Please select from one of the following (*) options: 1) Establish a new cluster using this machine as the first node 2) Add this machine as a node in an established cluster 3) Configure a cluster to be JumpStarted from this install server * 4) Add support for new data services to this cluster node * 5) Print release information for this cluster node
Option: q
3)
Execute the following commands to install the patch of the Sun cluster: # cd /cdrom/cdrom0/sun/patch/SunCluster/3.0/8 #unpack-patches
Are you ready to unpack patches into /tmp/8? [y/n]: y
4)
Execute the following commands to reboot the server: #sync;sync;sync;sync;sync #shutdown -y -g0 -i6
------------------------------------------------------------------
5-17
------------------------------------------------------------------
-- Quorum Summary --
1 1 1
Primary -------
Secondary ---------
Device Group
Status
Note: Check whether all the check items on the screen are "online". If yes, it indicates that the installation of the Sun cluster is successful. You can proceed with the configurations in the following sections. If not, it indicates that the installation fails. You need to reinstall the Sun cluster.
5-18
To configure the file /etc/inet/ntp.conf.cluster, 1) 2) Edit the file /etc/inet/ntp.conf.cluster. Add "#" in front of the line "peer clusternode?-priv" (where "?" stands for 3, 4, 5 16) to invalidate it.
5-19
Figure 5-1 A sample of two-node cluster configuration A NAFO group consists of the two network interfaces connected with the public network, as shown in Figure 5-1. These two network interfaces work in the active/standby mode.
Enter NAFO group number [0]: Enter space-separted list of adapters in nafo0: ce0 ce2
//Specify ce0 and ce3 as network interfaces. These two interfaces work in the active/standby mode.
Checking configuration of nafo0: Testing active adapter ce0... Testing adapter ce2...
5-20
NEVER
If the output status is "OK", it indicates that the NAFO group is created.
To configure Quorum devices on the master mode, proceed as follows: 1) Execute the following command to view disk devices in the cluster. #scdidadm -L
1 2 3 4 4 5 5 6 6 7 7 8 9 10 m2000svr-1:/dev/rdsk/c0t6d0 m2000svr-1:/dev/rdsk/c1t0d0 m2000svr-1:/dev/rdsk/c1t1d0 m2000svr-1:/dev/rdsk/c3t1d0 m2000svr-2:/dev/rdsk/c3t0d0 m2000svr-1:/dev/rdsk/c3t1d1 m2000svr-2:/dev/rdsk/c3t0d1 m2000svr-1:/dev/rdsk/c4t1d0 m2000svr-2:/dev/rdsk/c4t0d0 m2000svr-1:/dev/rdsk/c4t1d1 m2000svr-2:/dev/rdsk/c4t0d1 m2000svr-2:/dev/rdsk/c0t6d0 m2000svr-2:/dev/rdsk/c1t0d0 m2000svr-2:/dev/rdsk/c1t1d0 /dev/did/rdsk/d1 /dev/did/rdsk/d2 /dev/did/rdsk/d3 /dev/did/rdsk/d4 /dev/did/rdsk/d4 /dev/did/rdsk/d5 /dev/did/rdsk/d5 /dev/did/rdsk/d6 /dev/did/rdsk/d6 /dev/did/rdsk/d7 /dev/did/rdsk/d7 /dev/did/rdsk/d8 /dev/did/rdsk/d9 /dev/did/rdsk/d10
5-21
Note: Only disks shared by the master and slave nodes can serve as a Quorum device. From the output on the screen, you can see that the master and slave nodes share the four disks /dev/did/rdsk/d4, /dev/did/rdsk/d5, /dev/did/rdsk/d6, and /dev/did/rdsk/d7. You can select any one from these four disks as a Quorum device. In the example, /dev/did/rdsk/d7 is selected as a Quorum device.
2)
This program has detected that the cluster "installmode" attribute is still enabled. As such, certain initial cluster setup steps will be performed at this time. This includes adding any necessary quorum devices, then resetting both the quorum vote counts and the "installmode" property.
Please do not proceed if any additional nodes have yet to join the cluster.
Dual-ported SCSI-2 disks may be used as quorum devices in two-node clusters. However, clusters with more than two nodes require that SCSI-3 PGR disks be used for all disks with more than two node-to-disk paths. You can use a disk containing user data or one that is a member of a device group as a quorum device.
Each quorum disk must be connected to at least two nodes. Please refer to the Sun Cluster documentation for more information on supported quorum device topologies.
5-22
Note: The "d7" here represents the shared disk /dev/did/rdsk/d7, which is selected as a Quorum device in the above operation.
scconf -a -q globaldev=d4
Once the "installmode" property has been reset, this program will skip "Initial Cluster Setup" each time it is run again in the future. However, quorum devices can always be added to the cluster using the regular menu options. Resetting this property fully activates quorum settings and is necessary for the normal and safe operation of the cluster.
1) Quorum 2) Resource groups 3) Cluster interconnect 4) Device groups and volumes 5) Private hostnames 6) New nodes
5-23
Option:q
3)
Execute the following commands to reboot the system: #sync;sync;sync;sync;sync #scshutdown -y -g0 The master and slave nodes enter the "ok" state after reboot. Execute the following command on the master and slave nodes to boot the system: ok boot
-- Cluster Nodes --
------------------------------------------------------------------- Cluster Transport Paths -Endpoint -------Transport path: Transport path: m2000svr-1:ce3 m2000svr-1:ce1 Endpoint -------m2000svr-2:ce3 m2000svr-2:ce1 Status -----Path online Path online
------------------------------------------------------------------
-- Quorum Summary --
5-24
-- Quorum Votes by Device -Device Name ----------Device votes: /dev/did/rdsk/d7s2 Present Possible Status ------- -------- -----1 1 Online
------------------------------------------------------------------- Device Group Servers -Device Group ------------- Device Group Status -Device Group Status Primary ------Secondary ---------
------------------------------------------------------------------
The above result indicates the IP address of m2000svr-1 is bound to the active network adapter ce1. 2) Remove the network cable from the active network adapter, and check the IP addresses of the active and standby network adapters about ten seconds later. # ifconfig -a
ce3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 6
5-25
At this time, the IP address of m2000svr-1 is bound to the standby network adapter ce3. It indicates the IP address is successfully switched to that of the standby network adapter. 3) 4) Connect the network cable to the active network adapter again and remove the one from the standby network adapter. Check the IP addresses of the active and standby network adapters by executing the command ifconfig a about ten seconds later. If the execution result is the same as that in step 1, it indicates that the IP address is switched to that of the active network adapter.
Note: You can use the same method to check the configuration of the NAFO on the slave node.
5-26
This chapter introduces how to install the volume manager on the mater and slave nodes.
Caution Do not install the VERITAS Volume Manager on the master and slave nodes simultaneously. Install it on the master node first, and then on the slave node.
Before installing the VERITAS Volume Manager, check the following: Whether the Sun cluster is correctly installed. Check the status of the cluster and configuration of the NAFO group. For details, see section 5.8 "Checking Installation Result". Whether the SUNWsan software package is installed. Execute the following command: #pkginfo | grep SUNWsan
system SUNWsan SAN Foundation Kit
If the system displays the above information, it indicates that the software package is installed.
6-1
Whether patches of the VERITAS Volume Manager are installed. Execute the following commands: #showrev -p |grep 111413 #showrev -p |grep 111412 #showrev -p |grep 111095 If the system displays the output information on the screen, it indicates that patches are installed.
Proceed as follows to install the VERITAS Volume Manager: 1) 2) Insert the CD of VERITAS volume manager into the CD-ROM. Execute the following commands to install the VERITAS volume manager: # cd /cdrom/cdrom0 # scvxinstall
Do you want Volume Manager to encapsulate root [no]?yes
Where is the Volume Manager cdrom?/cdrom/cdrom0 Disabling DMP. Installing packages from /cdrom/cdrom0/pkgs. Installing VRTSvlic. Installing VRTSvxvm. Installing VRTSvmdev. Installing VRTSvmman. Obtaining the clusterwide vxio number... Using 272 as the vxio major number. Volume Manager installation is complete.
Please enter a Volume Manager license key: 7234 4164 7106 8669 8949 077
Note: The license here is the DEMO license. Apply for an official license from Sun Microsystems, Inc. when installing the VERITAS Volume Manager on site.
6-2
The Volume Manager root disk encapsulation step will begin in 20 seconds. Type Ctrl-C to abort .................... Arranging for Volume Manager encapsulation of the root disk. The vxconfigd daemon has been started and is in disabled mode... Reinitialized the volboot file... Created the rootdg... Added the rootdisk to the rootdg... The setup to encapsulation rootdisk is complete... Updating /global/.devices entry in /etc/vfatab.
Then the system reboots automatically twice. 3) Execute the following commands to install other software packages of the VERITAS volume manager: # cd /cdrom/cdrom0/pkgs # pkgadd -d . VRTSvmsa VRTSfsdoc
Processing package instance <VRTSvmsa> from
</opt/sun/software/foundationproduct3.4sunw/pkgs>
VERITAS Volume Manager Storage Administrator (sparc) 3.2,REV=07.27.2001.19.47 Copyright (C) 2001 VERITAS Software Corporation. All Rights Reserved.
VERITAS, VERITAS SOFTWARE, the VERITAS logo, Business Without Interruption, VERITAS The Data Availability Company and Volume Manager are trademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies.
Where should this package be installed? (default: /opt/VRTSvmsa]) [?,q] Hit ENTER to continue: //Press <Enter> to continue.
Should the Volume Manager Storage Administrator Server be installed on this system? (The Volume Manager Storage Administrator Client will
The selected base directory </opt/VRTSvmsa> must exist before installation is attempted. Do you want this directory created now [y,n,?,q] y
6-3
Using </opt/VRTSvmsa> as the package base directory. ## Processing package information. ## Processing system information. 4 package pathnames are already properly installed. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user permission during the process of installing this package.
Processing
package
instance
<VRTSfsdoc>
from
</opt/sun/software/foundationproduc t3.4sunw/pkgs>
VERITAS File System Documentation (sparc) 3.4,REV=GA03 Copyright (c) 1991 - 2000 VERITAS SOFTWARE CORP. ALL RIGHTS RESERVED.
THIS SOFTWARE IS THE PROPERTY OF AND IS LICENSED BY VERITAS SOFTWARE, AND/OR ITS SUPPLIERS. Using </opt> as the package base directory. ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs.
## Installing part 1 of 1. /opt/VRTSfsdoc/install/fsinstall.pdf /opt/VRTSfsdoc/install/fsinstall.ps /opt/VRTSfsdoc/sys_admin/fssag.pdf /opt/VRTSfsdoc/sys_admin/fssag.ps [ verifying class <all> ] Installation of <VRTSfsdoc> was successful.
4)
6-4
# vxdiskadm:
Volume Manager Support Operations Menu: VolumeManager/Disk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 list
Add or initialize one or more disks Encapsulate one or more disks Remove a disk Remove a disk for replacement Replace a failed or removed disk Mirror volumes on a disk Move volumes from a disk Enable access to (import) a disk group Remove access to (deport) a disk group Enable (online) a disk device Disable (offline) a disk device Mark a disk as a spare for a disk group Turn off the spare flag on a disk Unrelocate subdisks back to a disk Exclude a disk from hot-relocation use Make a disk available for hot-relocation use Prevent multipathing/Suppress devices from VxVM's view Allow multipathing/Unsuppress devices from VxVM's view List currently suppressed/non-multipathed devices Change the disk naming scheme Get the newly connected/zoned disks in VxVM view List disk information
? ?? q
Display help about menu Display help about the menuing system Exit from menus
This operation might lead to some devices being suppressed from VxVM's view or prevent them from being multipathed by vxdmp (This operation can be reversed using the vxdiskadm command). Do you want to continue ? [y,n,q,?] (default: y) y
6-5
Menu: VolumeManager/Disk/ExcludeDevices
1 2 3 4 5 6 7 8
Suppress all paths through a controller from VxVM's view Suppress a path from VxVM's view Suppress disks from VxVM's view by specifying a VID:PID combination Suppress all but one paths to a disk Prevent multipathing of all disks on a controller by VxVM Prevent multipathing of a disk by VxVM Prevent multipathing of disks by specifying a VID:PID combination List currently suppressed/non-multipathed devices
? ?? q
Display help about menu Display help about the menuing system Exit from menus
Use this operation to exclude all disks on a controller from being multipathed by vxdmp.
As a result of this operation, all disks having a path through the specified controller will be claimed in the OTHER_DISKS category and hence, not multipathed by vxdmp. This operation can be reversed using the vxdiskadm command.
You can specify a controller name at the prompt. A controller name is of the form c#, example c3, c11 etc. Enter 'all' to exclude all paths on all the controllers on the host. To see the list of controllers on the system, type 'list'.
This operation will take effect only after a reboot. Hit RETURN to continue. //Press <Enter> to continue
6-6
Menu: VolumeManager/Disk/ExcludeDevices
1 2 3 4 5 6 7 8
Suppress all paths through a controller from VxVM's view Suppress a path from VxVM's view Suppress disks from VxVM's view by specifying a VID:PID combination Suppress all but one paths to a disk Prevent multipathing of all disks on a controller by VxVM Prevent multipathing of a disk by VxVM Prevent multipathing of disks by specifying a VID:PID combination List currently suppressed/non-multipathed devices
? ?? q
Display help about menu Display help about the menuing system Exit from menus
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 list ?
Add or initialize one or more disks Encapsulate one or more disks Remove a disk Remove a disk for replacement Replace a failed or removed disk Mirror volumes on a disk Move volumes from a disk Enable access to (import) a disk group Remove access to (deport) a disk group Enable (online) a disk device Disable (offline) a disk device Mark a disk as a spare for a disk group Turn off the spare flag on a disk Unrelocate subdisks back to a disk Exclude a disk from hot-relocation use Make a disk available for hot-relocation use Prevent multipathing/Suppress devices from VxVM's view Allow multipathing/Unsuppress devices from VxVM's view List currently suppressed/non-multipathed devices Change the disk naming scheme Get the newly connected/zoned disks in VxVM view List disk information Display help about menu
6-7
The system must be shut down and rebooted for the device suppression/ unsuppression operations you have performed to take effect. To shutdown your system, cd to / and type
Do not attempt to use the device suppression/unsuppression operations again before the system is rebooted.
Goodbye.
5)
Insert the CD of the patch 3.1, log in to the system as root, and execute the following commands to install patches of VERITAS volume manager: # cd /cdrom/cdrom0/sun/patch/veritas-vm/3.2/8 # unpack-patches
Are you ready to unpack patches into /tmp/8? [y/n]: y
# cd /tmp/8 # ./install_patches
Are you ready to continue with install? [y/n]: y
6)
Execute the following commands to reboot the system: # sync;sync;sync;sync;sync # shutdown -y -g0 -i6
After installing the VERITAS Volume Manager, check whether: The system can be started normally. The statuses of all volumes are "ACTIVE". #vxprint
Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
6-8
dm rootdisk_1
c1t0d0s2
71124291 -
node@1
fsgen node@1
ACTIVE ACTIVE -
pl node@1-01
sd rootdisk_1-03 node@1-01
opt
fsgen opt
ACTIVE ACTIVE -
pl opt-01
sd rootdisk_1-04 opt-01
rootvol
root rootvol
35211132 35211132 1 0 -
ACTIVE ACTIVE -
Block0
pl rootvol-01
35211131 1
swapvol
swap swapvol
ACTIVE ACTIVE -
pl swapvol-01
sd rootdisk_1-01 swapvol-01
The root disk is encapsulated. Execute the following command: #df k If the root disk is encapsulated, the system displays the following information. The names of all devices must contain /dev/vx/dsk/.
Filesystem /dev/vx/dsk/rootvol /proc fd mnttab swap swap /dev/vx/dsk/opt /dev/vx/dsk/node@1 kbytes used avail capacity 8% 0% 0% 0% 1% 1% 4% 1% Mounted on / /proc /dev/fd /etc/mnttab /var/run /tmp /opt /global/.devices/node@1
6-9
Note: The output information in Step 2 and Step 3 is for the master node. For the slave node, the rootdisk_1 in the above output information must be rootdisk_2.
6-10
Proceed as follows to mirror the root disk. 1) Execute the following command to view the disk information: #vxdisk list
DEVICE c1t0d0s2 c1t1d0s2 c3t1d0s2 c3t1d1s2 c4t1d0s2 c4t1d1s2 TYPE sliced sliced sliced sliced sliced sliced DISK rootdisk_1 GROUP rootdg STATUS online error error error error error
Select the disk according to actual situations. Select the second local disk, c1t1d0s2 in the example, as the mirrored disk of the root disk. 2) Execute the following command to initialize the mirrored disk: #vxdiskunsetup -C c1t1d0 #vxdisksetup -i c1t1d0 #vxdisk list
DEVICE c1t0d0s2 c1t1d0s2 c3t1d0s2 c3t1d1s2 c4t1d0s2 c4t1d1s2 TYPE sliced sliced sliced sliced sliced sliced DISK rootdisk_1 GROUP rootdg STATUS online online error error error error
7-1
3)
Add the mirrored disk to rootdg. Execute the following command: On the master node #vxdg -g rootdg adddisk mirrdisk_1=c1t1d0 On the slave node #vxdg -g rootdg adddisk mirrdisk_2=c1t1d0
4)
Mirror the Root Disk. Execute the following command: On the master node #vxmirror rootdisk_1 mirrdisk_1 On the slave node #vxmirror rootdisk_2 mirrdisk_2 After the above operations, the operational terminal of the master node displays the following prompts:
! vxassist -g rootdg mirror rootvol mirrdisk_1 ! vxassist -g rootdg mirror swapvol mirrdisk_1 ! vxassist -g rootdg mirror node@1 mirrdisk_1 ! vxassist -g rootdg mirror opt mirrdisk_1 ! vxbootsetup
If the vxbootsetup appears, it indicates the mirroring of the root disk is complete. The mirroring process lasts 30 to 40 minutes. The way to check whether the mirroring of the root disk on the slave node completes is the same as that on the master node. .
7-2
Among the above disks, the capacity of c3t1d1 and c4t1d1 is 100.80 GB. Select these two disks as m2000dg disk group.
Note: The disk name may vary with the device. Select the disk according to actual situations.
3)
Execute the following command to check whether volumes are created: # vxprint -g m2000dg
TY NAME PUTIL0 TY NAME PUTIL0 ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0
dm m2000dg01 dm m2000dg02
c3t1d1s2 c4t1d1s2
211394560 211394560 -
data
gen data
ACTIVE ACTIVE -
pl data-01
sd m2000dg01-03 data-01
fsdata
fsgen fsdata
ACTIVE ACTIVE -
pl fsdata-01
sd m2000dg01-05 fsdata-01
7-3
pl log-01
sd m2000dg01-04 log-01
master
gen master
ACTIVE ACTIVE -
pl master-01
sd m2000dg01-01 master-01
sysproc
gen sysproc
ACTIVE ACTIVE -
pl sysproc-01
sd m2000dg01-02 sysproc-01
If the system displays the above execution result, it indicates that volumes (data, log, master, sysproc, and fsdata) are successfully created. Otherwise, find out the reason and recreate the M2000 disk group and volumes. 4) Execute the following command to mirror the volumes: # ./mirvol.sh 5) 6) Perform the mirroring operation (The operation may last 1.5 to 2 hours) inside the system. View the mirroring progress using the following command: # vxtask list
TASKID 164 165 167 168 PTID TYPE/STATE PCT PROGRESS
ATCOPY/R 00.40% 0/131072000/527248 PLXATT fsdata fsdata-02 ATCOPY/R 18.15% 0/2457600/446152 PLXATT master master-02 ATCOPY/R 01.14% 0/37748736/432016 PLXATT log log-02 ATCOPY/R 01.14% 0/37748736/431520 PLXATT data data-02
"%" represents the current mirroring progress of the volumes. If there is no mirroring progress information, it indicates that the mirroring operation is completed.
Caution: The script mkvol.sh is used to create the disk group m2000dg and the necessary volumes with two disks as parameters. It is used to mirror volumes. The second disk (disk array) in the parameters is a mirrored disk. The paths of these two scripts are: Path of the Netra20 script: /opt/m2kv1/volume/n20/cluster Path of the V880 script: /opt/m2kv1/volume/v880/cluster
7-4
1) Quorum 2) Resource groups 3) Cluster interconnect 4) Device groups and volumes 5) Private hostnames 6) New nodes 7) Other cluster properties
Option:4
1) Register a VxVM disk group as a device group 2) Synchronize volume information for a VxVM device group 3) Unregister a VxVM device group 4) Add a node to a VxVM device group 5) Remove a node from a VxVM device group 6) Change key properties of a device group
Option:1
VERITAS Volume Manager disk groups are always managed by the cluster as cluster device groups. This option is used to register a VxVM disk
7-5
Primary ownership of a device group is determined by either specifying or not specifying a preferred ordering of the nodes that can own the device group. If an order is specified, this will be the order in which nodes will attempt to establish ownership. If an order is not specified, the first node that attempts to access a disk in the device group becomes the owner.
Are both nodes attached to all disks in this group (yes/no) [yes]?yes
m2000svr-1
scconf
-a
-D
*** Device Groups Menu *** Please select from one of the following options:
1) Register a VxVM disk group as a device group 2) Synchronize volume information for a VxVM device group 3) Unregister a VxVM device group 4) Add a node to a VxVM device group 5) Remove a node from a VxVM device group 6) Change key properties of a device group
7-6
VERITAS Volume Manager disk groups are always managed by the cluster as cluster device groups. This option is used to synchronize volume information for a VxVM device group between the VxVM software and the clustering software. It should be selected anytime a volume is either added to or removed from a VxVM disk group. Otherwise, the cluster will be unaware of the changes.
m2000dg
yes
scconf -c -D name=m2000dg,sync
*** Device Groups Menu *** Please select from one of the following options:
1) Register a VxVM disk group as a device group 2) Synchronize volume information for a VxVM device group 3) Unregister a VxVM device group 4) Add a node to a VxVM device group 5) Remove a node from a VxVM device group 6) Change key properties of a device group ?) Help q) Return to the Main Menu
Option:q
7-7
Option:q
1) Quorum 2) Resource groups 3) Cluster interconnect 4) Device groups and volumes 5) Private hostnames 6) New nodes 7) Other cluster properties
7-8
Option:
1) Create a resource group 2) Add a network resource to a resource group 3) Add a data service resource to a resource group
Option:
This option is used to create a new resource group. It also supports the creation of new resources for the new group.
A resource group is a container into which you can place resources of various types, such as network and data service resources. The cluster uses resource groups to manage its resource types. There are but two types of resource groups, failover and scalable.
Only failover resource groups may contain network resources. A network resource, in turn, is either a LogicalHostname or SharedAddress resource.
It is important to remember that each scalable resource group depends upon a failover resource group which contains one or more network resources of the SharedAddress resource type.
YES
7-9
m2000_rg
Since this cluster has two nodes, the new resource group will be configured to be hosted by both cluster nodes.
m2000svr-1
Some types of resources (e.g., HA for NFS) require the use of an area in a global file system for storing configuration data. If any of the resources that will later be added to this group will require such support, you can specify the full directory path name now.
Hit ENTER to continue: Do you want to add any network resources now (yes/no) [yes]? yes
1) LogicalHostname 2) SharedAddress
Option:
If a failover resource group contains SharedAddress resources, the most common configuration is to have one SharedAddress resource for each subnet. Therefore, scsetup(1M) assumes that there will be one such resource for each subnet.
For how many subnets do you want to add such a resource [1]? 1 Is it okay to configure the first logicalhostname resource (yes/no) [yes]? yes
7-10
Each network resource manages a list of one or more logical hostnames for a single subnet. This is true whether the resource is a LogicalHostname or SharedAddress resource type. The most common configuration is to assign a single logical hostname to each network resource for each subnet. Therefore, scsetup(1M) only supports this configuration. If you need to support more than one hostname for a given subnet, the additional support can be added using scrgadm(1M).
Before scsetup(1M) can create a network resource for any logical hostname, that hostname must first be specified in the hosts(4) data for each node in the cluster. In addition, NAFO-configured network adapters must be actively available on each of the nodes.
m2000svr
Do you want to add any additional data service resources (yes/no) [no]? y
Please select the type of resource you want to add: 1) SUNW.HAStorage HA Storage Resource Type
2) SUNW.HAStoragePlus HA Storage Plus - A Resource Type which subsumes HA Storage 3) SUNW.RGOffload 4) SUNW.gds Offload Resource Group Generic Data Service for Sun Cluster
Option:
m2kdata_rs
Some resource types support the setting of certain extension properties. Please check the documentation for your data service to
7-11
determine whether or not you need to set any extension properties for the resource you are adding.
Any extension properties you would like to set (yes/no) [yes]? yes
Please enter the list of properties you want to set: (Type Ctrl-D to finish OR "?" for help)
Property name:
^D
FilesystemMountPoints=/export/home
Yes
scrgadm
-a
-j
m2kdata_rs
-g
m2000_rg
-t
SUNW.HAStoragePlus
-x
FilesystemMountPoints=/export/home
Hit ENTER to continue: Do you want to add any additional data service resources (yes/no) [no]? no
7-12
Do you want to bring this resource group online now (yes/no) [yes]? yes
scswitch -Z -g m2000_rg
1) Create a resource group 2) Add a network resource to a resource group 3) Add a data service resource to a resource group
Option:
Please select from one of the following options: 1) Quorum 2) Resource groups 3) Cluster interconnect 4) Device groups and volumes 5) Private hostnames 6) New nodes 7) Other cluster properties
Option:
7-13
I. Checking the Mirroring of the Root Disk (the Status of the Disk Volume)
Execute the following command to check the mirroring of the root disk: # vxprint -g rootdg
TY NAME dg rootdg ASSOC rootdg KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 -
dm mirrdisk_1 dm rootdisk_1
c1t1d0s2 c1t0d0s2
71124291 71124291 -
node@1
fsgen node@1
0 0
pl node@1-01
sd mirrdisk_1-03 node@1-02
opt
fsgen opt
pl opt-01
sd mirrdisk_1-04 opt-02
rootvol
root rootvol
ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED
35211132 35211132 1 0 -
Block0
pl rootvol-01
pl swapvol-01
sd mirrdisk_1-02 swapvol-02
The KSTATE of all volumes must be "ENABLED" and the STATE must be "ACTIVE".
II. Checking the Mirroring of the M2000 Volume (Mirroring of Disk Array)
Execute the following command to check the mirroring of the M2000 volume: # vxprint -g m2000dg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
7-14
dm m2000dg01 dm m2000dg02
c3t1d1s2 c4t1d1s2
211394560 211394560 -
data
gen data
pl data-01
sd m2000dg02-05 data-02
fsdata
fsgen fsdata
pl fsdata-01
sd m2000dg02-01 fsdata-02
log
gen log
pl log-01
sd m2000dg02-04 log-02
master
gen master
ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED ENABLED
2457600 2457600 2457600 2457600 2457600 409600 409600 409600 409600 409600
0 0 0 0
pl master-01
pl sysproc-01
sd m2000dg02-03 sysproc-02
The KSTATE of all volumes must be "ENABLED" and the STATE must be "ACTIVE".
7-15
/global/.devices/node@1
The disk device /dev/vx/dsk/m2000dg/fsdata must be mounted to the directory /export/home, as shown in the last line above. 2) Execute the following command on the slave node: #df -k
Filesystem /dev/vx/dsk/rootvol /proc fd mnttab swap swap /dev/vx/dsk/opt /dev/vx/dsk/node@1 kbytes used avail capacity 8% 0% 0% 0% 1% 1% 5% Mounted on / /proc /dev/fd /etc/mnttab /var/run /tmp /opt
/global/.devices/node@1
The disk device /dev/vx/dsk/m2000dg/fsdata disk device is not mounted to the directory /export/home.
7-16
/global/.devices/node@1
The disk device /dev/vx/dsk/m2000dg/fsdata is mounted to the directory /export/home of the slave node. 3) Execute the following command on the master node: #df -k
Filesystem /dev/vx/dsk/rootvol /proc fd mnttab swap swap /dev/vx/dsk/opt /dev/vx/dsk/node@1 kbytes used avail capacity 8% 0% 0% 0% 1% 1% 4% Mounted on / /proc /dev/fd /etc/mnttab /var/run /tmp /opt
/global/.devices/node@1
The disk device /dev/vx/dsk/m2000dg/fsdata is not mounted to the directory /export/home. 4) Execute the following command on the slave node to switch the m2000_rg resource group to the master node: # scswitch -z -g m2000_rg -h m2000svr-1 5) After the switchover, execute the command df k again. Check whether the disk device /dev/vx/dsk/m2000dg/fsdata is mounted to the directory /export/home of the master node. If so, it indicates that the installation is successful. Otherwise, you need to reinstall the cluster.
7-17
Add the following line to the file /.rhosts of the slave node:
m2000svr-1 root
Note: Use the command rcp when you copy data between the two nodes to synchronize the software. You need to modify the file /.rhosts of the master and slave nodes. In this way, the command rcp can take effect.
8-1
Note: To ensure the IDs of the user Sybase on the master and slave nodes are the same, set them to "101" by default. If "101" is assigned to other users, you can select a different ID. The IDs of the user sybase on the two servers must be the same.
Caution: Perform the following operation only on the master node. Before setting the property of raw devices of Sybase database, make sure the m2000_rg resource group on the master node is active. (You can check it using the command scstat | grep m2000_rg.) Otherwise, switch m2000_rg resource group to the master node using the command scswitch -S -h m2000svr-1, and then execute the following commands.
Execute the following commands to set properties of raw devices: # vxedit -g m2000dg -v set user=sybase group=staff mode=664 master # vxedit -g m2000dg -v set user=sybase group=staff mode=664 sysproc # vxedit -g m2000dg -v set user=sybase group=staff mode=664 data # vxedit -g m2000dg -v set user=sybase group=staff mode=664 log
8.2.4 Switching to the User Sybase and Editing the File .profile
Caution: Invalidate the contents between the "if" statement and "fi" statement in the file .profile. Otherwise, the server will exit the Sybase database automatically after startup. In the following statement, ${HOME} stands for /opt/Sybase.
Execute the following commands to switch to the user sybase and edit the file /opt/sybase/.profile: # su - sybase $ vi .profile
PATH=/usr/bin:/usr/ucb:/etc:${HOME}/bin:${HOME}/install:. export PATH
8-2
DSLISTEN DISPLAY
//Calculation formula: 2147483648=2048 x 1024 x 1024, where 2048 is the capacity of the 2 GB memory, and 1024 is the capacity of the 1 GB memory. Make calculation according to the actual memory during the installation.
-- Resource Groups --
8-3
If the status is "online", it indicates that the resource group is activated on the server. The above result shows the currently activated node is m2000svr-2 instead of m2000svr-1. 2) Execute the following command to switch the m2000_rg resource group to the m2000svr-1 server: # scswitch -S -h m2000svr-2
8-4
Y press <Enter> >L press <Enter> (local installation) 3) Open the MML window of another terminal and obtain the password from the CAS file in the directory /cdrom/cdrom0/install/. Execute the following commands: #cd /cdrom/cdrom0/install #more CAS Suppose the obtained password is "bkbkbk". 4) Enter the installation file name. /cdrom/cdrom0/sybimage press <Enter> Y press <Enter> Enter the password (bkbkbk) obtained in Step 4. 5) Select the software package to be installed.
Select > 1 (press <Enter>) > 2(press <Enter>) > 3 (press <Enter>) > 4 (press <Enter>) > 5 (press <Enter>) > 6 (press <Enter>) > 7 (press <Enter>)
6)
Then execute the following commands as sybase in the above window: $ cd /opt/sybase/bin $ srvbuild 2) Select all servers and change the adaptive server name to sybserver. In the dialog box, set parameters according to the following table.
8-5
Item device path Master device size (MB) database size (MB) device path sybsystemprocs device size (MB) database size (MB) Error log path Host name
Value /dev/vx/rdsk/m2000dg/master 1200 300 /dev/vx/rdsk/m2000dg/sysproc 200 200 /opt/sybase/install/sybserver.log (Default value) m2000svr
Note: The size of the database device (200 MB set in the above dialog box) depends on the size of the disk array partition in Table 8-1. The size varies with the partition. Besides, the host name in the subsequent dialog boxes must be set to m2000svr.
Click <Edit Advanced Adaptive Server Attributes>. Enter /opt/sybase/phase2.dat. in the textbox Sybsystemdb (two-phase commit), and the default values in the other textboxes. Set the maximum number of network connection to 100. Set the maximum number of server to 100. Set the maximum number of connection to 100. 3) Click <OK>, and click <build server> in the pop-up window to create Sybase server.
8-6
1> disk init name = "data_dev", physname = "/dev/vx/rdsk/m2000dg/data", vdevno = 3, size = 16384000 2 > go 1 > disk init name = "log_dev", physname = "/dev/vx/rdsk/m2000dg/log", vdevno = 4, size = 16384000 2 > go
Caution: The size of the database device (in the above dialog box, 16384000 stands for 16384000 x 2 K (about 32 GB)) also depends on the size of the disk array partition in Table 8-1. It varies with the size of the partition.
4)
Set the default device to data_dev. 1 > sp_diskdefault data_dev, defaulton 2 > go
5)
Extend the size of tempdb to 1 GB. 1> alter database tempdb on master = 860 2> go
6)
Stop the Sybase server processes. 1> shutdown SYB_BACKUP 2> go 1> shutdown 2> go $
# tar cvf sybase.tar sybase # gzip sybase.tar # rcp sybase.tar.gz m2000svr-2:`pwd` 2) Unpack the Sybase software on slave node. Execute the following commands on the slave node: # cd /opt # gzcat sybase.tar.gz| tar xvf -
-- Resource Groups -Group Name ---------Group: m2000_rg Group: m2000_rg Node Name --------m2000svr-1 m2000svr-2 State ----Offline Online
If the system displays the above result, it indicates that the m2000_rg resource group is switched to the slave node successfully.
1)
If the system displays the above result, it indicates the Sybase processes are successfully started. 2) Execute the following commands to check whether the Sybase SQL server is connected: $ isql -Usa -Pserver1234 1> If the system displays "1>", it indicates that the Sybase sever processes run normally on the slave node and the Sybase database is installed on the slave node. Otherwise, find out the failure cause and reinstall the Sybase database on the slave node. 3) Stop the Sybase processes and exit the Sybase. Execute the following commands: 1> shutdown SYB_BACKUP 2> go 1> shutdown 2> go $ exit
8-9
If the system displays the above result, it indicates that the M2000 system is installed. 2) Execute the following command to uninstall the software package of the M2000 server: # pkgrm HWM2000
Do you want to remove this package? y Do you want to continue with the removal of this package [y,n,?,q] y
If there is no output for the above operation, it indicates that the user m2000 is not created. In this case, proceed as follows to create the user m2000.
9-1
Caution: IDs of the user m2000 on the master and slave servers must be the same. To ensure this consistency, set both IDs to "102". If "102" is assigned to other users, select a different ID.
9-2
Note: If the software of the M2000 server is in other PCs, download the software package and send X.tar or X.tar.Z to the directory /export/home/m2000 through FTP (in bin mode). For example, send the help.tar.Z in the directory C:\file of a PC to the directory /export/home/m2000 of the M2000 server using the following commands: ftp> bin ftp> lcd c:\file ftp> cd /export/home/m2000 ftp> put help.tar.Z
If the output result contains the two processes "dataserver" and "backupserver", it indicates that the Sybase server is running. Otherwise, start the Sybase server processes. 2) Execute the following commands to start the Sybase processes: # su - sybase $ cd ./install $ ./startserver -f ./RUN_sybserver -f ./RUN_sybserver_back
9-3
Note: During the installation, you need to set the IP address of the server. The default IP address is the physical IP address of the local node, that is, 192.168.8.11. Modify the IP address as the logical IP address of the two nodes, that is, 192.168.8.10.
Besides, you need to delete the boot script of the M2000 application in the directory /etc/rc2.d/ because the cluster is responsible for starting all the M2000 applications. For the purpose of safety, it is recommended to modify the name of the boot script to avoid auto start. For example, modify S98m2000svr to s98m2000svr using the following commands: #cd /etc/rc2.d #mv S98m2000svr s98m2000svr
Caution: During the installation, the system prompts some questions about system setting. You can press <Enter> to select the default answers for these questions. Then the system copies files to complete the setting and sets up the database. Do not enter <y> for those questions that are not answered with yes or no. Otherwise, the character "y" instead of the default value is set.
To install the iManager M2000 application, proceed as follows: 1) Copy files to the server. #cd /export/home/m2000
9-4
2)
Enter 1 or 2 as needed. If you install M2000 on your server for the first time, choose "1"; If you want to keep the data of the previous data, choose "2".
---- your choice is "initial install" ---Are you sure? [ no,yes] (Which default is yes, Press Return if you agree)
3)
9-5
5)
Select the modules to be installed and press <Enter> to complete the selection.
Your choice is below: 1, switch 2, commonsvrd 3, configsvrd 4, alarmsvrd 5, pmsvrd 6, timersvrd Are you sure? [no,yes] (Which default is yes, Press Return if you agree)
6)
Caution: For the lab installation environment, reserve 2GB in the database. As for the formal installation environment, reserve 12 GB in the hard disk.
7)
9-6
//To exit the installation, press "q". To choose the default value, press <Enter>. To modify the default value, enter a new value. Note that any other string except "q" and "Return" is accepted as the new value.
>>>>Warning<<<< You cant choose such IP as 127.0.0.1![?,q] Please input sybase sa's password Press return if your password is server1234 [?,q]
Note: Here, the system asks you to select the NTP Server mode. The NTP Server can act as master server or slave server. The master server provides the NTP services and the slave server obtains the clock from the master server and synchronizes itself using this clock. If the external clock equipment such as BITS is available to provide the NTP service and the M2000 system must synchronize to the clock provided by this external clock equipment, select "2 slave". Otherwise, select "1 master".
Note: You need to enter the IP address of the NTP master server (such as BITS) only when you select the "2 slave".
9)
9-7
Select "t" to perform typical installation; "c" to perform customized installation; "q" to exit the installation. Press <Enter> to choose default value "typical".
Caution: Here, the system asks whether to choose default or custom installation. If you select the default values in all the previous settings, press <Enter> here to perform typical installation.
## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package.
If you select the custom installation, you need to answer the following questions:
Please provide the install path of software package, It is /export/home/m2000 by default. Press <Enter> if you agree [?,q] Please provide the sybase directory, It is /export/home/sybase by default. Press <Enter> if you agree [?,q] Please provide the sybase server's name, It is sybserver by default. It is in the user sybase's profile. Press <Enter> if you agree [?,q] Please provide the port number of switch, It is 6688 by default. Press <Enter> if you agree [?,q] Please provide the IP address of switch, It is 192.168.8.10 by default. Press <Enter> if you agree [?,q] Which path do you want to place your database backup files? It is /export/home/m2000/backup by default. [?,q]
9-8
The following prompts are the same for both typical and custom installations:
Using </export/home/m2000> as the package base directory. ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user Permission during the process of installing this package. Do you want to continue with the installation of <HWM2000> [y,n,?] y Installing Huawei iManager M2000 as <HWM2000>
After the database is re-established, the system prompts that the installation of the M2000 server is successful. The installation of M2000 server lasts about 150 minutes. Now, you can go on with the installation of Adapter Monitor and Adapter of each NE. For details, see section 9.4 "Installing the Adapter Monitor and Adapters". 10) Check the installation results. After the installation, the system creates some files and directories for the m2000 user. See Table 9-1. Table 9-1 Files and directories generated after installation File or directory profile bin etc data log script Description User environment parameter definition file Executable file directory Configuration file directory. It is unchanged during the running process of the system, and is not restored after the upgrade. Data file directory. It is changed during the running process of the system, and must be restored after the upgrade Log file directory Database installation script file directory
11) After the installation, restart the server. #sync ; sync ; reboot
9-9
# cd /etc/init.d # ./m2000svr start 2) Check whether the server processes are successfully started using the following command: # ps -ef |grep m2000
root@m2000svr-1 # ps -ef |grep m2000 m2000 .. /export/home/m2000/bin/pmsvrd m2000 .. /export/home/m2000/bin/configsvrd m2000 .. /export/home/m2000/bin/timesvrd m2000 .. /export/home/m2000/bin/timersvrd m2000 .. /export/home/m2000/bin/timesvrd m2000 .. /export/home/m2000/bin/smsvrd m2000 .. /export/home/m2000/bin/switch m2000 .. /export/home/m2000/bin/switch m2000 .. /export/home/m2000/bin/commonsvrd m2000 .. /export/home/m2000/bin/alarmsvrd m2000 .. /export/home/m2000/bin/alarmsend m2000 .. /export/home/m2000/bin/alarmsend
Note: After checking the installation of the M2000 system, stop the processes of the M2000 server and Sybase server to help register the applications followed.
3)
Stop the M2000 server processes by executing the following command: # ./m2000svr stop
4)
Stop the Sybase server processes by executing the following commands: # su - sybase $ isql -Usa -Pserver1234 1> shutdown SYB_BACKUP 2> go 1> shutdown 2> go
9-10
1) 2)
Log in to the system as root. Execute the following commands on the master node to copy the M2000 boot script from master node to the slave node: # cd /etc/init.d # rcp m2000svr m2000svr-2:`pwd`
3)
After installing the iManager M2000 on the slave node, check whether the installation is correct as follows: a) Switch the m2000_rg resource group to the slave node. See section 8.4.2 I. "Switching the m2000_rg Resource Group to the Slave Node". b) Start Sybase server processes. See section 8.4.2 II. "Starting the Sybase Database". b) Check whether the m2000 is installed correctly. See section 9.2.5 "Checking Installation Result".
Note: After checking the installation of the M2000 system, stop the processes of the M2000 server and Sybase server to help register the applications followed.
Install the Adapter Monitor and Adapters on the master node by referring to Chapter 5, "Installation of Adapter Software" of iManager M2000 Installation Manual. You need to create the corresponding users on the slave node for the Adapter Monitor and Adapters of network elements (NEs). The user ID on the slave node must be the same as that on the master node. For example, after you install the Adapter of the cBSC on the master node, the installation program creates a user cbssadapter on the master node. Suppose the user ID is 60004 (queried by using the command id cbssadapter), create the same user on the slave node using the following command:
9-11
Caution: During the installation of the AdapterMonitor and Adapters, enter m2000svr as the server name, and 192.168.8.10 as the logical IP address where needed.
9-12
# scstat -g
-- Resource Groups and Resources --
-- Resource Groups --
-- Resources --
Resource Name ------------Resource: m2000svr ostname offline. Resource: m2000svr stname online.
State -----
m2000svr-2
Online
Online - LogicalHo
m2000svr-1 m2000svr-2
Offline Online
Offline Online
m2000svr-1 m2000svr-2
Offline Online
Offline Online
m2000svr-1 m2000svr-2
Offline Online
Offline Online
The above contents in bold indicate that the Sybase and M2000 applications are successfully installed and they are online.
10-2
II. Checking Whether You can Log In to the Sybase SQL Server
If the system displays the above execution result, it indicates the Sybase processes are successfully started. Then execute the following commands to check whether the Sybase SQL server can be connected: $ isql -Usa -Pserver1234 1> If "1>" appears, it indicates the Sybase server processes run normally on the slave node, and the Sybase is installed on the slave node. Exit the Sybase SQL server. 1> exit
Check the M2000 processes on the m200svr-2 according to instructions in section 9.2.5 "Checking Installation Result".
10-3
After the operation, check the status of the current resource using the following command: # scstat -g
-- Resource Groups and Resources --
-- Resource Groups --
-- Resources --
Resource Name ------------Resource: m2000svr stname online. Resource: m2000svr ostname offline. Resource: m2kdata_rs Resource: m2kdata_rs
State ----Online
m2000svr-2
Offline
Offline - LogicalH
m2000svr-1 m2000svr-2
Online Offline
Online Offline
m2000svr-1 m2000svr-2
Online Offline
Online Offline
m2000svr-1 m2000svr-2
Online Offline
Online Offline
In the above result, the status of m2000svr-1 is "online". It indicates the resource group is successfully switched over.
10-4
Execute the following command to check whether the M2000 processes are stopped: # ps -ef |grep m2000 If the result contains the following messages or some of them, it indicates the M2000 processes are stopped after the switchover. Find out the reason and reinstall the M2000 applications again.
m2000 .. /export/home/m2000/bin/pmsvrd m2000 .. /export/home/m2000/bin/configsvrd m2000 .. /export/home/m2000/bin/timesvrd m2000 .. /export/home/m2000/bin/timersvrd m2000 .. /export/home/m2000/bin/smsvrd m2000 .. /export/home/m2000/bin/switch m2000 .. /export/home/m2000/bin/commonsvrd m2000 .. /export/home/m2000/bin/alarmsvrd m2000 .. /export/home/m2000/bin/alarmsend
10-5
A.1 Introduction
The iManager M2000 hot backup system is commissioned before delivery. The IP addresses of the hot backup servers used in the following description are allocated during the pre-installation. If you need to modify the IP addresses according to the situations on site, execute the command ifconfig -a to obtain the current IP addresses of the system. If the IP addresses do not meet the requirement of the LAN, modify them without reinstalling the operating system. For details, see section A.2 M2000. Modifying the IP Address of Solaris 8, Sybase and
A-1
The file /etc/hosts of the master and slave nodes, where the corresponding host name cannot be modified. The file /opt/sybase/interfaces of the master and slave nodes, where the IP address must be the logical IP address. Related configuration files of the M2000. The IP address must be the logical IP address.
I. Modifying the IP Address of Solaris8 Operating System (for the Master and Slave Nodes)
To modify the IP address in the Solaris8 operating system, 1) 2) Modify the IP address in the file /etc/hosts. Modify the subnet mask in the file /etc/netmasks.
Note: By modifying the static configuration file, the modified IP address and subnet mask can take effect after the computer reboots.
II. Modifying the IP Address in Sybase Database (for the Master and Slave Nodes)
To modify the IP address in the Sybase database, 1) Modify the file /opt/sybase/interfaces. Modify the corresponding IP address in the file /opt/sybase/interfaces. Otherwise, the database system cannot connect to the M2000 system normally. To be specific, the value of the IP address is stored in the hexadecimal format, at the line with the character string /dev/tcp. The eight characters starting with the ninth character on the right of \x is the IP address. For example, to edit the interfaces file, execute the following command. $vi interfaces
master tli tcp /dev/tcp \x000210040a811b760000000000000000 query tli tcp /dev/tcp \x000210040a811b760000000000000000
A-2
Where: 0a811b76 is 10.129.27.118. If you want to change the IP address to 10.130.5.1, just modify 0a811b76 to 0a820501. 2) Reboot the Sybase database. After the modification of the interfaces file, reboot the Sybase database. #/etc/rc2.d/S97sybsvr stop #/etc/rc2.d/S97sybsvr start
III. Modifying the IP Address in M2000 System (for the Current Active Node)
To modify the IP address in the M2000 system, 1) Execute the following command: #su m2000 2) Modify the following in the file .profile.
OMCSWITCHIP=10.129.27.118
#su adaptermonitor $cd etc 3) 4) Modify the following in the file adaptermonitor.cfg.
SwitchIP = 10.129.27.118
Modify the SwitchIP in the file adapter.cfg of all the NE Adapters to the correct IP address.
A.4 Precautions
Pay attention to the following two aspects.
A-3
After installing the M2000 server, do not delete the user m2000 unless necessary. Otherwise, the server processes may be abnormal. For further information, contact the technical support engineers. After installing the M2000 server, you need to add the workstation (M2000 server) on the BAM of the NEs that support the MML commands, and allocate the highest authority to the workstation. Otherwise, the M2000 centralized configuration console cannot obtain all the configuration data of the BAM. To complete the above tasks on the BAM, 1) Add the workstation on the BAM. Execute the command ADD WS to add the workstation. Specify the name and IP address of the M2000 server in the list box. 2) Allocate the highest authority to the workstation on the BAM. Execute the command SET WSCG: WS="***", CG=G_SYS as the system administrator. //*** stands for the name of the M2000 server.
A-4
Index
i.
A
adding m2000dg to disk group, 7-5
configuring TC IP address, 3-14 configuring TC port parameter, 3-16 connecting disk array, 2-1 connecting hot backup system, 2-1 connecting TC, 3-13 creating m2000_rg viewing disk information, 7-2 creating m2000_rg resource group, 7-8 creating m2000dg disk group, 7-3 creating m2000dg disk volume, 7-3 creating mount point, 7-8 creating NAFO group, 5-20 creating new file system volume fadata, 7-8 creating Sybase database server, 8-5 creating user sybase, 8-1
C
checking cluster status, 5-24 checking database equipment information, 3-6 checking disk array mirroring, 7-14 checking disk volume status, 7-14 checking for existing M2000 system, 9-1 checking M2000 volume mirroring, 7-14 checking mount status volume fsdata, 7-15 checking NAFO group configuration, 5-25 checking NAFO group creation, 5-21 checking resource registration, 10-1 checking root disk mirroring, 7-14 checking Solaris 8, 3-2 checking Sun Cluster installation, 5-17 checking Sun Solaris 8 installation result, 4-18 checking switchover m2000_rg resource group, 7-16 checking Sybase database, 3-5 checking Sybase database version, 3-6 checking Sybase process, 10-2 checking Volume Manager installation, 6-8 chenking M2000 application installation result, 9-9 configuring cluster checking installation result, 7-13 configuring database environment, 8-6 configuring disk array, 3-18 configuring NAFO group, 5-19 configuring quorum device, 5-21 configuring Sun Fire V880, 3-36 configuring Sun Solaris 8 kernel, 4-16 configuring Sun Solaris operating system, 4-17 configuring Sun StorEdge3310s, 3-17 configuring TC, 3-13
D
disk array partition plan, 8-4
E
editing file .profile, 8-2
H
hardware configuration, 1-2 hardware description Quidway S3026, 1-7 Sun Fire V880, 1-3 Sun StorEdge 3310, 1-4 hot backup system feature, 1-1 installation procedure, 3-1 networking, 1-1
I
installing adapter, 9-11 installing adapter monitor, 9-11
i-3
installing application package, 10-1 installing extended Sun Solaris patch, 4-13 installing patche of Solaris 8 rebooting operating system, 4-15 rebooting system, 4-16 installing script, 4-16 installing SCSI card driver, 4-15 installing SCSI card driver patch, 4-16 installing Solaris 8, 4-8 installing standard .profile file, 4-11 installing Sun Cluster checking installation result, 5-24 configuring file, 5-19 installing Sun Cluster patch, 5-11 installing Sun Solaris 8 booting system, 4-1 identifying system, 4-1 installation procedure, 4-1 installing Sun Solaris recommended patch, 4-13 installing SUNWSan patch, 4-15 installing SUNWSan software package, 4-14 installing Volume Manager, 6-2 introduction to NAFO, 5-19
N
naming server, 3-7
P
performing switchover operation, 10-3 planning component, 3-11 planning disk array, 3-10 planning hard disk partition, 3-8 planning installation resource planning IP address, 3-7 planning Solaris 8, 4-6 planning Sun Cluster environment planning IP, 3-11 preparing Sun Fire V880, 3-36 prepartion before Sybase database installation modifying file, 8-3
R
rebooting cluster, 8-3 registering appllication, 10-1
S
setting network parameter, 4-3 setting raw device property, 8-2 slave node checking Sybase process, 8-8 creating user m2000, 9-2 installing M2000 application, 9-10 installing Sun Cluster, 5-11 switching m2000_rg resource group, 8-8 Sybase database installation procedure, 8-7 software configuration, 3-1 software preparations, 3-37 starting Sybase database, 8-8 starting Sybase database server, 9-3 switching to user sybase, 8-2
L
label description of HA cable, 2-1
M
master node configuring Sun Cluster, 5-1 creating user m2000, 9-2 installing M2000 application, 9-4 installing Sun Cluster, 5-1 installng Sybase database, 8-4 mirroring root disk, 7-1 modifying file .rhosts, 8-1 modifying IP address M2000, A-3 rebooting system, A-3 Solaris 8, A-2 Sybase database, A-2 modifying two IP address, A-3
T
testing TC IP address, 3-16
i-4