หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Installing the SAP HANA Software

Updated on 2022-12-08 GMT+08:00

Prerequisites

  • You have prepared related resources. For details, see section "Preparing Resources".
  • You have created ECSs, formatted disks attached to them, and completed required configurations.
  • Ensure that the OS firewall of the new node is disabled. For details about how to disable the OS firewall, see Modifying OS Configurations.

Procedure

  1. Log in at https://support.sap.com/swdc to download the installation package, and perform the installation.

    1. Switch to SAP Software Download Center.
      • Choose Software Downloads.
      • Choose INSTALLATIONS & UPGRADES.
      • Choose By Alphabetical Index (A-Z).
      • Choose H.
      • Choose SAP HANA PLATFORM EDITION.
      • Choose DOWNLOADS.
    2. Locate the target package and download it to the local hard disk.
    3. Upload the obtained installation package to the /hana/shared directory on the ECS where the SAP HANA software is to be installed and decompress it. For example, the installation package is

      51052383_part1.exe

      cd /hana/shared

      unrar x 51052383_part1.exe

    4. Run the following command to enter the directory where the installation file is stored, taking SAP_HANA_DATABASE as an example:

      For example, if the installation file is stored in /DATA_UNITS/HDB_SERVER_LINUX_X86_64, run the following commands:

      cd 51052383

      cd DATA_UNITS/HDB_SERVER_LINUX_X86_64

    5. Run the following command to assign execute permissions to the directory:

      chmod -R 777 /hana

    6. Run the following command to perform the installation:

      ./hdblcm --ignore=check_signature_file

      The following information is displayed:

      Choose installation
      
        Index | System             | Database Properties
        ------------------------------------------------
        1     | Install new system  |
              |      
        2     | Extract components  |
        3     | Exit (do nothing)   |
      
      Enter selected system index [2]: 
    7. Enter 1 and press Enter.

      The following information is displayed:

      Select additional components for installation:
      
        Index | Components | Description
        ---------------------------------------------
        1     | server     | No additional components
        2     | all        | All components
      
      Enter comma-separated list of the selected indices [1]:
    8. Enter 1 and press Enter.
    9. Configure parameters as prompted on the page one by one.
      NOTE:
      • During the configuration, press Enter if you want to retain the default setting.
      • If a parameter is incorrectly set and you have pressed Enter, you can press Ctrl+C to exit the configuration and run the ./hdblcm --ignore=check_signature_file command to enter the installation page again.

      Table 1 lists the parameter configuration requirements.

      Table 1 Requirements for configuring SAP HANA installation parameters

      Parameter

      Description

      Installation Path

      Specifies the installation path, which defaults to /hana/shared/$SID. The default value is recommended.

      Local Host Name

      Specifies the local host name.

      Do you want to add additional hosts to the system

      Enter the value n.

      SAP HANA System ID

      Specifies the SAP HANA system ID, for example, S00.

      Instance Number

      Specifies the SAP HANA instance number, for example, 00.

      The instance ID is used in Security Group Rules, which must be the same as the planned one.

      Database Mode

      Specifies the database deployment mode. Retain the default value single_container. You do not need to set this parameter when installing HANA2.0 and the default value is multiple container.

      System Usage

      Specifies the SAP HANA system type. Set this parameter as required. This parameter is stored in the global.ini file.

      Location of Data Volumes Specifies

      Specifies the system data volume directory, which is /hana/data/$SID.

      Location of Log Volumes

      Specifies the system log volume directory, which is /hana/log/$SID.

      Restrict maximum memory allocation?

      Specifies whether maximum memory allocation is restricted, which defaults to n.

      Certificate Host Name

      Specifies the ECS name that is used to generate a self-signed SSL certificate for the SAP Host Agent.

      SAP Host Agent User (sapadm) Password

      Enter the SAP Host Agent user password.

      System Administrator (s00adm) Password

      Enter the system administrator password.

      System Administrator Home Directory

      Use the default value.

      System Administrator Login Shell

      Use the default value.

      System Administrator User ID

      Use the default value.

      ID of User Group

      Use the default value.

      Database User (SYSTEM) Password

      Enter the database user password.

    10. After you complete the configuration, the system displays the message "Restart system after machine reboot?"
      • In single-node scenarios where HA is not required, enter y.
      • In single-node scenarios where HA is required, if automatic active/standby switchover is not required, enter y; if automatic active/standby switchover (HAE) is required, enter n.

      Then, press Enter. The system displays the installation summary.

    11. After confirming the installation information is correct, in the Do you want to continue? dialog box, enter y and press Enter to start to installation.

      After the installation is complete, the prompt Installation done is displayed.

  2. Verify the installation.

    1. Run the following command to switch to the /hana/shared/$SID/HDB00/ directory:

      The following command is used as an example:

      cd /hana/shared/S00/HDB00

    2. Switch to the database system administrator.

      Account s00adm is displayed on the page during the installation. Run the following command:

      su - s00adm

    3. Run the following command to query the database version:

      If the version can be queried, the database software is installed.

      HDB -version

      After the database is installed, the system returns the version. Figure 1 shows an example.

      Figure 1 SAP HANA version information

  3. Check whether the database process is running properly.

    1. Run the following command to check the process, taking the SAP HANA instance with ID 00 as an example:

      sapcontrol -nr 00 -function GetProcessList

      In the terminal display, if the dispstatus value is GREEN, the process is running properly.

      13.04.2017 16:04:15
      GetProcessList
      OK
      name, description, dispstatus, textstatus, starttime, elapsedtime, pid
      hdbdaemon, HDB Daemon, GREEN, Running, 2017 04 13 11:18:33, 4:45:42, 3013
      hdbcompileserver, HDB Compileserver, GREEN, Running, 2017 04 13 11:18:42, 4:45:33, 3154
      hdbindexserver, HDB Indexserver, GREEN, Running, 2017 04 13 11:18:47, 4:45:28, 3180
      hdbnameserver, HDB Nameserver, GREEN, Running, 2017 04 13 11:18:34, 4:45:41, 3027
      hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2017 04 13 11:18:42, 4:45:33, 3156
      hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2017 04 13 11:19:09, 4:45:06, 3513
      hdbxsengine, HDB XSEngine, GREEN, Running, 2017 04 13 11:18:47, 4:45:28, 3182
    1. Run the following command to return to user root:

      exit

  4. Check the database startup and shutdown.

    1. Run the following command to switch to the /hana/shared/$SID/HDB00/ directory:

      The following command is used as an example:

      cd /hana/shared/S00/HDB00

    2. Switch to the database system administrator.

      Account s00adm is displayed on the page during the installation. Run the following command:

      su - s00adm

    3. Run the following command to start the SAP HANA database:

      HDB start

    4. Run the following command to stop the SAP HANA database:

      HDB stop

    5. Run the following command to restart the SAP HANA database:

      ./HDB restart

    6. Run the following command to switch to user root:

      exit

เราใช้คุกกี้เพื่อปรับปรุงไซต์และประสบการณ์การใช้ของคุณ การเรียกดูเว็บไซต์ของเราต่อแสดงว่าคุณยอมรับนโยบายคุกกี้ของเรา เรียนรู้เพิ่มเติม

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback