Sunteți pe pagina 1din 146

M2000 V200

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Issue Date

06 2010-06-15

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please contact our local office or company headquarters.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China http://www.huawei.com support@huawei.com

Website: Email:

Copyright Huawei Technologies Co., Ltd. 2010. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions


and other Huawei trademarks are the property of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Contents

Contents
About This Document.....................................................................................................................1 1 Procedure for Installing the M2000 Software (HA).............................................................1-1 2 Preparing for Installation CD-ROM and Installation Package.........................................2-1 3 Checking M2000 Hardware Installation................................................................................3-1 4 Planning Solaris and Sybase Users........................................................................................4-1 5 Powering On and Powering Off the M2000 (HA, T5220)...................................................5-1
5.1 Powering On the M2000 (HA, T5220)...........................................................................................................5-2 5.2 Powering Off the M2000 (HA, T5220)...........................................................................................................5-4

6 Powering On and Powering Off the M2000 (HA, M4000/M5000).....................................6-1


6.1 Powering On the M2000 (HA, M4000/M5000)..............................................................................................6-2 6.2 Powering Off the M2000 (HA, M4000/M5000).............................................................................................6-4

7 Installing and Configuring the T5220 Server (HA).............................................................7-1


7.1 Partition Planning of the T5220 Server (HA).................................................................................................7-4 7.2 Planning the Host Name and IP Address for the T5220 Server (HA)............................................................7-5 7.3 Configuring the SC for the T5220 Server.......................................................................................................7-7 7.4 Installing the Solaris and Patches on the T5220 Server (HA).......................................................................7-10 7.5 Checking the Version and Patches of the Solaris..........................................................................................7-14 7.6 Checking the Disk Partitioning of the M2000 Server (HA)..........................................................................7-15 7.7 Checking the Mirrors of the Local Disk on the Server (HA, T5220)...........................................................7-16 7.8 Configuring the Hostname and the IP Address of the Server (HA)..............................................................7-16 7.9 Changing the IP Address of the S2600 Disk Array (Serial Port Mode).......................................................7-18 7.10 Changing the IP Address of the S3X00 Disk Array (Serial Port Mode).....................................................7-21 7.11 Configuring the S2600 Disk Array (HA)....................................................................................................7-23 7.12 Configuring the S3100 Disk Array (HA, T5220).......................................................................................7-26 7.13 Enabling Multi-Path I/O (HA)....................................................................................................................7-28 7.14 Labeling Volumes for the Disk Array (HA)...............................................................................................7-28 7.15 Installing and Configuring the Sun Cluster Software and Patches.............................................................7-30 7.16 Checking Installation of the Sun Cluster Software and Patches.................................................................7-32 7.17 Installing and Configuring the Volume Manager.......................................................................................7-33 7.18 Checking the Installation of the Volume Manager.....................................................................................7-35 Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. i

Contents

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7.19 Uploading the PlatformTools Installation Package to the Server...............................................................7-36 7.20 Configuring M2000 Disks (HA, T5220).....................................................................................................7-37 7.21 Checking the Disk Configurations of the M2000 Server (HA....................................................................7-38 7.22 Installing and Configuring the Sybase (HA)...............................................................................................7-40 7.23 Creating the M2000 Database (HA, T5220)...............................................................................................7-42 7.24 Troubleshooting: Failed to Set the Sybase Parameters by Using the PlatformTools (HA)........................7-44 7.25 Checking the Sybase Server Connection....................................................................................................7-46 7.26 Checking the Version and Patches of the Sybase.......................................................................................7-46 7.27 Installing the Sybase and Patches on Node2...............................................................................................7-47

8 Installing and Configuring the M4000/M5000 Server (HA)...............................................8-1


8.1 Partition Planning of the M4000/M5000 Server (HA)....................................................................................8-4 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA)...............................................8-5 8.3 Configuring the XSCF of the M4000/M5000 Server......................................................................................8-8 8.4 Installing Solaris and Its Patches on the M4000/M5000 Server...................................................................8-14 8.5 Checking the Version and Patches of the Solaris..........................................................................................8-17 8.6 Checking the Disk Partitioning of the M2000 Server (HA)..........................................................................8-18 8.7 Checking the Local Disk Mirroring of the M4000/M5000 Server...............................................................8-19 8.8 Configuring the Hostname and the IP Address of the Server (HA)..............................................................8-20 8.9 Changing the IP Address of the S2600 Disk Array (Serial Port Mode).......................................................8-21 8.10 Changing the IP Address of the S3X00 Disk Array (Serial Port Mode).....................................................8-25 8.11 Changing the IP Address of the 6140 Disk Array (Serial Port Mode)........................................................8-27 8.12 Configuring the S2600 Disk Array (HA)....................................................................................................8-30 8.13 Configuring the S3200 Disk Array (HA)....................................................................................................8-33 8.14 Configuring the 6140 Disk Array (HA)......................................................................................................8-35 8.15 Enabling Multi-Path I/O (HA)....................................................................................................................8-38 8.16 Labeling Volumes for the Disk Array (HA)...............................................................................................8-38 8.17 Installing and Configuring the Sun Cluster Software and Patches.............................................................8-40 8.18 Checking Installation of the Sun Cluster Software and Patches.................................................................8-42 8.19 Installing and Configuring the Volume Manager.......................................................................................8-43 8.20 Checking the Installation of the Volume Manager.....................................................................................8-45 8.21 Uploading the PlatformTools Installation Package to the Server...............................................................8-46 8.22 Configuring M2000 Disks (HA, M4000/M5000).......................................................................................8-47 8.23 Checking the Disk Configurations of the M2000 Server (HA....................................................................8-48 8.24 Installing and Configuring the Sybase (HA)...............................................................................................8-50 8.25 Creating the M2000 Database (HA, M4000/M5000).................................................................................8-52 8.26 Troubleshooting: Failed to Set the Sybase Parameters by Using the PlatformTools (HA)........................8-54 8.27 Checking the Sybase Server Connection....................................................................................................8-56 8.28 Checking the Version and Patches of the Sybase.......................................................................................8-56 8.29 Installing the Sybase and Patches on Node2...............................................................................................8-57

9 FAQs............................................................................................................................................. 9-1
9.1 How Should I Do When the System Fails to Read the CD-ROM..................................................................9-2

ii

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Contents

9.2 What to Do When the Information Displayed on the Interface Is Abnormal?................................................9-2

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

iii

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figures

Figures
Figure 1-1 Flow chart for installing the software (HA).......................................................................................1-2 Figure 5-1 S2600 disk array.................................................................................................................................5-2 Figure 5-2 S3100 disk array.................................................................................................................................5-3 Figure 5-3 T5220 server.......................................................................................................................................5-4 Figure 5-4 T5220 server.......................................................................................................................................5-5 Figure 5-5 Disk array (I)......................................................................................................................................5-6 Figure 5-6 Disk array (II).....................................................................................................................................5-6 Figure 6-1 S2600 disk array.................................................................................................................................6-2 Figure 6-2 S3200 disk array.................................................................................................................................6-3 Figure 6-3 Operation panel of the SPARC Enterprise M4000/M5000................................................................6-4 Figure 6-4 Disk array (I)......................................................................................................................................6-6 Figure 6-5 Disk array (II).....................................................................................................................................6-6 Figure 7-1 Ports on the T5220 server...................................................................................................................7-6 Figure 7-2 Ports on the S2600 disk array.............................................................................................................7-7 Figure 7-3 Ports on the S3100 disk array.............................................................................................................7-7 Figure 7-4 Ports provided by the SC....................................................................................................................7-8 Figure 7-5 Serial ports provided by the S2600 disk array..................................................................................7-18 Figure 7-6 Successful connection dialog box.....................................................................................................7-19 Figure 7-7 Successful login dialog box..............................................................................................................7-20 Figure 7-8 Serial ports provided by the S3X00..................................................................................................7-22 Figure 8-1 Ports on the M4000 server..................................................................................................................8-7 Figure 8-2 Ports on the M5000 server..................................................................................................................8-7 Figure 8-3 Ports on the S2600 disk array.............................................................................................................8-7 Figure 8-4 Ports on the S3200 disk array.............................................................................................................8-8 Figure 8-5 Connectors provided by the XSCF.....................................................................................................8-9 Figure 8-6 Mode switch on the operation panel.................................................................................................8-10 Figure 8-7 Serial ports provided by the S2600 disk array..................................................................................8-22 Figure 8-8 Successful connection dialog box.....................................................................................................8-23 Figure 8-9 Successful login dialog box..............................................................................................................8-24 Figure 8-10 Serial ports provided by the S3X00................................................................................................8-25 Figure 8-11 Serial ports on the 6140 disk array.................................................................................................8-27

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Tables

Tables
Table 1-1 Operation references for the software installation (HA)......................................................................1-3 Table 2-1 Description of the installation CD-ROM.............................................................................................2-1 Table 4-1 Description of users..............................................................................................................................4-1 Table 7-1 Planning of the server disk partitions (T5220).....................................................................................7-4 Table 7-2 Planning for the S3100 disk array........................................................................................................7-5 Table 7-3 Planning for the S2600 disk array........................................................................................................7-5 Table 7-4 Planning of the host names and IP addresses (HA, T5220).................................................................7-5 Table 7-5 Planning the Logical IP Addresses Between Servers (HA, T5520).....................................................7-6 Table 7-6 Cable sequence standards for the serial port cables between the SC and the PC................................7-8 Table 7-7 Setting the properties of the serial port................................................................................................7-8 Table 7-8 References for server disk partitions..................................................................................................7-15 Table 7-9 Planning of the M2000 host name and IP address.............................................................................7-17 Table 7-10 Setting the properties of the serial port............................................................................................7-19 Table 7-11 Setting the properties of a serial port...............................................................................................7-22 Table 7-12 References........................................................................................................................................7-46 Table 8-1 Planning of the server disk partitions (M4000/M5000).......................................................................8-4 Table 8-2 Planning for the S3200/6140 disk array...............................................................................................8-5 Table 8-3 Planning for the S2600 disk array........................................................................................................8-5 Table 8-4 Planning of the host names and IP addresses (HA, M4000/M5000)...................................................8-5 Table 8-5 Planning of the logical IP addresses between servers (HA, M4000/M5000)......................................8-6 Table 8-6 Wire sequence standards for the serial port cables between the XSCF and the PC.............................8-9 Table 8-7 Setting the properties of a serial port.................................................................................................8-10 Table 8-8 References for server disk partitions..................................................................................................8-19 Table 8-9 Planning of the M2000 host name and IP address.............................................................................8-20 Table 8-10 Setting the properties of the serial port............................................................................................8-23 Table 8-11 Setting the properties of a serial port...............................................................................................8-26 Table 8-12 Setting the properties of a serial port...............................................................................................8-28 Table 8-13 References........................................................................................................................................8-56

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

vii

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

About This Document

About This Document

Purpose
This document describes the procedures for installing the operating system and the related software such as the Sybase database and for setting the parameters of the M2000 server and software to build an operating environment for the M2000. This document describes the procedures for installing the operating system, software, and configuration parameters when the M2000 uses an HA system. The software installation and configuration differ according to the server type.

Product Version
The following table lists the product versions related to this document. Product Name M2000 Product Version V200

Intended Audience
This document is intended for network administrators.

Update History 06 (2010-06-15)


Sixth formal release. Compared with V200 05 (2010-03-23), the following content is modified.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 1

About This Document

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Content 7.1 Partition Planning of the T5220 Server (HA) 8.1 Partition Planning of the M4000/ M5000 Server (HA)

Description The procedure descriptions are changed. The procedure descriptions are changed.

05 (2010-03-23)
Fifth formal release. Compared with V200 04 (2010-02-20), the following content is modified. Content 7.4 Installing the Solaris and Patches on the T5220 Server (HA) Description The procedure descriptions are changed.

01 (2010-02-20)
Fourth formal release.

03 (2009-10-30)
Third formal release. Compared with V200 02(2009-06-30), the following content is modified. Content 8.4 Installing Solaris and Its Patches on the M4000/M5000 Server Description The content descriptions are changed.

02 (2009-06-30)
Second formal release. Compared with V200 02(2009-01-05), the following content is modified.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

About This Document

Content 8 Installing and Configuring the M4000/ M5000 Server (HA)

Description The content descriptions are changed.

01 (2009-01-05)
Initial release. Also, the first formal release.

Organization
1 Procedure for Installing the M2000 Software (HA) This describes how to build an operating environment for the M2000. 2 Preparing for Installation CD-ROM and Installation Package This describes how to keep the installation CD-ROM, installation package of the PlatformTools, VERITAS Volume Manager, and Sybase license ready. 3 Checking M2000 Hardware Installation Before commissioning the M2000 system, you must make sure that the hardware devices are properly arranged and the cable connections are correct and meet the industry standards. 4 Planning Solaris and Sybase Users This describes how to plan the default passwords of the users required during the initial installation and operation of the M2000 system. 5 Powering On and Powering Off the M2000 (HA, T5220) You need to follow specific operation sequences to power on and power off the M2000 system to guarantee the system security. 6 Powering On and Powering Off the M2000 (HA, M4000/M5000) You need to follow specific operation sequences to power on and power off the M2000 system to guarantee the system security. 7 Installing and Configuring the T5220 Server (HA) This describes how to install the Solaris software, Sybase software, Sun Cluster software, and their relevant patches on the M2000 HA system that is installed on the T5220 server, and how to configure other basic parameters and disk arrays for the server. After the installation and configuration, the server can meet the specified requirements of the M2000 application software. 8 Installing and Configuring the M4000/M5000 Server (HA) This describes how to install the Solaris software, Sybase software, Sun Cluster software, and their relevant patches on the M2000 HA system that is installed on the M4000/M5000 server, and how to configure other basic parameters and disk arrays for the server. After the installation and configuration, the server can meet the specified requirements of the M2000 application software.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 3

About This Document

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

9 FAQs This chapter describes FAQs and solutions related to the M2000.

Conventions
Symbol Conventions The symbols that may be found in this document are defined as follows. Symbol Description Indicates a hazard with a high level of risk, which if not avoided,will result in death or serious injury. Indicates a hazard with a medium or low level of risk, which if not avoided, could result in minor or moderate injury. Indicates a potentially hazardous situation, which if not avoided,could result in equipment damage, data loss, performance degradation, or unexpected results. Indicates a tip that may help you solve a problem or save time. Provides additional information to emphasize or supplement important points of the main text.

General Conventions The general conventions that may be found in this document are defined as follows. Convention Times New Roman Boldface Italic Courier New Description Normal paragraphs are in Times New Roman. Names of files, directories, folders, and users are in boldface. For example, log in as user root. Book titles are in italics. Examples of information displayed on the screen are in Courier New.

Command Conventions The command conventions that may be found in this document are defined as follows. Convention Boldface
4

Description The keywords of a command line are in boldface.


Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

About This Document

Convention Italic [] { x | y | ... } [ x | y | ... ] { x | y | ... }*

Description Command arguments are in italics. Items (keywords or arguments) in brackets [ ] are optional. Optional items are grouped in braces and separated by vertical bars. One item is selected. Optional items are grouped in brackets and separated by vertical bars. One item is selected or no item is selected. Optional items are grouped in braces and separated by vertical bars. A minimum of one item or a maximum of all items can be selected. Optional items are grouped in brackets and separated by vertical bars. Several items or no item can be selected.

[ x | y | ... ]*

GUI Conventions The GUI conventions that may be found in this document are defined as follows. Convention Boldface > Description Buttons, menus, parameters, tabs, window, and dialog titles are in boldface. For example, click OK. Multi-level menus are in boldface and separated by the ">" signs. For example, choose File > Create > Folder.

Keyboard Operations The keyboard operations that may be found in this document are defined as follows. Format Key Key 1+Key 2 Key 1, Key 2 Description Press the key. For example, press Enter and press Tab. Press the keys concurrently. For example, pressing Ctrl+Alt +A means the three keys should be pressed concurrently. Press the keys in turn. For example, pressing Alt, A means the two keys should be pressed in turn.

Mouse Operations The mouse operations that may be found in this document are defined as follows.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

About This Document

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Action Click Double-click Drag

Description Select and release the primary mouse button without moving the pointer. Press the primary mouse button twice continuously and quickly without moving the pointer. Press and hold the primary mouse button and move the pointer to a certain position.

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

1 Procedure for Installing the M2000 Software (HA)

Procedure for Installing the M2000 Software (HA)


This describes how to build an operating environment for the M2000.

Procedure
Step 1 When building an operating environment for the M2000, you can refer to Figure 1-1.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

1-1

1 Procedure for Installing the M2000 Software (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 1-1 Flow chart for installing the software (HA)

1-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

1 Procedure for Installing the M2000 Software (HA)

Table 1-1 lists the references for the installation. Table 1-1 Operation references for the software installation (HA) Operation Preparing for the installation Checking the hardware installation Powering on the system (T5220) Powering on the system (M4000/M5000) Configuring the SC of the server Configuring the XSCF of the server Installing the Solaris software and its patches on the server (T5220) Installing the Solaris software and its patches on the server (M4000/M5000) Setting the host name and IP address of the server Configuring the disk array Reference For details, see 2 Preparing for Installation CD-ROM and Installation Package. For details, see 3 Checking M2000 Hardware Installation. For details, see 5.1 Powering On the M2000 (HA, T5220). For details, see 6.1 Powering On the M2000 (HA, M4000/M5000). For details, see 7.3 Configuring the SC for the T5220 Server. For details, see 8.3 Configuring the XSCF of the M4000/M5000 Server. For details, see 7.4 Installing the Solaris and Patches on the T5220 Server (HA). For details, see 8.4 Installing Solaris and Its Patches on the M4000/M5000 Server. For details, see 7.8 Configuring the Hostname and the IP Address of the Server (HA). For details, see 7.11 Configuring the S2600 Disk Array (HA) or 8.13 Configuring the S3200 Disk Array (HA) or 8.14 Configuring the 6140 Disk Array (HA). For details, see 7.13 Enabling Multi-Path I/ O (HA). For details, see 7.14 Labeling Volumes for the Disk Array (HA). For details, see 7.15 Installing and Configuring the Sun Cluster Software and Patches. For details, see 7.17 Installing and Configuring the Volume Manager. For details, see 7.19 Uploading the PlatformTools Installation Package to the Server.

Enabling I/O multipathing Labeling the disk array volume Installing and configuring the Sun Cluster

Installing and configuring the Volume Manager Uploading the installation package of the PlatformTools to the server

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

1-3

1 Procedure for Installing the M2000 Software (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Operation Configuring the disk (T5220) Configuring the disk (M4000/M5000) Installing and configuring the Sybase Creating the database (T5220) Creating the database (M4000/M5000)

Reference For details, see 7.20 Configuring M2000 Disks (HA, T5220). For details, see 8.22 Configuring M2000 Disks (HA, M4000/M5000). For details, see 7.22 Installing and Configuring the Sybase (HA). For details, see 7.23 Creating the M2000 Database (HA, T5220). For details, see 8.25 Creating the M2000 Database (HA, M4000/M5000).

----End

1-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

2 Preparing for Installation CD-ROM and Installation Package

2
Prerequisite Procedure

Preparing for Installation CD-ROM and Installation Package


This describes how to keep the installation CD-ROM, installation package of the PlatformTools, VERITAS Volume Manager, and Sybase license ready.

You must have a user account in http://support.huawei.com and are authorized to download the installation package of the PlatformTools.

Check whether the installation CD-ROM is complete. For details about the names and functions of the installation CD-ROM, see Table 2-1. Table 2-1 Description of the installation CD-ROM Disk Name Auto_Install_DVD1/3_For Solaris_OS_sun4u_V2.1 Installation Location Server Function Installing the Solaris 10 and its patch Patch 9.0.1, for Netra240, V890, E4900, M4000, M5000 Installing the Solaris 10 and its patch Patch 9.0.1, for T5220 Installing and configuring the host software of disk array management Installing and configuring the VERITAS Volume Manager 5.0 Installing and configuring the Sun Cluster 3.2

Auto_Install_DVD2/3_For Solaris_OS_sun4v_V2.1 Auto_Install_DVD3/3_For Solaris_APP_V2.1

Server

Server

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

2-1

2 Preparing for Installation CD-ROM and Installation Package

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Disk Name

Installation Location

Function Installing the Sybase 15.0.3 and its patch EBF16548 Creating the master database

SYBASE ASE15.0.3 License l

Server

Installing the license of the Sybase 15.0.3

Obtain the installation package of the PlatformTools. 1. 2. Log in to the http://support.huawei.com to apply for version download. Download the PlatformTools of the latest version to the PC.

If the M2000 application version is V200R008, you need to download the installation package whose version is the latest and whose version name is similar to iManagerM2000-TOOL_Platform_2.0_V200R001CxxSPCxxx.tar.gz, for example, iManagerM2000TOOL_Platform_2.0_V200R001C01SPC018.tar.gz. If the M2000 application version is V200R009, you need to download the installation package whose version is the latest and whose version name is similar to iManagerM2000-TOOL_Platform_3.0_V200R009CxxSPCxxx.tar.gz, for example, iManagerM2000TOOL_Platform_3.0_V200R009C00SPC001.tar.gz. If the M2000 application version is V200R010, you need to download the installation package whose version is the latest and whose version name is similar to iManagerM2000-TOOL_Platform_4.0_V200R010CxxSPCxxx.tar.gz, for example, iManagerM2000TOOL_Platform_4.0_V200R010C00SPC001.tar.gz.

l l

Log in to the http://support.huawei.com to download the PuTTY to the PC. For the M2000 configured with disk arrays, check whether the license of the VERITAS Volume Manager is available. If not, contact Huawei Technologies Co., Ltd. for assistance.

----End

2-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

3 Checking M2000 Hardware Installation

3
Procedure

Checking M2000 Hardware Installation


Before commissioning the M2000 system, you must make sure that the hardware devices are properly arranged and the cable connections are correct and meet the industry standards.

Step 1 Make sure that hardware devices are properly arranged and the power cable connections are correct and meet anti-static requirements. For details, see Checking M2000 Hardware Installation in the M2000 Hardware Installation Guide of relevant server types. You can obtain the hardware installation guide related to each server type from http:// support.huawei.com.
l

For details about how to configure the T5220 server, see the M2000 Hardware Installation Guide (T5220). For details about how to configure the M5000 server, see the M2000 Hardware Installation Guide (M4000&M5000).

----End

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

3-1

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

4 Planning Solaris and Sybase Users

4
Solaris

Planning Solaris and Sybase Users

This describes how to plan the default passwords of the users required during the initial installation and operation of the M2000 system. Table 4-1 lists the to-be-created user names and passwords during the initial installation of the M2000 system and their creation time. Table 4-1 Description of users System or Device User Name root Password root Creation Time During the installation of the Solaris operating system After the installation of the Solaris operating system and before the installation of the Sybase database During the installation of the Sybase During the configuration of the SC for the T5220 server Description Superuser of the Solaris operating system, responsible for managing the operating system Responsible for installing and maintaining the Sybase database

dbuser

dbuser

Sybase

sa

emsems

Superuser of the Sybase database, responsible for operating the Sybase Logging In to the T5220 server through the SC

System Controller (SC) of the T5220 server

admin

admin123

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

4-1

4 Planning Solaris and Sybase Users

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

System or Device eXtended System Control Facility (XSCF) of the M4000/ M5000 server

User Name adminuser

Password adminuser

Creation Time During the configuration of the XSCF for the M4000/M5000 server

Description Logging In to the M4000/M5000 server through the XSCF

4-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

5 Powering On and Powering Off the M2000 (HA, T5220)

Powering On and Powering Off the M2000 (HA, T5220)

About This Chapter


You need to follow specific operation sequences to power on and power off the M2000 system to guarantee the system security. 5.1 Powering On the M2000 (HA, T5220) This describes how to power on the T5220 server where the M2000 is installed. Before powering on the T5220 server, ensure that all the relevant devices meet the security specifications. 5.2 Powering Off the M2000 (HA, T5220) This describes how to power off the T5220 server by following a specific operation sequence when the M2000 system is installed on the T5220 server.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

5-1

5 Powering On and Powering Off the M2000 (HA, T5220)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

5.1 Powering On the M2000 (HA, T5220)


This describes how to power on the T5220 server where the M2000 is installed. Before powering on the T5220 server, ensure that all the relevant devices meet the security specifications.

Procedure
Step 1 Prepare to power on the M2000. 1. 2. Ensure that the power switch of each device in the cabinet is in the OFF state. Set the power switch of the cabinet to ON.

Step 2 Power on two disk arrays. The procedures for powering on the two disk arrays are the same. Option S2600 disk array S3100 disk array or 6140 disk array Description Perform Step 2.1. Perform Step 2.2.

1.

Insert the two plugs at the rear of the disk array into the socket, as shown in Figure 5-1. When the hard disk LEDs of all the disk arrays stop blinking, the disk array were starting successfully.

CAUTION
l l

Each disk array has two plugs. Ensure that both plugs are inserted into the socket. The S2600 disk array does not have a power switch. After you insert the plug into the socket, the S2600 disk array is automatically powered on.

Figure 5-1 S2600 disk array

(Disk array with a controller)

(Hard disk frame of the disk array)


5-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

5 Powering On and Powering Off the M2000 (HA, T5220)

2.

Set the two power switches at the rear of the S3100 disk array to ON, as shown in Figure 5-2.

CAUTION
Each disk array has two power switches and their directions are opposite.

Figure 5-2 S3100 disk array

OFF

ON

Step 3 Power on either of the two T5220 servers.

CAUTION
The procedures for powering on the two T5220 servers are consistent. Power on the osssvr-l first. After three minutes, power on the osssvr-2. Waiting for 2~3 minutes . Press the power switch to power on the T5220 server when the LED indicator is lighted. Press the power switch to power on the T5220 server, as shown in Figure 5-3.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

5-3

5 Powering On and Powering Off the M2000 (HA, T5220)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 5-3 T5220 server

If the Solaris operating system is not installed on the server, the server switches to the ok state. If the Solaris operating system is correctly installed on the server, the Solaris automatically starts after the server is powered on. If the Solaris operating system is not automatically started and the system switches to the ok state, enter boot to start the Solaris.

Step 4 Repeat Step 3 to start the other T5220 server. ----End

5.2 Powering Off the M2000 (HA, T5220)


This describes how to power off the T5220 server by following a specific operation sequence when the M2000 system is installed on the T5220 server.

Procedure
Step 1 Switch over the two T5220 servers to ok. 1. Log in to the two nodes as user root through telnet and run the following command, respectively. # sync; sync; sync; sync; sync; sync 2. Run the following command on node 1 and node 2 respectively to set them to ok. # /usr/cluster/bin/scshutdown -y -g0
NOTE

Cluster and Sybase are correctly installed in the system. The system automatically stops the Sybase services.

Step 2 Power off the two T5220 servers. The procedures for powering off the two T5220 servers are the same. Press the power switch to power off the T5220 server, as shown in Figure 5-4.

5-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

5 Powering On and Powering Off the M2000 (HA, T5220)

Figure 5-4 T5220 server

Step 3 Power off two disk arrays. The procedures for powering off the two disk arrays are consistent. Option S2600 disk array S3100 disk array or 6140 disk array Description Perform Step 3.1 and Step 3.2. Perform Step 3.3 and Step 3.4.

1.

Check whether the I/O activities of the disk arrays are stopped.
NOTE

a. Wait for two minutes. If the LED indicators of all the drives and caches stop blinking, you can infer that the read and write operations of the disk array are stopped. b. Check the cache LED on the controller and determine whether any data on the cache needs to be written to the disk. c. Ensure that the LEDs of all the drive and caches stop blinking.

2. 3.

Remove the two plugs at the rear of the disk array from the socket. Check whether the I/O activities of the disk arrays are stopped. a. Wait for two minutes. If all the LEDs stop blinking, you can infer that all the data is written into the disk and that the cache does not hold data. See Figure 5-5 .

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

5-5

5 Powering On and Powering Off the M2000 (HA, T5220)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 5-5 Disk array (I)

1 b.

OFF

ON

Ensure that all the LEDs of all the disk drives at the front of the controller stop blinking. See Figure 5-6. Figure 5-6 Disk array (II)

4.

Set the two power switches at the rear of the controller to OFF.
NOTE

Each disk array has two power switches and their directions are opposite.

Step 4 If required, switch off the power of the cabinet and the devices in the cabinet. ----End

5-6

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

6 Powering On and Powering Off the M2000 (HA, M4000/ M5000)

Powering On and Powering Off the M2000 (HA, M4000/M5000)

About This Chapter


You need to follow specific operation sequences to power on and power off the M2000 system to guarantee the system security. 6.1 Powering On the M2000 (HA, M4000/M5000) This describes how to power on the M4000/M5000 server where the M2000 is installed. Before powering on the M4000/M5000 server, ensure that all the relevant devices meet the security specifications. 6.2 Powering Off the M2000 (HA, M4000/M5000) This describes how to power off the M4000/M5000 server by following a specific operation sequence when the M2000 system is installed on the M4000/M5000 server.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

6-1

6 Powering On and Powering Off the M2000 (HA, M4000/ M5000)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

6.1 Powering On the M2000 (HA, M4000/M5000)


This describes how to power on the M4000/M5000 server where the M2000 is installed. Before powering on the M4000/M5000 server, ensure that all the relevant devices meet the security specifications.

Procedure
Step 1 Prepare for powering on the M2000. 1. 2. Ensure that the power switch of each device in the cabinet is in OFF state. The power switch of the cabinet is set to ON.

Step 2 Power on two disk arrays. The procedures for powering on the two disk arrays are consistent. Option S2600 disk array S3200 disk array or 6140 disk array Description Perform Step 2.1. Perform Step 2.2.

1.

Insert the two plugs at the rear of the disk array into the socket, as shown in Figure 6-1. When the hard disk LEDs of all the disk arrays stop blinking, the disk array were starting successfully.

CAUTION
l l

Each disk array has two plugs. Ensure that both plugs are inserted into the socket. The S2600 disk array does not have a power switch. After you insert the plug into the socket, the S2600 disk array is automatically powered on.

Figure 6-1 S2600 disk array

(Disk array with a controller)

6-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

6 Powering On and Powering Off the M2000 (HA, M4000/ M5000)

(Hard disk frame of the disk array)

2.

Set the two power switches at the rear of the S3200 disk array to ON, as shown in Figure 6-2.

CAUTION
Each disk array has two power switches and their directions are opposite.

Figure 6-2 S3200 disk array

OFF

ON

Step 3 Start either of the two M4000/M5000 servers. 1. Run the telnet IP address of the XSCF of the server to log in to the XSCF. For details of the IP address of the XSCF, see 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA).

CAUTION
l

Enter the IP address of the XSCF of the M4000/M5000 server based on the actual situation. If the XSCF of the M4000/M5000 is not configured, configure it by referring to 8.3 Configuring the XSCF of the M4000/M5000 Server.

2. 3.

Enter the user nameadminuser and password adminuser to log in to the XSCF. Switch the key on the front panel to the position of maintenance. Figure 6-3 shows the panel.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 6-3

Issue 06 (2010-06-15)

6 Powering On and Powering Off the M2000 (HA, M4000/ M5000)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 6-3 Operation panel of the SPARC Enterprise M4000/M5000

1. "Power" indicator 4. Power switch

2. "XSCF ready" indicator 5. Mode switch

3. "Check" indicator -

4.

Run the following command to power on domain 0. XSCF> poweron -d 0


DomainIDs to power on: 00 Continue? [y|n] :y

5. 6. 7.

Run the following command to open domain 0. XSCF> console -d 0 Check that the indicator that indicating "XSCF ready" is lighted in green. On the operation panel, press the power button to power on the server. The server starts and performs an automatic diagnosis. This process takes about 20 minutes.
l

If the Solaris operating system is not installed on the server, the server switches to the ok state. If the Solaris operating system is correctly installed on the server, the Solaris automatically starts after the server is powered on. If the Solaris operating system is in ok status without automatic restart, enter boot to start it.

8.

Switch the key on the front panel to the position of locked.

Step 4 Repeat Step 3 to start the other M4000/M5000 server. ----End

6.2 Powering Off the M2000 (HA, M4000/M5000)


This describes how to power off the M4000/M5000 server by following a specific operation sequence when the M2000 system is installed on the M4000/M5000 server.
6-4 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

6 Powering On and Powering Off the M2000 (HA, M4000/ M5000)

Procedure
Step 1 Switch over the two M4000/M5000 servers to ok. 1. Log in to the two nodes as user root through telnet and run the following command, respectively. # sync; sync; sync; sync; sync; sync 2. Run the following command on node 1 and node 2 respectively to set them to ok. # /usr/cluster/bin/scshutdown -y -g0
NOTE

Cluster and Sybase are correctly installed in the system. The system automatically stops the Sybase services.

Step 2 Power off the two M4000/M5000 servers. The procedures for powering off the two M4000/ M5000 servers are the same. 1. Run the telnet IP address of the XSCF of the server command to log in to the XSCF. Type the user name adminuser to enter the platform shell.
NOTE

l l

If the IP address of the XSCF is not configured, use the HyperTerminal to log in from the serial port of the SC. Use the serial port cable to connect the serial port of the XSCF and the COM port of the PC. One end of the serial port cable uses the RJ-45 connector, which is inserted into the serial port of the XSCF. The other end uses the DB-9 connector, which is inserted into the COM port of the PC. The port properties of the HyperTerminal must be set to the default values. This means that you must set the baud rate to 9600, data digit to 8, parity check to none, stop bit to 1, and data stream control to none.

2.

Run the following command to power off domain 0. Except the two XSCFs, all boards are powered off. XSCF> poweroff -d 0

Step 3 Power off two disk arrays. The procedures for powering off the two disk arrays are consistent. Option S2600 disk array S3200 disk array or 6140 disk array Description Perform Step 3.1 and Step 3.2. Perform Step 3.3 and Step 3.4.

1.

Check whether the I/O activities of the disk arrays are stopped.
NOTE

a. Wait for two minutes. If the LED indicators of all the drives and caches stop blinking, you can infer that the read and write operations of the disk array are stopped. b. Check the cache LED on the controller and determine whether any data on the cache needs to be written to the disk. c. Ensure that the LEDs of all the drive and caches stop blinking.

2. 3.
Issue 06 (2010-06-15)

Remove the two plugs at the rear of the disk array from the socket. Check whether the I/O activities of the disk arrays are stopped.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 6-5

6 Powering On and Powering Off the M2000 (HA, M4000/ M5000)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

a.

Wait for two minutes. If all the LEDs stop blinking, you can infer that all the data is written into the disk and that the cache does not hold data. See Figure 6-4 .

Figure 6-4 Disk array (I)

1 b.

OFF

ON

Ensure that all the LEDs of all the disk drives at the front of the controller stop blinking. See Figure 6-5. Figure 6-5 Disk array (II)

4.

Set the two power switches at the rear of the controller to OFF.
NOTE

Each disk array has two power switches and their directions are opposite.

Step 4 Set the power switches of the cabinet and other devices in the cabinet to OFF as required. ----End

6-6

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Installing and Configuring the T5220 Server (HA)

About This Chapter


This describes how to install the Solaris software, Sybase software, Sun Cluster software, and their relevant patches on the M2000 HA system that is installed on the T5220 server, and how to configure other basic parameters and disk arrays for the server. After the installation and configuration, the server can meet the specified requirements of the M2000 application software. 7.1 Partition Planning of the T5220 Server (HA) This describes the planning of partition names and sizes of the server disk, and the redundant mode of the disk arrays. 7.2 Planning the Host Name and IP Address for the T5220 Server (HA) This describes the default host names and the IP addresses of the M2000 system planned before delivery. 7.3 Configuring the SC for the T5220 Server This describes how to configure the System Controller (SC) for the T5220 server through a PC. 7.4 Installing the Solaris and Patches on the T5220 Server (HA) This describes how to use a PC to log in to the T5220 server through the System Controller (SC), and then install the Solaris and its patches on the server. 7.5 Checking the Version and Patches of the Solaris This describes how to check the version and patches of the Solaris operating system and to make sure that the M2000 server application can be installed in the operating system of the designated version. For the mapping between the M2000 server versions and the operating system versions, see the version configuration table. Perform this operation on both nodes. 7.6 Checking the Disk Partitioning of the M2000 Server (HA) To ensure that the M2000 server software can function properly, you need to check whether the actual partitioning is consistent with that predefined in the server disk partitioning plan. If the actual partitioning is different, contact Huawei technical support personnel for assistance. You need to check the partitioning on both nodes. 7.7 Checking the Mirrors of the Local Disk on the Server (HA, T5220)

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-1

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

This describes how to check whether the mirroring of local disks is successful to guarantee the normal operation of the server. If the actual partitioning is different, contact Huawei technical support personnel for assistance. You need to check the partitioning on both nodes. 7.8 Configuring the Hostname and the IP Address of the Server (HA) Run the script file to set the host name and IP address of the server and other basic parameters. You need to perform the operation on both node 1 and node 2. 7.9 Changing the IP Address of the S2600 Disk Array (Serial Port Mode) This section describes how to change the IP address of the S2600 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S2600 disk array needs to be changed. 7.10 Changing the IP Address of the S3X00 Disk Array (Serial Port Mode) This section describes how to change the IP address of the S3X00 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S3X00 disk array needs to be changed. 7.11 Configuring the S2600 Disk Array (HA) This section describes how to configure the S2600 disk array. Each S2600 disk array has an active controller and a standby controller. You can configure the S2600 disk array by setting up a connection between the server and the active controller. Both of the S2600 disk arrays need to be configured. 7.12 Configuring the S3100 Disk Array (HA, T5220) Each S3100 disk array has an active controller and a standby controller. You can configure the S3100 disk arrays by setting up a connection between the server and the active controller. Both the two S3100 disk arrays need to be configured. 7.13 Enabling Multi-Path I/O (HA) This describes how to enable the I/O multipathing of the Solaris system. You need to perform the operation on both node 1 and node 2. 7.14 Labeling Volumes for the Disk Array (HA) This describes how to label each logical partition so that the operating system can find the associated logical partitions of the disks on the disk array. 7.15 Installing and Configuring the Sun Cluster Software and Patches The Sun Cluster software is used to manage the system resource. Thus, system resource can be automatically switched to the standby server to keep the normal operation of the system when the active server is faulty. 7.16 Checking Installation of the Sun Cluster Software and Patches After installing the Sun Cluster software and its patch on Node1 and Node2, you must check that the Sun Cluster software is correctly installed and the software is operational. This operation is performed only on Node1. 7.17 Installing and Configuring the Volume Manager This describes how to install the VERITAS Volume Manager on the server. You can regroup several physical disks on the disk array into logical devices to facilitate the management. The logical devices refers to volumes. You need to perform the operation on both node 1 and node 2. 7.18 Checking the Installation of the Volume Manager This describes how to check whether the Volume Manager and its license are installed successfully on both Node1 and Node2. 7.19 Uploading the PlatformTools Installation Package to the Server
7-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Creating the M2000 database and setting the disks on the server are both performed through the PlatformTools. Therefore, you should upload the PlatformTools installation package to the server beforehand. Perform this task on each server. 7.20 Configuring M2000 Disks (HA, T5220) This section describes how to set disks on the disk array by using the PlatformTools. The setting of disks involves the creation of volumes on the disk array and the creation of file system on the exporthome volume. Before configuring the disk array, you must customize the operating system. You must customize the operating system on both node 1 and node 2 and need to configure the disk array only on node 1. 7.21 Checking the Disk Configurations of the M2000 Server (HA This describes how to check whether the local disk configurations are the same as planned. In the case of inconsistency, contact Huawei technical support personnel. 7.22 Installing and Configuring the Sybase (HA) This describes how to install the Sybase and its patches on the server. 7.23 Creating the M2000 Database (HA, T5220) This describes how to create the M2000 database through the PlatformTools. To optimize the performance of the database, you need to set Sybase-related parameters before creating the database. You need to perform the operation on only node 1. 7.24 Troubleshooting: Failed to Set the Sybase Parameters by Using the PlatformTools (HA) This describes a solution to the problem that you fail to set the Sybase parameters by using the PlatformTools. 7.25 Checking the Sybase Server Connection This describes how to check the Sybase server connection to ensure that the Sybase database is connected. You need to perform this operation on only the active node. 7.26 Checking the Version and Patches of the Sybase This describes how to check whether the Sybase application software and patches listed in the version configuration table are installed. The installation of the right version of Sybase application software and patches is essential to the normal operation of the M2000 system.You need to perform this operation on only the active node.For an HA system, you need to perform this operation on only the active node. 7.27 Installing the Sybase and Patches on Node2 This is performed to install the Sybase and patches on Node2. To install the Sybase and patches on Node2, you must copy the installation files from Node1 to Node2 and execute the installation.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-3

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7.1 Partition Planning of the T5220 Server (HA)


This describes the planning of partition names and sizes of the server disk, and the redundant mode of the disk arrays. In the HA system, the configuration and partition planning of the local hard disk on each server are the same. The T5220 system should be configured with four 146 GB hard disks and one S3100 or S2600 disk array. The S3100 disk array consists of 16 x 146 GB hard disks and the S2600 disk array consists of 12 x 450 GB hard disks. Two of the four hard disks are partitioned according to Table 7-1 while the other two are idle. Table 7-1 Planning of the server disk partitions (T5220) Hard Disk No. Partitio n No. 0 1 2 Partition Name / swap overlap Size (MB) 110000 20000 Description Root partition Data exchange partition Used for disk mapping. Retain the default size. Reserved Used for disk mirroring. You need not set the partition name. Using the fast installation CD-ROM can automatically allocate the sizes of partitions.

3 4 1 5 6 7

/globaldevices -

1024 10~260

Used as the mirroring disk for the first hard disk..

Each Sun T5220 server is configured with an S3100 disk array or an S2600 disk array.
l

Each S3100 disk array consists of sixteen disks. Two disks are used as hot spares and the other fourteen disks are used as two RAID5s. Hot spares are used to replace the faulty disks. Two volumes of the same size are created on the disk array. For details, see Table 7-2. Each S2600 disk array consists of twelve disks. Two disks are used as hot spare disk and the other ten disks are used as one RAID 10. Hot spares are used to replace the faulty disks. Three volumes of the same size are created on the disk array. For details, see Table 7-3.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

7-4

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Table 7-2 Planning for the S3100 disk array Disk Array No. 1 Volume Name oss_v0 oss_v1 2 Size (GB) 810 810

Used as the mirrored disk array of the first disk array

Table 7-3 Planning for the S2600 disk array Disk Array No. 1 Volume Name oss_app0 oss_app1 oss_app2 2 Size (GB) 671 671 671

Used as the mirrored disk array of the first disk array

7.2 Planning the Host Name and IP Address for the T5220 Server (HA)
This describes the default host names and the IP addresses of the M2000 system planned before delivery. For details about the default host names and IP addresses of the M2000system, see Table 7-4 and Table 7-5. Table 7-4 Planning of the host names and IP addresses (HA, T5220) Ethernet Port Function Service/IPMP port Ethernet Port Name e1000g0 Host Name Physical IP Address 192.168.8.59 192.168.8.61 192.168.8.60 192.168.8.62 192.168.8.141 192.168.8.142
7-5

Logical IP Address of IPMP 192.168.8.11 192.168.8.12 192.168.8.11 192.168.8.12 None

osssvr-1e1000g0 osssvr-2e1000g0

e1000g2

osssvr-1e1000g2 osssvr-2e1000g2

Remote serial port

SC LAN

osssvr-1-sc osssvr-2-sc

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Ethernet Port Function Maintenance port of the disk array

Ethernet Port Name Ctrl A Ethernet port 1

Host Name

Physical IP Address 192.168.8.39 192.168.8.41 192.168.8.40 192.168.8.42

Logical IP Address of IPMP None

S2600-1/ S3100-1 S2600-2/ S3100-2

Ctrl B Ethernet port 1

S2600-1/ S3100-1 S2600-2/ S3100-2

Table 7-5 Planning the Logical IP Addresses Between Servers (HA, T5520) Server Host Name Physical IP Address (Logical IP Address of IPMP) 192.168.8.11 192.168.8.12 Logical Host Name Logical IP Address

Node 1 Node 2

osssvr-1 osssvr-2

osssvr osssvr

192.168.8.31 192.168.8.31

During the configuration of the maintenance dual plane, the IP address of node 1, that is, 192.168.8.11, is used as the logical IP address of Ethernet ports e1000g0 and e1000g2 on node 1. During the configuration of the maintenance dual plane, the IP address of node 2, that is, 192.168.8.12, is used as the logical IP address of Ethernet ports e1000g0 and e1000g2 on node 2. For details about the planning of the ports on the T5220 server, see Figure 7-1. For details about the ports on the disk array, see Figure 7-2 or Figure 7-3. Figure 7-1 Ports on the T5220 server

7-6

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Figure 7-2 Ports on the S2600 disk array

Figure 7-3 Ports on the S3100 disk array

7.3 Configuring the SC for the T5220 Server


This describes how to configure the System Controller (SC) for the T5220 server through a PC.

Prerequisite
l l

A serial port cable is available. A PC is available.

Context
NOTE

You should configure the SC only during the initial installation.

Procedure
Step 1 Use the serial port cable to connect the serial port of the SC and that of the PC. One end of the serial port cable is an RJ-45 connector that connects the Serial Mgt Port, as shown in Figure 7-4. The other end is a DB-9 connector that connects the serial port of the PC (COM1 or COM2).
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-7

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 7-4 Ports provided by the SC

For details about the cable sequence and related signals, see Table 7-6. Table 7-6 Cable sequence standards for the serial port cables between the SC and the PC RJ-45 3 4 5 6 Signal TXD/RXD REF/GND REF/GND RXD/TXD DB-9 Socket 2 5 5 3

After the PC and the SC are connected, the physical connection between the PC and the T5220 server is set up. Step 2 To configure a PC as a HyperTerminal, perform the following steps: 1. 2. 3. 4. 5. 6. Start the T5220 server. Switch on the PC. Choose Start > Programs (P) > Accessories > Communications > HyperTerminal on the PC. In the Connection Description dialog box, enter the name of the new connection. Select the PC serial port that connects to the SC, for instance, COM1. Set the properties of the serial port, as listed in Table 7-7. Then, click OK. Table 7-7 Setting the properties of the serial port Property Bits per second Data bits Parity Stop bits
7-8

Value 9600 8 None. 1

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Property Flow control

Value None.

Step 3 When the system prompts the following information, enter the user name root.
SUNSP00144F970053 login:

Step 4 When the system prompts the following information, enter the password of user root changeme.

CAUTION
The user root is superuser of the SC. Do not change the default password changeme.
Password:

Step 5 Run the following command to restore the default values of ILOM configurations. -> set /SP reset_to_defaults=all Step 6 Run the following command to restart the ILOM: -> reset /SP When the system prompts the following information, enter y.
Are you sure you want to reset /SP (y/n)? y

Step 7 When the system prompts the following message, enter the user name root.
SUNSP00144F970053 login:

Step 8 When the system prompts the following information, enter the password of user root changeme.

CAUTION
The user root is superuser of the SC. Do not change the default password changeme.
Password:

Step 9 Run the following commands to create the user admin and start the ALOM. -> create /SP/users/admin role=Administrator cli_mode=alom Step 10 Set the password of the user admin.
NOTE

Enter the user password admin123 as planned.


Creating user... Enter new password: ******** Enter new password again: ******** Created /SP/users/admin

Step 11 Run the following command to check whether the user admin is successfully created.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-9

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

-> show /SP/users


/SP/users Targets: root admin

If the system output contains the user admin, you can infer that the user is created. Otherwise run Step 9 and Step 10 to create the user admin again. Step 12 Run the following command to quit ILOM: -> exit Step 13 When the system prompts the following message, enter the user name admin and the password admin123.
SUNSP00144F970053 login: admin Password:

Step 14 Run the following command to disable the DHCP function. sc> setsc netsc_dhcp false Step 15 Set the IP address, subnet mask, and gateway IP address of the SC on the server. sc> setsc netsc_ipaddr IP address of the SC sc> setsc netsc_ipnetmask subnet mask of the SC sc> setsc netsc_ipgateway gateway IP address of the SC Step 16 Run the following command to submit the modification. sc> setsc netsc_commit true Step 17 Run the following command to quit SC: sc> logout Step 18 Closed the HyperTerminal. ----End

7.4 Installing the Solaris and Patches on the T5220 Server (HA)
This describes how to use a PC to log in to the T5220 server through the System Controller (SC), and then install the Solaris and its patches on the server.

Prerequisite
l l l

You have configured the SC for the T5220 server. The communication between the PC and the server SC is normal. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

7-10

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Context
NOTE

When the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is used for installation, the installation log is recorded in the /opt/installtmp/autoinstall.log file.

CAUTION
l

If the same IP address is used to install the Solaris software and its patches for multiple M2000 systems in one network segment, the IP addresses of different systems may conflict with each other. Change the IP address of devices and the problem is solved. During the installation of the Solaris software and its patches, the superuser root of the operating system is automatically created. The initial password of the superuser is set to root. Be sure to remember the password of user root.

Procedure
Step 1 Connect the PC terminal and the SC through the SSH protocol of PuTTY. In the PuTTY window, select SSH. Then enter the IP address of the SC in Host Name (or IP Address). Click Open. Step 2 Enter the user name admin and the password to log in to the SC. The sc> prompt is displayed. Step 3 Run the console command. Press Enter. The system switches to the ok state.
sc> console ok
NOTE

If the Console session already in use. [view mode] message is displayed after you run the console command, you can infer that the user does not log out when exiting the administration console last time. Run the console -f command to connect the server. In the displayed information, enter y. Then, press Enter.

Step 4 Connect the server. 1. Run the console command. Then, press Enter.
NOTE

If the Console session already in use. [view mode] message is displayed after you run the console command, you can infer that the user does not log out when exiting the administration console last time. Run the console -f command to connect the server. In the displayed information, enter y. Then, press Enter. If the system is in self-check state, the ok prompt cannot be displayed after you run the console or console -f command. You need to run either of the commands after the system is started completely.

2. 3.

When the Enter #. to return to ALOM. prompt is displayed, press Enter. When the console login: prompt is displayed, enter root. Then, press Enter. If the operating system has been pre-installed, you may see the host name before console login:.

4.

When the Password: prompt is displayed, enter the password of user root. Then, press Enter.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-11

Issue 06 (2010-06-15)

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

If no password is set during the pre-installation of the operating system, this step is skipped. 5. When the # prompt is displayed, enter init 0. Then, press Enter. The system switches to the ok state. If the system prompts the following information, enter o.
Program terminated r)eboot, o)k prompt, h)alt?

Step 5 Remove all the network cables of network ports on the server except that of the SC. Step 6 Insert the Auto_Install_DVD2/3_For Solaris_OS_sun4v_V2.1 disk into the DVD-ROM drive of the server. Step 7 Run the following commands to enter the single-user mode. ok boot cdrom -s After about 20 minutes, the system prompts # . Step 8 Create the RAID 1 of the disk. 1. Run the following command to check the number of hard disks and then press Ctrl + C to return # . # format
AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec /pci@0/pci@0/pci@2/scsi@0/sd@0,0 1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec /pci@0/pci@0/pci@2/scsi@0/sd@1,0 2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec /pci@0/pci@0/pci@2/scsi@0/sd@2,0 3. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec /pci@0/pci@0/pci@2/scsi@0/sd@3,0 848> 848> 848> 848>

2.

Run the following command to create the RAID 1 relationship between the first and second disks. # raidctl -c c1t0d0 c1t1d0 When the system displays the following message, enter yes for confirmation.
Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)?

3.

Run the following command to check whether the RAID 1 of hard disks is successfully created. # format If the number of hard disks is three instead of four, you can infer that the RAID 1 of hard disks is successfully created.

4.

Perform the following operations to mark the hard disk numbered 0. When the system displays the following message, enter 0 to select the hard disk numbered 0.
Specify disk (enter its number): 0

When the system prompts the following information, enter y.


Disk not labeled. Label it now? y

7-12

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

When the system displays the format> prompt, run the following command to specify the disk type: format> type When the system displays the following message, enter 0.
Specify disk type (enter its number)[20]: 0

When the system prompts the following information, enter y.


Disk not labeled. Label it now? y

Run the following command to mark the disks: format> label When the system displays the following message, enter y.
Ready to label disk, continue? Y

5.

Press Ctrl+D to exit format.

Step 9 To install the Solaris and its patches on the T5220 server, perform the following operations. 1. Run the following command to switch the system to the ok state. # init 0 If the system prompts the following information, enter o. This step is skipped if no following information.
Program terminated r)eboot, o)k prompt, h)alt?

2.

Run the installation scripts of the Solaris and its patches. ok boot cdrom - install

CAUTION
There is a space between install and - in the previous command. 3. If the system prompts Install as a node of Sun Cluster Dual system? [default:n]], choose according to the actual situation.
l l

For a single-server system, enter N. For a dual-server system, enter Y.

The installation takes about 35~60 minutes and the server restarts after the installation is complete. 4. Press Enter and then log in to the server as user root.
NOTE

The initial password of user root is root.

5.

Run the following command to remove the Auto_Install_DVD2/3_For Solaris_OS_sun4v_V2.1 disk.


Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-13

Issue 06 (2010-06-15)

7 Installing and Configuring the T5220 Server (HA)


NOTE

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

After the server restarts, if the system prompts No default media available, run the following commands to start the DVD-ROM drive: # /etc/init.d/volmgt stop # /etc/init.d/volmgt start

# cd / # eject 6. Reconnect all the cables to the Ethernet ports on the server. As planned, the main configurations performed during the installation of the Solaris and its patches are as follows:
l l l

Partition of the local disks of the server. Mirroring of the local disks. Setting of the active Ethernet port on the server. The e1000g0 of the server should be set as the active port.

----End

7.5 Checking the Version and Patches of the Solaris


This describes how to check the version and patches of the Solaris operating system and to make sure that the M2000 server application can be installed in the operating system of the designated version. For the mapping between the M2000 server versions and the operating system versions, see the version configuration table. Perform this operation on both nodes.

Prerequisite
You have logged in to the M2000 server as user root.

Procedure
Step 1 Run the following command to view information about the version and patches of the Solaris. # uname -X
System = SunOS Node = osssvr-1 Release = 5.10 KernelID = Generic_141414-07 ......
NOTE

In the system output, the values of Node and NumCPU vary with the system configuration.

In the system output, Release specifies the version of the operating system and its value is 5.10 ; KernelID specifies the Version ID of the kernel and its value is Generic_141414-07 or a value indicating a later version. A greater number of the KernelID indicates a later version. If the versions of the operating system and its patches are different from those in the version configuration table, contact Huawei technical support personnel for assistance. ----End
7-14 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

7.6 Checking the Disk Partitioning of the M2000 Server (HA)


To ensure that the M2000 server software can function properly, you need to check whether the actual partitioning is consistent with that predefined in the server disk partitioning plan. If the actual partitioning is different, contact Huawei technical support personnel for assistance. You need to check the partitioning on both nodes.

Prerequisite
Log in to the two nodes as user root, respectively.

Procedure
Step 1 Check the partitioning of the first local disk of the server. # format Enter 0 to check the first local hard disk. Specify disk (enter its number): 0 format> p partition> p In the system output, Part indicates the partition number and Size indicates the size of the partition. Check whether the actual partitioning of the disk is consistent with that predefined in Table 7-8. You need to pay attention to only Part and Size. unassigned may be displayed in Tag, this is normal. If the actual partitioning is different, contact Huawei technical support personnel for assistance.

CAUTION
Because the Solaris system automatically adjusts the size of each partition during the partitioning, the actual sizes of partitions are slightly different from the planned sizes. You can ignore the difference.

Table 7-8 References for server disk partitions Server type T5220 M4000/M5000 References 7.1 Partition Planning of the T5220 Server (HA) 8.1 Partition Planning of the M4000/ M5000 Server (HA)

Step 2 Run the following command to quit partition>. partition>q


Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-15

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 3 Run the following command to exit from format. format> q ----End

7.7 Checking the Mirrors of the Local Disk on the Server (HA, T5220)
This describes how to check whether the mirroring of local disks is successful to guarantee the normal operation of the server. If the actual partitioning is different, contact Huawei technical support personnel for assistance. You need to check the partitioning on both nodes.

Prerequisite
Log in to the two nodes as user root, respectively.

Procedure
Step 1 Run the following command to check whether the disk mirroring relation is successfully set up. # raidctl -l c1t0d0
Volume Sub Size Stripe Size Status Cache RAID Level

Disk ---------------------------------------------------------------c1t0d0 136.6G N/A OPTIMAL N/A RAID1 0.0.0 136.6G GOOD 0.1.0 136.6G GOOD

Check the system output. Ensure that the value of RAID Level is RAID1. Ensure that the DISK column has two values and the status is GOOD. If not, contact Huawei technical support personnel for assistance. ----End

7.8 Configuring the Hostname and the IP Address of the Server (HA)
Run the script file to set the host name and IP address of the server and other basic parameters. You need to perform the operation on both node 1 and node 2.

Prerequisite
l l l

The communication between the PC and the server is normal. You have logged in to node 1 and node 2 as user root. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available.

7-16

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Context
NOTE

When the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is used for installation, the installation log is recorded in the /opt/installtmp/autoinstall.log file.

Each configuration performed through the script confirms to the plan. If you plan to know a specific host name and IP address of the server, seeTable 7-9: Table 7-9 Planning of the M2000 host name and IP address Server type T5220 server M4000/M5000 server References 7.2 Planning the Host Name and IP Address for the T5220 Server (HA) 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA)

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of the server. Step 2 Run the following commands to run the configuration script: # cd /cdrom/cdrom0/baseconfig # ./config_basesetting.sh
NOTE

If the system prompts No default media available, run the following commands to start the DVD-ROM drive: # /etc/init.d/volmgt stop # /etc/init.d/volmgt start

Step 3 If the system displays the following prompt, select the relevant option based on the actual situation, and then press Enter to continue.
Config default system parameter: 1. 2. 3. 4. 5. 6. 7. Q. Single server system HA Node1 HA Node2 Netra 240 administration console HA Node1 (Watchman) HA Node2 (Watchman) Other systems (Not modifying the IP address) Quit

Please select a option: l l

If the local server needs to be set node 1 of an HA system, enter 2. If the local server needs to be set node 2 of an HA system, enter 3.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-17

Issue 06 (2010-06-15)

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 4 When the system displays Are you sure ?[Y/N] Y, enter Y for confirmation.
NOTE

This process takes about five minutes. The host name and IP address of the server are initialized and other basic parameters are configured during the process. After the configuration is complete, the server automatically restarts.

----End

7.9 Changing the IP Address of the S2600 Disk Array (Serial Port Mode)
This section describes how to change the IP address of the S2600 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S2600 disk array needs to be changed.

Prerequisite
l l

The communication between the disk array and the server is normal. The disk array is powered on.

Context
l l

Each disk array has an active controller and a standby controller. Each controller has one CLI serial port. Before changing the IP address of the disk array, you must familiarize yourself with the default IP address planning at delivery. Then, determine whether to reconfigure the IP address according to the actual situation. The IP address mentioned here is only an example. Replace it with the actual IP address. If you change the IP address of the disk array on different network segments, continue to change the IP address of the maintenance Ethernet port on the corresponding server to ensure that the two changed IP addresses are on the same network segment.

l l

Procedure
Step 1 Use the serial port cable to connect any serial port on a controller of the disk array and a serial port on the PC. Figure 7-5 shows the disk array. Figure 7-5 Serial ports provided by the S2600 disk array

7-18

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


NOTE

7 Installing and Configuring the T5220 Server (HA)

l l

You must use the serial port cable delivered by the disk array; otherwise, the disk array may fail to be connected. When using the serial port cable to connect a controller and the maintenance terminal, you must use the serial port cable to connect the maintenance terminal first. When disconnecting the controller from the maintenance terminal, you must remove the serial port cable from the controller first. After using the serial port cable to connect a controller and the maintenance terminal, do not enable the controller and the maintenance terminal at the same time. After using the DB9-RJ45 serial port cable to connect a controller and the maintenance terminal, you need to use the HyperTerminal or any other program provided by the Windows operating system to log in to the CLI serial port.

l l

Step 2 Choose Start > Programs (P) > Accessories > Communications > HyperTerminal on the PC. Step 3 In the Connection Description dialog box, type the name of a new connection. Step 4 Select a PC serial port, for example, COM1, which is connected to the disk array. Step 5 Set the properties of the serial port by referring to Table 7-10. Then, click OK. Table 7-10 Setting the properties of the serial port Property Bits per second Data bits Parity Stop bits Flow control Value 115200 8 None 1 None

Step 6 Press Enter. If the connection is successful, a dialog box is displayed, as shown in Figure 7-6. Figure 7-6 Successful connection dialog box

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-19

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 7 Type the correct user name and password. The successful login dialog box is displayed, as shown in Figure 7-7.

CAUTION
The initial user name and password of the administrator are admin and 123456, respectively. To ensure the system security, you need to change the password after the initial login.

Figure 7-7 Successful login dialog box

Step 8 Run the following command to set the IP address of the management Ethernet port on controller A: OceanStor: admin> chgctrlip -c a -a IP address of controller A -s subnet mask -g gateway For example, to change the IP address of the management Ethernet port on controller A to 192.168.8.39, run the following command: OceanStor: admin> chgctrlip -c a -a 192.168.8.39 -s 255.255.255.0 -g 192.168.8.1 When the system displays the following prompt, type y.
OceanStor: admin> chgctrlip -c a -a 192.168.8.39 -s 255.255.255.0 This operation will change your controller's IP configuration. if you want to ch ange the IP of the controller you logged in, you will log out after you set the new IP. However, if you change the IP of the peer controller, you needn't log out. Do you want to continue? y or n: y

Step 9 Run the following command to check whether the changed IP address is correct: OceanStor: admin> showctrlip -c a
7-20 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


Controller IP Address A 192.168.8.39 00:18:82:e2:00:fb

7 Installing and Configuring the T5220 Server (HA)


Subnet Mask 255.255.255.0 Gateway 192.168.8.1 MAC Address

Step 10 Run the following command to set the IP address of the management Ethernet port on controller B: OceanStor: admin> chgctrlip -c b -a new IP address of controller B -s subnet mask -g gateway For example, to change the IP address of the management Ethernet port on controller B to 192.168.8.40, run the following command: OceanStor: admin> chgctrlip -c b -a 192.168.8.40 -s 255.255.255.0 -g 192.168.8.1 When the system displays the following prompt, type y.
This operation will change your controller's IP configuration. if you want to ch ange the IP of the controller you logged in, you will log out after you set the new IP. However, if you change the IP of the peer controller, you needn't log out. Do you want to continue? y or n: y

Step 11 Run the following command to check whether the changed IP address is correct: OceanStor: admin> showctrlip -c b
IP Address B 192.168.8.40 00:18:82:e2:01:57 Controller Subnet Mask 255.255.255.0 Gateway 192.168.8.1 MAC Address

----End

7.10 Changing the IP Address of the S3X00 Disk Array (Serial Port Mode)
This section describes how to change the IP address of the S3X00 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S3X00 disk array needs to be changed.

Prerequisite
l l

The communication between the disk array and the server is normal. The disk array is powered on.

Context
l

Each disk array has an active controller and a standby controller. Each controller has one CLI serial port. Before changing the IP address of the disk array, you must familiarize yourself with the default IP address planning at delivery. Then, determine whether to reconfigure the IP address according to the actual situation. The IP address mentioned here is only an example. Replace it with the actual IP address. If you change the IP address of the disk array on different network segments, continue to change the IP address of the maintenance Ethernet port on the corresponding server to ensure that the two changed IP addresses are on the same network segment.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-21

l l

Issue 06 (2010-06-15)

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Procedure
Step 1 Use the serial port cable to connect the serial port of the disk array controller and that of the PC. Figure 7-8 shows the disk array. Figure 7-8 Serial ports provided by the S3X00

NOTE

Do use the serial port cable delivered with the disk array. This cable is designed for storage devices. If you use a serial port cable for other devices, the communication may fail. The controller connected through the serial port indicates the one that is being set. Controller A is on the left side and controller B on the right.

Step 2 Choose Start > Programs (P) > Accessories > Communications > HyperTerminal on the PC. Step 3 In the Connection Description dialog box, enter the name of the new connection. Step 4 Specify a serial port of the PC to connect the SC, for instance, COM1. Step 5 Set the properties of the serial port. For details about how to set the properties of the serial port, see Table 7-11. Then, click OK. Table 7-11 Setting the properties of a serial port Property Bits per second Data bits Parity Stop bits Flow control Property Value 38400 8 None 1 None

Step 6 Press Ctrl+Break to activate the Shell serial port. Step 7 When the following message is displayed in the HyperTerminal window, press Esc in 5 seconds. The Shell login window is displayed.
Press within 5 seconds: <S> for Service Interface , <BREAK> for band rate

Step 8 When the following information is displayed, type the login password infiniti and then press Enter to log in to the configuration shell of the disk array.
7-22 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


Enter password to access shell:

7 Installing and Configuring the T5220 Server (HA)

Step 9 Run the following command to view the information about Ethernet port configuration on the current controller. -> netCfgShow Step 10 Run the netCfgSet command to set the IP address for the Ethernet port. In the IP Address if0 filed, type 192.168.8.39. If you need to modify the subnet mask, type the new value in the Subnet Mask if0 filed.
NOTE

You need to configure only if0.

Step 11 Press Enter. When the modification tasks effect, the following information is displayed:
Network Configuration successfully written to NVSRAM.

Step 12 Connect the serial port cable to controller B and then perform the same procedure. ----End

7.11 Configuring the S2600 Disk Array (HA)


This section describes how to configure the S2600 disk array. Each S2600 disk array has an active controller and a standby controller. You can configure the S2600 disk array by setting up a connection between the server and the active controller. Both of the S2600 disk arrays need to be configured.

Prerequisite
l l l

You have installed the operating system and its patches on the server. You have logged in to node 1 as user root. The connection between servers and the connection between servers and the disk array are normal. The S2600 disk array is powered on. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 DVD-ROM is available.

l l

Context

CAUTION
If the configuration of the script fails when the two IP addresses of the S2600 disk array can be pinged, run the script again or even twice. If the configuration of the script fails again, contact Huawei technical engineers for assistance.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 DVD-ROM into the DVD-ROM drive of node 1.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-23

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 2 Run the following command to install the expect package. 1. Run the following commands to run the installation script of the expect package: # cd /cdrom/cdrom0/HWS2600Array # ./install_expectpkg.sh 2. When the following information is displayed, type osssvr-1 osssvr-2, that is, the host names of node 1 and node 2. Use a space to separate the two host names.
NOTE

Typing the host names of both nodes indicates that the expect package is installed on both node 1 and node 2. If you type only one host name, it indicates that the expect package is installed on only one node.
Input the system names separated by space on which to Expect PKG: [default:osssvr-1]osssvr-1 osssvr-2

3.

When the following information is displayed, type y.


Are you sure to continue? [y/n]y

If no error information is displayed, it indicates that the installation is successful. Step 3 Configure the volumes of the S2600 disk array. 1. Run the following commands to configure the RAID of the S2600 disk array:

CAUTION
The creation of the disk array volume takes about 100 to 180 minutes. If the disk status indicator remains green and does not blink, you can infer that the volumes are created successfully. After the configuration script is executed, check that the volumes of the disk array are created. Then, you can use PlatformTools to create volumes. # cd /cdrom/cdrom0/HWS2600Array # ./create_RAID_HA.sh When the system displays the following prompt, type the corresponding values:
Are you sure to continue? [y/n] y Please input the array controller A IP address: IP address of controller A of the S2600 disk array Please input the array controller A IP address: IP address of controller B of the S2600 disk array Input the system names separated by spaces for HA servers : [default:osssvr-1 osssvr-2] osssvr-1 osssvr-2 Input the DiskArray names:[default:S2600-1]: If the first disk array, input S2600-1; if the second disk array, input S2600-2 Input the DiskArray password for admin user:[default:123456]:Input the password of admin user Input the DiskArray password for DB configuration:[default:654321]:Input the password of DB configuration Are you sure to continue? [y/n] y

When the system displays Configure the diskarray successfully, you can infer that the script is successfully executed. Step 4 Check the volumes of the S2600 disk array. 1.
7-24

Run the following command to log in to the S2600 disk array:


Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

# ssh admin@IP address of controller A of the S2600 disk array: 192.168.8.39


Password:<The initial password of the administrator is 123456>

CAUTION
After you log in to the S2600 disk array, the system displays the following information:
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory

This problem is related to the setting of environment variables, and does not affect the configuration of the S2600 disk array. You can ignore the information when installing the disk array. If the disk status indicator remains green and does not blink, you can infer that the RAID is created. After running the configuration script, ensure that the RAID of the disk array is created. Then, you can use the PlatformTools to create volumes. 2. Run the following command to check the information about the mapping and host group: OceanStor: admin> showlun
ID 0 1 2 RAID ID 0 0 0 Status Formatting Formatting Formatting Ctrler A B A Capacity(MB) LUN Name 687103 oss_app0 687103 oss_app1 687103 oss_app2

The information about at least three volumes is displayed. If the value of Status is Formatting, you can infer that the RAID of the S2600 disk array is being created. If the value of Status is Normal, you can infer that the RAID is created. OceanStor: admin> showmap -gi 1
Map ID Ctrler 0x10000 A 0x10001 B 0x10002 A Dev LUN ID Host LUN 0 1 2 Mapped to RAID ID 0 Group: 1 1 Group: 1 2 Group: 1 Dev LUN Cap(MB) 0 687103 0 687103 0 687103

If the system output contains three records, you can infer that the mapping is successful. OceanStor: admin> showhostport -i 0
Port ID Port Name Port Information osssvr-1_ 500110a00015354c port_0 1 osssvr-1_ 500110a0001532ae port_1 2 osssvr-1_ 500110a00015354c port_0 3 osssvr-1_ 500110a0001532ae port_1 0 Port Type FC FC FC FC Host ID 0 0 0 0

If the system output contains four records, you can infer that the host group is successfully created. OceanStor: admin> showhostport -i 1
Port ID Port Name Port Information osssvr-2_ 500110a00015354d port_0 1 osssvr-2_ 500110a0001532ad port_1 2 osssvr-2_ 500110a00015354d port_0 3 osssvr-2_ 500110a0001532ad port_1 0 Port Type FC FC FC FC Host ID 0 0 0 0

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-25

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

If the system output contains four records, you can infer that the host group is successfully created. 3. Run the following command to log out of the S2600 disk array: OceanStor: admin> exit Step 5 Repeat Step 3 through Step 4 to complete the configuration of the second disk array. Step 6 Restart the server. # sync; sync; sync; sync; sync; sync # shutdown -y -g0 -i6 Step 7 After you log in to the server again, remove the DVD-ROM. # cd / # eject ----End

7.12 Configuring the S3100 Disk Array (HA, T5220)


Each S3100 disk array has an active controller and a standby controller. You can configure the S3100 disk arrays by setting up a connection between the server and the active controller. Both the two S3100 disk arrays need to be configured.

Prerequisite
l l l l

You have installed the operating system and patches on the server. You have logged in to node 1 and node 2 as user root. The communication between the disk array and the server is normal. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available.

Context

CAUTION
l

You should install the management host software of the disk array both on node 1 and node 2. If the configuration of the script fails when the IP addresses of the two 6140 disk arrays can be pinged, run the script again or even twice. If the configuration of the script still fails, contact Huawei engineers for technical support.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of the server.
7-26 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Step 2 Install the management host software of the disk array on the server. 1. Run the following commands to run the script of the management host software: # cd /cdrom/cdrom0/S3X00array # ./install_S3X00software.sh 2. When the system displays Are you sure ?[Y/N], enter Y. Step 3 Configuring the Disk Array. This operation is performed only on Node1.

CAUTION
The creation of the disk array volume takes about 90~120 minutes. If the disk status indicator remains green and does not blink, you can infer that the volumes are created. You can use the PlatformTools to create volumes only when checking that the volumes of the disk array are created after the configuration scripts are run.
TIP

Run the following commands to check whether the volumes are created successfully. # SMcli 192.168.8.39 192.168.8.40 -c "show volume["oss_v0"] actionProgress;" # SMcli 192.168.8.39 192.168.8.40 -c "show volume["oss_v1"] actionProgress;"

1.

Run the following command to run the configuration script: # cd /cdrom/cdrom0/S3X00array # ./create_S3X00_raid.sh When the system displays the following message, enter y for confirmation.
Are you sure to continue? [y/n]

2.

When the system displays the following message, enter the IP address of controller A, for example, 192.168.8.39.
Please input the array controller A IP address:

3.

When the system displays the following message, enter the IP address of controller B for example, 192.168.8.40.
Please input the array controller B IP address:

4. 5.

When the system displays the following message, enter S3100-1, the name of the disk array.
Please input the array name:

When the system displays the following message, enter y for confirmation.
Are you sure to continue? [y/n]

Step 4 Check the configuration of the disk array.


*************************************Current Volumes**************************** Number of standard volumes: 2 See other Volumes sub-tabs for premium feature information. NAME oss_v0 oss_v1 STATUS CAPACITY Optimal 800 GB 5 Optimal 800 GB 5 RAID LEVEL 1 2 VOLUME GROUP

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-27

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

********************************Current hotspare disks*************************** Disk 85,15 : Mode: Hot spare standby Disk 85,16 : Mode: Hot spare standby Configure the S3100 diskarray successfully. Please reboot server.

After the configuration is complete, verify that the two volumes naming oss_v0 and oss_v1 exist under the Current Volumes, the RAID value in two volumes is 5, and two records beginning with Disk are available under the Current hotspare disks. If the actual situation does not meet the requirement, perform Step 3 for reconfiguration. Step 5 Repeat Step 3 through Step 4 to implement the configuration of the second disk array. ----End

7.13 Enabling Multi-Path I/O (HA)


This describes how to enable the I/O multipathing of the Solaris system. You need to perform the operation on both node 1 and node 2.

Prerequisite
You have logged in to the server as user root.

Procedure
Step 1 Run the following command to enable the I/O multipathing: # stmsboot -D fp -e Step 2 When the system displays the following prompt, press Enter to continue:
WARNING: This operation will require a reboot. Do you want to continue ? [y/n] (default: y)

Step 3 When the system displays the following prompt, press Enter to continue:
The changes will come into effect after rebooting the system. Reboot the system now ? [y/n] (default: y)

The operating system restarts twice. ----End

7.14 Labeling Volumes for the Disk Array (HA)


This describes how to label each logical partition so that the operating system can find the associated logical partitions of the disks on the disk array.

Prerequisite
l l

You have labeled the logical partitions on the disks of the disk array. You have logged in to the server as user root.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

7-28

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Context
There are three standard models of disk arrays coming with the system: StorEdge 6140, OceanStor S2600 or OceanStor S3200 disk arrays. The methods for labeling volumes of both models are the same. This takes the OceanStor S2600 as an example.

Procedure
Step 1 Check whether the operating system can find the logical partitions of the disks on the S2600 disk array. You need to perform the operation on both node 1 and node 2. # format View the displayed information, and check whether the information about the six logical partitions is contained.
AVAILABLE DISK SELECTIONS: 0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0/pci@0/pci@2/scsi@0/sd@0,0 1. c1t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0/pci@0/pci@2/scsi@0/sd@2,0 2. c6t6001882100E6B4BB4AE099D900000000d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b4bb4ae099d900000000 3. c6t6001882100E6B4BB4AE099DB00000001d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b4bb4ae099db00000001 4. c6t6001882100E6B4BB4AE099DD00000002d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b4bb4ae099dd00000002 5. c6t6001882100E6B6114AE0BF9A00000000d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b6114ae0bf9a00000000 6. c6t6001882100E6B6114AE0BF9B00000001d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b6114ae0bf9b00000001 7. c6t6001882100E6B6114AE0BF9D00000002d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b6114ae0bf9d00000002 Specify disk (enter its number):

sec 335> sec 335> sec 335> sec 335> sec 335> sec 335>

If the Solaris operating system does not find the disks in the disk array, perform Step 2 to search for the disks in the disk array again. Step 2 Run the following command to search for the disks on the disk array again: # cfgadm -al The system displays the following information:
Ap_Id . c2 c2::200400a0b817e7b8 c2::200500a0b817e7b8 c2::210000e08b104d10 c3 c3::200400a0b817e7b9 c3::200500a0b817e7b9 c3::210000e08b102a73 Type fc-private disk disk unknown fc-private disk disk unknown Receptacle connected connected connected connected connected connected connected connected Occupant Condition

unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown

Identify fc-private in the column Type and the corresponding values in AP_Id. Then, run the following command on each matching AP_Id: In this sample, the corresponding values in AP_Id are c2 and c3. # cfgadm -c configure c2 # cfgadm -c configure c3
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-29

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Then, perform Step 1 to view the information about the logical partitions. Step 3 Perform the following steps to label the logical partitions found by the operating system: Perform this operation only on node1. 1. The system displays the following message after you run the format command. Enter the number corresponding to the logical partition on the disk array, which is 2 in this example.
Specify disk (enter its number):2

2.

Label the logical partitions of the disks. Enter y at the following information:
selecting c6t6001882100E6B4BB4AE099D900000000d0 [disk formatted] Disk not labeled. Label it now?

After running the command label, enter yes at the following information:
FORMAT MENU: disk type partition current format repair label analyze defect backup verify save inquiry volname !<cmd> quit select a disk select (define) a disk type select (define) a partition table describe the current disk format and analyze the disk repair a defective sector write label to the disk surface analysis defect list management search for backup labels read and display labels save new disk/partition definitions show vendor, product and revision set 8-character volume name execute <cmd>, then return

format> label Ready to label disk, continue?

3.

Repeat Step 3.1 and Step 3.2 to label other logical partitions after running the following command: format> disk

Step 4 Exit from format. format> q ----End

7.15 Installing and Configuring the Sun Cluster Software and Patches
The Sun Cluster software is used to manage the system resource. Thus, system resource can be automatically switched to the standby server to keep the normal operation of the system when the active server is faulty.

Prerequisite
l

You have installed the operating system and its patches on the server.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

7-30

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


l l

7 Installing and Configuring the T5220 Server (HA)

You have logged in to node 1 and node 2 as user root. You have inserted the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVDROM drive of the server.

Procedure
Step 1 Install the Sun Cluster software and patches. Run the operation on both node 1 and node 2. 1. Run the following command to install the Sun Cluster software and patches. # cd /cdrom/cdrom0/suncluster3.2 # ./install_suncluster.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

The installation lasts for about 25 minutes.

2.

Run the following command to install the Sybase Agent # ./install_sybase_SUN_agent.sh When the system displays Are you sure ?[Y/N] , enter Y.

3.

Run the following command to install the Sun Cluster software and patches. # ./install_suncluster_patch.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

You can ignore the failed messages during the installation. This process lasts about 10 minutes. Then, the server automatically restarts.

Step 2 Configure the Sun Cluster. 1. Run the following command on node 1 to configure the Sun Cluster. # cd /cdrom/cdrom0/suncluster3.2 # ./config_suncluster.sh When the system displays Are you sure ?[Y/N] , enter Y.

CAUTION
Node 1 automatically restarts. After the restart of node 1 is complete, perform Step 2.2 to configure the Sun Cluster on node 2. 2. Run the following command on node 2 to configure the Sun Cluster. # cd /cdrom/cdrom0/suncluster3.2 # ./config_suncluster.sh When the system displays Are you sure ?[Y/N] , enter Y.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-31

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

CAUTION
Node 2 automatically restarts. After the restart of node 2 is complete, perform Step 2.4 to configure the Sun Cluster on node 2. 3. 4. Log in to node 1 as user root again. Run the following command on node 1 to configure qurom device. # cd /cdrom/cdrom0/suncluster3.2 # ./config_qurom_device.sh When the system displays Are you sure ?[Y/N] , enter Y. ----End

7.16 Checking Installation of the Sun Cluster Software and Patches


After installing the Sun Cluster software and its patch on Node1 and Node2, you must check that the Sun Cluster software is correctly installed and the software is operational. This operation is performed only on Node1.

Prerequisite
You have logged in to the server as root.

Procedure
Step 1 Check the status of Node1 and Node2. # scstat -q If the displayed information meets all the following conditions, you can infer that the Cluster is properly installed:
l

The number of Quorum votes possible and that of Quorum votes present is 3. The values of Status on both Node1 and Node2 are Online. The value of Status in Device votes is Online.
Quorum votes possible: Quorum votes needed: Quorum votes present: 3 2 3

l l

-- Quorum Summary --

-- Quorum Votes by Node -Node Name --------osssvr-1 osssvr-2 Present Possible Status ------- -------- -----1 1 Online 1 1 Online

Node votes: Node votes:

7-32

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


-- Quorum Votes by Device -Device Name ----------/dev/did/rdsk/d4s2

7 Installing and Configuring the T5220 Server (HA)

Device votes:

Present Possible Status ------- -------- -----1 1 Online

----End

7.17 Installing and Configuring the Volume Manager


This describes how to install the VERITAS Volume Manager on the server. You can regroup several physical disks on the disk array into logical devices to facilitate the management. The logical devices refers to volumes. You need to perform the operation on both node 1 and node 2.

Prerequisite
l l l l

You have installed the operating system and its patches on the server. You have logged in to the server as user root. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available. You have obtained the license of the Volume Manage. If the license is not available, contact Huawei technical support personnel for assistance.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of the server. Step 2 Run the following commands to install the Volume Manager: # cd /cdrom/cdrom0/veritas5.0 # ./install_VXVM.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

The process takes about 15~30 minutes.

Step 3 Install the patches of the Volume Manager. # ./install_VXVM_patch.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

This process takes about 15 to 30 minutes. Then, the server automatically restarts.

Step 4 Log in to the server as user root again. Step 5 Configure the Volume Manager. 1. Run the configuration script file of the Volume Manager. # cd /cdrom/cdrom0/veritas5.0 # ./config_VXVM.sh
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-33

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

When the system displays Are you sure ?[Y/N] , enter Y. 2. When the system displays Enter your license key :, enter the license of the Volume Manager. The system displays the following message after the configuration is complete:
Creating a report on all VERITAS products installed on this system -----------------***********************----------------License Key Product Name Serial Number License Type OEM ID Features := VxVM CPU Count Platform Version Current vxdctl mode: mode: enabled = = = = Enabled Not Restricted Solaris 4.1 = = = = = ****-****-****-****-****-****-****-** VERITAS Volume Manager 22854 PERMANENT 2002

In the previous message, if the value of VxVM is Enabled, you can infer that the installation and configuration of the Volume Manager are correct. Otherwise, perform Step 2 through Step 5 to install and configure the Volume Manager again.
NOTE

The process takes about 10 minutes.

Step 6 After installing the VERITAS Volume Manager software on node 1 and node 2, check whether the field values of vxio and did in the /etc/name_to_major file on node 1 are consistent with that on node 2.
NOTE

In the system output, the values of vxio and did vary with the system configuration. The following takes the values 318 and 239 as an example.

1.

Run the following command on node 1 to view the node information. # grep "vxio" /etc/name_to_major
vxio 318

# grep "did" /etc/name_to_major


did 239

2.

Run the following command on node 2 to view the node information. # grep "vxio" /etc/name_to_major
vxio 318

# grep "did" /etc/name_to_major


did 239

3.

Check whether the field values of vxio and did in the /etc/name_to_major file on node 1 are consistent with that on node 2. In the case of inconsistency, proceed with Step 6.4 and
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

7-34

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Step 6.5, change the values of node 2 to ensure that the values are consistent with that of node 1. 4. Run the following command on node 2 to modify the node information. a. b. Run the following command to backup the /etc/name_to_major. # cp /etc/name_to_major /etc/name_to_major.bak Run the following command to modify the value of vxio. # grep -v vxio /etc/name_to_major > /tmp/name_to_major.new # echo "vxio 318" >> /tmp/name_to_major.new # mv /tmp/name_to_major.new /etc/name_to_major # chmod 644 /etc/name_to_major c. Run the following command to modify the value of did. # grep -v did /etc/name_to_major > /tmp/name_to_major.new # echo "did 239" >> /tmp/name_to_major.new # mv /tmp/name_to_major.new /etc/name_to_major # chmod 644 /etc/name_to_major 5. Run the following command on node 2 to restart the node. # sync;sync;sync;sync;sync;sync # shutdown -g0 -y -i6 ----End

7.18 Checking the Installation of the Volume Manager


This describes how to check whether the Volume Manager and its license are installed successfully on both Node1 and Node2.

Prerequisite
l l

You have logged in to the M2000 server as user root. The license number of the Volume Manager is available.

Procedure
Step 1 Check whether the license of the Volume Manager is installed successfully. # vxlicrep In the output information, if the License Type is DEMO, you can infer that the license installed is a temporary one.
NOTE

The license installed before the delivery is a demo. Therefore, you need to apply for a commercial license and replace the demo with the commercial license on site.

Step 2 Check whether the Volume Manager is correctly installed. # vxdctl mode
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-35

7 Installing and Configuring the T5220 Server (HA)


mode: enabled

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

If mode is enabled, you can infer that the Volume Manager is correctly installed. ----End

7.19 Uploading the PlatformTools Installation Package to the Server


Creating the M2000 database and setting the disks on the server are both performed through the PlatformTools. Therefore, you should upload the PlatformTools installation package to the server beforehand. Perform this task on each server.

Prerequisite
l l

You have logged in to the server as user root. The PlatformTools installation package is available.

Procedure
Step 1 Upload the PlatformTools installation package from the PC to the server.
TIP

If the file path contains a space, enclose the path with double quotation marks in DBC case. Otherwise, the system cannot identify this path. As a result, the files cannot be uploaded or downloaded. Do not place the file on the desktop of the PC that uses the Microsoft Windows operating system, because the desktop path contains spaces.

1. 2. 3.

Switch to the command mode on the PC and run the ftp command. ftp IP address of the server Enter the user name and password of user root. Set the file path on the PC and the server. ftp> lcd path of the installation package on the PC ftp> cd /opt

4.

Set the transfer mode to binary mode. ftp> bin

5.

Upload the installation package. ftp> put *M2000-TOOL*Platform*.tar.gz The installation package starts to be uploaded to the server. After the file transfer is complete, the system is switched to the ftp> state.

6.

Quit the ftp. ftp> bye

Step 2 To unpack the file package of PlatformTools, run the following command on the server: # cd /opt # /usr/sfw/bin/gtar zxf *M2000-TOOL*Platform*.tar.gz
7-36 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Step 3 To set authorization to the PlatformTools directory, run the following command on the server: # cd /opt/PlatformTools # chmod -R 750 /opt/PlatformTools ----End

7.20 Configuring M2000 Disks (HA, T5220)


This section describes how to set disks on the disk array by using the PlatformTools. The setting of disks involves the creation of volumes on the disk array and the creation of file system on the exporthome volume. Before configuring the disk array, you must customize the operating system. You must customize the operating system on both node 1 and node 2 and need to configure the disk array only on node 1.

Prerequisite
l l

You have logged in to node 1 and node 2 as user root. The network connection between the PC and node 1 and that between the PC and node 2 are normal. The file package of PlatformTools has been unpacked to the /opt directory of the server.

Context

CAUTION
When the PlatformTools tool is running, ensure that the PC is connected with the server. After starting the PlatformTools, you can type R on the system interface to return to the previous menu, or type Q to exit the PlatformTools.

Procedure
Step 1 Perform the following operations on node 1 and node 2 separately to customize the Solaris system parameters. 1. Run the following commands to start the PlatformTools: # cd /opt/PlatformTools # ./setup 2. Choose Installation > Dual system > NodeN > T5220. In the previous menus, N indicates the current node where you perform operations. For example, if you perform operations on node 1, N indicates 1. When the system displays the following message, type y, and then press Enter.
Are you sure to continue? [y/n]

3.

Enter y to continue after confirming the displayed information.


Are you sure to continue? [y/n]

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-37

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

4.

On the displayed interface, choose Customize the Solaris. When the system displays the following message, type y, and then press Enter to start customizing the Solaris system.
Do you want to customizing solaris? [y/n]
NOTE

When the system displays Customize the Solaris completed successfully., it indicates that the system is customized successfully.

If ... Node 1 Node 2

Then ... Perform Step 2 to Step 3. Perform Step 3.

Step 2 Perform the following operations on node 1 to create volumes. 1. On the displayed system, choose Create volumes to create volumes. When the system displays the following message, type y, and then press Enter to start creating volumes.
Do you want to create volumes? [y/n]
NOTE

If no fail or no error information is displayed, it indicates that the volumes are created. This process takes about 120 minutes.

2.

When the system displays the following message, press Enter to continue.
Hit RETURN to go back

Step 3 When the system returns to the main interface, type Q to quit the PlatformTools. ----End

7.21 Checking the Disk Configurations of the M2000 Server (HA


This describes how to check whether the local disk configurations are the same as planned. In the case of inconsistency, contact Huawei technical support personnel.

Prerequisite
l l

You have logged in to node 1 and node 2 as user root. The network connection between the PC and node 1 and that between the PC and node 2 are normal.

Procedure
Step 1 Run the following command to check whether node 1 is the active node. # scstat -g
7-38 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

View the system output to determine the active and standby nodes. For example, if the host name is osssvr_rs and disk name is ossdg_rs. the server whose resource status is online is the active node and the server whose resource status is offline is the standby node. Step 2 If node 1 is the standby node, run the following command to switch node 1 to the active node: # scswitch -S -h hostname of node 2 After the switchover, perform Step 1 to check whether node 1 is the active node. If node 1 is not the active node, performStep 2. Step 3 Run the following command on node 1 to check the settings of the disk array. # vxprint -pv If the values of STATE in the v and pl columns are ACTIVE in the displayed message, you can infer that the disks on the disk array are successfully set.
NOTE

The values of ASSOC in the columns where the TY NAME is dm varies according to the server configuration.

Step 4 Run the following commands on node 1 to check whether the exporthome volume is mounted to the export/home directory. # df -k
Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d100 17146994 10350431 6625094 61% / /devices 0 0 0 0% /devices ctfs 0 0 0 0% /system/contract proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab swap 9496440 1320 9495120 1% /etc/svc/volatile objfs 0 0 0 0% /system/object fd 0 0 0 0% /dev/fd swap 9495184 64 9495120 1% /tmp swap 9495224 104 9495120 1% /var/run swap 9495120 0 9495120 0% /dev/vx/dmp swap 9495120 0 9495120 0% /dev/vx/rdmp /dev/md/dsk/d215 1020815 3604 955963 1% /global/.devices/node@1 /dev/md/dsk/d115 1020815 3602 955965 1% /global/.devices/node@2 /dev/vx/dsk/ossdg/exporthome 144506594 2647322 140414207 2% /export/home

Ensure that the system output displays that the /dev/vx/dsk/ossdg/exporthome disk device is mounted to the /export/home directory. If the disk device is not mounted to the directory, contact Huawei technical support personnel for assistance. Step 5 Run the following commands on node 2 to check whether the exporthome volume is mounted to the export/home directory. # df -k
Filesystem /dev/md/dsk/d100 /devices ctfs proc mnttab swap objfs fd swap swap kbytes used avail capacity 17146994 10350431 6625094 61% 0 0 0 0% 0 0 0 0% 0 0 0 0% 0 0 0 0% 9496440 1320 9495120 1% 0 0 0 0% 0 0 0 0% 9495184 64 9495120 1% 9495224 104 9495120 1% Mounted on / /devices /system/contract /proc /etc/mnttab /etc/svc/volatile /system/object /dev/fd /tmp /var/run

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-39

7 Installing and Configuring the T5220 Server (HA)


swap swap /dev/md/dsk/d215 /dev/md/dsk/d115 9495120 9495120 1020815 1020815

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


0 9495120 0 9495120 3604 955963 3602 955965 0% 0% 1% 1% /dev/vx/dmp /dev/vx/rdmp /global/.devices/node@1 /global/.devices/node@2

Ensure that the system output displays that no disk is mounted to /export/home directory. Step 6 Run the following command to check whether the resource group is normal. The resource group must be in online status on either of the two nodes. # scstat -D
-- Device Group Servers -Device Group -----------ossdg Primary ------osssvr-2 Secondary --------osssvr-1

Device group servers: -- Device Group Status --

Device group status:

Device Group -----------ossdg

Status -----Online

-- Multi-owner Device Groups -Device Group -----------Online Status -------------

Step 7 Run the following command to check whether the shared devices are normal. The shared devices must be in online status on either of the two nodes. # scstat -g
-- Resource Groups and Resources -Group Name ---------Resources: oss_rg -- Resource Groups -Group Name ---------Group: oss_rg Group: oss_rg -- Resources -Resource Name ------------Resource: osssvr_rs Resource: osssvr_rs online. Resource: ossdg_rs Resource: ossdg_rs Node Name --------osssvr-1 osssvr-2 osssvr-1 osssvr-2 State Status Message -----------------Offline Offline Online Online - LogicalHostname Offline Online Offline Online Node Name --------osssvr-1 osssvr-2 State ----Offline Online Resources --------osssvr_rs ossdg_rs

----End

7.22 Installing and Configuring the Sybase (HA)


This describes how to install the Sybase and its patches on the server.
7-40 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Prerequisite
l l l

The communication between the PC and the server is normal. You have logged in to node 1 and node 2 as user root through the PuTTY. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 and SYBASE ASE15.0.3 License disk are available.

Procedure
Step 1 You have inserted the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of node 1. Step 2 Install the Sybase software and patches on node 1. # cd /cdrom/cdrom0/sybase # ./install_sybase.sh /opt/sybase Y When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

This process takes about 30 minutes. During the process, user dbuser is automatically created and the passward of the user is set to dbuser.

Step 3 Run the following commands to remove the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk: # cd / # eject Step 4 Perform the following operations to install the Sybase license. 1. 2. Insert the Sybase 15.0.3 license disk into the DVD-ROM drive of the server. Copy the license file from the disk to the /opt/sybase/SYSAM-2_0/licenses directory. # rm -rf /opt/sybase/SYSAM-2_0/licenses/* # cd /cdrom/cdrom0/ase15_li/solaris_ # cp *.lic /opt/sybase/SYSAM-2_0/licenses # chown dbuser:staff /opt/sybase/SYSAM-2_0/licenses/*
NOTE

The extension of the Sybase license file is .lic.

3.

Remove the license installation disk. # cd / # eject

Step 5 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of node 1 again. Step 6 Create the Sybase database server on node 1. This process takes about 30 minutes.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-41

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

CAUTION
l

192.168.8.31 in the following command is the planned logical IP address of node 1 and node 2. Replace the IP address based on the actual situation. For the T5220 server, see 7.2 Planning the Host Name and IP Address for the T5220 Server (HA). For the M4000/M5000 server, see 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA). In the following command, SYB is the name of the database server. Do not change this name unless otherwise specified.

# cd /cdrom/cdrom0/sybase # ./create_sybase_master.sh /export/home/sybdev 192.168.8.31 SYB When the system displays Are you sure ?[Y/N] , enter Y. Step 7 Run the following commands to remove the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk: # cd / # eject Step 8 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of node 2. Step 9 Creat user dbuser and the passward on node 2. # cd /cdrom/cdrom0/sybase # ./install_sybase.sh /opt/sybase N When the system displays Are you sure ?[Y/N] , enter Y. Step 10 Run the following commands to remove the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk: # cd / # eject ----End

7.23 Creating the M2000 Database (HA, T5220)


This describes how to create the M2000 database through the PlatformTools. To optimize the performance of the database, you need to set Sybase-related parameters before creating the database. You need to perform the operation on only node 1.

Prerequisite
l l

You have logged in to node 1 as user root through the PuTTY. You have decompressed the file package of the PlatformTools to the /opt directory of the server.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

7-42

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Context

CAUTION
When the PlatformTools tool is running, ensure that the PC is connected with the server.

Procedure
Step 1 Run the following commands on the server to start the PlatformTools. # cd /opt/PlatformTools # ./setup
NOTE

After starting the PlatformTools, you can type R on the system interface to return to the upper-level menu or type Q to exit the PlatformTools.

Step 2 On the displayed interface, choose Installation > Dual system > Node1 > T5220. When the system displays the following message, type y, and then press Enter.
Are you sure to continue? [y/n]

Step 3 On the displayed interface, choose Set Sybase parameters to configure the Sybase parameters. When the system displays the following prompt, type y to configure the parameters of the Sybase database.
Do you want to modify the parameters of Sybase? [y/n]

Step 4 When the system displays the following message, type the server name of the Sybase database that runs on the current server, and then press Enter:

CAUTION
The name of the Sybase database server that you enter must be consistent with that set in " Create the Sybase database server " in 7.22 Installing and Configuring the Sybase (HA).
Please input Database server , "q" to quit:

Step 5 When the system displays the following message, type sa, and then press Enter:
Please input Database user name , "q" to quit:

Step 6 When the system displays the following information, enter the password of user sa created on the current server. Then, press Enter. The default password of user sa is emsems.
Please input Database password
NOTE

, "q" to quit:

When the system displays Set the parameters of Sybase completed successfully., you can infer that the Sybase parameters are set successfully.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

7-43

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 7 When the system displays the following message, press Enter to continue.
Hit RETURN to go back

Step 8 On the displayed interface, choose Create an OMC database to create the database. When the system displays the following prompt, type y to create the database device.
Do you want to create database? [y/n]

Step 9 When the system displays the following message, type the server name of the Sybase database that runs on the current server, and then press Enter:

CAUTION
The name of the Sybase database server that you enter must be consistent with that set in " Create the Sybase database server " in 7.22 Installing and Configuring the Sybase (HA).
Please input Database server , "q" to quit:

Step 10 When the system displays the following message, type sa, and then press Enter:
Please input Database user name , "q" to quit:

Step 11 When the system displays the following information, enter the password of user sa created on the current server. Then, press Enter. The default password of user sa is emsems.
Please input Database password
NOTE

, "q" to quit:

When the system displays Create database completed successfully., you can infer that the database is created successfully. This process takes about 90 to 180 minutes.

----End

7.24 Troubleshooting: Failed to Set the Sybase Parameters by Using the PlatformTools (HA)
This describes a solution to the problem that you fail to set the Sybase parameters by using the PlatformTools.

Symptom
When you are setting the Sybase parameters by using the PlatformTools, the system displays the following message to acknowledge the failure to set the Sybase parameters.
Set the parameters of Sybase failed. Please check the log file.

Fault Analysis
Excessive memory is allocated to the database parameters defined by the current database configuration file SYB.cfg. Thus, free memory cannot meet the requirements for setting Sybase parameters.
7-44 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

Troubleshooting:
Log in to the server as user dbuser and restore the Sybase parameter configuration file. 1. Run the following commands to stop the Sybase: -bash-3.00$ isql -SSYB -Usa -P password of user sa 1> shutdown SYB_BACKUP 2>go 1> shutdown 2>go
NOTE

Run the command ps -ef | grep sybase | grep -v grep to check whether the Sybase is stopped. If no output is displayed, you can infer that the Sybase is stopped. If the Sybase is not stopped, run the kill -9 PID of Sybase command to forcibly stop the Sybase process. SYB in the previous commands refers to the name of the database server. Enter the name of the database server based on the actual situation.

2.

Run the following command to restore the Sybase parameter configuration file. -bash-3.00$ cd /opt/sybase/ASE-15_0 -bash-3.00$ cp SYB.cfg /tmp/SYB.bak -bash-3.00$ cp -p SYB.001 SYB.cfg

3.

Restart the Sybase. -bash-3.00$ cd /opt/sybase/ASE-15_0/install -bash-3.00$ ./startserver -f ./RUN_SYB


NOTE

It takes about 30 seconds to start the Sybase. Please wait.

Press Enter. When the -bash-3.00$ prompt is displayed, run the following command: -bash-3.00$ nohup ./startserver -f ./RUN_SYB_back SYB in the previous commands refers to the name of the database server. Enter the name of the database server based on the actual situation. 4. Run the following commands to check whether the Sybase is started: -bash-3.00$ cd /opt/sybase/ASE-15_0/install -bash-3.00$ ./showserver
UID PID PPID C STIME TTY TIME CMD dbuser 1594 1589 0 10:53:40 ? 0:01 /opt/sybase/ASE-15_0/bin/ dataserver -ONLINE:5,0,0x65008686, 10000000000, 0x1fc0 dbuser 1597 1589 0 10:53:41 ? 0:01 /opt/sybase/ASE-15_0/bin/ dataserver -ONLINE:8,0,0x65008686, 10000000000, 0x1fc0 ... ... dbuser 1608 1607 0 10:54:58 pts/2 0:00 /opt/sybase/ASE-15_0/bin/ backupserver -e/opt/sybase/ASE-15_0/install/SYB_back.l

If the output information contains dataserver and backupserver, you can infer that the data service and backup service of the database are normally started. 5. 6. User dbuser logs out. -bash-3.00$ exit Log in to the server as user root and reset the Sybase parameters. For details, see Table 7-12.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-45

Issue 06 (2010-06-15)

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Table 7-12 References System Type T5220 M4000/M5000 References 7.23 Creating the M2000 Database (HA, T5220) 8.25 Creating the M2000 Database (HA, M4000/M5000)

7.25 Checking the Sybase Server Connection


This describes how to check the Sybase server connection to ensure that the Sybase database is connected. You need to perform this operation on only the active node.

Prerequisite
l l

The database is normally started. You have logged in to the M2000 server as user dbuser.

Procedure
Step 1 Run the following command to view the database server name: -bash-3.00$ cd /opt/sybase/ASE-15_0/install -bash-3.00$ ls If the system displays the following information, you can infer that the name of the database server is SYB.
RUN_SYB RUN_SYB_back

Step 2 Run the following command to check whether the database server can be connected. In the command, SYB indicates the database server name that you view in Step 1. Replace it with an actual database server name. -bash-3.00$ isql -SSYB -Usa -Ppassword of user sa
l

If the system output contains 1> , you can infer that the database server is operating normally. Enter exit to log out of the M2000 server. If the system output does not contain 1> , you can infer that the database is operating abnormally. You need to contact Huawei technical support personnel for assistance.

----End

7.26 Checking the Version and Patches of the Sybase


This describes how to check whether the Sybase application software and patches listed in the version configuration table are installed. The installation of the right version of Sybase application software and patches is essential to the normal operation of the M2000 system.You
7-46 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

7 Installing and Configuring the T5220 Server (HA)

need to perform this operation on only the active node.For an HA system, you need to perform this operation on only the active node.

Prerequisite
You have logged in to the M2000 server as user dbuser.

Context

CAUTION
In the following commands, SYB indicates the name of the database server. Replace it with an actual database server name.

Procedure
Step 1 To check that the Sybase database software and EBF16548 patch are installed, run the following commands: -bash-3.00$ isql -SSYB -Usa -Ppassword of user sa 1> select @@version 2> go
Adaptive Server Enterprise/15.0.3/EBF 16548 ESD#1/P/Sun_svr4/OS 5.8/ ase1503/2680/64-bit/FBO/Thu Mar 5 09:39:28 2009

In the system output, 15.0.3 indicates the version number of the current Sybase; 16548 indicates the patch number of the installed patch. The version number of the Sybase and the patch number must be consistent with those provided in the version relation table; otherwise, contact Huawei technical support personnel for assistance. Step 2 To check that the license of the Sybase database is installed, run the following commands: 1> sp_lmconfig 2> go If the system output contains ASE_CORE of Expiry Date is Permanent, you can infer that the license of the Sybase database is successfully installed. Otherwise, contact Huawei technical support personnel for assistance. Step 3 To exit isql, run the following command: 1> exit ----End

7.27 Installing the Sybase and Patches on Node2


This is performed to install the Sybase and patches on Node2. To install the Sybase and patches on Node2, you must copy the installation files from Node1 to Node2 and execute the installation.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 7-47

7 Installing and Configuring the T5220 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Prerequisite
l l

Install the Sybase and patches on Node1. Log in to Node1 as user dbuser.

Procedure
Step 1 To stop the Sybase on Node1, execute the following command: -bash-3.00$ isql -SSYB -Usa -PPassword of sa 1> shutdown SYB_BACKUP 2> go 1> shutdown 2> go Step 2 To pack the Sybase on Node1, log in to Node1 as root, and execute the following commands: # cd /opt # tar cvf sybase.tar sybase Step 3 Execute FTP to transmit the /opt/sybase.tar file from Node1 to the /opt directory on Node2. 1. Transmit the file to Node2 through FTP. # ftp Active adaptor IP for the public network of Node2 2. 3. Enter root and the password to go to the opt directory on Node2. Enter the /opt directory on Node2. # cd /opt 4. Set the binary mode for transmitting the file. ftp> bin 5. Transmit the file /opt/sybase.tar. ftp> put /opt/sybase.tar 6. Exit FTP. ftp> quit Step 4 To install the Sybase on Node2, log in to Node2 as root, and execute the following commands on Node2: # cd /opt # tar xvf sybase.tar # chown -R dbuser:staff /opt/sybase ----End
7-48 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Installing and Configuring the M4000/ M5000 Server (HA)

About This Chapter


This describes how to install the Solaris software, Sybase software, Sun Cluster software, and their relevant patches on the M2000 HA system that is installed on the M4000/M5000 server, and how to configure other basic parameters and disk arrays for the server. After the installation and configuration, the server can meet the specified requirements of the M2000 application software. 8.1 Partition Planning of the M4000/M5000 Server (HA) This describes the planning of names and sizes of the M4000/M5000 server disk partitions, and the redundancy mode of the disk arrays. 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA) This describes the default host names and the IP addresses of the M2000 system planned before delivery. 8.3 Configuring the XSCF of the M4000/M5000 Server This section describes how to configure the eXtended System Controller facility (XSCF) of the M4000/M5000 by using a PC. You need to perform this operation on each server. 8.4 Installing Solaris and Its Patches on the M4000/M5000 Server This describes how to use a PC to log in to the M4000/M5000 server through an XSCF and then install the Solaris software and its patches on the server. Perform this task on each server. 8.5 Checking the Version and Patches of the Solaris This describes how to check the version and patches of the Solaris operating system and to make sure that the M2000 server application can be installed in the operating system of the designated version. For the mapping between the M2000 server versions and the operating system versions, see the version configuration table. Perform this operation on both nodes. 8.6 Checking the Disk Partitioning of the M2000 Server (HA) To ensure that the M2000 server software can function properly, you need to check whether the actual partitioning is consistent with that predefined in the server disk partitioning plan. If the actual partitioning is different, contact Huawei technical support personnel for assistance. You need to check the partitioning on both nodes.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-1

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8.7 Checking the Local Disk Mirroring of the M4000/M5000 Server This describes how to check the status of the local disk mirroring to ensure the proper functioning of the server. 8.8 Configuring the Hostname and the IP Address of the Server (HA) Run the script file to set the host name and IP address of the server and other basic parameters. You need to perform the operation on both node 1 and node 2. 8.9 Changing the IP Address of the S2600 Disk Array (Serial Port Mode) This section describes how to change the IP address of the S2600 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S2600 disk array needs to be changed. 8.10 Changing the IP Address of the S3X00 Disk Array (Serial Port Mode) This section describes how to change the IP address of the S3X00 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S3X00 disk array needs to be changed. 8.11 Changing the IP Address of the 6140 Disk Array (Serial Port Mode) This section describes how to change the IP address of the 6140 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each 6140 disk array needs to be changed. 8.12 Configuring the S2600 Disk Array (HA) This section describes how to configure the S2600 disk array. Each S2600 disk array has an active controller and a standby controller. You can configure the S2600 disk array by setting up a connection between the server and the active controller. Both of the S2600 disk arrays need to be configured. 8.13 Configuring the S3200 Disk Array (HA) Each S3200 disk array has an active controller and a standby controller. You can configure the S3200 disk arrays by setting up a connection between the server and the active controller. You need to configure the two S3200 disk arrays. 8.14 Configuring the 6140 Disk Array (HA) Each 6140 disk arrays have an active controller and a standby controller. You can configure the 6140 disk arrays by setting up a connection between the server and the active controller. Both the two disk arrays need to be configured. 8.15 Enabling Multi-Path I/O (HA) This describes how to enable the I/O multipathing of the Solaris system. You need to perform the operation on both node 1 and node 2. 8.16 Labeling Volumes for the Disk Array (HA) This describes how to label each logical partition so that the operating system can find the associated logical partitions of the disks on the disk array. 8.17 Installing and Configuring the Sun Cluster Software and Patches The Sun Cluster software is used to manage the system resource. Thus, system resource can be automatically switched to the standby server to keep the normal operation of the system when the active server is faulty. 8.18 Checking Installation of the Sun Cluster Software and Patches After installing the Sun Cluster software and its patch on Node1 and Node2, you must check that the Sun Cluster software is correctly installed and the software is operational. This operation is performed only on Node1. 8.19 Installing and Configuring the Volume Manager
8-2 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

This describes how to install the VERITAS Volume Manager on the server. You can regroup several physical disks on the disk array into logical devices to facilitate the management. The logical devices refers to volumes. You need to perform the operation on both node 1 and node 2. 8.20 Checking the Installation of the Volume Manager This describes how to check whether the Volume Manager and its license are installed successfully on both Node1 and Node2. 8.21 Uploading the PlatformTools Installation Package to the Server Creating the M2000 database and setting the disks on the server are both performed through the PlatformTools. Therefore, you should upload the PlatformTools installation package to the server beforehand. Perform this task on each server. 8.22 Configuring M2000 Disks (HA, M4000/M5000) This section describes how to configure disks on the disk array by using the PlatformTools. Configuring disks involves creating volumes on the disk array and creating the file system on the exporthome volume. Before configuring the disk array, you must customize the operating system. You must customize the operating system on both node 1 and node 2 and need to configure the disk array only on node 1. 8.23 Checking the Disk Configurations of the M2000 Server (HA This describes how to check whether the local disk configurations are the same as planned. In the case of inconsistency, contact Huawei technical support personnel. 8.24 Installing and Configuring the Sybase (HA) This describes how to install the Sybase and its patches on the server. 8.25 Creating the M2000 Database (HA, M4000/M5000) This describes how to create the M2000 database through the PlatformTools. To optimize the performance of the M2000 database, you need to set the Sybase parameters before creating the M2000 database. The M2000 database needs to be created only on node 1. 8.26 Troubleshooting: Failed to Set the Sybase Parameters by Using the PlatformTools (HA) This describes a solution to the problem that you fail to set the Sybase parameters by using the PlatformTools. 8.27 Checking the Sybase Server Connection This describes how to check the Sybase server connection to ensure that the Sybase database is connected. You need to perform this operation on only the active node. 8.28 Checking the Version and Patches of the Sybase This describes how to check whether the Sybase application software and patches listed in the version configuration table are installed. The installation of the right version of Sybase application software and patches is essential to the normal operation of the M2000 system.You need to perform this operation on only the active node.For an HA system, you need to perform this operation on only the active node. 8.29 Installing the Sybase and Patches on Node2 This is performed to install the Sybase and patches on Node2. To install the Sybase and patches on Node2, you must copy the installation files from Node1 to Node2 and execute the installation.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-3

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8.1 Partition Planning of the M4000/M5000 Server (HA)


This describes the planning of names and sizes of the M4000/M5000 server disk partitions, and the redundancy mode of the disk arrays. In the HA system, the configuration and partition planning of the local hard disk on each server are the same. The M4000/M5000 system should be configured with two 146 GB hard disks and one S3200/6140 or S2600 disk array. The S3200/6140 disk array consists of 16 x 146 GB hard disks and the S2600 disk array consists of 12 x 450 GB hard disks. The two local hard disks are partitioned according to Table 8-1. Table 8-1 Planning of the server disk partitions (M4000/M5000) Hard Disk No. Partitio n No. 0 1 2 Partition Name / swap overlap Size (MB) 110000 20000 Description Root partition Data exchange partition Used for disk mapping. Retain the default size. Reserved Used for disk mirroring. You do not need to set the partition name. Using the fast installation CD-ROM can automatically allocate the sizes of partitions.

3 4 1 5 6 7

/globaldevices -

1024 10~260

Used as the mirroring disk for the first hard disk

Each Sun M4000/M5000 server is configured with an S3200/6140 disk array or an S2600 disk array.
l

Each S3200/6140 disk array consists of sixteen disks. Two disks are used as hot spares and the other fourteen disks are used as two RAID5s. Hot spares are used to replace the faulty disks. Two volumes of the same size are created on the disk array. For details, see Table 8-2.

8-4

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


l

8 Installing and Configuring the M4000/M5000 Server (HA)

Each S2600 disk array consists of twelve disks. Two disks are used as hot spare disk and the other ten disks are used as one RAID 10. Hot spares are used to replace the faulty disks. Three volumes of the same size are created on the disk array. For details, see Table 8-3.

Table 8-2 Planning for the S3200/6140 disk array Disk Array No. 1 Volume Name oss_v0 oss_v1 2 Size (GB) 810 810

Used as the mirrored disk array of the first disk array

Table 8-3 Planning for the S2600 disk array Disk Array No. 1 Volume Name oss_app0 oss_app1 oss_app2 2 Size (GB) 671 671 671

Used as the mirrored disk array of the first disk array

8.2 Planning the Host Name and IP Address for the M4000/ M5000 Server (HA)
This describes the default host names and the IP addresses of the M2000 system planned before delivery. For details about the default host names and IP addresses of the M2000 system, see Table 8-4 and Table 8-5. Table 8-4 Planning of the host names and IP addresses (HA, M4000/M5000) Ethernet Port Function Service/IPMP port Ethernet Port Name bge0 Host Name Physical IP Address 192.168.8.59 192.168.8.61 192.168.8.60 192.168.8.62 192.168.8.241 192.168.8.242
8-5

Logical IP Address of IPMP 192.168.8.11 192.168.8.12 192.168.8.11 192.168.8.12 None

osssvr-1-bge0 osssvr-2-bge0

nxge0

osssvr-1-nxge0 osssvr-2-nxge0

Maintenance port

nxge3

osssvr-1-nxge3 osssvr-2-nxge3

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Ethernet Port Function Remote serial port

Ethernet Port Name XSCF LAN0

Host Name

Physical IP Address 192.168.8.141 192.168.8.142 192.168.9.141

Logical IP Address of IPMP None


NOTE The IP addresses of the tow Ethernet ports of each server are in two different network segments.

osssvr-1-xscf0 osssvr-2-xscf0

XSCF LAN1

osssvr-1-xscf1 osssvr-2-xscf1

Maintenance port of the disk array

Ctrl A Ethernet port 1

S2600-1/ S3200-1 S2600-2/ S3200-2

192.168.8.39 192.168.8.41 192.168.8.40 192.168.8.42

None

Ctrl B Ethernet port 1

S2600-1/ S3200-1 S2600-2/ S3200-2

Table 8-5 Planning of the logical IP addresses between servers (HA, M4000/M5000) Server Host Name Physical IP Address (Logical IP Address of IPMP) 192.168.8.11 192.168.8.12 Logical Host Name Logical IP Address

Node 1 Node 2

osssvr-1 osssvr-2

osssvr osssvr

192.168.8.31 192.168.8.31

During the configuration of the maintenance dual plane, the IP address of node 1, that is, 192.168.8.11, is used as the logical IP address of Ethernet ports bge0 and nxge0 on node 1. During the configuration of the maintenance dual plane, the IP address of node 2, that is, 192.168.8.12, is used as the logical IP address of Ethernet ports bge0 and nxge0 on node 2. For details about the planning of the ports on the M4000/M5000 server, see Figure 8-1 or Figure 8-2. For details about the ports on the disk array, see Figure 8-3 or Figure 8-4.

8-6

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Figure 8-1 Ports on the M4000 server

Figure 8-2 Ports on the M5000 server

Figure 8-3 Ports on the S2600 disk array

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-7

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 8-4 Ports on the S3200 disk array

8.3 Configuring the XSCF of the M4000/M5000 Server


This section describes how to configure the eXtended System Controller facility (XSCF) of the M4000/M5000 by using a PC. You need to perform this operation on each server.

Prerequisite
l l

A serial port cable is available. A PC is available.

Context
NOTE

You should configure the XSCF only during the initial installation.

Procedure
Step 1 Use the serial port cable to connect the serial port of the XSCF and that of the PC. One end of the serial port cable is an RJ-45 connector that is connected to the serial port of the XSCF, as shown in Figure 8-5. The other end is a DB-9 connector that is connected to the serial port of the PC (COM1 or COM2).

8-8

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Figure 8-5 Connectors provided by the XSCF

1 Serial port 4 Uninterrupted power supply port, namely, UPC1

2 LAN1 (Ethernet #1) 5 Uninterrupted power supply port, namely, UPC0

3 LAN0 (Ethernet #0) - -

For details about the cable sequence and related signals, see Table 8-6. Table 8-6 Wire sequence standards for the serial port cables between the XSCF and the PC RJ-45 3 4 5 6 Signal TXD/RXD REF/GND REF/GND RXD/TXD DB-9 Socket 2 5 5 3

After the PC and the XSCF are connected, the physical connection between the PC and the Sun M4000/M5000 server is set up.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-9

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 2 To configure a PC as a HyperTerminal, perform the following steps: 1. Set the key on the operation panel to the position of maintenance. Figure 8-6 shows the mode switch of the operation panel. The handle icon indicates the maintenance position, and the lock icon indicates the locked position. Figure 8-6 Mode switch on the operation panel

2. 3. 4. 5. 6.

Power on the PC. Choose Start > Programs (P) > Accessories > Communications > HyperTerminal. In the Connection Description dialog box, enter the name of the new connection. Specify a serial port of the PC to connect the XSCF, for example, COM1. Set the properties of the serial port by referring to Table 8-7, and then click OK. Table 8-7 Setting the properties of a serial port Property Bits per second Data bits Parity Stop bits Flow control Property Value 9600 8 None 1 None

Step 3 In the window of the HyperTerminal, enter the user name default when the following information is displayed.
login:

Step 4 When the following information is displayed, set the key on the operation panel to the locked position, and then press Enter.
Change the panel mode switch to Locked and press return...

Step 5 When the following information is displayed, set the key on the operation panel to the maintenance position, and then wait for five seconds to press Enter.
8-10 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)


Change the panel mode switch to

Leave it in that position for at least 5 seconds. Service, and press return...

Step 6 Run the following command to restore the default values of the XSCF. During the restore of the default values, enter yes when the system prompts you to enter [yes/no]. XSCF> restoredefaults -c factory Step 7 When the following information is displayed, the XSCF restarts automatically.
Please stand by while rebooting the system.(15) Restarting system.
NOTE

When the following information is displayed, this state remains for a long period of time. In such a case, you need to pull out all the power cables of the server and then connect the power cables again in 10 seconds to restart the XSCF. After you connect the power cables again, the restart process automatically continues.
XSCF BOOT STOP (recover by NFB-OFF/ON)

Step 8 When the system displays the following message again, enter the user name default.
login:

Step 9 When the following information is displayed, set the key on the operation panel to the locked position, and then press Enter.
Change the panel mode switch to Locked and press return...

Step 10 When the following information is displayed, set the key on the operation panel to the maintenance position, and then wait for five seconds to press Enter.
Leave it in that position for at least 5 seconds. Service, and press return... Change the panel mode switch to

Step 11 Run the following command to create user adminuser: XSCF> adduser adminuser Step 12 Add the user rights of user adminuser. XSCF> setprivileges adminuser platadm useradm auditadm fieldeng mode Step 13 Set the password of user adminuser. The recommended password is adminuser. XSCF> password adminuser
New XSCF password:********* Retype new XSCF password:*********

Step 14 Run the following command to exit user default: XSCF> exit Step 15 When the system displays the following message, enter the user name adminuser and the password adminuser.
login: adminuser Password:

Step 16 Set the timeout for logout. The recommended time is 60min. XSCF> setautologout -s 60 Step 17 Set the XSCF network configurations. 1.
Issue 06 (2010-06-15)

Run the following command to configure the XSCF:


Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-11

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

XSCF> setupplatform 2. 3. 4. 5. When the system displays Do you want to set up an account? [y|n]:, enter n. When the system displays Do you want to set up networking? [y|n]:, enter y. When the system displays Do you want to set up the XSCF network interfaces? [y|n]:, enter y. Set the IP address, subnet mask, and gateway IP address of xscf#0-lan#0. a. b. When the system displays Do you want to configure xscf#0-lan#0? [y|n]:, enter y. When the system displays the following information, enter the planned IP address, subnet mask, and gateway IP address of port 0 on the XSCF:
xscf#0-lan#0 ip address? []: xscf#0-lan#0 netmask? [255.255.255.0]: xscf#0-lan#0 default gateway? []:

c.

Check the entered information.


xscf#0-lan#0 ip address: 192.168.8.141 xscf#0-lan#0 netmask: 255.255.255.0 xscf#0-lan#0 default gateway: 192.168.8.254 Are these settings correct? [y|n]: y

6.

Set the IP address, subnet mask, and gateway IP address of xscf#0-lan#1. a. b. When the system displays Do you want to configure xscf#0-lan#1? [y|n]: , enter y. When the system displays the following information, enter the planned IP address, subnet mask, and gateway IP address of port 1 on the XSCF:
xscf#0-lan#1 ip address? []: xscf#0-lan#1 netmask? [255.255.255.0]: xscf#0-lan#1 default gateway? []:

c.

Check the entered information.


xscf#0-lan#1 ip address: 192.168.9.141 xscf#0-lan#1 netmask: 255.255.255.0 xscf#0-lan#1 default gateway: 192.168.9.254 Are these settings correct? [y|n]: y

7. 8. 9.

When the system displays Do you want to configure lan#0? [y|n]:, enter n. It indicates that the take over function for Ethernet adapter 0 is not configured. When the system displays Do you want to configure lan#1? [y|n]:, enter n. It indicates that the take over function of Ethernet adapter 1 is not configured. When the system displays Do you want to set up the DSCP network? [y| n]:, enter n. It indicates that the DSCP protocol is not configured. a. b. c. d. When the system displays Do you want to set up the domain name service? [y|n]:, enter y. When the system displays Primary DNS server ip address? []:, enter 0.0.0.0. The default IP address of the DNS server is 0.0.0.0. When the system displays Do you want a secondary DNS server? [y| n]:, enter n. It indicates that the secondary DNS server is not configured. When the system displays the following information, enter the default domain name omc.com.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

10. Set the domain name of the server.

8-12

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Do you want to specify a domain name? [y|n]: y Domain name [localdomain]: omc.com

e.

When the system displays the following information, enter <host name of the server>-xscf0 in hostname of the Ethernet adapter 0 on the XSCF.
XSCF#0 hostname [localhost]:

f.

Check the entered information.


Primary DNS server ip address: 0.0.0.0 Secondary DNS server ip address: Tertiary DNS server ip address: Domain name: omc.com XSCF#0 hostname: osssvr-1-xscf0 Are these settings correct? [y|n]: y

11. When the system displays Do you want to set up the network time protocol? [y|n]:, enter n. It indicates that the NTP service is not configured. 12. Configure the SSH service. a. b. When the system displays Do you want to set up ssh? [y|n]:, enter y to configure the SSH protocol. When the system displays Enable ssh service? [y|n]:, enter y to start the SSH service.

13. When the system displays Do you want to set up https? [y|n]:, enter n. It indicates that https is not enabled. 14. When the system displays Do you want to configure email reports? [y| n]:, type n. It indicates that the email function is not enabled. 15. Perform operations for the network configuration to take effect. a. b. When the system displays Do you want to apply the network changes? [y|n]:, enter y. Check the XSCF network configuration.
The following network settings will be applied: xscf#0 hostname :osssvr-1-xscf0 DNS domain name : interface status IP address netmask route interface status IP address netmask route Continue? [y|n] :y :xscf#0-lan#0 :up :192.168.8.141 :255.255.255.0 :-n 0.0.0.0 -m 0.0.0.0 -g 192.168.8.254 :xscf#0-lan#1 :up :192.168.9.141 :255.255.255.0 :-n 0.0.0.0 -m 0.0.0.0 -g 192.168.9.254

Step 18 Set the altitude of the XSCF. 1. 2. 3. 4.


Issue 06 (2010-06-15)

When the system displays Do you want to reboot the XSCF now? [y| n]:, enter n. It indicates that the XSCF is not restarted temporarily. When the system displays Do you want to set up the chassis altitude? [y|n]:, enter y to set the altitude. When the system displays Chassis altitude in meters:, enter 500. Confirm the altitude information about the XSCF.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-13

8 Installing and Configuring the M4000/M5000 Server (HA)


Chassis altitude in meters: 500 Is this setting correct? [y|n]: y

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 19 Set the time zone, date, and time of the XSCF. 1. 2. 3. 4. When the system displays Do you want to reboot the XSCF now? [y| n]:, enter n. It indicates that the XSCF is not restarted temporarily. When the system displays Do you want to set up the XSCF time zone? [y|n]:, enter y to set the time zone. When the system displays Continue setting up the XSCF time zone? [y| n]:, enter y. When the system prompts the following message, enter 490. The number of the time zone is 490 (PRC).
0 Africa/Abidjan 1 Africa/Accra 2 Africa/Addis_Ababa 3 Africa/Algiers Enter number to choose time zone or return for next set of time zones:

CAUTION
You need to enter the number of the time zone based on the actual situation. This step takes the time zone number of PRC is 490 as an example. 5. Confirm the time zone information, and then enter y.
XSCF time zone: PRC Is this setting correct? [y|n]: y

6.

Run the following command to start the servicetag agents: XSCF> setservicetag -c enable

7.

Run the following command to start the telnet: XSCF> settelnet -c enable

8.

Run the following command to set the date and time. You need to set the date and time based on the actual situation. The format is YYYY.MM.DD-HH:MM:SS. XSCF> setdate -s 2008.10.08-16:10:00

Step 20 When the system displays The XSCF will be reset. Continue? [y|n] :, enter y to complete the configuration the XSCF of the Server. ----End

8.4 Installing Solaris and Its Patches on the M4000/M5000 Server


This describes how to use a PC to log in to the M4000/M5000 server through an XSCF and then install the Solaris software and its patches on the server. Perform this task on each server.
8-14 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Prerequisite
l l l

The XSCF of the server is configured. The communication between the PC and the Ethernet port of the server XSCF is normal. The Auto_Install_DVD1/3_For Solaris_OS_sun4u_V2.1 disk is available.

Context
NOTE

The installation log of the Auto_Install_DVD1/3_For Solaris_OS_sun4u_V2.1 disk is saved in the /var/ sadm/system/logs/install_log file.

CAUTION
l

If the same IP address is used to install the Solaris and its patches for multiple M2000 systems in one network segment, the IP addresses of different systems may conflict with each other. Change the IP address of devices and the problem is solved. During the installation of the Solaris and its patches, the superuser root of the operating system is automatically created. The initial password of the superuser is set to root. Be sure to remember the password of user root.

Procedure
Step 1 Use the Telnet Protocol to connect the PC and the XSCF through PuTTY. In the window of PuTTY, select telnet. In the Host Name (or IP Address) field, type the XSCF IP Address. Click Open to log in. Step 2 Enter the user name adminuser and the password to log in to the XSCF. The system displays XSCF>. Step 3 Perform the following steps to connect to the server: 1. Run the console command. Then, press Enter. XSCF> console -d 0
Connect to DomainID 0?[y|n] :y

2. 3. 4. 5.

If the system displays the console login: information, type root and then press Enter. If the system prompts you for Password:, type the password of user root and then press Enter. If the system displays #, type init 0 and then press Enter. When the system displays ok, type #..

Step 4 Run the poweron command to power on domain 0. XSCF> poweron -d 0


DomainIDs to power on:00 Continue? [y|n] :y

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-15

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 5 Run the console command. Press Enter for several times. The system switches to the ok prompt state of Solaris. XSCF> console -d 0
Connect to DomainID 0?[y|n] :y Aborting auto-boot sequence. {0} ok

Step 6 Run the following command to disable the automatic boot function: ok setenv auto-boot? false Step 7 Run the set-defaults command to restore the default value of OBP. Step 8 Run the following commands to set disk0 and disk1. ok nvalias disk0 /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0 ok nvalias disk1 /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@1 ok nvstore ok setenv boot-device disk0 disk1 ok setenv diag-device disk0 disk1 Step 9 Run the reset-all command to restart the OBP.
NOTE

It is normal that the message containing Error CPU Check is displayed during system restart. In such a situation, ignore the message.

Step 10 Run the following command to enable the automatic boot function: ok setenv auto-boot? true Step 11 Remove all the cables connecting to the Ethernet ports except the XSCF port. Step 12 Shut down all the disk arrays. Step 13 Insert the Auto_Install_DVD1/3_For Solaris_OS_sun4u_V2.1 to the DVD-ROM drive of the server. Step 14 Run the following command to execute the scripts for installing the Solaris software and its patches. ok boot cdrom - install

CAUTION
There is a space between install and - in the previous command. Step 15 When the system displays Allocate disk space for application? [default:n], type n to continue if the system is configured with an external disk array. If the system is not configured an external disk array and uses only the local disks, type y to continue.
8-16 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Step 16 When the system displays Mirror the system local disk? [default:y], type y to continue. Step 17 When the system displays Install as the SECOND node of Sun Cluster Dual system? [default:n], type y if node 2 of the HA system is to be installed. Otherwise, type n to continue. About 35 minutes later, the installation is complete and the server automatically restarts. Step 18 Type the user name root and the password to log in to the server.
NOTE

The initial password of user root is root.

Step 19 Run the following command to remove the Auto_Install_DVD1/3_For Solaris_OS_sun4u_V2.1 disk.
NOTE

After the server is restarted, run the following commands to start the DVD-ROM when the system displays No default media available: # /etc/init.d/volmgt stop # /etc/init.d/volmgt start

# cd / # eject Step 20 Reconnect all the cables to the Ethernet ports on the server. Step 21 Start all the disk arrays. ----End

Result
The main configurations to be performed during the installation of the Solaris software and its patches are as follows:
l l l

Partitioning of the local disks. Mirroring of the local disks. Setting of the active Ethernet port. Set bge0 as the active Ethernet port.

8.5 Checking the Version and Patches of the Solaris


This describes how to check the version and patches of the Solaris operating system and to make sure that the M2000 server application can be installed in the operating system of the designated version. For the mapping between the M2000 server versions and the operating system versions, see the version configuration table. Perform this operation on both nodes.

Prerequisite
You have logged in to the M2000 server as user root.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-17

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Procedure
Step 1 Run the following command to view information about the version and patches of the Solaris. # uname -X
System = SunOS Node = osssvr-1 Release = 5.10 KernelID = Generic_141414-07 ......
NOTE

In the system output, the values of Node and NumCPU vary with the system configuration.

In the system output, Release specifies the version of the operating system and its value is 5.10 ; KernelID specifies the Version ID of the kernel and its value is Generic_141414-07 or a value indicating a later version. A greater number of the KernelID indicates a later version. If the versions of the operating system and its patches are different from those in the version configuration table, contact Huawei technical support personnel for assistance. ----End

8.6 Checking the Disk Partitioning of the M2000 Server (HA)


To ensure that the M2000 server software can function properly, you need to check whether the actual partitioning is consistent with that predefined in the server disk partitioning plan. If the actual partitioning is different, contact Huawei technical support personnel for assistance. You need to check the partitioning on both nodes.

Prerequisite
Log in to the two nodes as user root, respectively.

Procedure
Step 1 Check the partitioning of the first local disk of the server. # format Enter 0 to check the first local hard disk. Specify disk (enter its number): 0 format> p partition> p In the system output, Part indicates the partition number and Size indicates the size of the partition. Check whether the actual partitioning of the disk is consistent with that predefined in Table 8-8. You need to pay attention to only Part and Size. unassigned may be displayed in Tag, this is normal. If the actual partitioning is different, contact Huawei technical support personnel for assistance.
8-18 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

CAUTION
Because the Solaris system automatically adjusts the size of each partition during the partitioning, the actual sizes of partitions are slightly different from the planned sizes. You can ignore the difference.

Table 8-8 References for server disk partitions Server type T5220 M4000/M5000 References 7.1 Partition Planning of the T5220 Server (HA) 8.1 Partition Planning of the M4000/ M5000 Server (HA)

Step 2 Run the following command to quit partition>. partition>q Step 3 Run the following command to exit from format. format> q ----End

8.7 Checking the Local Disk Mirroring of the M4000/ M5000 Server
This describes how to check the status of the local disk mirroring to ensure the proper functioning of the server.

Prerequisite
You have logged in to the server as user root through PuTTY.

Procedure
Step 1 Run the following command to check the mirroring of server system disk: If an HA system or an SLS system is used, this task must be performed on each server. # metastat In the command result, if State of each item is Okay, you can infer that the mirroring of system disks is successful. Otherwise, contact Huawei technical support engineers for assistance. Step 2 Run the following command to check whether the disk mirroring relation is set up successfully. # metadb
flags a m p luo first blk 16 block count 8192 /dev/dsk/c0t0d0s7

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-19

8 Installing and Configuring the M4000/M5000 Server (HA)


a a a a a p p p p p luo luo luo luo luo 8208 16400 16 8208 16400

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


8192 8192 8192 8192 8192 /dev/dsk/c0t0d0s7 /dev/dsk/c0t0d0s7 /dev/dsk/c0t1d0s7 /dev/dsk/c0t1d0s7 /dev/dsk/c0t1d0s7

In the command result, check whether each disk stores three backup records. If so, you can infer that the mirroring relation is successfully set up. If not, contact Huawei technical support personnel for assistance.
NOTE

/dev/dsk/c0t0d0s7 indicates the number 7 partition on the first hard disk. /dev/dsk/c0t1d0s7 indicates the number 7 partition 7 on the second hard disk. In the command result, you can view that three backup records exist in the number 7 partition on each hard disk. In the previous command result, the corresponding values of the "first blk" and "block count" columns vary according to size of the local disk.

----End

8.8 Configuring the Hostname and the IP Address of the Server (HA)
Run the script file to set the host name and IP address of the server and other basic parameters. You need to perform the operation on both node 1 and node 2.

Prerequisite
l l l

The communication between the PC and the server is normal. You have logged in to node 1 and node 2 as user root. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available.

Context
NOTE

When the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is used for installation, the installation log is recorded in the /opt/installtmp/autoinstall.log file.

Each configuration performed through the script confirms to the plan. If you plan to know a specific host name and IP address of the server, seeTable 8-9: Table 8-9 Planning of the M2000 host name and IP address Server type T5220 server M4000/M5000 server References 7.2 Planning the Host Name and IP Address for the T5220 Server (HA) 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA)

8-20

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of the server. Step 2 Run the following commands to run the configuration script: # cd /cdrom/cdrom0/baseconfig # ./config_basesetting.sh
NOTE

If the system prompts No default media available, run the following commands to start the DVD-ROM drive: # /etc/init.d/volmgt stop # /etc/init.d/volmgt start

Step 3 If the system displays the following prompt, select the relevant option based on the actual situation, and then press Enter to continue.
Config default system parameter: 1. 2. 3. 4. 5. 6. 7. Q. Single server system HA Node1 HA Node2 Netra 240 administration console HA Node1 (Watchman) HA Node2 (Watchman) Other systems (Not modifying the IP address) Quit

Please select a option: l l

If the local server needs to be set node 1 of an HA system, enter 2. If the local server needs to be set node 2 of an HA system, enter 3.

Step 4 When the system displays Are you sure ?[Y/N] Y, enter Y for confirmation.
NOTE

This process takes about five minutes. The host name and IP address of the server are initialized and other basic parameters are configured during the process. After the configuration is complete, the server automatically restarts.

----End

8.9 Changing the IP Address of the S2600 Disk Array (Serial Port Mode)
This section describes how to change the IP address of the S2600 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S2600 disk array needs to be changed.

Prerequisite
l l

The communication between the disk array and the server is normal. The disk array is powered on.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-21

Issue 06 (2010-06-15)

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Context
l

Each disk array has an active controller and a standby controller. Each controller has one CLI serial port. Before changing the IP address of the disk array, you must familiarize yourself with the default IP address planning at delivery. Then, determine whether to reconfigure the IP address according to the actual situation. The IP address mentioned here is only an example. Replace it with the actual IP address. If you change the IP address of the disk array on different network segments, continue to change the IP address of the maintenance Ethernet port on the corresponding server to ensure that the two changed IP addresses are on the same network segment.

l l

Procedure
Step 1 Use the serial port cable to connect any serial port on a controller of the disk array and a serial port on the PC. Figure 8-7 shows the disk array. Figure 8-7 Serial ports provided by the S2600 disk array

NOTE

l l

You must use the serial port cable delivered by the disk array; otherwise, the disk array may fail to be connected. When using the serial port cable to connect a controller and the maintenance terminal, you must use the serial port cable to connect the maintenance terminal first. When disconnecting the controller from the maintenance terminal, you must remove the serial port cable from the controller first. After using the serial port cable to connect a controller and the maintenance terminal, do not enable the controller and the maintenance terminal at the same time. After using the DB9-RJ45 serial port cable to connect a controller and the maintenance terminal, you need to use the HyperTerminal or any other program provided by the Windows operating system to log in to the CLI serial port.

l l

Step 2 Choose Start > Programs (P) > Accessories > Communications > HyperTerminal on the PC. Step 3 In the Connection Description dialog box, type the name of a new connection. Step 4 Select a PC serial port, for example, COM1, which is connected to the disk array. Step 5 Set the properties of the serial port by referring to Table 8-10. Then, click OK.
8-22 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Table 8-10 Setting the properties of the serial port Property Bits per second Data bits Parity Stop bits Flow control Value 115200 8 None 1 None

Step 6 Press Enter. If the connection is successful, a dialog box is displayed, as shown in Figure 8-8. Figure 8-8 Successful connection dialog box

Step 7 Type the correct user name and password. The successful login dialog box is displayed, as shown in Figure 8-9.

CAUTION
The initial user name and password of the administrator are admin and 123456, respectively. To ensure the system security, you need to change the password after the initial login.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-23

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Figure 8-9 Successful login dialog box

Step 8 Run the following command to set the IP address of the management Ethernet port on controller A: OceanStor: admin> chgctrlip -c a -a IP address of controller A -s subnet mask -g gateway For example, to change the IP address of the management Ethernet port on controller A to 192.168.8.39, run the following command: OceanStor: admin> chgctrlip -c a -a 192.168.8.39 -s 255.255.255.0 -g 192.168.8.1 When the system displays the following prompt, type y.
OceanStor: admin> chgctrlip -c a -a 192.168.8.39 -s 255.255.255.0 This operation will change your controller's IP configuration. if you want to ch ange the IP of the controller you logged in, you will log out after you set the new IP. However, if you change the IP of the peer controller, you needn't log out. Do you want to continue? y or n: y

Step 9 Run the following command to check whether the changed IP address is correct: OceanStor: admin> showctrlip -c a
Controller IP Address A 192.168.8.39 00:18:82:e2:00:fb Subnet Mask 255.255.255.0 Gateway 192.168.8.1 MAC Address

Step 10 Run the following command to set the IP address of the management Ethernet port on controller B: OceanStor: admin> chgctrlip -c b -a new IP address of controller B -s subnet mask -g gateway For example, to change the IP address of the management Ethernet port on controller B to 192.168.8.40, run the following command: OceanStor: admin> chgctrlip -c b -a 192.168.8.40 -s 255.255.255.0 -g 192.168.8.1 When the system displays the following prompt, type y.
8-24 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

This operation will change your controller's IP configuration. if you want to ch ange the IP of the controller you logged in, you will log out after you set the new IP. However, if you change the IP of the peer controller, you needn't log out. Do you want to continue? y or n: y

Step 11 Run the following command to check whether the changed IP address is correct: OceanStor: admin> showctrlip -c b
IP Address B 192.168.8.40 00:18:82:e2:01:57 Controller Subnet Mask 255.255.255.0 Gateway 192.168.8.1 MAC Address

----End

8.10 Changing the IP Address of the S3X00 Disk Array (Serial Port Mode)
This section describes how to change the IP address of the S3X00 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each S3X00 disk array needs to be changed.

Prerequisite
l l

The communication between the disk array and the server is normal. The disk array is powered on.

Context
l l

Each disk array has an active controller and a standby controller. Each controller has one CLI serial port. Before changing the IP address of the disk array, you must familiarize yourself with the default IP address planning at delivery. Then, determine whether to reconfigure the IP address according to the actual situation. The IP address mentioned here is only an example. Replace it with the actual IP address. If you change the IP address of the disk array on different network segments, continue to change the IP address of the maintenance Ethernet port on the corresponding server to ensure that the two changed IP addresses are on the same network segment.

l l

Procedure
Step 1 Use the serial port cable to connect the serial port of the disk array controller and that of the PC. Figure 8-10 shows the disk array. Figure 8-10 Serial ports provided by the S3X00

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-25

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

NOTE

Do use the serial port cable delivered with the disk array. This cable is designed for storage devices. If you use a serial port cable for other devices, the communication may fail. The controller connected through the serial port indicates the one that is being set. Controller A is on the left side and controller B on the right.

Step 2 Choose Start > Programs (P) > Accessories > Communications > HyperTerminal on the PC. Step 3 In the Connection Description dialog box, enter the name of the new connection. Step 4 Specify a serial port of the PC to connect the SC, for instance, COM1. Step 5 Set the properties of the serial port. For details about how to set the properties of the serial port, see Table 8-11. Then, click OK. Table 8-11 Setting the properties of a serial port Property Bits per second Data bits Parity Stop bits Flow control Property Value 38400 8 None 1 None

Step 6 Press Ctrl+Break to activate the Shell serial port. Step 7 When the following message is displayed in the HyperTerminal window, press Esc in 5 seconds. The Shell login window is displayed.
Press within 5 seconds: <S> for Service Interface , <BREAK> for band rate

Step 8 When the following information is displayed, type the login password infiniti and then press Enter to log in to the configuration shell of the disk array.
Enter password to access shell:

Step 9 Run the following command to view the information about Ethernet port configuration on the current controller. -> netCfgShow Step 10 Run the netCfgSet command to set the IP address for the Ethernet port. In the IP Address if0 filed, type 192.168.8.39. If you need to modify the subnet mask, type the new value in the Subnet Mask if0 filed.
NOTE

You need to configure only if0.

Step 11 Press Enter. When the modification tasks effect, the following information is displayed:
Network Configuration successfully written to NVSRAM.

8-26

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Step 12 Connect the serial port cable to controller B and then perform the same procedure. ----End

8.11 Changing the IP Address of the 6140 Disk Array (Serial Port Mode)
This section describes how to change the IP address of the 6140 disk array in serial port mode. Before configuring the disk array, you need to change the IP address of the disk array. The IP address of each 6140 disk array needs to be changed.

Prerequisite
l l

The communication between the disk array and the server is normal. The disk array is powered on.

Context
l

Each disk array has an active controller and a standby controller. Each controller has one CLI serial port. Before changing the IP address of the disk array, you must familiarize yourself with the default IP address planning at delivery. Then, determine whether to reconfigure the IP address according to the actual situation. The IP address mentioned here is only an example. Replace it with the actual IP address. If you change the IP address of the disk array on different network segments, continue to change the IP address of the maintenance Ethernet port on the corresponding server to ensure that the two changed IP addresses are on the same network segment.

l l

Procedure
Step 1 Connect the serial port on the disk array controller to that on the PC by using a serial port cable. Figure 8-11 shows the disk array. Figure 8-11 Serial ports on the 6140 disk array

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-27

8 Installing and Configuring the M4000/M5000 Server (HA)


NOTE

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

You need to use the serial port cable delivered with the disk array. The serial port cable is specially designed for storage devices and cannot be replaced by the serial port cable of other devices. If the dedicated serial port cable is not used, the communication may fail. The controller connected through the serial port indicates the controller that is being set. Controller A is on the left and controller B is on the right.

Step 2 Choose Start > Programs (P) > Accessories > Communications > HyperTerminal. Step 3 In the Connection Description dialog box, type the name of the new connection. Step 4 Choose the PC serial port that connects to the controller, for example, COM1. Step 5 Set the properties of the serial port by referring to Table 8-12, and then click OK. Table 8-12 Setting the properties of a serial port Property Bits per second Data bits Parity Stop bits Flow control Property Value 38400 8 None 1 None

After the connection is complete, a physical connection between the PC and the 6140 disk array is set up. Step 6 Press Ctrl + Break. The serial port responds with a request to synchronize the baud rate with the terminal.
Set baud rate: press <space> within 5 seconds
NOTE

The serial ports on the disk array request that Break be accepted. Set the corresponding escape sequence for the terminal to send the mandatory Break to the disk array controller. For example, you can press Ctrl and Break at the same time to generate Break on some terminals.

Step 7 Press the spacebar within five seconds. The serial port defines the baud rate for the setup of the connection.
Baud rate set to 38400

Step 8 Press Ctrl + Break. The serial port responds with the following information:
Press within 5 seconds: <S> for Service Interface, <BREAK> for baud rate

Step 9 Press S. The system prompts you to enter the password of the serial port.
Enter Password to access Service Interface (60 sec timeout):

Step 10 Type kra16wen, that is, the password of the serial port, and then press Enter. Step 11 When the system displays the following information, type 2.
Servinxge Interfanxge Main Menu ============================== 1) Display IP Configuration 2) Change IP Configuration 3) Reset Storage Array (SYMbol) Password

8-28

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


Q) Quit Menu Enter Selection:

8 Installing and Configuring the M4000/M5000 Server (HA)

Step 12 When the system displays the following information, type 1.


Select Ethernet Port ============================== 1) Ethernet Port: 0 2) Ethernet Port: 1 Q) Quit Enter Selection:

Step 13 If the system displays the following information, type n. Do not use the DHCP function to configure the dynamic IP address for the port.
Configure using DHCP ? (Y/N):

Step 14 When the system displays the following information, enter the IP address and the subnet mask of the controller.
NOTE

The settings of the subnet mask and gateway are optional.


Press '.' to clear the field; Press '-' to return to the previous field; Press <ENTER> and then ^D to quit (Keep Changes) Current Configuration IP Address if1 : 192.168.128.101 Subnet Mask if1 : 255.255.255.0 Gateway IP Address if1 :

New Configuration IP-address Subnet Mask <ENTER>

After the configuration, the system displays a message for confirming the specified IP address. Step 15 When the system displays the following information, type 1.
Servinxge Interfanxge Main Menu ============================== 1) Display IP Configuration 2) Change IP Configuration 3) Reset Storage Array (SYMbol) Password Q) Quit Menu Enter Selection:

Step 16 When the system displays the following information, type 1.


Select Ethernet Port ============================== 1) Ethernet Port: 0 2) Ethernet Port: 1 Q) Quit Enter Selection: 1

The IP address of the selected Ethernet port is displayed. Check whether the changed IP address is correct. If the changed IP address is incorrect, perform Step 11 through Step 16 to reconfigure the IP address of the controller. Step 17 When the system displays the following information, enter Q to exit.
Servinxge Interfanxge Main Menu ============================== 1) Display IP Configuration 2) Change IP Configuration 3) Reset Storage Array (SYMbol) Password Q) Quit Menu Enter Selection:

Step 18 Connect the serial port on controller B to that on the PC by using the serial port cable. You can change the IP address of the configuration Ethernet port of the other controller by following the same procedure. ----End
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-29

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8.12 Configuring the S2600 Disk Array (HA)


This section describes how to configure the S2600 disk array. Each S2600 disk array has an active controller and a standby controller. You can configure the S2600 disk array by setting up a connection between the server and the active controller. Both of the S2600 disk arrays need to be configured.

Prerequisite
l l l

You have installed the operating system and its patches on the server. You have logged in to node 1 as user root. The connection between servers and the connection between servers and the disk array are normal. The S2600 disk array is powered on. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 DVD-ROM is available.

l l

Context

CAUTION
If the configuration of the script fails when the two IP addresses of the S2600 disk array can be pinged, run the script again or even twice. If the configuration of the script fails again, contact Huawei technical engineers for assistance.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 DVD-ROM into the DVD-ROM drive of node 1. Step 2 Run the following command to install the expect package. 1. Run the following commands to run the installation script of the expect package: # cd /cdrom/cdrom0/HWS2600Array # ./install_expectpkg.sh 2. When the following information is displayed, type osssvr-1 osssvr-2, that is, the host names of node 1 and node 2. Use a space to separate the two host names.
NOTE

Typing the host names of both nodes indicates that the expect package is installed on both node 1 and node 2. If you type only one host name, it indicates that the expect package is installed on only one node.
Input the system names separated by space on which to Expect PKG: [default:osssvr-1]osssvr-1 osssvr-2

3.

When the following information is displayed, type y.


Are you sure to continue? [y/n]y

If no error information is displayed, it indicates that the installation is successful.


8-30 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Step 3 Configure the volumes of the S2600 disk array. 1. Run the following commands to configure the RAID of the S2600 disk array:

CAUTION
The creation of the disk array volume takes about 100 to 180 minutes. If the disk status indicator remains green and does not blink, you can infer that the volumes are created successfully. After the configuration script is executed, check that the volumes of the disk array are created. Then, you can use PlatformTools to create volumes. # cd /cdrom/cdrom0/HWS2600Array # ./create_RAID_HA.sh When the system displays the following prompt, type the corresponding values:
Are you sure to continue? [y/n] y Please input the array controller A IP address: IP address of controller A of the S2600 disk array Please input the array controller A IP address: IP address of controller B of the S2600 disk array Input the system names separated by spaces for HA servers : [default:osssvr-1 osssvr-2] osssvr-1 osssvr-2 Input the DiskArray names:[default:S2600-1]: If the first disk array, input S2600-1; if the second disk array, input S2600-2 Input the DiskArray password for admin user:[default:123456]:Input the password of admin user Input the DiskArray password for DB configuration:[default:654321]:Input the password of DB configuration Are you sure to continue? [y/n] y

When the system displays Configure the diskarray successfully, you can infer that the script is successfully executed. Step 4 Check the volumes of the S2600 disk array. 1. Run the following command to log in to the S2600 disk array: # ssh admin@IP address of controller A of the S2600 disk array: 192.168.8.39
Password:<The initial password of the administrator is 123456>

CAUTION
After you log in to the S2600 disk array, the system displays the following information:
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory

This problem is related to the setting of environment variables, and does not affect the configuration of the S2600 disk array. You can ignore the information when installing the disk array. If the disk status indicator remains green and does not blink, you can infer that the RAID is created. After running the configuration script, ensure that the RAID of the disk array is created. Then, you can use the PlatformTools to create volumes. 2. Run the following command to check the information about the mapping and host group: OceanStor: admin> showlun
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-31

8 Installing and Configuring the M4000/M5000 Server (HA)


ID 0 1 2 RAID ID 0 0 0 Status Formatting Formatting Formatting Ctrler A B A

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


Capacity(MB) LUN Name 687103 oss_app0 687103 oss_app1 687103 oss_app2

The information about at least three volumes is displayed. If the value of Status is Formatting, you can infer that the RAID of the S2600 disk array is being created. If the value of Status is Normal, you can infer that the RAID is created. OceanStor: admin> showmap -gi 1
Map ID Ctrler 0x10000 A 0x10001 B 0x10002 A Dev LUN ID Host LUN 0 1 2 Mapped to RAID ID 0 Group: 1 1 Group: 1 2 Group: 1 Dev LUN Cap(MB) 0 687103 0 687103 0 687103

If the system output contains three records, you can infer that the mapping is successful. OceanStor: admin> showhostport -i 0
Port ID Port Name Port Information osssvr-1_ 500110a00015354c port_0 1 osssvr-1_ 500110a0001532ae port_1 2 osssvr-1_ 500110a00015354c port_0 3 osssvr-1_ 500110a0001532ae port_1 0 Port Type FC FC FC FC Host ID 0 0 0 0

If the system output contains four records, you can infer that the host group is successfully created. OceanStor: admin> showhostport -i 1
Port ID Port Name Port Information osssvr-2_ 500110a00015354d port_0 1 osssvr-2_ 500110a0001532ad port_1 2 osssvr-2_ 500110a00015354d port_0 3 osssvr-2_ 500110a0001532ad port_1 0 Port Type FC FC FC FC Host ID 0 0 0 0

If the system output contains four records, you can infer that the host group is successfully created. 3. Run the following command to log out of the S2600 disk array: OceanStor: admin> exit Step 5 Repeat Step 3 through Step 4 to complete the configuration of the second disk array. Step 6 Restart the server. # sync; sync; sync; sync; sync; sync # shutdown -y -g0 -i6 Step 7 After you log in to the server again, remove the DVD-ROM. # cd / # eject ----End
8-32 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

8.13 Configuring the S3200 Disk Array (HA)


Each S3200 disk array has an active controller and a standby controller. You can configure the S3200 disk arrays by setting up a connection between the server and the active controller. You need to configure the two S3200 disk arrays.

Prerequisite
l l l l

You have installed the operating system and patches on the server. You have logged in to node 1 and node 2 as user root. The communication between the disk array and the server is normal. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available.

Context

CAUTION
l

You should install the management host software of the disk array both on node 1 and node 2. If the configuration of the script fails when the IP addresses of the two 6140 disk arrays can be pinged, run the script again or even twice. If the configuration of the script still fails, contact Huawei technical support personnel for assistance.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of the server. Step 2 Install the management host software of the disk array on the server. 1. Run the following commands to run the script of the management host software: # cd /cdrom/cdrom0/S3X00array # ./install_S3X00software.sh 2. When the system displays Are you sure ?[Y/N], enter Y.

Step 3 Configure the disk array. This operation is performed only on Node1.

CAUTION
The creation of the disk array volume takes about 90 minutes. If the disk status indicator remains green and does not blink, you can infer that the volumes are created. You can use the PlatformTools to create volumes only when checking that the volumes of the disk array are created after the configuration scripts are run.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-33

8 Installing and Configuring the M4000/M5000 Server (HA)


TIP

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Run the following commands to check whether the volumes are created successfully. # SMcli 192.168.8.39 192.168.8.40 -c "show volume["oss_v0"] actionProgress;" # SMcli 192.168.8.39 192.168.8.40 -c "show volume["oss_v1"] actionProgress;"

1.

Run the following command to run the configuration script: # cd /cdrom/cdrom0/S3X00array # ./create_S3X00_raid.sh When the system displays the following message, enter y for confirmation.
Are you sure to continue? [y/n]

2.

When the system displays the following message, enter the IP address of controller A, for example, 192.168.8.39.
Please input the array controller A IP address:

3.

When the system displays the following message, enter the IP address of controller B, for example, 192.168.8.40.
Please input the array controller B IP address:

4. 5.

When the system displays the following message, enter S3100-1, the name of the disk array.
Please input the array name:

When the system displays the following message, enter y for confirmation.
Are you sure to continue? [y/n]

Step 4 Check the configuration of the disk array.


*************************************Current Volumes**************************** Number of standard volumes: 2 See other Volumes sub-tabs for premium feature information. NAME oss_v0 oss_v1 STATUS CAPACITY Optimal 800 GB 5 Optimal 800 GB 5 RAID LEVEL 1 2 VOLUME GROUP

********************************Current hotspare disks*************************** Disk 85,15 : Mode: Hot spare standby Disk 85,16 : Mode: Hot spare standby Configure the S3200 diskarray successfully. Please reboot server.

After the configuration is complete, verify that the two volumes naming oss_v0 and oss_v1 exist under the Current Volumes, the RAID value in two volumes is 5, and two records beginning with Disk are available under the Current hotspare disks. If the actual situation does not meet the requirement, perform Step 3 for reconfiguration. Step 5 Repeat Step 3 through Step 4 to implement the configuration of the second disk array. ----End

8-34

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

8.14 Configuring the 6140 Disk Array (HA)


Each 6140 disk arrays have an active controller and a standby controller. You can configure the 6140 disk arrays by setting up a connection between the server and the active controller. Both the two disk arrays need to be configured.

Prerequisite
l l l l

You have installed the operating system and patches on the server. You have logged in to node 1 and node 2 as user root. The communication between the disk array and the server is normal. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available.

Context

CAUTION
l

You should install the management host software of the disk array both on node 1 and node 2. If the configuration of the script fails when the IP addresses of the two 6140 disk arrays can be pinged, run the script again or even twice. If the configuration of the script still fails, contact Huawei technical support engineers for assistance.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 CD into the DVD-ROM drive of the server. Step 2 Install the management host software of the 6140 disk array on the server.
NOTE

You need to perform the operation on both node 1 and node 2, the other operations needs to perform only on node 1.

1.

Run the following commands to run the script of the management host software: # cd /cdrom/cdrom0/6140array # ./install_6140array_host_sw.sh

2.

When the system displays Are you sure ?[Y/N], type Y. Run the registration script of the 6140 disk array. # cd /cdrom/cdrom0/6140array # ./register_6140_array.sh

Step 3 Perform the following operations to register the 6140 disk array: 1.

2.

When the system displays the following information, type the password of user root. Then, press Enter.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-35

Issue 06 (2010-06-15)

8 Installing and Configuring the M4000/M5000 Server (HA)


Register 6140 Array. Please input the root password Type your password:

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

3.

When the system displays Please input the array ip address: , type the IP address of the disk array controller A.
NOTE

For the initial registration, type the default IP address 192.168.128.101 of controller A. Otherwise, type the actual IP address.

4.

When the system displays the following prompt, enter n. Do you want registere another Array?[y/n]:n Run the script for changing the name of the disk array. # cd /cdrom/cdrom0/6140array # ./modify_6140_arrayname.sh

Step 4 Perform the following steps to change the name of the disk array: 1.

2. 3.

When the system displays the following information, enter the password of user root.
Type your password:

When the system displays the following information, enter 1 to select the current disk array.
1--unamed Please select the array:1

4. 5.

When the system displays Do you want to modify Array name of unamed? [y/n] y, enter y. When the system displays Please input the new name for the array: , enter the planned name of the disk array. Run the following script to create the RAID 5 of the 6140 disk array: # cd /cdrom/cdrom0/6140array # ./create_6140_raid.sh

Step 5 Create the RAID 5 of the 6140 disk array. 1.

2.

When the system displays the following information, enter the password of user root.
Create Raid of 6140 Array. Type your password:

3. 4. 5.

When the system displays Please input the array ip address: , enter the IP address of controller A of the disk array. When the system displays Please input the name for the array: , enter the name of the disk array. When the system displays the following information, type y.
*********************************************************************** !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This script will destroy all the data of the array!! *********************************************************************** Are you sure to continue? [y/n]

Step 6 Create the host name and launcher corresponding to the disk array. 1. To check and record the WWN number of the FC port on each server, perform the following steps on each server:
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

8-36

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

# cd /cdrom/cdrom0/6140array # ./hbamap
hbamap Version 2.5.0 (12/04/07) FOUND PATH TO 3 LEADVILLE HBA PORTS C# INST# PORT WWN MODEL FCODE PATH -- ----- -------------------------c8 qlc1 2100001b3207b242 SG-XPCI1FC-QF4 1.24 pci@9,600000/SUNW,qlc@1 c9 qlc2 2100001b32079d43 SG-XPCI1FC-QF4 1.24 pci@9,600000/SUNW,qlc@2 c10 qlc1 2100001b3207b243 SG-XPCI1FC-QF4 1.24 pci@9,600000/SUNW,qlc@1 c11 qlc2 2100001b32079d53 SG-XPCI1FC-QF4 1.24 pci@9,600000/SUNW,qlc@2 STATUS -----CONNECTED CONNECTED NOT CONNECTED NOT CONNECTED / / / / DEVICE

In the system output that is similar to the previously displayed information, the path before CONNECTED is the physical path of the FC of the server. Two CONNECTED FCs exist on each server. To differentiate the physical paths of the two FCs in the following steps, the physical path of the first CONNECTED FC is represented as WWN number of FC1, and the physical path of the second CONNECTED FC is represented as WWN number of FC2. 2. Map the server and the disk array according to the WWN number. # cd /cdrom/cdrom0/6140array # ./map_6140_lun.sh 3. When the system displays the following information, enter the password of user root.
Map luns of 6140 Array. Type your password:

4.

When the system displays the following information, enter 1 to select the current disk array, and then press Enter.
1--ST6140-1 Please select the array:1
NOTE

In the previously displayed information, ST6140-1 refers to the name of the disk array and it varies according to the disk array name entered in Step 4.5.

5. 6. 7. 8. 9.

When the system displays Please input the hostname:, enter the name of the host to which the disk array is mapped, for example, osssvr-1. When the system displays Please input the first wwn: , enter WWN number of FC1 recorded in Step 6.1. When the system displays Are you want to input another wwn? [y/n], enter y. When the system displays Please input the second wwn: , enter WWN number of FC2 recorded in Step 6.1. When the system displays the following information, enter y, and then press Enter.
Map ST6140-1 to osssvr-1 Are you sure to continue? [y/n] y

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-37

8 Installing and Configuring the M4000/M5000 Server (HA)


NOTE

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

In the previously displayed information, ST6140-1 refers to the name of the disk array and osssvr-1 refers to the name of the host corresponding to the disk array. The two parameters vary according to the actual situations.

Step 7 Repeat Step 3 through Step 6 to implement the configuration of the second disk array. ----End

8.15 Enabling Multi-Path I/O (HA)


This describes how to enable the I/O multipathing of the Solaris system. You need to perform the operation on both node 1 and node 2.

Prerequisite
You have logged in to the server as user root.

Procedure
Step 1 Run the following command to enable the I/O multipathing: # stmsboot -D fp -e Step 2 When the system displays the following prompt, press Enter to continue:
WARNING: This operation will require a reboot. Do you want to continue ? [y/n] (default: y)

Step 3 When the system displays the following prompt, press Enter to continue:
The changes will come into effect after rebooting the system. Reboot the system now ? [y/n] (default: y)

The operating system restarts twice. ----End

8.16 Labeling Volumes for the Disk Array (HA)


This describes how to label each logical partition so that the operating system can find the associated logical partitions of the disks on the disk array.

Prerequisite
l l

You have labeled the logical partitions on the disks of the disk array. You have logged in to the server as user root.

Context
There are three standard models of disk arrays coming with the system: StorEdge 6140, OceanStor S2600 or OceanStor S3200 disk arrays. The methods for labeling volumes of both models are the same. This takes the OceanStor S2600 as an example.
8-38 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Procedure
Step 1 Check whether the operating system can find the logical partitions of the disks on the S2600 disk array. You need to perform the operation on both node 1 and node 2. # format View the displayed information, and check whether the information about the six logical partitions is contained.
AVAILABLE DISK SELECTIONS: 0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0/pci@0/pci@2/scsi@0/sd@0,0 1. c1t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273> /pci@0/pci@0/pci@2/scsi@0/sd@2,0 2. c6t6001882100E6B4BB4AE099D900000000d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b4bb4ae099d900000000 3. c6t6001882100E6B4BB4AE099DB00000001d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b4bb4ae099db00000001 4. c6t6001882100E6B4BB4AE099DD00000002d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b4bb4ae099dd00000002 5. c6t6001882100E6B6114AE0BF9A00000000d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b6114ae0bf9a00000000 6. c6t6001882100E6B6114AE0BF9B00000001d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b6114ae0bf9b00000001 7. c6t6001882100E6B6114AE0BF9D00000002d0 <S2600-1 cyl 65533 alt 2 hd 64 /scsi_vhci/ssd@g6001882100e6b6114ae0bf9d00000002 Specify disk (enter its number):

sec 335> sec 335> sec 335> sec 335> sec 335> sec 335>

If the Solaris operating system does not find the disks in the disk array, perform Step 2 to search for the disks in the disk array again. Step 2 Run the following command to search for the disks on the disk array again: # cfgadm -al The system displays the following information:
Ap_Id . c2 c2::200400a0b817e7b8 c2::200500a0b817e7b8 c2::210000e08b104d10 c3 c3::200400a0b817e7b9 c3::200500a0b817e7b9 c3::210000e08b102a73 Type fc-private disk disk unknown fc-private disk disk unknown Receptacle connected connected connected connected connected connected connected connected Occupant Condition

unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown unconfigured unknown

Identify fc-private in the column Type and the corresponding values in AP_Id. Then, run the following command on each matching AP_Id: In this sample, the corresponding values in AP_Id are c2 and c3. # cfgadm -c configure c2 # cfgadm -c configure c3 Then, perform Step 1 to view the information about the logical partitions. Step 3 Perform the following steps to label the logical partitions found by the operating system: Perform this operation only on node1.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-39

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

1.

The system displays the following message after you run the format command. Enter the number corresponding to the logical partition on the disk array, which is 2 in this example.
Specify disk (enter its number):2

2.

Label the logical partitions of the disks. Enter y at the following information:
selecting c6t6001882100E6B4BB4AE099D900000000d0 [disk formatted] Disk not labeled. Label it now?

After running the command label, enter yes at the following information:
FORMAT MENU: disk type partition current format repair label analyze defect backup verify save inquiry volname !<cmd> quit select a disk select (define) a disk type select (define) a partition table describe the current disk format and analyze the disk repair a defective sector write label to the disk surface analysis defect list management search for backup labels read and display labels save new disk/partition definitions show vendor, product and revision set 8-character volume name execute <cmd>, then return

format> label Ready to label disk, continue?

3.

Repeat Step 3.1 and Step 3.2 to label other logical partitions after running the following command: format> disk

Step 4 Exit from format. format> q ----End

8.17 Installing and Configuring the Sun Cluster Software and Patches
The Sun Cluster software is used to manage the system resource. Thus, system resource can be automatically switched to the standby server to keep the normal operation of the system when the active server is faulty.

Prerequisite
l l l

You have installed the operating system and its patches on the server. You have logged in to node 1 and node 2 as user root. You have inserted the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVDROM drive of the server.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

8-40

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Procedure
Step 1 Install the Sun Cluster software and patches. Run the operation on both node 1 and node 2. 1. Run the following command to install the Sun Cluster software and patches. # cd /cdrom/cdrom0/suncluster3.2 # ./install_suncluster.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

The installation lasts for about 25 minutes.

2.

Run the following command to install the Sybase Agent # ./install_sybase_SUN_agent.sh When the system displays Are you sure ?[Y/N] , enter Y.

3.

Run the following command to install the Sun Cluster software and patches. # ./install_suncluster_patch.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

You can ignore the failed messages during the installation. This process lasts about 10 minutes. Then, the server automatically restarts.

Step 2 Configure the Sun Cluster. 1. Run the following command on node 1 to configure the Sun Cluster. # cd /cdrom/cdrom0/suncluster3.2 # ./config_suncluster.sh When the system displays Are you sure ?[Y/N] , enter Y.

CAUTION
Node 1 automatically restarts. After the restart of node 1 is complete, perform Step 2.2 to configure the Sun Cluster on node 2. 2. Run the following command on node 2 to configure the Sun Cluster. # cd /cdrom/cdrom0/suncluster3.2 # ./config_suncluster.sh When the system displays Are you sure ?[Y/N] , enter Y.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-41

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

CAUTION
Node 2 automatically restarts. After the restart of node 2 is complete, perform Step 2.4 to configure the Sun Cluster on node 2. 3. 4. Log in to node 1 as user root again. Run the following command on node 1 to configure qurom device. # cd /cdrom/cdrom0/suncluster3.2 # ./config_qurom_device.sh When the system displays Are you sure ?[Y/N] , enter Y. ----End

8.18 Checking Installation of the Sun Cluster Software and Patches


After installing the Sun Cluster software and its patch on Node1 and Node2, you must check that the Sun Cluster software is correctly installed and the software is operational. This operation is performed only on Node1.

Prerequisite
You have logged in to the server as root.

Procedure
Step 1 Check the status of Node1 and Node2. # scstat -q If the displayed information meets all the following conditions, you can infer that the Cluster is properly installed:
l

The number of Quorum votes possible and that of Quorum votes present is 3. The values of Status on both Node1 and Node2 are Online. The value of Status in Device votes is Online.
Quorum votes possible: Quorum votes needed: Quorum votes present: 3 2 3

l l

-- Quorum Summary --

-- Quorum Votes by Node -Node Name --------osssvr-1 osssvr-2 Present Possible Status ------- -------- -----1 1 Online 1 1 Online

Node votes: Node votes:

8-42

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


-- Quorum Votes by Device --

8 Installing and Configuring the M4000/M5000 Server (HA)

Device votes:

Device Name ----------/dev/did/rdsk/d4s2

Present Possible Status ------- -------- -----1 1 Online

----End

8.19 Installing and Configuring the Volume Manager


This describes how to install the VERITAS Volume Manager on the server. You can regroup several physical disks on the disk array into logical devices to facilitate the management. The logical devices refers to volumes. You need to perform the operation on both node 1 and node 2.

Prerequisite
l l l l

You have installed the operating system and its patches on the server. You have logged in to the server as user root. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk is available. You have obtained the license of the Volume Manage. If the license is not available, contact Huawei technical support personnel for assistance.

Procedure
Step 1 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of the server. Step 2 Run the following commands to install the Volume Manager: # cd /cdrom/cdrom0/veritas5.0 # ./install_VXVM.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

The process takes about 15~30 minutes.

Step 3 Install the patches of the Volume Manager. # ./install_VXVM_patch.sh When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

This process takes about 15 to 30 minutes. Then, the server automatically restarts.

Step 4 Log in to the server as user root again. Step 5 Configure the Volume Manager. 1. Run the configuration script file of the Volume Manager. # cd /cdrom/cdrom0/veritas5.0 # ./config_VXVM.sh
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-43

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

When the system displays Are you sure ?[Y/N] , enter Y. 2. When the system displays Enter your license key :, enter the license of the Volume Manager. The system displays the following message after the configuration is complete:
Creating a report on all VERITAS products installed on this system -----------------***********************----------------License Key Product Name Serial Number License Type OEM ID Features := VxVM CPU Count Platform Version Current vxdctl mode: mode: enabled = = = = Enabled Not Restricted Solaris 4.1 = = = = = ****-****-****-****-****-****-****-** VERITAS Volume Manager 22854 PERMANENT 2002

In the previous message, if the value of VxVM is Enabled, you can infer that the installation and configuration of the Volume Manager are correct. Otherwise, perform Step 2 through Step 5 to install and configure the Volume Manager again.
NOTE

The process takes about 10 minutes.

Step 6 After installing the VERITAS Volume Manager software on node 1 and node 2, check whether the field values of vxio and did in the /etc/name_to_major file on node 1 are consistent with that on node 2.
NOTE

In the system output, the values of vxio and did vary with the system configuration. The following takes the values 318 and 239 as an example.

1.

Run the following command on node 1 to view the node information. # grep "vxio" /etc/name_to_major
vxio 318

# grep "did" /etc/name_to_major


did 239

2.

Run the following command on node 2 to view the node information. # grep "vxio" /etc/name_to_major
vxio 318

# grep "did" /etc/name_to_major


did 239

3.

Check whether the field values of vxio and did in the /etc/name_to_major file on node 1 are consistent with that on node 2. In the case of inconsistency, proceed with Step 6.4 and
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

8-44

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Step 6.5, change the values of node 2 to ensure that the values are consistent with that of node 1. 4. Run the following command on node 2 to modify the node information. a. b. Run the following command to backup the /etc/name_to_major. # cp /etc/name_to_major /etc/name_to_major.bak Run the following command to modify the value of vxio. # grep -v vxio /etc/name_to_major > /tmp/name_to_major.new # echo "vxio 318" >> /tmp/name_to_major.new # mv /tmp/name_to_major.new /etc/name_to_major # chmod 644 /etc/name_to_major c. Run the following command to modify the value of did. # grep -v did /etc/name_to_major > /tmp/name_to_major.new # echo "did 239" >> /tmp/name_to_major.new # mv /tmp/name_to_major.new /etc/name_to_major # chmod 644 /etc/name_to_major 5. Run the following command on node 2 to restart the node. # sync;sync;sync;sync;sync;sync # shutdown -g0 -y -i6 ----End

8.20 Checking the Installation of the Volume Manager


This describes how to check whether the Volume Manager and its license are installed successfully on both Node1 and Node2.

Prerequisite
l l

You have logged in to the M2000 server as user root. The license number of the Volume Manager is available.

Procedure
Step 1 Check whether the license of the Volume Manager is installed successfully. # vxlicrep In the output information, if the License Type is DEMO, you can infer that the license installed is a temporary one.
NOTE

The license installed before the delivery is a demo. Therefore, you need to apply for a commercial license and replace the demo with the commercial license on site.

Step 2 Check whether the Volume Manager is correctly installed. # vxdctl mode
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-45

8 Installing and Configuring the M4000/M5000 Server (HA)


mode: enabled

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

If mode is enabled, you can infer that the Volume Manager is correctly installed. ----End

8.21 Uploading the PlatformTools Installation Package to the Server


Creating the M2000 database and setting the disks on the server are both performed through the PlatformTools. Therefore, you should upload the PlatformTools installation package to the server beforehand. Perform this task on each server.

Prerequisite
l l

You have logged in to the server as user root. The PlatformTools installation package is available.

Procedure
Step 1 Upload the PlatformTools installation package from the PC to the server.
TIP

If the file path contains a space, enclose the path with double quotation marks in DBC case. Otherwise, the system cannot identify this path. As a result, the files cannot be uploaded or downloaded. Do not place the file on the desktop of the PC that uses the Microsoft Windows operating system, because the desktop path contains spaces.

1. 2. 3.

Switch to the command mode on the PC and run the ftp command. ftp IP address of the server Enter the user name and password of user root. Set the file path on the PC and the server. ftp> lcd path of the installation package on the PC ftp> cd /opt

4.

Set the transfer mode to binary mode. ftp> bin

5.

Upload the installation package. ftp> put *M2000-TOOL*Platform*.tar.gz The installation package starts to be uploaded to the server. After the file transfer is complete, the system is switched to the ftp> state.

6.

Quit the ftp. ftp> bye

Step 2 To unpack the file package of PlatformTools, run the following command on the server: # cd /opt # /usr/sfw/bin/gtar zxf *M2000-TOOL*Platform*.tar.gz
8-46 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Step 3 To set authorization to the PlatformTools directory, run the following command on the server: # cd /opt/PlatformTools # chmod -R 750 /opt/PlatformTools ----End

8.22 Configuring M2000 Disks (HA, M4000/M5000)


This section describes how to configure disks on the disk array by using the PlatformTools. Configuring disks involves creating volumes on the disk array and creating the file system on the exporthome volume. Before configuring the disk array, you must customize the operating system. You must customize the operating system on both node 1 and node 2 and need to configure the disk array only on node 1.

Prerequisite
l l

You have logged in to node 1 and node 2 as user root. The network connection between the PC and node 1 and that between the PC and node 2 are normal. The installation package of the PlatformTools is decompressed to the /opt directory on the server.

Context

CAUTION
Ensure that the PC is connected to the server during the execution of the PlatformTools. After starting the PlatformTools, you can type R on the system interface to return to the previous menu, or type Q to exit the PlatformTools.

Procedure
Step 1 Perform the following operations on node 1 and node 2 separately to customize the Solaris system parameters. 1. Run the following commands to start the PlatformTools: # cd /opt/PlatformTools # ./setup 2. On the displayed interface, choose Installation > Dual system > NodeN > M4000/ M5000. In the previous menus, N indicates the current node where you perform operations. For example, if you perform operations on node 1, N indicates 1. When the system displays the following message, type y, and then press Enter.
Are you sure to continue? [y/n]

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-47

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

3.

On the displayed interface, choose Customize the Solaris. When the system displays the following message, type y, and then press Enter to start customizing the Solaris system.
Do you want to customizing solaris? [y/n]
NOTE

When the system displays Customize the Solaris completed successfully., it indicates that the system is customized successfully.

If ... Node 1 Node 2

Then ... Perform Step 2 to Step 3. Perform Step 3.

Step 2 Perform the following operations on node 1 to create volumes. 1. On the displayed interface, choose Create volumes to create volumes. When the system displays the following message, type y, and then press Enter to start creating volumes.
Do you want to create volumes? [y/n]
NOTE

If no fail or no error information is displayed, it indicates that the volumes are created. This process takes about 120 minutes.

2.

When the system displays the following message, press Enter to continue.
Hit RETURN to go back

Step 3 When the system returns to the main interface, type Q to quit the PlatformTools. ----End

8.23 Checking the Disk Configurations of the M2000 Server (HA


This describes how to check whether the local disk configurations are the same as planned. In the case of inconsistency, contact Huawei technical support personnel.

Prerequisite
l l

You have logged in to node 1 and node 2 as user root. The network connection between the PC and node 1 and that between the PC and node 2 are normal.

Procedure
Step 1 Run the following command to check whether node 1 is the active node. # scstat -g
8-48 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

View the system output to determine the active and standby nodes. For example, if the host name is osssvr_rs and disk name is ossdg_rs. the server whose resource status is online is the active node and the server whose resource status is offline is the standby node. Step 2 If node 1 is the standby node, run the following command to switch node 1 to the active node: # scswitch -S -h hostname of node 2 After the switchover, perform Step 1 to check whether node 1 is the active node. If node 1 is not the active node, performStep 2. Step 3 Run the following command on node 1 to check the settings of the disk array. # vxprint -pv If the values of STATE in the v and pl columns are ACTIVE in the displayed message, you can infer that the disks on the disk array are successfully set.
NOTE

The values of ASSOC in the columns where the TY NAME is dm varies according to the server configuration.

Step 4 Run the following commands on node 1 to check whether the exporthome volume is mounted to the export/home directory. # df -k
Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d100 17146994 10350431 6625094 61% / /devices 0 0 0 0% /devices ctfs 0 0 0 0% /system/contract proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab swap 9496440 1320 9495120 1% /etc/svc/volatile objfs 0 0 0 0% /system/object fd 0 0 0 0% /dev/fd swap 9495184 64 9495120 1% /tmp swap 9495224 104 9495120 1% /var/run swap 9495120 0 9495120 0% /dev/vx/dmp swap 9495120 0 9495120 0% /dev/vx/rdmp /dev/md/dsk/d215 1020815 3604 955963 1% /global/.devices/node@1 /dev/md/dsk/d115 1020815 3602 955965 1% /global/.devices/node@2 /dev/vx/dsk/ossdg/exporthome 144506594 2647322 140414207 2% /export/home

Ensure that the system output displays that the /dev/vx/dsk/ossdg/exporthome disk device is mounted to the /export/home directory. If the disk device is not mounted to the directory, contact Huawei technical support personnel for assistance. Step 5 Run the following commands on node 2 to check whether the exporthome volume is mounted to the export/home directory. # df -k
Filesystem /dev/md/dsk/d100 /devices ctfs proc mnttab swap objfs fd swap swap kbytes used avail capacity 17146994 10350431 6625094 61% 0 0 0 0% 0 0 0 0% 0 0 0 0% 0 0 0 0% 9496440 1320 9495120 1% 0 0 0 0% 0 0 0 0% 9495184 64 9495120 1% 9495224 104 9495120 1% Mounted on / /devices /system/contract /proc /etc/mnttab /etc/svc/volatile /system/object /dev/fd /tmp /var/run

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-49

8 Installing and Configuring the M4000/M5000 Server (HA)


swap swap /dev/md/dsk/d215 /dev/md/dsk/d115 9495120 9495120 1020815 1020815

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)


0% 0% 1% 1% /dev/vx/dmp /dev/vx/rdmp /global/.devices/node@1 /global/.devices/node@2

0 9495120 0 9495120 3604 955963 3602 955965

Ensure that the system output displays that no disk is mounted to /export/home directory. Step 6 Run the following command to check whether the resource group is normal. The resource group must be in online status on either of the two nodes. # scstat -D
-- Device Group Servers -Device Group -----------ossdg Primary ------osssvr-2 Secondary --------osssvr-1

Device group servers: -- Device Group Status --

Device group status:

Device Group -----------ossdg

Status -----Online

-- Multi-owner Device Groups -Device Group -----------Online Status -------------

Step 7 Run the following command to check whether the shared devices are normal. The shared devices must be in online status on either of the two nodes. # scstat -g
-- Resource Groups and Resources -Group Name ---------Resources: oss_rg -- Resource Groups -Group Name ---------Group: oss_rg Group: oss_rg -- Resources -Resource Name ------------Resource: osssvr_rs Resource: osssvr_rs online. Resource: ossdg_rs Resource: ossdg_rs Node Name --------osssvr-1 osssvr-2 osssvr-1 osssvr-2 State Status Message -----------------Offline Offline Online Online - LogicalHostname Offline Online Offline Online Node Name --------osssvr-1 osssvr-2 State ----Offline Online Resources --------osssvr_rs ossdg_rs

----End

8.24 Installing and Configuring the Sybase (HA)


This describes how to install the Sybase and its patches on the server.
8-50 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Prerequisite
l l l

The communication between the PC and the server is normal. You have logged in to node 1 and node 2 as user root through the PuTTY. The Auto_Install_DVD3/3_For Solaris_APP_V2.1 and SYBASE ASE15.0.3 License disk are available.

Procedure
Step 1 You have inserted the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of node 1. Step 2 Install the Sybase software and patches on node 1. # cd /cdrom/cdrom0/sybase # ./install_sybase.sh /opt/sybase Y When the system displays Are you sure ?[Y/N] , enter Y.
NOTE

This process takes about 30 minutes. During the process, user dbuser is automatically created and the passward of the user is set to dbuser.

Step 3 Run the following commands to remove the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk: # cd / # eject Step 4 Perform the following operations to install the Sybase license. 1. 2. Insert the Sybase 15.0.3 license disk into the DVD-ROM drive of the server. Copy the license file from the disk to the /opt/sybase/SYSAM-2_0/licenses directory. # rm -rf /opt/sybase/SYSAM-2_0/licenses/* # cd /cdrom/cdrom0/ase15_li/solaris_ # cp *.lic /opt/sybase/SYSAM-2_0/licenses # chown dbuser:staff /opt/sybase/SYSAM-2_0/licenses/*
NOTE

The extension of the Sybase license file is .lic.

3.

Remove the license installation disk. # cd / # eject

Step 5 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of node 1 again. Step 6 Create the Sybase database server on node 1. This process takes about 30 minutes.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-51

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

CAUTION
l

192.168.8.31 in the following command is the planned logical IP address of node 1 and node 2. Replace the IP address based on the actual situation. For the T5220 server, see 7.2 Planning the Host Name and IP Address for the T5220 Server (HA). For the M4000/M5000 server, see 8.2 Planning the Host Name and IP Address for the M4000/M5000 Server (HA). In the following command, SYB is the name of the database server. Do not change this name unless otherwise specified.

# cd /cdrom/cdrom0/sybase # ./create_sybase_master.sh /export/home/sybdev 192.168.8.31 SYB When the system displays Are you sure ?[Y/N] , enter Y. Step 7 Run the following commands to remove the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk: # cd / # eject Step 8 Insert the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk into the DVD-ROM drive of node 2. Step 9 Creat user dbuser and the passward on node 2. # cd /cdrom/cdrom0/sybase # ./install_sybase.sh /opt/sybase N When the system displays Are you sure ?[Y/N] , enter Y. Step 10 Run the following commands to remove the Auto_Install_DVD3/3_For Solaris_APP_V2.1 disk: # cd / # eject ----End

8.25 Creating the M2000 Database (HA, M4000/M5000)


This describes how to create the M2000 database through the PlatformTools. To optimize the performance of the M2000 database, you need to set the Sybase parameters before creating the M2000 database. The M2000 database needs to be created only on node 1.

Prerequisite
l l

You have logged in to node 1 as user root through the PuTTY. The installation package of the PlatformTools has been decompressed to the /opt directory on the server.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

8-52

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Context

CAUTION
When the PlatformTools is running, ensure that the PC is connected with the server.

Procedure
Step 1 Run the following commands on the server to start the PlatformTools. # cd /opt/PlatformTools # ./setup
NOTE

After starting the PlatformTools, you can type R on the system interface to return to the upper-level menu or type Q to exit the PlatformTools.

Step 2 On the displayed interface, choose Installation > Dual system > Node1 > M4000/M5000. When the system displays the following message, type y, and then press Enter.
Are you sure to continue? [y/n]

Step 3 On the displayed interface, choose Set Sybase parameters to configure the Sybase parameters. When the system displays the following prompt, type y to configure the parameters of the Sybase database.
Do you want to modify the parameters of Sybase? [y/n]

Step 4 When the system displays the following message, type the server name of the Sybase database that runs on the current server, and then press Enter:

CAUTION
The typed name of the database server must be consistent with the name set in "Creating the Sybase Database Server" in 8.24 Installing and Configuring the Sybase (HA).
Please input Database server , "q" to quit:

Step 5 When the system displays the following message, type sa, and then press Enter:
Please input Database user name , "q" to quit:

Step 6 When the system displays the following information, enter the password of user sa created on the current server. Then, press Enter. The default password of user sa is emsems.
Please input Database password
NOTE

, "q" to quit:

When the system displays Set the parameters of Sybase completed successfully., you can infer that the Sybase parameters are set successfully.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

8-53

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Step 7 When the system displays the following message, press Enter to continue.
Hit RETURN to go back

Step 8 On the displayed interface, choose Create an OMC database to create the database. When the system displays the following prompt, type y to create the database device.
Do you want to create database? [y/n]

Step 9 When the system displays the following message, type the server name of the Sybase database that runs on the current server, and then press Enter:

CAUTION
The typed name of the database server must be consistent with the name set in "Creating the Sybase Database Server" in 8.24 Installing and Configuring the Sybase (HA).
Please input Database server , "q" to quit:

Step 10 When the system displays the following message, type sa, and then press Enter:
Please input Database user name , "q" to quit:

Step 11 When the system displays the following information, enter the password of user sa created on the current server. Then, press Enter. The default password of user sa is emsems.
Please input Database password
NOTE

, "q" to quit:

When the system displays Set the parameters of Sybase completed successfully., you can infer that the Sybase parameters are set successfully.

----End

8.26 Troubleshooting: Failed to Set the Sybase Parameters by Using the PlatformTools (HA)
This describes a solution to the problem that you fail to set the Sybase parameters by using the PlatformTools.

Symptom
When you are setting the Sybase parameters by using the PlatformTools, the system displays the following message to acknowledge the failure to set the Sybase parameters.
Set the parameters of Sybase failed. Please check the log file.

Fault Analysis
Excessive memory is allocated to the database parameters defined by the current database configuration file SYB.cfg. Thus, free memory cannot meet the requirements for setting Sybase parameters.
8-54 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

Troubleshooting:
Log in to the server as user dbuser and restore the Sybase parameter configuration file. 1. Run the following commands to stop the Sybase: -bash-3.00$ isql -SSYB -Usa -P password of user sa 1> shutdown SYB_BACKUP 2>go 1> shutdown 2>go
NOTE

Run the command ps -ef | grep sybase | grep -v grep to check whether the Sybase is stopped. If no output is displayed, you can infer that the Sybase is stopped. If the Sybase is not stopped, run the kill -9 PID of Sybase command to forcibly stop the Sybase process. SYB in the previous commands refers to the name of the database server. Enter the name of the database server based on the actual situation.

2.

Run the following command to restore the Sybase parameter configuration file. -bash-3.00$ cd /opt/sybase/ASE-15_0 -bash-3.00$ cp SYB.cfg /tmp/SYB.bak -bash-3.00$ cp -p SYB.001 SYB.cfg

3.

Restart the Sybase. -bash-3.00$ cd /opt/sybase/ASE-15_0/install -bash-3.00$ ./startserver -f ./RUN_SYB


NOTE

It takes about 30 seconds to start the Sybase. Please wait.

Press Enter. When the -bash-3.00$ prompt is displayed, run the following command: -bash-3.00$ nohup ./startserver -f ./RUN_SYB_back SYB in the previous commands refers to the name of the database server. Enter the name of the database server based on the actual situation. 4. Run the following commands to check whether the Sybase is started: -bash-3.00$ cd /opt/sybase/ASE-15_0/install -bash-3.00$ ./showserver
UID PID PPID C STIME TTY TIME CMD dbuser 1594 1589 0 10:53:40 ? 0:01 /opt/sybase/ASE-15_0/bin/ dataserver -ONLINE:5,0,0x65008686, 10000000000, 0x1fc0 dbuser 1597 1589 0 10:53:41 ? 0:01 /opt/sybase/ASE-15_0/bin/ dataserver -ONLINE:8,0,0x65008686, 10000000000, 0x1fc0 ... ... dbuser 1608 1607 0 10:54:58 pts/2 0:00 /opt/sybase/ASE-15_0/bin/ backupserver -e/opt/sybase/ASE-15_0/install/SYB_back.l

If the output information contains dataserver and backupserver, you can infer that the data service and backup service of the database are normally started. 5. 6. User dbuser logs out. -bash-3.00$ exit Log in to the server as user root and reset the Sybase parameters. For details, see Table 8-13.
Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-55

Issue 06 (2010-06-15)

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Table 8-13 References System Type T5220 M4000/M5000 References 7.23 Creating the M2000 Database (HA, T5220) 8.25 Creating the M2000 Database (HA, M4000/M5000)

8.27 Checking the Sybase Server Connection


This describes how to check the Sybase server connection to ensure that the Sybase database is connected. You need to perform this operation on only the active node.

Prerequisite
l l

The database is normally started. You have logged in to the M2000 server as user dbuser.

Procedure
Step 1 Run the following command to view the database server name: -bash-3.00$ cd /opt/sybase/ASE-15_0/install -bash-3.00$ ls If the system displays the following information, you can infer that the name of the database server is SYB.
RUN_SYB RUN_SYB_back

Step 2 Run the following command to check whether the database server can be connected. In the command, SYB indicates the database server name that you view in Step 1. Replace it with an actual database server name. -bash-3.00$ isql -SSYB -Usa -Ppassword of user sa
l

If the system output contains 1> , you can infer that the database server is operating normally. Enter exit to log out of the M2000 server. If the system output does not contain 1> , you can infer that the database is operating abnormally. You need to contact Huawei technical support personnel for assistance.

----End

8.28 Checking the Version and Patches of the Sybase


This describes how to check whether the Sybase application software and patches listed in the version configuration table are installed. The installation of the right version of Sybase application software and patches is essential to the normal operation of the M2000 system.You
8-56 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

8 Installing and Configuring the M4000/M5000 Server (HA)

need to perform this operation on only the active node.For an HA system, you need to perform this operation on only the active node.

Prerequisite
You have logged in to the M2000 server as user dbuser.

Context

CAUTION
In the following commands, SYB indicates the name of the database server. Replace it with an actual database server name.

Procedure
Step 1 To check that the Sybase database software and EBF16548 patch are installed, run the following commands: -bash-3.00$ isql -SSYB -Usa -Ppassword of user sa 1> select @@version 2> go
Adaptive Server Enterprise/15.0.3/EBF 16548 ESD#1/P/Sun_svr4/OS 5.8/ ase1503/2680/64-bit/FBO/Thu Mar 5 09:39:28 2009

In the system output, 15.0.3 indicates the version number of the current Sybase; 16548 indicates the patch number of the installed patch. The version number of the Sybase and the patch number must be consistent with those provided in the version relation table; otherwise, contact Huawei technical support personnel for assistance. Step 2 To check that the license of the Sybase database is installed, run the following commands: 1> sp_lmconfig 2> go If the system output contains ASE_CORE of Expiry Date is Permanent, you can infer that the license of the Sybase database is successfully installed. Otherwise, contact Huawei technical support personnel for assistance. Step 3 To exit isql, run the following command: 1> exit ----End

8.29 Installing the Sybase and Patches on Node2


This is performed to install the Sybase and patches on Node2. To install the Sybase and patches on Node2, you must copy the installation files from Node1 to Node2 and execute the installation.
Issue 06 (2010-06-15) Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. 8-57

8 Installing and Configuring the M4000/M5000 Server (HA)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

Prerequisite
l l

Install the Sybase and patches on Node1. Log in to Node1 as user dbuser.

Procedure
Step 1 To stop the Sybase on Node1, execute the following command: -bash-3.00$ isql -SSYB -Usa -PPassword of sa 1> shutdown SYB_BACKUP 2> go 1> shutdown 2> go Step 2 To pack the Sybase on Node1, log in to Node1 as root, and execute the following commands: # cd /opt # tar cvf sybase.tar sybase Step 3 Execute FTP to transmit the /opt/sybase.tar file from Node1 to the /opt directory on Node2. 1. Transmit the file to Node2 through FTP. # ftp Active adaptor IP for the public network of Node2 2. 3. Enter root and the password to go to the opt directory on Node2. Enter the /opt directory on Node2. # cd /opt 4. Set the binary mode for transmitting the file. ftp> bin 5. Transmit the file /opt/sybase.tar. ftp> put /opt/sybase.tar 6. Exit FTP. ftp> quit Step 4 To install the Sybase on Node2, log in to Node2 as root, and execute the following commands on Node2: # cd /opt # tar xvf sybase.tar # chown -R dbuser:staff /opt/sybase ----End
8-58 Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd. Issue 06 (2010-06-15)

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

9 FAQs

9
About This Chapter
This chapter describes FAQs and solutions related to the M2000.

FAQs

9.1 How Should I Do When the System Fails to Read the CD-ROM This describes what to do when the system fails to read the CD during the installation of the server. 9.2 What to Do When the Information Displayed on the Interface Is Abnormal? This section describes what to do when the information displayed on the interface is abnormal.

Issue 06 (2010-06-15)

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

9-1

9 FAQs

HA System Software Initial Installation Guide (T5220&M4000&M5000, S10)

9.1 How Should I Do When the System Fails to Read the CDROM
This describes what to do when the system fails to read the CD during the installation of the server.

Question
l

What should we do when the system fails to access the DVD-ROM and displays No default media available after the restart? What should we do when the system fails to read the CD and displays No such device or address?

Answer
Run the following commands to restart the Volume Manager service. # /etc/init.d/volmgt stop # /etc/init.d/volmgt start

9.2 What to Do When the Information Displayed on the Interface Is Abnormal?


This section describes what to do when the information displayed on the interface is abnormal.

Question
When we are configuring or maintaining the server through the character interface, the information displayed on the interface is abnormal. To solve this problem, what should we do?

Answer
1. 2. 3. If the abnormality occurs when you are editing a file by using the vi command, press Esc and then run the :q! to exit the vi editor. (Optional) Run the clear command to clear the screen. Run the following command to set the type of the terminal to vt100. Then, proceed with the next operation. # TERM=vt100; export TERM

9-2

Huawei Proprietary and Confidential Copyright Huawei Technologies Co., Ltd.

Issue 06 (2010-06-15)

S-ar putea să vă placă și