1. Create and attach three additional disks to node-a and node-b to support the installation of SAP HANA. The device names used in this example may vary depending on your environment. Note that these disk sizes are used for evaluation purposes only. Consult the relevant documentation from SAP, your cloud provider, and any third-party storage provider when provisioning resources in a production environment.
Device Name
Size
Mount Point
/dev/sdb 20GB /hana/log
/dev/sdc 30GB /hana/data
/dev/sdd 60GB /hana/shared
  1. Execute the following commands on both node-a and node-b to create a /dev/sdb1 partition with an xfs file system.
[root@node-a ~]# parted /dev/sdb --script mklabel gpt mkpart xfspart xfs 0% 100%

[root@node-a ~]# mkfs.xfs /dev/sdb1
meta-data=/dev/sdb1    isize=512   agcount=4, agsize=1310592 blks
         =             sectsz=4096 attr=2, projid32bit=1
         =             crc=1       finobt=1, sparse=1, rmapbt=0
         =             reflink=1
data     =             bsize=4096  blocks=5242368, imaxpct=25
         =             sunit=0     swidth=0 blks
naming   =version 2    bsize=4096  ascii-ci=0, ftype=1
log      =internal log bsize=4096  blocks=2560, version=2
         =             sectsz=4096 sunit=1 blks, lazy-count=1
realtime =none         extsz=4096  blocks=0, rtextents=0

[root@node-a ~]# partprobe /dev/sdb1

Repeat these commands for /dev/sdc and /dev/sdd on both node-a and node-b.

  1. Execute the following command to create the mount points for the SAP HANA file systems:
[root@node-a ~]# mkdir -p /hana/{log,data,shared}
  1. Use the blkid command to view the UUID’s for each partition.
[root@node-a ~]# blkid | sort
/dev/sdb1: UUID="f058a8de-4e17-4c1d-97a3-a2672aff58dd" TYPE="xfs" PARTLABEL="xfspart" PARTUUID="f780893d-bd61-4beb-89df-fb23ea04f16e"
/dev/sdc1: UUID="c0ab7218-ec24-4a6f-b883-37e505ec806c" TYPE="xfs" PARTLABEL="xfspart" PARTUUID="34c47333-7174-468c-b8f0-a3491cd0fe0c"
/dev/sdd1: UUID="057f4f63-8fb3-486b-82b5-49fbbd4914cc" TYPE="xfs" PARTLABEL="xfspart" PARTUUID="0c9cc7d3-9622-4b3f-8949-e744a02af466"
  1. Referencing the UUID’s found in step 3, add the following entries to /etc/fstab on node-a and node-b to allow the file systems to be mounted at boot. Replace the sample UUID’s given in this example with the UUID’s of the appropriate partitions on your systems.
UUID=f058a8de-4e17-4c1d-97a3-a2672aff58dd       /hana/log      xfs     defaults        0 0
UUID=c0ab7218-ec24-4a6f-b883-37e505ec806c       /hana/data       xfs     defaults        0 0
UUID=057f4f63-8fb3-486b-82b5-49fbbd4914cc       /hana/shared    xfs     defaults        0 0
  1. Execute the following command on node-a and node-b to mount the SAP HANA file systems on both nodes:
mount -a

The file systems are now prepared for SAP HANA installation.

フィードバック

お役に立ちましたか?

はい いいえ
お役に立ちましたか
理由をお聞かせください
フィードバックありがとうございました

このトピックへフィードバック

送信