• No results found

HANA Installation

In document Implementation Guide X6 1.9.96 13 (Page 77-80)

6.6 Phase 3

6.6.2 HANA Installation

Phase three needs uplink network connectivity and working DNS resolution to execute prop-erly. If there is no connectivity to the customer’s network and DNS server use this workaround:

Add the external host names specified in step 9 of phase 2 (dialog "SAP HANA Configuration", see screenshot above) to the/etc/hosts file on all nodes so that every node can resolve the external host name of the other nodes. Test this by pinging the external host name of all nodes on every node before continuing with the next phase.

6.6 Phase 3

6.6.1 Verification of RAID Controller and HDD/SSD Firmware

Ensure that the RAID controllers, and the HDDs and SSDs run with the latest firmware. If you used BoMC14in an earlier step to install all available firmware updates on this server, skip this step.

Note

Firmware bugs in older firmware versions may lead to decreasing performance or even data loss.

6.6.2 HANA Installation Attention

The SAP HANA installation packages are copied to the node in this step. Make sure that the Lenovo non-OS components DVD is still mounted via IMM (or USB thumb drive), or the installation will fail.

Phase three starts after the machine has rebooted and you have ascertained that all the networking is working. Either from the console, or from a SSH connection, you may call the Lenovo SAP HANA appliance configuration tool. It is recommended to call the configuration tool on the first node but it can be started on any node of the cluster.

Attention

In case, you are connecting via SSH from a machine that is not set for the English language, you must set the LANG environment variable to "C" beforehand. If not, the SAP HANA Database Installation may break while trying to determine the hardware requirements.

# export LANG=C

Download the latest hardware check script from SAP Note 1658845 – Recently certified SAP HANA hardware/OS not recognized. Copy the ZIP file to the server to/root/HanaHwCheck.zip. The automated (Lenovo) installer will update the HANA hardware check script automatically, if it finds this file at this location.

Attention

Not providing the most recent HANA hardware check script may cause the HANA installation to fail.

14https://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=LNVO-BOMC

6.6.2.1 Single Node Installation Execute the following command as root user.

1 # saphana-setup-saphana.sh

1. Read the License Agreement. Use to select Accept and press . 2. Check that the appliance was detected correctly and confirm with . 3. Select Single Node and confirm.

Figure 23: Installation Mode Selection

4. Accept the external hostname or set the correct value. Select OK.

5. Choose, if you want to get the RAID arrays configured automatically. We recommend to choose

Yes. Only choose No, if the RAID was already configured before.

6. Make sure that gpfsnode01 is assigned to the correct IP. Press to select OK.

Figure 24: GPFS IP Configuration Dialog

7. Repeat for hananode01.

8. Confirm the shared filesystem mountpoint for HANA, or enter a customized value. HANA will be installed below this path.

You can choose any other absolute, not yet existing path, such as/hana.

Note

Currently the default and recommended value is/sapmnt. Nowadays SAP recommends to use/hana and this may become the default path in future releases.

Both paths are supported, but for new installations in legacy environments/sapmnt is strongly recommended.

The IBM GPFS internal name of this filesystem will still besapmntdata in any case.

9. Enter a SID. Select OK.

10. Enter an Instance Number. Select OK.

11. Confirm the User ID of the HANA user, or enter a customized value. Select OK.

12. Confirm the Group ID of the HANA user, or enter a customized value. Select OK. 13. Enter the SAP HANA password. Select OK.

Figure 25: HANA Password Input Dialog

14. Confirm the password. Select OK.

15. Read GPFS license agreement and accept it with "1".

6.6.2.2 Cluster Installation Execute the following command as root user on every node in the cluster.

1 # saphana-setup-saphana.sh

1. Read the License Agreement. Use to select Accept and press . 2. Check that the appliance was detected correctly and confirm with . 3. Select Cluster (Worker) and confirm.

4. Accept the external hostname or set the correct value. Select OK.

5. Choose, if you want to get the RAID arrays configured automatically. We recommend to choose

Yes. Only choose No, if the RAID was already configured before.

6. Read GPFS license agreement and accept the with "1".

Execute the following command as root user only on the first node in the cluster after the previous step was completed for every node in the cluster.

1 # saphana-setup-saphana.sh

1. Read the License Agreement. Use to select Accept and press . 2. Check that the appliance was detected correctly and confirm with . 3. Select Cluster (Master) and confirm.

4. Enter the number of nodes in the cluster. Select OK.

5. Enter the number of standby nodes in the cluster. Select OK.

6. Make sure that the gpfsnode entries are assigned to the correct IPs. Press to select OK. 7. Repeat for hananode entries.

8. Confirm the shared filesystem mountpoint for HANA, or enter a customized value.

You can choose any other absolute, not yet existing path, such as/hana.

Note

Currently the default and recommended value is/sapmnt. Nowadays SAP recommends to use/hana and this may become the default path in future releases.

Both paths are supported, but for new installations in legacy environments/sapmnt is strongly recommended.

The IBM GPFS internal name of this filesystem will still besapmntdata in any case.

9. Enter a SID. Select OK.

10. Enter an Instance Number. Select OK.

11. Confirm the User ID of the HANA user, or enter a customized value. Select OK. 12. Confirm the Group ID of the HANA user, or enter a customized value. Select OK. 13. Enter the SAP HANA password. Select OK.

14. Confirm the password. Select OK. Note

Follow the instructions in Section 7: After Installation on page 66.

Please also review SAP Note 1906381– Network setup for external communication for an overview how HANA can connect to the client network.

In document Implementation Guide X6 1.9.96 13 (Page 77-80)