Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

download Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

of 127

Transcript of Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    1/127

    ZXMBW AGWWiMAX Wireless Access Gateway

    Software Installation Guide

    Version 3.08.10

    ZTE CORPORATIONZTE Plaza, Keji Road South,Hi-Tech Industrial Park,Nanshan District, Shenzhen,P. R. China518057Tel: (86) 755 26771900Fax: (86) 755 26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]

    http://ensupport.zte.com.cn/mailto:[email protected]:[email protected]://ensupport.zte.com.cn/
  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    2/127

    LEGAL INFORMATION

    Copyright 2006 ZTE CORPORATION.

    The contents of this document are protected by copyright laws and international treaties. Any reproduction ordistribution of this document or any portion of this document, in any form by any means, without the prior writtenconsent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected bycontractual confidentiality obligations.

    All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTECORPORATION or of their respective owners.

    This document is provided as is, and all express, implied, or statutory warranties, representations or conditions

    are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from theuse of or reliance on the information contained herein.

    ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications

    covering the subject matter of this document. Except as expressly provided in any written license between ZTECORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter

    herein.

    ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.

    Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.

    The ultimate right to interpret this product resides in ZTE CORPORATION.

    Revision History

    Date Revision No. Serial No. Reason for Issue

    Mar, 13, 2009 R1.0 sjzl20091240 First edition

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    3/127

    ZTE CORPORATIONValues Your Comments & Suggestions!

    Your opinion is of great value and will help us improve the quality of our productdocumentation and offer better services to our customers.

    Please fax to (86) 755-26772236 or mail to Marketing Department, ZTE University,ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Shenzhen, P. R. China518057.E-Mail to [email protected].

    Thank you for your cooperation!

    DocumentName

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    Product Version V3.08.10Document RevisionNumber

    R1.0

    Serial No. sjzl20091240 EquipmentInstallation Date

    Presentation:

    (Introductions, Procedures, Illustrations, Completeness, Level of Detail, Organization,Appearance)

    Good Fair Average Poor Bad N/A

    Accessibility:

    (Contents, Index, Headings, Numbering, Glossary)

    Good Fair Average Poor Bad N/A

    Your evaluationof thisdocumentation

    Intelligibility:

    (Language, Vocabulary, Readability & Clarity, Technical Accuracy, Content)

    Good Fair Average Poor Bad N/A

    Yoursuggestions forimprovement ofthisdocumentation

    Please check the suggestions which you feel can improve this documentation:

    Improve the overview/introduction Make it more concise/brief

    Improve the Contents Add more step-by-step procedures/tutorials

    Improve the organization Add more troubleshooting information

    Include more figures Make it less technical

    Add more examples Add more/better quick reference aids

    Add more detail Improve the index

    Other suggestions

    __________________________________________________________________________

    __________________________________________________________________________

    __________________________________________________________________________

    __________________________________________________________________________

    __________________________________________________________________________

    # Please feel free to write any comments on an attached sheet.

    If you wish to be contacted regarding your comments, please complete the following:

    Name Company

    Postcode Address

    Telephone E-mail

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    4/127

    This page is intentionally blank.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    5/127

    Contents

    About This Manual ............................................................ iPurpose................................................................................ iIntended Audience ................................................................. iPrerequisite Skill and Knowledge.............................................. iWhat Is in This Manual ........................................................... iRelated Documentation.......................................................... iiConventions......................................................................... iiHow to Get in Touch............................................................. iii

    Chapter 1..........................................................................1Overview of Software Installation ..................................1

    Overview .......................................................................1Basic Composition of AGW System ....................................2

    Hardware Composition of AGW System ....................................2Software Composition of AGW System .....................................2

    Environmental Requirements of Network Management Server3Environmental Requirements of Network Management Client.4

    Chapter 2..........................................................................7Software Installation Procedure.....................................7

    Overview .......................................................................7Introduction to Software Installation Procedure ...................7Installation Procedure of OS KLinux ...................................8Installation Procedure of Database Oracle...........................8Installation Procedure of OMC Server Software....................9Installation Procedure of OMC Client Software .....................9Naming Rules of ZXMBW AGW Network ManagementInstallation...................................................................10

    Chapter 3........................................................................11KLinux Installation.........................................................11

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    6/127

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    7/127

    Shutting down OMC Server................................................. 100Starting OMC Client........................................................... 101Shutting down OMC Client.................................................. 103

    Appendix A...................................................................105Abbreviations...............................................................105Figures..........................................................................109Tables...........................................................................113Index............................................................................115

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    8/127

    This page is intentionally blank.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    9/127

    Confidential and Proprietary Information of ZTE CORPORATION i

    About This Manual

    Purpose

    This manual provides procedures and guidelines that support theoperation of the ZXMBW AGW WiMAX Wireless Access Gateway.

    Intended Audience

    This manual is intended for engineers and technicians who areresponsible for software installation of ZXMBW AGW WiMAXWireless Access Gateway.

    Prerequisite Skill and Knowledge

    To use this manual effectively, users should have a generalunderstanding of wireless telecommunications technology.Familiarity with the following is helpful:

    ZXMBW AGW system and its various components

    Local operating procedures

    What Is in This Manual

    This manual contains the following chapters:

    TA B L E 1 C H A P T E R SUM M ARY

    Chapter Summary

    Chapter 1, , Overviewof Software Installation

    Introduces the overall software installationinformation of ZXMBW AGW system.

    Chapter 2SoftwareInstallation Procedure

    Introduces the software installationprocedures involved in ZXMBW AGWsystem.

    Chapter 3, KLinuxInstallation

    Introduces the KLinux installation.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    10/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    ii Confidential and Proprietary Information of ZTE CORPORATION

    Chapter Summary

    Chapter 4, OracleInstallation

    Introduces the Oracle databaseinstallation.

    Chapter 5, ZTE UnifiedNetwork ManagementSoftware Installation

    Introduces the ZTE Unified NetworkManagement Software installation

    Related Documentation

    The following documentation is related to this manual:

    ZXMBW AGW WiMAX Wireless Access Gateway ProductDescription

    ZXMBW AGW WiMAX Wireless Access Gateway HardwareDescription

    ZXMBW AGW WiMAX Wireless Access Gateway ConfigurationGuide

    Conventions

    ZTE documents employ the following typographical conventions.

    TA B L E 2 T Y P O G R A P H I C A L C O NVENT I O NS

    Typeface Meaning

    Italics References to other Manuals and documents.

    Quotes Links on screens.

    Bold Menus, menu options, function names, inputfields, radio button names, check boxes, drop-down lists, dialog box names, window names.

    CAPS Keys on the keyboard and buttons on screensand company name.

    Const ant wi dt h Text that you type, program code, files anddirectory names, and function names.

    [ ] Optional parameters.

    { } Mandatory parameters.

    | Select one of the parameters that are delimitedby it.

    TypographicalConventions

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    11/127

    About This Manual

    Confidential and Proprietary Information of ZTE CORPORATION iii

    TA B L E 3 MO USE OP E R A T I O N CO NVENT I O NS

    Typeface Meaning

    Click Refers to clicking the primary mouse button (usuallythe left mouse button) once.

    Double-click Refers to quickly clicking the primary mouse button(usually the left mouse button) twice.

    Right-click Refers to clicking the secondary mouse button(usually the right mouse button) once.

    Drag Refers to pressing and holding a mouse button andmoving the mouse.

    How to Get in Touch

    The following sections provide information on how to obtainsupport for the documentation and the software.

    If you have problems, questions, comments, or suggestionsregarding your product, contact us by e-mail [email protected]. You can also call our customer supportcenter at (86) 755 26771900.

    ZTE welcomes your comments and suggestions on the qualityand usefulness of this document. For further questions,comments, or suggestions on the documentation, you can

    contact us by e-mail at [email protected]; or you can fax yourcomments and suggestions to (86) 755 26772236. You can alsobrowse our website at http://ensupport.zte.com.cn, whichcontains various interesting subjects like documentation,knowledge base, forum and service request.

    Mouse

    OperationConventions

    CustomerSupport

    DocumentationSupport

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    12/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    iv Confidential and Proprietary Information of ZTE CORPORATION

    This page is intentionally blank.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    13/127

    Confidential and Proprietary Information of ZTE CORPORATION 1

    C h a p t e r

    1

    Overview of SoftwareInstallation

    OverviewOMC network management system is a tool used to performconfigurations, alarm management, and performancemanagement of AGW, and it is the core system in AGW routinemanagement.

    This chapter introduces the fundamental composition of the AGWsystem and the environmental requirement for the installation ofnetwork management software.

    This chapter includes the following topics.

    Topic Page No.

    Hardware Composition ofAGW System

    2Basic Composition of AGWSystem Software Composition of

    AGW System2

    Environmental Requirements of Network ManagementServer

    3

    Environmental Requirements of Network Management

    Client

    4

    Description

    Contents

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    14/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    2 Confidential and Proprietary Information of ZTE CORPORATION

    Basic Composition of AGW

    SystemHardware Composition of AGWSystem

    The hardware of the AGW system mainly includes AGW accessgateway (also called the AGW foreground), OMC server, OMCclient, and the alarm box.

    To differentiate the hardware of AGW, the AGW system

    hardware is divided into two types, the foreground device andthe background device.

    Foreground device

    The foreground device refers to the AGW access gateway,including AGW cabinet, all shelves in the cabinet, and allboards in the shelves.

    Background device

    Refers to the OMC server, the OMC client, and the alarm boxof AGW.

    For details of hardware composition of AGW, refer to ZXMBW

    AGW WiMAX Wireless Access Gateway Hardware Description.

    Software Composition of AGWSystem

    There is a one to one correspondence relationship between AGWsoftware composition and AGW hardware composition

    Software that corresponds to AGW foreground NEs is boardversion software.

    Software that corresponds to network managementserver/client is operation & maintenance software.

    To differentiate the software of AGW, the AGW system softwareis often divided into two types, AGW board running software andbackground operation & maintenance software.

    Foreground software

    The foreground software mainly refers to version softwareloaded on various boards in the AGW foreground, and itmainly includes the version software and configurationinformation of all boards in AGW.

    HardwareComposition

    Hardware

    Classification

    Reference

    Software

    Composition

    SoftwareClassification

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    15/127

    Chapter 1 Overview of Software Installation

    Confidential and Proprietary Information of ZTE CORPORATION 3

    Background operation & maintenance software

    Background operation & maintenance software refers to thesoftware of OMC server/client coupled with AGW.

    In AGW, the correspondence relationship between the softwareand the hardware is described as in Table 4.

    TA B L E 4 RE L A T I O N S H I P B E T W E E N SO F T WARE AND HA R DW A RE

    HardwareCorrespondentSoftware

    Remark

    AGWforeground

    Version software ofAGW system

    This manual does notaddress theinstallation/configurationguidance of AGWforeground versionsoftware.

    OMC server Software of OMC server

    OMC client Software of OMC client

    Environmental Requirementsof Network Management

    ServerNetwork management server refers to OMC server.The network management server supports two types ofhardware, and they are

    SBCX boards

    PC servers

    Using PC servers as an example, the manual introduces theinstallation procedure of the AGW network management server.

    The hardware requirements of the network management server

    are described in Table 5.

    TA B L E 5 HA R DW A RE REQ UI REM ENT S O F N E T W O R K MA NA G E M EN T SE R V E R

    Machine Model NumberOperation & MaintenanceServer

    CPU Dual CPU (2.8 GHz)

    Memory 2 G

    Hard drive 236 GB (10 Krpm)

    Serverconfigurations

    Networkadapter

    Two integrated network cards, one100M network card

    RelationsbetweenSoftware and

    Hardware

    Description

    Hardware

    Requirements

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    16/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    4 Confidential and Proprietary Information of ZTE CORPORATION

    Machine Model NumberOperation & MaintenanceServer

    Special

    configurations

    One integrated RAID card, used tocombine the two local hard drives

    into RAID1

    Otherconfigurations

    Integrated video adapter/floppydrive/CD drive/dual power supply

    Recommended models DELL2950, HP DL380 G4

    The hardware requirements of the network management serverare described in Table 6.

    TA B L E 6 SO F T WARE REQ UI REM ENT S O F NE T W O R K MA N A G E M EN T SERVER

    OS version and patches Database version

    KLinux (Embsys CGS Linux releaseV3.0)

    Oracle 10gR2(10.2.0.4)

    Environmental Requirementsof Network Management

    ClientNetwork management client refers to OMC client.The hardware requirements of the network management clientare described in Table 7.

    TA B L E 7 HA R DW A RE REQ UI REM ENT S O F N E T W O R K MA N A G E M ENT CL I E N T

    Machine ModelNumber

    Operation & Maintenance Client

    CPU Single CPU (1.8 GHz)

    Memory 1 G

    Hard drive 40 GB

    Networkadapter

    Two integrated network adapters

    Specialconfigurations

    None

    Machineconfigurations

    Otherconfigurations

    Video adapter/17 color display/CDdrive/Standard OS/Keyboard/Mouse/HPLJ5000LE or equivalent

    Recommended models DELL2950HP DL380 G4

    SoftwareRequirements

    Description

    HardwareRequirements

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    17/127

    Chapter 1 Overview of Software Installation

    Confidential and Proprietary Information of ZTE CORPORATION 5

    The software requirements of the network management clientare described in Table 8.

    TA B L E 8 SO F T WARE REQ UI REM ENT S O F NE T W O R K MA N A G EM E NT CL I E N T

    OS Version and Patches Anti-Virus Software

    Windows2000 (or Windows2003),latest Microsoft patches

    Mcafee or equivalent

    SoftwareRequirements

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    18/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    6 Confidential and Proprietary Information of ZTE CORPORATION

    This page is intentionally blank.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    19/127

    Confidential and Proprietary Information of ZTE CORPORATION 7

    C h a p t e r

    2

    Software InstallationProcedure

    OverviewThe network management software needs support of the OS andthe database, and each piece of software needs to observe thedictated procedure when being installed.

    This chapter introduces the installation procedure of the ZXMBWAGW network management software.

    This chapter includes the following topics.

    Topic Page No.

    Introduction to Software Installation Procedure 7

    Installation Procedure of OS KLinux 8

    Installation Procedure of Database Oracle 8

    Installation Procedure of OMC Server Software 9

    Installation Procedure of OMC Client Software 9

    Naming Rules of ZXMBW AGW Network ManagementInstallation

    10

    Introduction to SoftwareInstallation ProcedureThe installation of the ZXMBW AGW network managementsoftware includes the OS, the database, and the ZTE unifiednetwork management software.

    The procedure to install the ZXMBW AGW network managementsoftware is as follows.

    Description

    Contents

    Description

    Procedures

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    20/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    8 Confidential and Proprietary Information of ZTE CORPORATION

    1. Install the KLinux operating system on the networkmanagement server.

    2. Install the Oracle database on the network managementserver.

    3. Install the OMC server software on the network managementserver.

    4. Install the OMC client software on the network managementclient.

    Installation Procedure of OSKLinuxThis section introduces the installation procedure of theoperating system KLinux.

    The installation procedure of the operating system KLinux isdescribed in Table 9.

    TA B L E 9 I N S T A L L A T I O N PRO CEDURE O F K L I NUW

    Order Task Description

    1Install the operatingsystem KLinux on theserver

    Refer to Installing KLinuxfordetails

    2Configure the languageenvironment of KLinux

    Refer to Configuring LanguageEnvironmentfor details

    3Configure the networkenvironment of the server

    Refer to Configuring NetworkEnvironmentfor details

    4Configure the relatedservices of KLinux

    Refer to Configuring RelevantServicesfor details

    Installation Procedure ofDatabase OracleThis section introduces the installation procedure of thedatabase Oracle.

    The installation procedure of the database Oracle is described inTable 10.

    Description

    Installation

    Procedure

    Description

    InstallationProcedure

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    21/127

    Chapter 2 Software Installation Procedure

    Confidential and Proprietary Information of ZTE CORPORATION 9

    TA B L E 10 IN S T A L L A T I O N PRO CEDURE O F DA T A B A S E OR A C L E

    Order Task Description

    1Preparation forinstalling databaseOracle

    Refer to Preparation for Installing

    Oraclefor details

    2 Install database OracleRefer to Installing Database Oracle(English Version)for details

    3Install the upgradepatch of Oracle

    Refer to Installing Upgrade Patchesfor Oraclefor details

    4Create interceptiontask for Oracle

    Refer to Creating Listener Servicefor Oraclefor details

    5Create instances ofOracle

    Refer to Creating Instances ofOraclefor details

    Installation Procedure ofOMC Server SoftwareThe OMC server is the core of the ZXMBW AGW networkmanagement. Refer to Installing OMC Server of NetworkManagement for the installation procedure of the OMC serversoftware.

    Installation Procedure ofOMC Client SoftwareThis section introduces the installation procedure of the OMCclient software.

    The installation procedure of the OMC client software isdescribed in Table 11.

    TA B L E 11 IN S T A L L A T I O N PRO CEDURE O F OMC CL I E N T SO F T WARE

    Order Task Description

    1Install Windows Server 2000 orWindows Server 2003

    This manual does notintroduce the installationprocedure of Windows

    2 Install the OMC client softwareRefer to Installing OMCClient of NetworkManagementfor details

    InstallationProcedure

    Description

    InstallationProcedure

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    22/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    10 Confidential and Proprietary Information of ZTE CORPORATION

    Naming Rules of ZXMBW

    AGW Network ManagementInstallationFor the sake of standardization, key parameters in this manualare described now.

    The naming rules of ZXMBW AGW network managementinstallation are contained in Table 12.

    TA B L E 12 NA M I NG R U L E S O F Z X M B W A GW NE T W O R K MA N A G E M ENTI N S T A L L A T I O N

    Parameter Value Description

    Address of the OMP board172.

    18.office ID.1

    This is the portaddress tocommunicate withthe OMC server

    Eth0 networkadapter

    172.

    18.officeID.129

    This is the portaddress tocommunicate withthe foregroundOMP boardAddress of the

    OMC server

    Eth1 network

    adapter

    192.168.51.1

    29

    This is the portaddress to

    communicate withthe client

    Name of the OMC server AWG207

    Address of theOMC client

    192.168.51.146

    This is the portaddress tocommunicate withthe server

    Username ofthe OMC client

    admin Default

    OMC client

    Password of theOMC client

    empty Default

    Oracle database SID womc

    Firewall192.168.52.253

    The IP address ofthe firewallinternal port

    Description

    Naming Rules

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    23/127

    Confidential and Proprietary Information of ZTE CORPORATION 11

    C h a p t e r

    3

    KLinux Installation

    OverviewThe installation of the operating system is preamble to that ofthe network management software. The operating systemprovides the basic conditions for running the networkmanagement software.

    This chapter introduces the installation KLinux, the operatingsystem for the network management software of OMC.

    This chapter includes the following topics.

    Topic Page No.

    Rudiments of KLinux 11

    Installing KLinux 12

    Configuring Language Environment 17

    Configuring Network Environment 19

    Configuring Relevant Services 22

    Rudiments of KLinuxKLinux is an embedded operating system based on the standardLinux, and it enhances real-time processing capacity. It is basedon the core of Linux2.6.

    KLinux owns the following features.

    Real-time dispatching

    Preemptable dispatching kernel based on priority level

    Support of migration on kernel threads

    There are several options for installing KLinux (version EmbsysCGS Linux V3.0), and they are described as follows.

    Description

    Contents

    Description

    Installation

    Methods of

    KLinux

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    24/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    12 Confidential and Proprietary Information of ZTE CORPORATION

    From CD

    In this case, the installation CD containing Embsys CGSLinuxV3.0 needs to be purchased and the CD drive should beready.

    From PXE network

    This requires that the installed-to system own the Pre-Execution Environment (PXE) network adapter, and this isinstallation based on NFS, FTP, and HTTP.

    Automatic installation

    This is also called quick start installation, and it is installedautomatically.

    This manual takes the CD installation method as an example toillustrate the procedure of installing Embsys CGS Linux V3.0.

    Installing KLinuxThis topic explains the procedures to install KLinux.

    The Embsys CGS Linux V3.0 installation CD provided by ZTE isloaded with default configuration of language, keyboard, timezone, and software packet, and the configuration will be installedautomatically. The used only needs to partition the disk toperform the installation.

    The procedure to install Embsys CGS Linux V3.0 on the networkmanagement server of AGW is as follows.

    1. Start the installation program

    2. Partition the disk

    3. Enter the interface to perform various installationconfigurations

    Perform the following step to install KLinux.

    1. Insert the Embsys CGS Linux V3.0 installation CD into thedrive, and start the CD to enter the installation procedure.The computer boots to the installation disk, as shown in

    Figure 1.

    Purpose

    Description

    InstallationProcedure of

    Embsys CGSLinux V3.0

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    25/127

    Chapter 3 KLinux Installation

    Confidential and Proprietary Information of ZTE CORPORATION 13

    F I G URE 1 B O O T I NG

    Result: After completion of booting, the window pops up toprompt selection of partition method as shown in Figure 2.

    F I G URE 2 W HET HER T O PERF O RM SE L F DEF I NED PA RT I T I O N

    Note: Partition means to logically divide the hard drive intoindependent areas, and each area is like an independentdrive logically.

    2. If self-defined partition is needed, click Yesbutton to enterthe configuration interface of partition, as shown in Figure 3.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    26/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    14 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 3 PA R T I T I O N SECT I O N

    Note: Parameters in Figure 3are illustrated in Table 13.

    TA B L E 13 PA RA M E TE RS O N PA RT I T I O N INT ERF ACE

    Item Significance Remark

    ADelete all partitions on the selecteddrive and create the default partition

    BDelete all Linux partitions on theselected drive and create the defaultpartition

    CUse the reaming space on theselected drive to create the default

    partition

    Items A, B,and C signifythat the

    partition willbe conductedby the system

    D Create self-defined partitions

    E

    Automatically search and display harddrives that meet conditions forpartitioning. If there are two or moresuch hard drives, select the drive towhich the system will be installed. Ifthere is no such hard drive, nothingwill be displayed.

    3. Select [A] in Figure 3, and click OK button to confirm

    deletion of the partition, as shown in Figure 4.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    27/127

    Chapter 3 KLinux Installation

    Confidential and Proprietary Information of ZTE CORPORATION 15

    F I G URE 4 CO NF I G W HET HER T O DE L E T E A L L PA RT I T I O N

    4. Click Yesbutton, and automatic partitioning is complete. Atthis moment, it is possible to review or modify theestablished partitions by clicking the Yesbutton in Figure 5.

    F I G URE 5 REVI EW T HE ES T A B L I S H E D PA RT I T I O N

    5. Review the created partition. If it does not meet therequirement, it is possible to change the partition, such ascreation, editing, and deletion. Set the partition inaccordance with the planning in Table 14.

    TA B L E 14 DESCRI PT I O N O F PA RTI T I O N C O NF I G URAT I O N

    PartitionSystem FileFormat

    Volume Remark

    / ext3 15GMain partition, which canbe enlarged to 20G ifthere is spare space

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    28/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    16 Confidential and Proprietary Information of ZTE CORPORATION

    PartitionSystem FileFormat

    Volume Remark

    /swap swap 4GExchange partition,larger than two times the

    physical memory

    /oracle ext3 30G Extended partition

    /omm ext3 15GExtended partition, whichcan be enlarged to 20G ifthere is spare space

    Partition configuration is as illustrated in Figure 6.

    F I G URE 6 PA R T I T I O N CO NF I G URAT I O N

    Note: The buttons in Figure 6are illustrated in Table 15.

    TA B L E 15 DESCRI PT I O N O F PA R TI T I O N O PT I O NS

    Item Significance

    NewThis used to request a new partition. A dialog boxwill pop up after it is selected, and all fields (such asMount Point and size) in the box need to be filled in

    EditModify attributes of the current partition, and adialog window will pop up if selected. All or some ofthe fields can be edited, depending on whether thepartition information has been written to the disk

    Delete Delete the selected partition

    RAIDThis used to provide redundancy to all or some ofthe partitions

    6. After completion of modification, click OK button to finishpartitioning the disk, as shown in Figure 7.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    29/127

    Chapter 3 KLinux Installation

    Confidential and Proprietary Information of ZTE CORPORATION 17

    F I G URE 7 IN S T A L L I N G

    7. After partitioning the disk, enter the installing procedure.Please restart the system after installation, as shown inFigure 8.

    F I G URE 8 CO M PL ET I O N O F I N S T A L L A T I O N

    END OF STEPS

    KLinux installation is complete.

    Configuring LanguageEnvironmentThis topic explains the procedure to configure languageenvironment.

    After the installation of Embsys CGS Linux V3.0 succeeds, it is

    necessary to configure the language environment as needed.

    Result

    Purpose

    Description

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    30/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    18 Confidential and Proprietary Information of ZTE CORPORATION

    Make sure that installation of Embsys CGS Linux V3.0 is finishedsuccessfully.

    Perform the following step to configure language environment.

    Configuring Chinese Environment

    After installing Embsys CGS Linux V3.0, perform thefollowing steps to configure the Chinese environment ifneeded.

    i. Login the KLinux system as the root user. (The initialpassword for root is klinux)

    ii. Launch the command startx to enter the graphic

    interface.

    iii. Open the file i18n under /etc/sysconfig.

    iv. In i18n , change LANG="zh_CN.GB2312" to

    LANG="zh_CN.GBK".

    v. After the change, enter the command -bash-3.1$ locale

    to confirm.

    The format of the command is as follows:

    [root@localhost ~]#-bash-3.1$ locale

    vi. Restart the system to invoke the relevant changes.

    Configuring English Environment

    After installing Embsys CGS Linux V3.0, perform thefollowing steps to configure the English environment if

    needed.

    i. Login the KLinux system as the root user. (The initialpassword for root is klinux)

    ii. Launch the command startx to enter the graphic

    interface.

    iii. Open the file i18n under /etc/sysconfig.

    iv. In i18n , change LANG="zh_CN.GB2312" toLANG="zh_CN.GBK".

    v. In i18n, change LANG="en_US.UTF-8" toLANG="en_US.ISO-8859-1".

    vi. Click the menu System > Management > Language.

    Result: The Language Selection window appears asshown in Figure 9.

    Prerequisite

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    31/127

    Chapter 3 KLinux Installation

    Confidential and Proprietary Information of ZTE CORPORATION 19

    F I G URE 9 LA N G U A G E SE L E C T I O N

    vii. Click English(USA), and then click OKbutton.

    viii. After the change, enter the command -bash-3.1$ localeto confirm.

    The format of the command is as follows:

    [root@localhost ~]#-bash-3.1$ locale

    ix. Restart the system to invoke the relevant changes.

    END OF STEPS

    Language environment configuration is complete.

    Configuring NetworkEnvironmentThis topic explains the procedure to configure Networkenvironment.

    Configuration of the network environment refers to configuringthe IP address and gateway of the OMC server.

    The OMC server is usually equipped with two network adapters.

    One is used to communicate with the OMP board.

    Result

    Purpose

    Description

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    32/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    20 Confidential and Proprietary Information of ZTE CORPORATION

    One is used to communicate with the OMC client.

    Perform the following steps to configure the OMC network data.

    1. Click the menu System > Administration > Network.

    Result: The network configuration window appears as shownin Figure 10.

    F I G URE 10 NE T W O R K CO NF I G URAT I O N

    2. Shown in Figure 10, double-click the network adapter eth0,and configure in accordance with the planning contained inTable 12. Configure the IP address of the OMC servercommunicating with the foreground OMP board to be

    172.18.5.129, the subnet mask to be 255.255.0.0, as shownin Figure 11.

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    33/127

    Chapter 3 KLinux Installation

    Confidential and Proprietary Information of ZTE CORPORATION 21

    F I G URE 11 CO NF I G URAT I O N I NT ERF ACE O F N E T W O R K A D A P T E R E T H0

    3. Shown in Figure 10, double-click the network adapter eth1,

    and configure in accordance with the planning contained inTable 12. Configure the IP address of the OMC servercommunicating with the OMC client to be 192.168.51.129,the subnet mask to be 255.255.255.0, as shown in Figure 12.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    34/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    22 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 12 CO NF I G URAT I O N I NT ERF ACE O F N E T W O R K A D A P T E R E T H1

    END OF STEPS

    Network environment configuration is complete.

    Configuring RelevantServicesThis topic explains the procedures to configure relevant services.

    After installing the operating system KLinux, the following

    methods may be used to login the server to performmaintenance remotely.

    ssh remote service

    xmanager remote service

    VNC remote desktop

    All of the above remote services need appropriate configurationbefore they can be used. The following introduces how to launchthe three types of remote services.

    Perform the following steps to configure relevant services.

    Starting ssh

    Result

    Purpose

    Description

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    35/127

    Chapter 3 KLinux Installation

    Confidential and Proprietary Information of ZTE CORPORATION 23

    By default, the ssh remote service is turned off, and it needsto be turned on manually. The configuration method is asfollows.

    i. Click the menu System > Adminitration > Server

    Settings > Services.

    Result: The interface appears as shown in Figure 13.

    F I G URE 13 O PEN T HE SSHD S ERVI CE

    ii. Select sshd as shown in Figure 13, to open the sshdservice.

    Starting xmanager

    By default, the xmanager remote service is turned off, and itneeds to be turned on manually. The configuration method isas follows.

    i. Open file /etc/inittab

    ii. In the file, change id:3:initdefault: to id:5:initdefault:(which means that the running level is 5)

    iii. Open the configuration file /etc/gdm/custom.conf

    iv. Add Enable =1 in item [xdmcp]

    v. Execute the command gdm-restart

    Starting VNC

    By default, the VNC xmanager remote service is turned off,and it needs to be turned on manually. The configurationmethod is as follows.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    36/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    24 Confidential and Proprietary Information of ZTE CORPORATION

    i. Click the menu System > Preferences > RemoteDesktop.

    Result: The Top Option of Remote Desktop dialog boxappears as shown in Figure 14.

    F I G URE 14 T OP O PT I O N O F R EM O T E D E S K T O P D I A L O G B O X

    ii. Select Allow others to see your desktop and Allowothers to control your desktop.

    Barring Started Services

    After installing the operating system KLinux, it is necessaryto check if the following services are barred.

    The FTP service

    Firewall

    The TELNET service

    END OF STEPS

    Relevant services configuration is complete.Result

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    37/127

    Confidential and Proprietary Information of ZTE CORPORATION 25

    C h a p t e r

    4

    Oracle Installation

    OverviewA database provides the functions of storage, query, processingof large amount of data. The amount of data collected or set bythe network management system is large, and the relations arecomplex, hence support of database is required. The databaseadopted by the network management system of ZXMBW AGW isOracle.

    This chapter introduces the installation procedure of Oracle10g.which is based on Embsys CGS Linux V3.0. The steps includepre-instillation preparation, the installing procedure, installation

    of upgrade patches, and the method to uninstall the database.This chapter includes the following topics.

    Topic Page No.

    Modifying RelevantConfiguration Files

    26

    Creating User Groups andUsers of Oracle

    32

    Creating Installation Path forOracle

    33

    Preparation forInstalling Oracle

    Editing Environment Variables 33

    Installing Database Oracle (English Version) 35

    Preparing for Upgrading 44Installing UpgradePatches for Oracle Installing Upgrade Patches 45

    Creating Listener Service for Oracle 51

    Creating Instances of Oracle 56

    Starting Oracle 70

    Shutting down Oracle 71

    Description

    Contents

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    38/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    26 Confidential and Proprietary Information of ZTE CORPORATION

    Topic Page No.

    Uninstalling Oracle with Tooldbca

    72

    Uninstalling Oracle usingInstallation Program 74

    Other Operations of

    Oracle

    Deleting Oracle Physically 76

    Preparation for InstallingOracleThe preparation for installing the database Oracle includes the

    following.

    1. Change the configuration file

    2. Create user groups and users for Oracle

    3. Create the installation path for Oracle

    4. Edit environment variables

    Modifying Relevant ConfigurationFiles

    Before installing Oracle, relevant configuration files need to bemodified.

    Before modifying relevant configuration files, meet the followingrequirements.

    The operating system KLinux is running stably.

    Login KLinus with root (the default password for root isklinux).

    Perform the following steps to change the configuration file.

    1. Open the command terminal in KLinux.

    2. Modify the configuration file /etc/hosts.

    The format of the command is as follows:

    [root@localhost ~]# vi /etc/hosts

    Add the following two lines to the file hosts:

    192.168.51.129 AWG207 localhost.localdomainlocalhost

    127.0.0.1 AGW207 localhost.localdomainlocalhost

    Description

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    39/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 27

    Note: The first column is the IP address of the local machine(network management server), the second column machinenames, the third column field titles, and the fourth columnother names. Refer to Table 12for planned data.

    3. Modify the configuration file /etc/sysctl.conf in KLinux.

    The format of the command is as follows:

    [root@localhost ~]# /etc/sysctl.conf

    Change the following configuration items:

    kernel.shmmax = 2147483648

    kernel.shmall = 2097152

    Add the following configuration items:

    kernel.shmmni = 4096

    # semaphores: semmsl,semmns,semopm,semmni

    kernel.sem = 250 32000 100 128

    fs.file-max = 65536

    net.ipv4.ip_local_port_range = 1024 65000

    net.core.rmem_default=262144

    net.core.rmem_max=262144

    net.core.wmem_default=262144

    net.core.wmem_max=262144

    The contents are as illustrated in Figure 15.

    F I G URE 15 CH A N G E CO NF I G URAT I O N F I L E /E T C /SYSCT L .CO NF

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    40/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    28 Confidential and Proprietary Information of ZTE CORPORATION

    4. Use user root to execute the command /sbin/sysctl -p,

    and activate the modified configuration items immediately.

    The format of the command is as follows:

    [root@localhost ~]# /sbin/sysctl pThe contents are as illustrated in Figure 16.

    F I G URE 16 CH A N G E CO NF I G URAT I O N F I L E

    5. Modify the configuration file /etc/security/limits.conf.

    The format of the command is as follows:

    [root@localhost ~]# vi /etc/security/limits.conf

    Add the following content:

    * soft nproc 2047

    * hard nproc 16384

    * soft memlock unlimited

    * hard memlock unlimited

    * soft nofile 16384

    * hard nofile 16384

    The contents are as illustrated in Figure 17.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    41/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 29

    F I G URE 17 CH A N G E CO NF I G URAT I O N F I L E /E T C /SYSCT L .CO NF

    6. Modify the configuration file /etc/pam.d/login.

    The format of the command is as follows:

    [root@localhost ~]# vi /etc/pam.d/login

    Add the following content:

    session required /lib/security/pam_limits.so

    7. Modify the configuration file /etc/selinux/config.

    The format of the command is as follows:

    [root@localhost ~]# vi /etc/selinux/config

    Change the following content:

    SELINUX=disabled

    The contents are as illustrated in Figure 18.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    42/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    30 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 18 CH A N G E CO NF I G URAT I O N F I L E /E T C /SYSCT L .CO NF

    8. Modify the Shell parameter file /etc/profile

    The format of the command is as follows:

    [root@localhost ~]# vi /etc/profile

    Change ulimit -S -c 0 > /dev/null 2>&1in /etc/profile to

    the following :

    #ulimit -S -c 0 > /dev/null 2>&1

    ulimit -c 1000000

    ulimit -n 16384

    ulimit -u 16384

    ulimit -s unlimited

    ulimit -l unlimited

    The contents are as illustrated in Figure 19.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    43/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 31

    F I G URE 19 CH A N G E CO NF I G URAT I O N F I L E /E T C /SYSCT L .CO NF

    9. Restart the system.

    The format of the command is as follows:

    [root@localhost ~]# reboot

    10. Re-login KLinux with user root.

    11. Open the command terminal.

    12. Check if the modified parameters take effect.

    The format of the command is as follows:[root@localhost ~]#ulimit a

    The system returns the following information:

    core file size (blocks, -c) 1000000

    max locked memory (kbytes, -l) unlimited

    open files (-n) 16384

    stack size (kbytes, -s) unlimited

    max user processes (-u) 16384

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    44/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    32 Confidential and Proprietary Information of ZTE CORPORATION

    The above information indicates that the modifiedinformation already took effect.

    END OF STEPS

    Modification of relevant configuration files is complete.

    Creating User Groups and Users ofOracle

    Under the user root, create user groups and users of Oracle.

    Generally, user groups created include:

    oinstall

    This is used for the Oracle system, and it owns priviledge toread and execute the path homing the Oracle system. It is aprimary group.

    dba

    This is a group to perform operations on the Oracle system.It is a secondary group.

    Before performing current task, meet the following requirements.

    The operating system KLinux is running stably.

    Login KLinus with root (the default password for root isklinux).

    Perform the following steps to create user groups and users ofOracle.

    1. Open the command terminal in KLinux.

    2. Create the user group oinstall.

    The format of the command is as follows :

    [root@localhost ~]# groupadd oinstall

    3. Create the user group dba.

    The format of the command is as follows :

    [root@localhost ~]# groupadd dba

    4. Create the user oracle.

    The format of the command is as follows :

    [root@localhost ~]# useradd -g oinstall -G dba oracle

    5. Set the password for user oracle to be oracle.

    The format of the command is as follows :

    [root@localhost ~]# passwd oracle

    END OF STEPS

    Creation of user groups and users of Oracle is complete.

    Result

    Purpose

    Prerequisites

    Steps

    Result

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    45/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 33

    Creating Installation Path for Oracle

    Create the installation path for Oracle, and record the path

    privilege of execution.

    Before performing current task, meet the following requirements.

    The operating system KLinux is running stably.

    Login KLinus with root (the default password for root isklinux).

    Perform the following steps to create the installation path forOracle.

    1. Open the command terminal in KLinux.

    2. Create the installation path /oracle/product/10g for Oracle.

    The format of the command is as follows :

    [root@localhost ~]# mkdir -p /oracle/product/10g

    3. Endow the installation path with the privilege of execution.

    The format of the command is as follows :

    [root@localhost ~]# chown -R oracle.oinstall /oracle

    END OF STEPS

    Oracle installation path creation is complete.

    Editing Environment Variables

    Edit the environment variables in the main directory of the useroracle.

    Before performing current task, meet the following requirements.

    The operating system KLinux is running stably.

    Login KLinus with user oracle.

    Perform the following steps to edit the environment variables.

    1. Open the command terminal in KLinux.2. The main directory for the user oracle is displayed shown in

    Figure 20. In this case, the path is /home/oracle.

    The format of the command is as follows :

    [oracle@localhost ~]$ pwd

    Purpose

    Prerequisites

    Steps

    Result

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    46/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    34 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 20 D I S P L A Y T H E MA I N PA T H F O R O R A C L E USE R

    Note: The environment variables are in the main directoryfor the Oracle user.

    3. Edit the file .bash_profile.

    Delete the following content:

    #PATH=$PATH:$HOME/bin

    #export PATH

    Add the following content:

    # Oracle Settings

    TMP=/tmp; export TMP

    TMPDIR=$TMP; export TMPDIR

    ORACLE_BASE=/oracle; export ORACLE_BAS //Logindirectory of the user oracle

    ORACLE_HOME=/oracle/product/10g //

    Installation directory of the database Oracle

    export ORACLE_HOME

    ORACLE_SID=womc; export ORACLE_SID //SID ofthe database Oracle is womc

    ORACLE_TERM=xterm; export ORACLE_TERM

    PATH=/usr/sbin:$PATH; export PATH

    PATH=$ORACLE_HOME/bin:$PATH; export PATH

    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;export LD_LIBRARY_PATH

    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

    NLS_LANG=AMERICAN_AMERICA.ZHS16GBK //Thissignifies that the database support Chinese characters.

    export NLS_LANG

    4. After editing the file .bash_profile, switch to user root.

    [oracle@localhost ~]$su root

    5. Copy the file .bash_profile of user oracle to /root, andreplaced the environment variables of root, as shown in

    Figure 21.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    47/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 35

    F I G URE 21 CO PY T HE F I L E B A S H_PRO F I L E O F O R A C L E U SER T O / RO O T

    6. Launch the command rebootto restart the system.

    7. Re-login the KLinux system with the user oracle.

    8. Use the command startxto enter the graphic interface.

    9. Check the environment variables.The format of the command is as follows :

    [oracle@localhost ~]$ env | grep ORACLE

    If the system displayes the following information, it indicatesthat the environment variable setting is correct. Otherwise,they need to be modified to agree with the following.

    ORACLE_SID=womc

    ORACLE_BASE=/oracle

    ORACLE_TERM=xterm

    ORACLE_HOME=/oracle/product/10g

    END OF STEPS

    Editing environment variables operation is complete.

    Installing Database Oracle(English Version)This topic explains the procedure to install Oracle Database 10g10.2.0.1 for data storage.

    Before installing the database Oracle, ensure that

    The KLinux system is running stably.

    The installation CD Oracle 10g 10.2.0.1 is ready.

    The hardware/software environment of the system meets therequirements.

    Login the KLinux system with user KLinux.

    Result

    Purpose

    Prerequisites

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    48/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    36 Confidential and Proprietary Information of ZTE CORPORATION

    The following takes Oracle 10g 10.2.0.1 as an example andexplains the installation procedure. Assume the installationpath is /oracle/product/10g.

    1. Open the command terminal in KLinux.

    2. Switch to the user root.

    The format of the command is as follows.

    [oracle@localhost ~]$su root

    3. Enter the directory /oracle.

    The format of the command is as follows.

    [root@localhost]$ cd /oracle

    4. Accord all files under /oracle/oraclesetup all priviledges (read,write, execution).

    The format of the command is as follows.

    [root@localhost ~]# chown -R oracle.oinstall /oracle

    5. Re-open a command terminal.

    6. Switch to user oracle, and install the database with thisaccount.

    The format of the command is as follows.

    [oracle@localhost ~]$su root

    7. Enter the installation direcrtory of Oracle10g, and executethe command ./runInstaller.

    Result: The Welcome to the Oracle Database 10gInstallationwindow appears as shown in Figure 22.

    F I G URE 22 W E L C O M E INT ERF ACE O F OR A C L E 10 G

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    49/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 37

    8. Select Advanced Installation radio button, and click Nextbutton.

    Result: The Specify Inventory directory and credentialswindow appears as shown in Figure 23.

    F I G URE 23 I N S T A L L A T I O N I NT ERF ACE O F OR A C L E10G

    9. Follow the hints, and click Nextbutton.

    Result: The Select Installation Typewindow appears asshown in Figure 24.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    50/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    38 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 24 I NT ERF ACE O F SE L E C T I N G I N S T A L L A T I O N T YPE O FOR A C L E10G

    10. Click Product Languagebutton.

    Result: The Language Selection dialog box appears asshown in Figure 25.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    51/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 39

    F I G URE 25 LA NG U A G E SE L E C T I O N

    11. Select the option Simplified English, and click OKbutton to

    return to the previous interface of installation types.

    12. If the enterprise version is chosen, click Nextbutton.

    Result: The Specify Home Details window appears asshown in Figure 26.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    52/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    40 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 26 I NT ERF ACE O F SE L E C T I N G I N S T A L L A T I O N PA TH F O ROR A C L E10G

    13. Follow the default hints, and click the Nextbutton.

    Result: The Product-Specific Prerequisite Checkswindow appears as shown in Figure 27.

    F I G URE 27 INT ERF ACE O F PRE - I N S T A L L A T I O N SYST EM CH E C K F O ROR A C L E10G

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    53/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 41

    14. Check the situation of core parameter configurations andpatches that will be needed for the installation. If there areerrors, the interface shown in Figure 28pops up to alert thatthe system does not meet installation requirements. Modify

    core parameter configurations or install patches as required.

    F I G URE 28 E RRO R A L E R T

    15. If the pre-installation check passes, click the Nextbutton to

    enter the interface shown in Figure 29.

    F I G URE 29 SEL ECT I O N O F CO NF I G URAT I O N I T EM S F O R OR A C L E10G

    16. Select Install database Software only, and click Next to

    enter the summary interface as shown in Figure 30. Check ifthe languages to be installed have been selected.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    54/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    42 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 30 SUM M ARY O F O R A C L E10G I N S T A L L A T I O N

    17. Click Installto enter the interface shown in Figure 31.

    F I G URE 31 I N S T A L L ST A R T I NT ERF ACE

    18. After the installation, the procedure enters the interface ofscript configuration, as shown in Error! Reference source

    not found..

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    55/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 43

    F I G URE 32 I NT ERF ACE O F SCRI PT CO NF I G URAT I O N F O R OR A C L E10G

    19. Follow the hints, and login as root, and execute the scripts.

    20. After executing the scripts, click OK button.

    Result: End of Installation interface appears as shown inFigure 33.

    F I G URE 33 E ND O F IN S T A L L A T I O N W I NDO W F O R OR A C L E10G

    21. Click Exit button, and the system prompts end of theinstallation procedure for Oracle10g.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    56/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    44 Confidential and Proprietary Information of ZTE CORPORATION

    END OF STEPS

    Oracle database installation is complete.

    Installing Upgrade Patchesfor Oracle

    Preparing for Upgrading

    Before upgrading Oracle, turn off services and processes relatedto Oracle.

    Before upgrading Oracle, ensure that

    The KLinux system is running stably.

    The installation of Oracle 10g 10.2.0.1 is successful. Refer toInstalling Database Oracle (English Version) for theinstallation procedure..

    Login the KLinux system with account oracle.

    Perform the following steps to make preparations for upgradingOracle.

    1. Backup the database.

    To upgrade a system that is already running, it is necessaryto back up the original database, such that the system maybe restored in case the upgrading procedure fails.

    2. Stop all Oracle services.

    Note:Since database instances have not been created, thefollowing commands may not work. However, to ensure thatthose services are turned off, the following commands stillneed to be executed.

    i. Open the command terminal in Klinux.

    ii. Stop the process emctl.

    The format of the command is as follows:

    [oracle@localhost ~]$emctl stop dbconsole

    The system displayes the following information:

    TZ set to PRC

    Oracle Enterprise Manager 10g Database Control Release10.2.0.1.0

    Copyright (c) 1996, 2005 Oracle Corporation. All rightsreserved

    http://linux.site:1158/em/console/aboutApplication

    Result

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    57/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 45

    Stopping Oracle Enterprise Manager 10g DatabaseControl

    Stopped.

    iii. Stop the process isqlplusctl.The format of the command is as follows:

    [oracle@localhost ~]$isqlplusctl stop

    The system displayes the following information:

    iSQL*Plus 10.2.0.1.0

    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    iSQL*Plus instance on port 5560 is not running

    iv. Stop the process lsnrctl.

    The format of the command is as follows:

    [oracle@localhost ~]$lsnrctl stop

    The system displayes the following information:

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on13-MAY-2008 16:09:10

    Copyright (c) 1991, 2005, Oracle. All rights reserved

    Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linux.site)(PORT=1521)))

    The command completed successfully

    3. Close the database.

    The format of the command is as follows:

    [oracle@localhost ~]$sqlplus /nolog

    SQLconnect sys as sysdba

    Enter password:system //Enter the passwordsystem for the user sys

    SQLshutdown immediate;

    END OF STEPS

    Preparation for upgrading is complete.

    Installing Upgrade Patches

    Install the upgrade patches for Oracle, and upgrade Oracle 10g10.2.0.1 to Oracle 10g 10.2.0.4.

    Before installing the upgrade patches for Oracle, ensure that

    The KLinux system is running stably.

    The installation of Oracle 10g 10.2.0.1 is successful.

    Result

    Purpose

    Prerequisites

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    58/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    46 Confidential and Proprietary Information of ZTE CORPORATION

    Login the KLinux system with account oracle.

    Note:If it is the user oracle that installed Oracle, it is necessaryto login as oracle when installing the upgrade patches.

    Perform the following steps to upgrade Oracle 10g 10.2.0.1 toOracle 10g 10.2.0.4.

    1. Obtain the upgrade patches.

    Copy the upgrade patch p6810189_10204_Linux-x86 forOracle 10g 10.2.0.4 to a directory on the local machine.Assume the directory is /oracle/patch10204/.

    2. Open the command terminal in Klinux.

    3. Change the version information of KLinux (which needs to beexecuted by the user root).

    i. Switch to user root.

    [oracle@localhost ~]$su root

    ii. Enter the password for root: klinux.

    iii. Backup the original file of version information.

    The format of the command is as follows:

    [root@localhost ~]#cp /etc/redhat-release /etc/redhat-release.bak

    iv. Change the version information.

    The format of the command is as follows:

    [root@localhost ~]#echo "Red Hat Enterprise LinuxServer release 5 (Tikanga)" /etc/redhat-release

    //Red Hat Enterprise Linux Server release 5 (Tikanga) isthe changed content.

    4. Enter the patch installation directory (for instance,/oracle/patch10204/, please use the actual path whenupgrading).

    5. Switch to user root.

    [oracle@localhost ~]$su root

    6. Enter the password for root: klinux.

    7. Accord all privileges (read, write, execution) to files in Disk1.

    [root@localhost]$chmod R 777 Disk1

    8. Switch to user oracle.

    [root@localhost ~]#su oracle

    9. Enter the patch installation directory.

    [oracle@localhost ~]$cd /oracle/patch10204/p6810189_10204_Linux-x86/Disk1

    10. Execute the command ./runInstaller.

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    59/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 47

    [oracle@ localhost /oracle/patch10204/p6810189_10204_Linux-x86/Disk1]$./runInstaller

    11. Enter the installation interface, as shown in Figure 34.

    F I G URE 34 W E L C O M E INT ERF ACE

    12. Click Next button to enter the path selection interface, asshown in Figure 35.

    F I G URE 35 S EL ECT T HE D I RECT O RY O F OR A C L E10.2 .0 .1 VERSI O N F I L E

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    60/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    48 Confidential and Proprietary Information of ZTE CORPORATION

    13. Enter the directory of the upgrade patch for oracle10.2.0.1 inPath field, and click Next button to enter the installationcheck interface, as shown in Figure 36.

    F I G URE 36 I N S T A L L A T I O N C H E C K I NT ERF ACE

    14. After checking, click Next button to enter the installation

    interface, as shown in Figure 37.

    F I G URE 37 I N S T A L L A T I O N I NT ERF ACE

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    61/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 49

    15. After installation, click Next button to enter the interfaceshown in Figure 38.

    F I G URE 38 P RO M PT O F SCRI PT EXECUT I O N

    16. Follow the hints and execute the script root.sh with accountroot.

    The format of the command is as follows:

    [oracle@localhost ~]$su root //Switch to userroot

    Password: klinux //Enter the password for rooot:klinux

    [root@localhost ~]#cd /oracle/product/10g //Enter/oracle/product/10g

    [root@localhost ~]#./root.sh //Execute the criptroot.sh

    17. Click OK button shown in Figure 38, and the system startsexecuting the script root.sh, as shown in Figure 39.

    i. The system prompts for path, and enter the path ofversion file for oracle10.2.0.1: /oracle/product/10g.

    ii. The system prompts whether to overwrite the contents inthe old path, enter .

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    62/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    50 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 39 EXECUT I O N O F T HE SCRI PT

    18. After execution of the script, installation of the upgradepatch is complete, as shown in Figure 40.

    F I G URE 40 I NT ERF ACE O F I N S T A L L A T I O N CO M PL ET I O N

    19. Click Exit button and the upgrading process for Oracle iscomplete.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    63/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 51

    END OF STEPS

    Upgrade patches installation is complete.

    Creating Listener Service forOracleCreate the listener service for Oracle.

    Before installing the interception service for Oracle, ensure that

    The KLinux system is running stably.

    The installation of Oracle 10g 10.2.0.1 is successful.

    Login the KLinux system with account oracle.

    Perform the following steps to create the listener service forOracle.

    1. Open the command terminal in KLinux.

    2. Execute the command netca, as shown in Figure 41.

    The format of the command is as follows:

    [oracle@localhost ~]$netca

    F I G URE 41 E XECUT E T HE CO M M AND NET CA

    Result: After execution of the command, the welcomeinterface appears as shown in Figure 42.

    Result

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    64/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    52 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 42 I NT ERF ACE F O R C REAT I NG T HE L I ST ENER SERVI CE

    3. Select Listener configurationradio button, and click Nextto enter the interface of configuring the listener program, asshown in Figure 43.

    F I G URE 43 A D D L I ST ENER PRO G RAM

    4. Click Next button to enter the interface of setting the nameof the listener program, as shown in Figure 44.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    65/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 53

    F I G URE 44 I NT ERF ACE F O R S ET T I NG T HE NA M E O F TH E L I ST ENERPRO G RAM

    5. Set the Listener name as LISTENER, and click Nextbutton to enter the protocol interface, as shown in Figure 45.

    F I G URE 45 P RO T O CO L SE L E C T I O N INT ERF ACE

    6. Adopt the default configuration, and click Next button toenter the TCIP/IP port number selection interface, as shownin Figure 46.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    66/127

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    67/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 55

    F I G URE 48 L I ST ENER PR O G R A M SE L E C T I O N I NT ERF ACE

    9. Select LISTENER, and click Next button to enter theinterface of completing listener configuration, as shown inFigure 49.

    F I G URE 49 L I ST ENER C O NF I G URAT I O N CO M PL ET E INT ERF ACE

    10. Click Next button to return to the welcome interface, asshown in Figure 50.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    68/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    56 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 50 CO M PL ET I O N O F OR A C L E L I ST ENER CO NF I G URAT I O N

    11. Click OK button to complete configuration of the Oraclelistener program.

    END OF STEPS

    Listener service creation for oracle is complete.

    Creating Instances of OracleThis topic explains the procedure to create instances of oracle.

    Before installing the interception service for Oracle, ensure that

    The KLinux system is running stably.

    The intallationof Oracle 10g 10.2.0.4 is successful.

    The Oracle listener program has been set up.

    Login the KLinux system with account oracle.

    Perform the following steps to create Oracle instances.

    1. Open the command terminal in Klinux.

    2. In the command terminal, enter the command dbca, as

    shown in Figure 51.

    F I G URE 51 E XECUT E DBCA

    Result

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    69/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 57

    Result: Enter the graphic interface of database configuration,as shown in Figure 52.

    F I G URE 52 W E L C O M E INT ERF ACE

    3. Click Next button to enter the interface as shown in Figure

    53.

    F I G URE 53 CR E A T E A D A T A B A S E

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    70/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    58 Confidential and Proprietary Information of ZTE CORPORATION

    4. Select Create database radio button, and create thedatabase. Then, click Next button to enter the interface asshown in Figure 54.

    F I G URE 54 S ET DA T A B A SE T E M P L A T E S

    5. Adopt the default configurations, and click Next button toenter the interface shown in Figure 55.

    F I G URE 55 DA T A B A S E NA M E

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    71/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 59

    6. Set Global Database Name and SID as WOMC for bothand click Next button to enter the Manage Optionsinterface as shown in Figure 56.

    F I G URE 56 MA N A G E G RI D CO NT RO L

    7. Adopt the default configurations, and click Next button toenter the interface shown in Figure 57.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    72/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    60 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 57 PA S SWO RD SET T I NG I NT ERF ACE

    8. Enter the correct password, and click Next button to enterthe Storage Optioninterface, as shown in Figure 58.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    73/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 61

    F I G URE 58 S T O RAG E OPT I O N I NT ERF ACE

    9. Adopt the default configurations, and click Next button toenter the Database File Locations interface shown inFigure 59.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    74/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    62 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 59 I NT ERF ACE F O R SET T I NG [ DA T A B A S E F I L E L O CAT I O NS

    10. Adopt the default configurations, and click Next button toenter interface shown in Figure 60.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    75/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 63

    F I G URE 60 RECO VERY I NT ERF ACE

    11. Adopt the default configurations, and click Next button toenter interface shown in Figure 61.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    76/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    64 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 61 D A T A B A S E C O N F I G U R A T IO N

    12. Adopt the default configurations, and click Next button toenter the Memory tab of the interface for parameterinitialization, as shown in Figure 62.

    F I G URE 62 I N I T I A L I Z A T I O N PA R A M ET E RS INT ERF ACE (M EM O RY TA B )

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    77/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 65

    i. Click All Initialization Parametersbutton to enter theAll Initialization Parameters dialog box, as shown inFigure 63.

    F I G URE 63 A L L IN I T I A L I Z A T I O N PA R A M ET ER S D I A L O G B O X

    ii. Click Show Advanced Parametersbutton, to enter theinterface as shown in Figure 64.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    78/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    66 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 64 D I S P L A Y A D V A N C E D PA R A M E TE RS

    iii. Find the parameter nls_date_format, and set it toYYYY-MM-DD HH24:MI:SS. Click Close button tocomplete time setting.

    iv. Click Character tab shown in Figure 62.Result: The Character Settabbed section of ParameterInitialization interface appears as shown in Figure 65.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    79/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 67

    F I G URE 65 IN I T I A L I Z A T I O N PA R A M E T ERS I NTE RF A CE (C H A R A C T E RSE T TA B )

    Note: In the English version, if time format is notchanged, relevant historic performance data and alarmscan no be queried after installation of the networkmanagement system.

    v. Adopt the default configurations, and click Nextbutton toenter Database Storage interface shown in Figure 66.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    80/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    68 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 66 DA T A B A SE ST O R A G E

    13. Adopt the default configurations, and click Next button toenter Creation Option interface shown in Figure 67.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    81/127

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    82/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    70 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 68 CO NF I RM AT I O N O F DA T A B A SE C R E A T I O N

    15. Click OKbutton.

    Result: Database instance named WOMC is created.

    END OF STEPS

    Oracle instances creation is complete.

    Starting OracleSince by default, third-party software installed under KLinux isnot automatically started, the database Oracle needs to bestarted manually after being installed.

    The procedure to start applications of the database includes thefollowing two operations.

    Start the listener process lsnrctl for Oracle10g.

    Start database service of Oracle10g.

    Result

    Purpose

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    83/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 71

    Before starting the database Oracle, ensure that

    The KLinux system is running stably.

    The intallationof Oracle 10g 10.2.0.4 is successful.

    The Oracle listener program has been set up, and thedatabase instances have been created.

    Login the KLinux system with account oracle.

    Perform the following steps to start Oracle.

    1Open the command terminal in Klinux.

    2Open the command terminal.

    3Start the listener process.

    The format of the command is as follows:

    [oracle@localhost ~]$ lsnrctl start4Connect to the database with account sys.

    The format of the command is as follows:

    [oracle@localhost ~]$sqlplus sys/system as sysdba // sysis the username, and system is the password.

    5Start the database.

    The format of the command is as follows:

    SQL>startup

    END OF STEPS

    Starting Oracle operation is complete.

    Shutting down OracleShut down the database Oracle10g.

    Before shutting down the database Oracle, ensure that

    The KLinux system is running stably.

    The intallationof Oracle 10g 10.2.0.4 is successful.

    The Oracle listener program has been set up, and thedatabase instances have been created.

    Login the KLinux system with account oracle.

    Perform the following steps for shutting down Oracle.

    1. Open the command terminal in Klinux.

    2. Stop the listener process.

    The format of the command is as follows:

    [oracle@localhost ~]$ lsnrctl stop

    3. Shut down Oracle10g.

    Prerequisites

    Steps

    Result

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    84/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    72 Confidential and Proprietary Information of ZTE CORPORATION

    The format of the command is as follows:

    [oracle@localhost ~]$ sqlplus sys/system as sysdba //sys is the username, and system is the password.

    SQL >shutdown immediate;END OF STEPS

    Shutting down Oracle operation is complete.

    Other Operations of OracleThis section introduces the uninstalling method of Oracle. Notethat when the database faults, try to restore it rather thanperform deletion directly.

    Note: Uninstalling steps are not parts of instillation, and thischapter only provides simple uninstalling steps.

    There are three methods to uninstall Oracle, and they arecontained in the following table.

    Topic Page No.

    Uninstalling Oracle with Tool dbca 72

    Uninstalling Oracle using Installation Program 74

    Deleting Oracle Physically 76

    Uninstalling Oracle with Tool dbca

    Use the tool dbca to uninstall Oracle.

    Before performing current task, ensure that

    The KLinux system is running stably.

    All services and processes of Oracle 10g 10.2.0.4 have beenstopped.

    Login the KLinux system with account oracle.

    Perform the following steps to uninstall Oracle with the tool dbca.

    1. Open the command terminal in Klinux.

    2. Execute the command in the command terminal,and the welcome interface pops up as shown in Figure 69.

    Result

    Description

    Uninstalling

    Method

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    85/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 73

    F I G URE 69 GR A P H I C W E L C O M E INT ERF ACE O F CO NF I G URAT I O N F O ROR A C L E

    3. Click Nextbutton to enter the interface as shown in Figure70.

    F I G URE 70 S E L E C T T O DE L E T E T HE DA T A B A SE

    4. Select Delete Database option, and click Next button toenter the interface as shown in Figure 71.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    86/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    74 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 71 S E L E C T T HE DA T A B A S E TO B E DE L E T E D

    5. Select the database instances to be deleted, and click Finishbutton, to enter the interface shown in Figure 72.

    F I G URE 72 CO NF I RM AT I O N O F DA T A B A SE D E L E T I O N

    6. Click Yes button to enter the interface to delete databaseinstances.

    END OF STEPS

    Oracle un-installation with tool dbca is complete.

    Uninstalling Oracle using InstallationProgram

    Use the installation program to uninstall Oracle.

    Before performing current task, ensure that

    Result

    Purpose

    Prerequisites

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    87/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 75

    The KLinux system is running stably.

    All services and processes of Oracle 10g 10.2.0.4 have beenstopped.

    Login the KLinux system with account oracle.

    Perform the following steps to uninstall Oracle using theinstallation program.

    1. Open the command terminal in Klinux.

    2. Enter the installation directory of oracle.

    3. Execute the program ./runInstaller deinstall

    removeallfiles -removeAllPatches to enter the Product

    itinerary interface, as shown in Figure 73.

    F I G URE 73 P RO DUCT I T I NERARY

    4. Select the oracle directory to be removed, and click theDeletebutton to enter the uninstalling interface as shown inFigure 74.

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    88/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    76 Confidential and Proprietary Information of ZTE CORPORATION

    F I G URE 74 CO NF I RM AT I O N O F UN I N S T A L L I N G OR A C L E

    5. Click Yesbutton to delete.

    END OF STEPS

    Oracle un-installation using Installation program is complete.

    Deleting Oracle Physically

    Remove the database Oracle physically.

    Before performing current operation, ensure that

    The KLinux system is running stably.

    All services and processes of Oracle 10g 10.2.0.4 have beenstopped.

    Login the KLinux system with account oracle.

    Perform the following steps to physically remove the databaseOracle.

    1. Open the command terminal in KLinux.

    2. Delete the directory in which Oracle is installed.

    [oracle@localhost ~]$rm -rf /oracle/ //oracle is thedirectory that homes Oracle

    3. Switch to the user root.

    [oracle@localhost ~]$su - root

    4. Finish the operation of deleting the database.

    The format of the command is as follows:

    Result

    Purpose

    Prerequisites

    Steps

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    89/127

    Chapter 4 Oracle Installation

    Confidential and Proprietary Information of ZTE CORPORATION 77

    [oracle@localhost ~]$rm -f /usr/local/bin/oraenv//Delete oraenv

    [oracle@localhost ~]$rm -f /etc/oraInst.loc //DeleteoraInst.loc

    [oracle@localhost ~]$rm -f /etc/oratab //Deletoratab

    END OF STEPS

    Deletion of Oracle is complete.Result

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    90/127

    ZXMBW AGW WiMAX Wireless Access Gateway Software Installation Guide

    78 Confidential and Proprietary Information of ZTE CORPORATION

    This page is intentionally blank.

  • 8/13/2019 Sjzl20091240-ZXMBW AGW (V3[1].08.10) Software Installation Guide

    91/127

    Confidential and Proprietary Information of ZTE CORPORATION 79

    C h a p t e r

    5

    ZTE Unified NetworkManagement SoftwareInstallation

    OverviewThe unified ZTE network management software is the platformfor operation and maintenance of ZXMBW-AGW. The platformincludes the two modules of the server and the client, and itintegrates the majority of the operation and maintenance tools.

    It adopts the server/client mode, and possesses supremebackground management functions.

    This chapter introduces the installation of the OMC networkmanagement system.

    This chapter includes the following topic.

    Topic Page No.

    Setting Character Set for Oracle 80

    Installing OMC Server of NetworkManagement

    81InstallingUnified ZTENetwork

    Management

    Installing OMC Client of Network

    Management 91

    Starti