Parameter Reference
The cluster setup uses parameters, including SID and System Number that are unique to your setup. It is useful to predetermine the values with the following examples and guidance.
Topics
Global AWS Parameters
Name | Parameter | Example |
---|---|---|
AWS account ID |
|
|
AWS Region |
|
|
-
AWS account – For more details, see Your AWS account ID and its alias.
-
AWS Region – For more details, see Describe your Regions.
Amazon EC2 Instance Parameters
Name | Parameter | Primary example | Secondary example |
---|---|---|---|
Amazon EC2 instance ID |
|
|
|
Hostname |
|
|
|
Host IP |
|
|
|
Host additional IP |
|
|
|
Configured subnet |
|
|
|
-
Hostnames must comply with SAP requirements outlined in SAP Note 611361 - Hostnames of SAP ABAP Platform servers
(requires SAP portal access). -
Run the following command on your instances to retrieve the hostname:
$ hostname
-
Amazon EC2 instance ID – run the following command (IMDSv2 compatible) on your instances to retrieve instance metadata:
$ /usr/bin/curl --noproxy '*' -w "\n" -s -H "X-aws-ec2-metadata-token: $(curl --noproxy '*' -s -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600")" http://169.254.169.254/latest/meta-data/instance-id
For more details, see Retrieve instance metadata and Instance identity documents.
For Scale-out Deployments
Role | Primary Coordinator | Primary Worker | Primary Worker | Secondary Coordinator | Secondary Worker | Secondary Worker | Majority Maker |
---|---|---|---|---|---|---|---|
Hostname |
|
|
|
|
|
|
|
Subnet |
|
|
|
|
|
|
|
-
Example for a 6 node cluster with a majority maker
-
The majority maker can use minimal resources as it only provides cluster quorum functionality
SAP and Pacemaker Resource Parameters
Name | Parameter | Example |
---|---|---|
SAP HANA SID |
|
|
SAP HANA System Number |
|
|
SAP HANA Virtual Hostname |
|
|
SAP HANA Overlay IP |
|
|
SAP HANA Read Enabled Overlay IP (optional) |
|
|
VPC Route Tables |
|
|
-
SAP details – SAP parameters, including SID and instance number must follow the guidance and limitations of SAP and Software Provisioning Manager. Refer to SAP Note 1979280 - Reserved SAP System Identifiers (SAPSID) with Software Provisioning Manager
for more details. -
Post-installation, use the following command to find the details of the instances running on a host:
$ sudo /usr/sap/hostctrl/exe/saphostctrl -function ListInstances
-
Overlay IP – This value is defined by you. For more information, see Overlay IP.
SLES Cluster Parameters
Name | Parameter | Example |
---|---|---|
Cluster user |
|
|
Cluster password |
|
|
Cluster name |
|
|
Cluster tag |
|
|
AWS CLI cluster profile |
|
|
-
Cluster user – Installing cluster packages will create the user hacluster, set a password to this account to ensure that the cluster can perform the tasks which do not require root access.
-
Cluster tag – This tag is used by the AWS Stonith agent to ensure it is able to identify the correct Amazon EC2 Instances to fence. The name of the tag is customisable, and should be unique across your AWS account for this cluster pair.
-
AWS CLI cluster profile – It is possible to define a named profile for use with Cluster API calls distinct from other use of the CLI. Each profile can specify different credentials and can also specify different AWS Regions and output formats.