هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.
- What's New
- SAP on Cloud Technology Poster
- SAP Deployment Guide
- Data Provider for SAP User Guide
- SAP HA and DR Guide
- SAP Security White Paper
- SAP HANA Overview
-
SAP HANA User Guide (Single Node)
- Introduction
-
Deployment
- Scheme
- Data Planning
- Preparing Resources
- Creating ECSs
- Installing SAP HANA (Single-Node Deployment Without HA Required)
-
Installing SAP HANA (Single-Node Deployment with HA Required)
- Formatting a Disk
- Installing the SAP HANA Software
- Installing the SAP HANA Studio on a Windows ECS
- Installing the SAP HANA Studio on a Linux ECS
- Connecting SAP HANA Nodes to the SAP HANA Studio
- Configuring the Backup Path
- Configuring the System Replication
- Configuring HA on SAP HANA Nodes
- Configuring SAP HANA Storage Parameters
- Installing Data Provider
- Configuring iSCSI (Cross-AZ HA Deployment)
- Management and Monitoring
- Backing Up and Restoring Data
- FAQs
- Appendix
- Change History
- SAP HANA HA and DR Guide
- SAP NetWeaver User Guide
-
SAP Application AS User Guide
- Overview
- Deployment
- SAP Application AS Management
-
FAQs
- What Is SAP Application AS?
- What Are the Advantages of SAP Application AS?
- What Are Restrictions on Using SAP Application AS?
- How Many AS Policies and AS Configurations Can I Create and Use?
- How Many AS Policies Can Be Enabled?
- How Can I View the Logs of SAP Application AS?
- How Do I Change the CPU Threshold?
- Change History
- SAP S/4HANA Quick Deployment Guide
- SAP S/4HANA HA Deployment Guide
- SAP Business One User Guide
- SAP Business One Quick Deployment Guide
-
Best Practices
- SAP Best Practices
- Huawei Cloud SAP on DB2 Installation Best Practice
- Huawei Cloud SAP on SQL Server Installation Best Practice
-
SAP S/4HANA (1809) HA Deployment Best Practice
- Overview
- Preparations
- Resource Planning
- Resource Creation
- Software Installation
- High Availability Configuration
- Change History
- HUAWEI CLOUD SAP Business One on HANA Installation Best Practice
-
SAP Monitoring Best Practices
- Overview
-
Installing the Monitoring Agent
- SAP HANA (Single-Node Deployment Without High Availability Required)
- SAP HANA (Single-Node Deployment With High Availability Required)
- SAP S/4HANA (Single-Node Deployment Without High Availability Required)
- SAP S/4HANA (Single-Node Deployment With High Availability Required)
- SAP S/4HANA (Distributed Deployment with High Availability Required)
- SAP S/4HANA (Distributed Deployment Without High Availability Required)
- SAP ECC
- (Optional) Upgrading the Monitoring Agent
- Viewing Monitoring Metrics
- Configuring Grafana SAP Full Screen Monitoring
- Alarm Configuration
- FAQs
- Best Practices of SAP Migration to HUAWEI CLOUD
- Best Practice of Using Block-Level Migration of SMS to Migrate SAP Applications and Databases Running on Linux Servers
- Best Practice of SAP Migration from XEN to KVM
- Best Practice of SAP Disaster Recovery with SDRS
- Best Practice of Rsync-based SAP Disaster Recovery
- SAP Backint Installation Guide
- Best Practices for Uploading SAP Backups to the OBS Bucket
- Best Practices of the SAP ASE Solution
- Best Practices of SAP System Capacity Expansion
- Change History
-
FAQs
-
FAQs
- Basic Concepts
-
Purchase
- Why Do I Deploy SAP System on the Cloud?
- What Are the Advantages of Huawei SAP on Cloud Solution?
- What SAP Products Does Huawei SAP on Cloud Solution Support?
- Can I Migrate Local SAP Resources Directly to the Cloud?
- Which Billing Mode Should I Choose When Buying SAP Systems on HUAWEI CLOUD?
- Is SAP Hybris Supported?
- How Do I Ensure the Security of SAP Systems Deployed on HUAWEI CLOUD?
- What Are the Advantages of Deploying SAP HANA on HUAWEI CLOUD?
- What Are the Scenarios Supported by Huawei SAP on Cloud Solution?
- Does HUAWEI CLOUD Sell SAP Software Licenses?
- How Do I Use SAP Software Licenses on HUAWEI CLOUD?
- What Are the Application Scenarios of SAP HANA?
- What OSs Can Be Used by SAP Products on HUAWEI CLOUD?
- Can I Deploy SAP Software on HUAWEI CLOUD Immediately Just After Buying It?
- Can I Migrate SAP Systems on Other Clouds to HUAWEI CLOUD?
-
Products
- What SAP HANA Products Does HUAWEI CLOUD Provide?
- What HANA ECSs Does HUAWEI CLOUD Provide?
- What SAP NetWeaver ECSs Does HUAWEI CLOUD Provide?
- How Do I Deploy SAP NetWeaver on HUAWEI CLOUD?
- How Do I Deploy SAP HANA on HUAWEI CLOUD?
- How Do I Back Up and Restore SAP HANA?
- How Do I Deploy HA and DR Systems?
- How Can I Migrate an Existing SAP System to HUAWEI CLOUD?
- How Can I Do Sizing?
- What Modules Does a Typical SAP System Contain?
- How Many SAP Systems are Required to Support Services?
- How Do I Back Up SAP Systems and the HANA Database on HUAWEI CLOUD?
- How Do I Connect to the SAP System on HUAWEI CLOUD?
- Change History
-
FAQs
- Videos
- Glossary
- General Reference
Copied.
Configuring the HA Function of SAP S/4HANA
Scenarios
To prevent SAP S/4HANA from being affected by a single point of failure and improve the availability of SAP S/4HANA, configure the HA mechanism for both the active and standby ASCS nodes. If the active and standby nodes are located in the same AZ, you can directly configure the HA function of SAP S/4HANA. If the active and standby node are located in different AZs, another three ECSs are required and iSCSI is used to create a shared disk for SBD before the HA function is configured. For details, see section Configuring iSCSI (Cross-AZ HA Deployment).
Prerequisites
- The mutual trust relationship has been established between the active and standby ASCS nodes.
- You have disabled the firewall of the OS. For details, see section Modifying OS Configurations.
- To ensure that the communication between the active and standby ASCS nodes is normal, add the mapping between the virtual IP addresses and virtual hostnames to the hosts file after installing the SAP S/4HANA instance.
- Log in to the active and standby ASCS nodes one by one and modify the /etc/hosts file:
vi /etc/hosts
- Change the IP addresses corresponding to the virtual hostnames to the virtual IP addresses.
10.0.3.52 S/4HANA-0001 10.0.3.196 S/4HANA-0002 10.0.3.220 ascsha 10.0.3.2 ersha
NOTE:
ascsha indicates the virtual hostname of the active ASCS node and ersha indicates the virtual hostname of the standby ASCS node. Virtual hostnames can be customized.
- Log in to the active and standby ASCS nodes one by one and modify the /etc/hosts file:
- Check that both the active and standby ASCS nodes have the /var/log/cluster directory. If the directory does not exist, create one.
- Update the SAP resource-agents package on the active and standby ASCS nodes.
- Run the following command to check whether the resource-agents package has been installed:
sudo grep 'parameter name="IS_ERS"' /usr/lib/ocf/resource.d/heartbeat/SAPInstance
- If the following information is displayed, the patch package has been installed. No further action is required.
- If the following information is not displayed, install the patch package. Go to 2.
<parameter name="IS_ERS" unique="0" required="0">
- Install the resource-agents package.
If the image is SLES 12 SP1, run the following command:
sudo zypper in -t patch SUSE-SLE-HA-12-SP1-2017-885=1
If the image is SLES 12 SP2, run the following command:
sudo zypper in -t patch SUSE-SLE-HA-12-SP2-2018-1923=1
If the image is SLES 12 SP3, run the following command:
sudo zypper in -t patch SUSE-SLE-HA-12-SP3-2018-1922=1
- Run the following command to check whether the resource-agents package has been installed:
- Update the sap_suse_cluster_connector package on the active and standby ASCS nodes.
- Run the following command to uninstall the old package. Note that the software package name uses underscores (_).
- Run the following command to install the new package. Note that the software package name uses hyphens (-):
- Run the following command to obtain the version information about the newly installed sap-suse-cluster-connector package:
/usr/bin/sap_suse_cluster_connector gvi --out version
- View the version file to check the version is 3.1.0 or later.
Procedure
- Log in to the ASCS instance node, obtain the ha_auto_script.zip package, and decompress it to any directory.
- Set parameters in the ascs_ha.cfg file based on the site requirements. Table 1 describes the parameters in the file.
Table 1 Parameters in the ascs_ha.cfg file Type
Name
Description
masterNode
masterName
ASCS instance node name
masterHeartbeatIP1
Heartbeat plane IP address 1 of the ASCS instance node
masterHeartbeatIP2
Service plane IP address of the ASCS instance node
slaveNode
slaveName
ERS instance node name
slaveHeartbeatIP1
Heartbeat plane IP address 1 of the ERS instance node
slaveHeartbeatIP2
Service plane IP address of the ERS instance node
ASCSInstance
ASCSFloatIP
Service IP address of the ASCS instance node
ASCSInstanceDir
Directory of the ASCS instance
ASCSDevice
Disk partition used by the ASCS instance directory
ASCSProfile
Profile file of the ASCS instance
ERSInstance
NOTE:
You need to log in to the ERS instance node to obtain the information about ERSInstanceDir, ERSDevice, and ERSProfile parameters.
ERSFloatIP
Service IP address of the ERS instance node
ERSInstanceDir
Directory of the ERS instance
ERSDevice
Disk partition used by the ERS instance directory
ERSProfile
Profile file of the ERS instance
trunkInfo
SBDDevice
Disk partition used by the SBD. One or three disk partitions are supported. Every two partitions are separated by a comma (,), for example, /dev/sda, /dev/sdb, /dev/sdc.
- Run the following command to perform automatic HA deployment:
sh ascs_auto_ha.sh
- Run the crm status command to check the resource status.
NOTE:
After the HA function is configured, HAE manages resources. Do not start or stop resources in other modes. If you need to manually perform test or modification operations, switch the cluster to the maintenance mode first.
crm configure property maintenance-mode=true
Exit the maintenance mode after the modification is complete.
crm configure property maintenance-mode=false
If you need to stop or restart the node, manually stop the cluster service.
systemctl stop pacemaker
After the ECS is started or restarted, run the following command to start the cluster service:
systemctl start pacemaker
To clear the HA configuration, run the following command on the active node for which the HA mechanism is configured (Roll back to the initial status if the active and standby nodes are switched over.):
sh ascs_auto_ha.sh unconf
Verifying the Configuration
- Open a browser and ensure that JavaScript and Cookie are enabled.
- Enter the IP address or host name of the active or standby node as the URL. The login port is 7630.
https://HOSTNAME_OR_IP_ADDRESS:7630/
NOTE:
If a certificate warning is displayed when you attempt to access the URL for the first time, it indicates that a self-signed certificate is used. By default, the self-signed certificate is not considered as a trusted certificate.
Click Continue to this website (not recommended) or add an exception in the browser to eliminate the warning message.
- On the login page, enter the username and password of user hacluster or any other user who belongs to the hacluster group.
NOTE:
The username is hacluster and the password is linux. Change the password after the first login.
- Click Login. You can view the cluster node and resource status on the displayed page.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot