Preparing the Configuration File
This section describes how to configure parameters in the config.json file. During the installation of SAP application AS and AAS expansion, information in the config.json configuration file will be obtained.
Procedure
- Log in to an ASCS node as user root using a key or password.
- On the CLI, download the compressed software package s4autoscaling.zip to the /sapmnt/{sid} directory, for example, /sapmnt/NW0/.
wget https://obs-sap.cn-east-2.myhuaweicloud.com/autoscaling/s4autoscaling.zip -P /sapmnt/NW0
- Run the following command to decompress s4autoscaling.zip:
unzip s4autoscaling.zip -d /sapmnt/NW0
- Run the following command to open the config.json file:
vi /sapmnt/NW0/autoscaling/config.json
- Edit the parameters in the config.json file based on actual requirements. For details, see Table 1.
Table 1 Parameter description Parameter
Description
Example Value
SID
System ID of the SAP S/4HANA system
NW0
SchemaPW
Schema password of the SAP HANA database
xiaoxiao@123
MasterPW
Password configured when installing AAS
xiaoxiao@123
SYSTEMPW
SYSTEM password of the SAP HANA database
xiaoxiao@123
SapmntPATH
sapmnt directory shared to AAS, for example, /sapmnt/{SID}
10.0.0.41:/sapmnt/NW0
PASInctanceNR
PAS instance ID
01
Region
Region where the S/4HANA system resources are located
cn-south-1
DDICPasswd
DDIC user password
xiaoxiao@123
LogonGroup
Name of the created logon group
tst_group
InstallVersion
In the current version, only 1709 is supported. The value must be S4_1709.
S4_1709
AASImageID
Image ID required by AAS ECSs. If this parameter is left blank, use the image that is the same as that of PAS.
NOTE:The pip tool must be installed in the image for provisioning AAS ECSs.
Leave this parameter blank.
ExistedAASIDs
- If AASs already exist in the S/4HANA system, set this parameter to, for example, ExistedAASIDs":["981224766","964679324"].
- If no AAS exists in the S/4HANA system, leave this parameter blank. For example, [].
["981224766","964679324"]
AASFlavorID
Flavor of AAS ECSs. If this parameter is left blank, select the flavor that is the same as that of PASs.
s1.xlarge
AgencyName
Agency name, which must be the same as that of the created agency in section Creating an Agency.
NW_scaling_agency
UserName
HUAWEI CLOUD username
sap_xiao458925
DomainName
HUAWEI CLOUD domain name
sap_xxx4157666
IAMEndpoint
Endpoint address of HUAWEI CLOUD IAM. The value must be iam.myhuaweicloud.com.
iam.myhuaweicloud.com
KeypairName
Name of the key pair used for provisioning AAS ECSs. If this parameter is left blank, use the key pair that is the same as that of PASs. (You can only use key pairs to log in to AASs.)
Keypair-lf
ContactPhone
Phone number of the S/4HANA system administrator, which is used to receive AS information
188292004xx
ContactEmail
Email address of the S/4HANA system administrator, which is used to receive AS information
1oss.zhang@huawei.com
- After the editing is complete, press Esc to exit the editing mode.
- Enter :wq and press Enter.
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