HA200 SAP HANA 2.0 SPS02 - Installation and Administration
. .
EXERCISES AND SOLUTIONS . Course Version: 14
SAP Copyrights and Trademarks
© 2018 SAP SE
or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/ corporate-en/legal/copyri corporate-en/ legal/copyright/index.epx ght/index.epx for for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. functionality. All forward-looking statements statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions. decisions.
SAP Copyrights and Trademarks
© 2018 SAP SE
or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/ corporate-en/legal/copyri corporate-en/ legal/copyright/index.epx ght/index.epx for for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. functionality. All forward-looking statements statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions. decisions.
Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used.
This information is displayed in the instructor’s presentation
Demonstration
Procedure
Warning or Caution
Hint
Related or Additional Information
Facilitated Discussion
User interface control
Example text
Window title
Example text
© Copyright. All rights reserved.
Contents Unit 1:
SAP HANA Introduction No exercises
Unit 2:
Installation Preparations No exercises
Unit 3:
SAP HANA Installation
1
Exercise 1: Install a Single-Host SAP HANA System
Unit 4:
SAP HANA Architecture No exercises
Unit 5:
SAP HANA Cockpit 2.0
7
Exercise 2: Install SAP HANA Cockpit 2.0
12
Exercise 3: Configure and Open SAP HANA Cockpit 2.0
22
Exercise 4: Update SAP HANA Cockpit 2.0
Unit 6:
SAP HANA Scenarios and Deployment Options No exercises
Unit 7:
Post Installation Tasks
28
Exercise 5: Update SAP HANA
33
Exercise 6: Reconfigure SAP HANA cockpit
43
Exercise 7: Install the SAP HANA Interactive Education (SHINE) Content
Unit 8:
Adminstration Tools
50
Exercise 8: Work with HDBSQL
55
Exercise 9: Monitor SAP HANA with DBACockpit
64
Exercise 10: Connect to the SAP HANA Database Using SAP HANA Studio
© Copyright. All rights reserved.
Unit 9:
Database Administration Tasks
70
Exercise 11: Use Different Methods to Start and Stop the SAP HANA Database
77
Exercise 12: Change SAP HANA Configuration Parameters with SAP HANA Cockpit
82
Exercise 13: Monitor SAP HANA Using SAP HANA Cockpit 2.0
87
Exercise 14: Configure SAP HANA Traces
95
Exercise 15: Work with Diagnosis Files
100
Exercise 16: Analyze Queries
103
Exercise 17: Administer a Table
109
Exercise 18: Transport Changes
114
Exercise 19: Optional: Implement Mini Checks in SAP HANA studio
Unit 10:
Backup and Recovery
117
Exercise 20: Backup and Recovery
Unit 11:
Security
126
Exercise 21: Configure Data Volume and Log VolumeEncryption
128
Exercise 22: Enable Audit Policy
Unit 12:
Maintaining Users and Authorization
132
Exercise 23: Maintaining Administrative Users and Authorization
© Copyright. All rights reserved.
© Copyright. All rights reserved.
Unit 3 Exercise 1 Install a Single-Host SAP HANA System
Business Example The SAP HANA implementation project was started on SAP HANA 1.0 SPS12. With the release of SAP HANA 2.0 SPS02 , the project team wants to investigate the new features to see if SAP HANA 2.0 requires and update. To facilitate this request, you will create a sandbox system. In this sandbox you will install a Single-Host SAP HANA 1.0 SPS12 system. In later exercises you will configure and upgrade this system to SAP HANA 2.0 SPS02. Use the Microsoft Remote Desktop application to connect to the Linux desktop, and use hdblcmgui to install the single-host SAP HANA database. Note: is the placeholder for the group number that the instructor has assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the credentials provided in the following table:
Note: If you are working in an with the next step.
session, skip this step and continue
Provided by your instructor
Provided by your instructor
train-01
train-02
initial
initial
Use Remote Desktop to connect to the SAP HANA database server using the credentials provided in the following table:
Provided by your instructor
Provided by your instructor
wdflbmt7195
ha200root
© Copyright. All rights reserved.
ha200root
Unit 3: SAP HANA Installation
W3lcome123
W3lcome123
Install the SAP HANA database with hdbclmgui using the following data:
wdflbmt7194
wdflbmt7195
/hana/shared
/hana/shared
H94
H95
00
00
single_container
single_container
Custom
Custom
Deselect
Deselect
Deselect
Welcome1
Welcome1
Use the command line tool HDB to check that all the SAP HANA services are running.
© Copyright. All rights reserved.
Unit 3 Solution 1 Install a Single-Host SAP HANA System
Business Example The SAP HANA implementation project was started on SAP HANA 1.0 SPS12. With the release of SAP HANA 2.0 SPS02 , the project team wants to investigate the new features to see if SAP HANA 2.0 requires and update. To facilitate this request, you will create a sandbox system. In this sandbox you will install a Single-Host SAP HANA 1.0 SPS12 system. In later exercises you will configure and upgrade this system to SAP HANA 2.0 SPS02. Use the Microsoft Remote Desktop application to connect to the Linux desktop, and use hdblcmgui to install the single-host SAP HANA database. Note: is the placeholder for the group number that the instructor has assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the credentials provided in the following table:
Note: If you are working in an with the next step.
session, skip this step and continue
Provided by your instructor
Provided by your instructor
train-01
train-02
initial
initial
On the Windows Desktop, open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktopapplication. On the Remote Desktop Connection window, in the Computer field, enter the name provided by the instructor, and choose Connect. In the Windows Security screen, choose More choices and select the option Use a different account. Enter the and credentials from the preceding table, and choose OK. On the Remote Desktop Connection dialog box, choose Yes.
© Copyright. All rights reserved.
Unit 3: SAP HANA Installation
Note: You are now connected to the WTS training landscape desktop with a gray background.
Use Remote Desktop to connect to the SAP HANA database server using the credentials provided in the following table:
Provided by your instructor
Provided by your instructor
wdflbmt7195
ha200root
ha200root
W3lcome123
W3lcome123
In the , open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On theRemote Desktop Connection window, in the Computer field, enter the name provided by the instructor, and choose Connect. On the Remote Desktop Connection dialog box, choose Yes. On theLogin to xrdp window, enter your and credentials from the preceding table, and choose OK.
Note: You are now connected to the SAP HANA database server desktop with a green background.
Install the SAP HANA database with hdbclmgui using the following data:
wdflbmt7194
wdflbmt7195
/hana/shared
/hana/shared
H94
H95
00
00
single_container
single_container
Custom
Custom
Deselect
Deselect
© Copyright. All rights reserved.
Deselect
Solution 1: Install a Single-Host SAP HANA System
Welcome1
Welcome1
In the green Remote Desktop session, double-click the Training button. In the opened file explorer, double-click theInstall folder. Open the DATA_UNITS folder. Double-click the HDB_LCM_LINUX_X86_64 folder. To start the SAP HANA database installation program, double-click hdblcmgui. The Select Software Components Location window shows an overview of the detected Software Components. To continue the installation, choose Next. In the Install new SAP HANA System window, choose Install New System, and choose Next. In the Select additional components for installation window, you can install additional components during the installation. Accept the default options, and choose Next. In the Choose System Type window, select the Single-Host System option, and choose Next. In the Specify the System Properties window, enter the input data from the preceding table, and choose Next. In the Specify the Data and Log Area window, accept the default locations, and choose Next. In the Enter Certificates Hosts Properties window, accept the default option, and choose Next. In the Specify the Properties for the System Administrator window, enter and confirm the from the preceding table, and choose Next. In the Specify Password of Database User SYSTEM window, enter and confirm the from the preceding table, and choose Next. In the Specify the Properties of the SAP Host Agent User window, enter and confirm the from the preceding table, and choose Next. In the Summary window, check the installation parameters that you provided, and choose Install.
Note: The installation takes around 15 minutes.
After the installation has finished, check the logs by choosing one of the View Log buttons in the SAP HANA System installed screen. To close the opened log file, choose the Close button. Close the SAP HANA Lifecycle Managementtool by choosing the Finish button.
© Copyright. All rights reserved.
Unit 3: SAP HANA Installation
Use the command line tool HDB to check that all the SAP HANA services are running. To open a Terminal, right click on the green Linux desktop, and from the Context menu, choose Open in Terminal. Only for Group94: In the Terminal, execute the command su – h94adm . Only for Group95: In the Terminal, execute the command su – h95adm . In the Terminal, execute the command HDB info. This process shows an overview of the running of SAP HANA database services. To leave the adm user session, enter exit. To close the Terminal, enter exit.
© Copyright. All rights reserved.
Unit 5 Exercise 2 Install SAP HANA Cockpit 2.0
Business Example You have several SAP HANA database systems installed in your landscape. You want to use SAP HANA cockpit 2.0 to monitor and manage all these databases centrally. Install SAP HANA cockpit 2.0 on a central server.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In the training landscape, the SAP HANA cockpit will be installed only once on a central server. To accomplish this, Group94 and Group95 must work together on the central SAP HANA cockpit server to install and configure SAP HANA cockpit 2.0 correctly. The installation and upgrade tasks should be divided as follows: ●
Group94 will install SAP HANA cockpit 2.0
●
Group95 will update SAP HANA cockpit 2.0
Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provided by your instructor
Please work together with Group94
train-01
Please work together with Group94
initial
Please work together with Group94
Use Remote Desktop to connect to the SAP HANA cockpit server using the credentials provided in the following table:
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
Provided by your instructor
Please work together with Group94
wdflbmt7285
Please work together with Group94
ha200root
Please work together with Group94
W3lcome123
Please work together with Group94
Install the SAP HANA cockpit 2.0 with hdbclmgui using the following data:
Welcome1
Write down the URLs for the SAP HANA cockpit manager and SAP HANA cockpit as shown at the end of the installation on the screen SAP HANA Cockpit System installed. SAP HANA cockpit manager URL:
SAP HANA cockpit URL:
Review the installation log files and close the SAP HANA cockpit installer.
© Copyright. All rights reserved.
Unit 5 Solution 2 Install SAP HANA Cockpit 2.0
Business Example You have several SAP HANA database systems installed in your landscape. You want to use SAP HANA cockpit 2.0 to monitor and manage all these databases centrally. Install SAP HANA cockpit 2.0 on a central server.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In the training landscape, the SAP HANA cockpit will be installed only once on a central server. To accomplish this, Group94 and Group95 must work together on the central SAP HANA cockpit server to install and configure SAP HANA cockpit 2.0 correctly. The installation and upgrade tasks should be divided as follows: ●
Group94 will install SAP HANA cockpit 2.0
●
Group95 will update SAP HANA cockpit 2.0
Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provided by your instructor
Please work together with Group94
train-01
Please work together with Group94
initial
Please work together with Group94
Skip to step 2. if you are still connected to the .
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
On the Windows Desktop, open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, in the Computer field, enter the name provided by the instructor, and choose Connect. In the Windows Security screen, choose More choices and select the option Use a different account. Enter the user name and password credentials from the previous table, and choose OK. On the Remote Desktop Connection dialog box, choose Yes.
Note: You are now connected to the WTS training landscape desktop with a gray background.
Use Remote Desktop to connect to the SAP HANA cockpit server using the credentials provided in the following table:
Provided by your instructor
Please work together with Group94
wdflbmt7285
Please work together with Group94
ha200root
Please work together with Group94
W3lcome123
Please work together with Group94
In the , open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, in the Computer field, enter the SAP HANA cockpit server name provided by the instructor, and choose Connect. On the Remote Desktop Connection dialog box, choose Yes. On the Login to xrdp window, enter your username and password credentials from the above table, and choose OK.
Note: You are now connected to the SAP HANA cockpit server desktop with a gray background.
Install the SAP HANA cockpit 2.0 with hdbclmgui using the following data:
© Copyright. All rights reserved.
Solution 2: Install SAP HANA Cockpit 2.0
Welcome1
In the gray Remote Desktop session, double-click the Training button. In the opened file explorer, choose the install folder. To start the installation, double-click hdblcmgui.sh. In the Install new SAP HANA Cockpit System window, select Install New System, and choose the Next button. In the Specify the System Properties window, review and accept the default setting, and choose the Next button. In the Specify Master Password window, in both input fields, enter the provided in the above table, and choose the Next button. In the Summary window, review the installation parameters, and choose the Install button.
Note: The installation takes approximately 30 minutes.
Write down the URLs for the SAP HANA cockpit manager and SAP HANA cockpit as shown at the end of the installation on the screen SAP HANA Cockpit System installed. SAP HANA cockpit manager URL:
SAP HANA cockpit URL:
Write down the URLs for the SAP HANA cockpit manager and SAP HANA c ockpit. Review the installation log files and close the SAP HANA cockpit installer. In the SAP HANA Cockpit System installed window, review the installation log by choosing the View Log button. To close the SAP HANA Cockpit – XML Log Viewer window, choose the Close button. To close the SAP HANA Lifecycle Management tool, choose the Finish button.
© Copyright. All rights reserved.
Unit 5 Exercise 3 Configure and Open SAP HANA Cockpit 2.0
Business Example You have installed SAP HANA cockpit 2.0 on a central server and want to use it for monitoring the SAP HANA databases in your landscape. Connect your SAP HANA database as a resource to the SAP HANA cockpit 2.0.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In our training landscape, SAP HANA cockpit is installed once on a central server. Both Group94 and Group95 will use this central SAP HANA cockpit 2.0 server system for system administration and monitoring.
Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provided by your instructor
Provided by your instructor
train-01
train-02
initial
initial
From the WTS training landscape environment, open a session to your SAP HANA database server using PuTTY, and create the user account to register the SAP HANA database in SAP HANA cockpit 2.0
h94
h95
h94adm
h95adm
© Copyright. All rights reserved.
Exercise 3: Configure and Open SAP HANA Cockpit 2.0
wdflbmt7195
As the adm user, use the hdbsql tool to create the database user COCKPIT_MONITOR and assign the required permissions. Start SAP HANA cockpit manager and connect your SAP HANA database for monitoring and administration, using the following credentials of your SAP HANA cockpit user:
COCKPIT_ADMIN
COCKPIT_ADMIN
Welcome1
Welcome1
Register your SAP HANA database as a resource in SAP HANA cockpit manager, using the following data:
Resource screen
wdflbmt7194
wdflbmt7195
00
00
Single container
Single container
Database H94
Database H95
Technical User screen
COCKPIT_MONITOR
COCKPIT_MONITOR
Welcome1
Welcome1
Resource Groups
No groups to select
No groups to select
Contact screen
User94
User95
User94@exam ple.com H94 User
User95@exam ple.com H95 User
Add your Registered Resource to a Resource Group, using the following data:
General Information screen
Group94
Group95
Group for H94 databases
Group for H95 databases
Resources screen
H94
H95
Cockpit Users screen
No users to select
No users to select
Create a SAP HANA cockpit user and add your Resource Group to this user account.
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
User Information screen
USER94
Init1234
USER95
User94@exam ple.com
Init1234 User95@exam ple.com
Cockpit Roles screen
Keep the default selection
Keep the default selection
Resource Groups screen
Group94
Group95
Use an incognito window in Google Chrome to logon to the SAP HANA cockpit and change the initial password.
USER94
USER95
Init1234
Init1234
Welcome1
Welcome1
Check the overall status of your SAP HANA database. Add the required database user credentials to get an detailed view the running SAP HANA database services.
Enter database user logon credentials for ...
SYSTEM
SYSTEM
Welcome1
Welcome1
Enter SAP Control logon credentials for ...
h94adm
h95adm
Welcome1
Welcome1
Resource Directory
H94
H95
© Copyright. All rights reserved.
Unit 5 Solution 3 Configure and Open SAP HANA Cockpit 2.0
Business Example You have installed SAP HANA cockpit 2.0 on a central server and want to use it for monitoring the SAP HANA databases in your landscape. Connect your SAP HANA database as a resource to the SAP HANA cockpit 2.0.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In our training landscape, SAP HANA cockpit is installed once on a central server. Both Group94 and Group95 will use this central SAP HANA cockpit 2.0 server system for system administration and monitoring.
Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provided by your instructor
Provided by your instructor
train-01
train-02
initial
initial
Skip to step 2. if you are still connected to the . On the Windows Desktop, open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, in the Computer field, enter the name provided by the instructor, and choose Connect. In the Windows Security screen, choose More choices and select the option Use a different account. Enter the user name and password c redentials from the above table, and choose OK.
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
On the Remote Desktop Connection dialog box, choose Yes.
Note: You are now connected to the WTS training landscape desktop with a gray background.
From the WTS training landscape environment, open a session to your SAP HANA database server using PuTTY, and create the user account to register the SAP HANA database in SAP HANA cockpit 2.0
h94
h95
h94adm
h95adm
wdflbmt7195
To start PuTTY, in the gray Remote Desktop, open the Microsoft Windows Start menu and search for HA200_putty. In the search results, choose the option HA200_putty. From the menu options in the HA200_Putty window, choose the number for your . Press any key to start the PuTTY session. In the PuTTY Security Alert window, choose Yes to continue. You are now connected to the Linux command line on your SAP HANA database server. As the adm user, use the hdbsql tool to create the database user COCKPIT_MONITOR and assign the required permissions. Change to the SAP HANA operating system user with the following command: su — Connect to your SAP HANA database with the following command: hdbsql -n -i 00 -u SYSTEM -p Welcome1 To create the COCKPIT_MONITOR database user, enter the following SQL statement: CREATE USER COCKPIT_MONITOR PASSWORD Welcome1 NO FORCE_FIRST_PASSWORD_CHANGE; To grant the COCKPIT_MONITOR user the required authorization, enter the following SQL statements: ●
GRANT CATALOG READ to COCKPIT_MONITOR;
●
GRANT SELECT on SCHEMA _SYS_STATISTICS to COCKPIT_MONITOR;
To exit the hdbsql tool, enter the command: \q. To close the session, enter the command: exit.
© Copyright. All rights reserved.
Solution 3: Configure and Open SAP HANA Cockpit 2.0
To close the PuTTY session, enter the command: exit. Start SAP HANA cockpit manager and connect your SAP HANA database for monitoring and administration, using the following credentials of your SAP HANA cockpit user:
COCKPIT_ADMIN
COCKPIT_ADMIN
Welcome1
Welcome1
Use Google Chrome to connect to the SAP HANA cockpit manager via the following URL: https://wdflbmt7285.wdf.sap.corp:51023 Select ADVANCED in the Your connection is not private screen to continue the logon. In the following screen select Proceed to wdflbmt7285.wdf.sap.corp (unsafe). In the SAP HANA XS Advanced window, enter your and credentials from the above table, and choose Log On.
Caution: The user COCKPIT_ADMIN doesn't have the required authorizations for working with the SAP HANA cockpit 2.0. During the first login, the required authorizations are auto-assigned.
To get the required authorizations assigned, in the Not Authorized window, choose Yes. To return to the login screen, in the Success window, choose OK. In the SAP HANA XS Advanced window, enter your and credentials from the above table, and choose Log On. Register your SAP HANA database as a resource in SAP HANA cockpit manager, using the following data:
Resource screen
wdflbmt7194
wdflbmt7195
00
00
Single container
Single container
Database H94
Database H95
Technical User screen
COCKPIT_MONITOR
COCKPIT_MONITOR
Welcome1
Welcome1
Resource Groups
No groups to select
No groups to select
Contact screen
User94
User95
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
User94@exam ple.com
H94 User
User95@exam ple.com H95 User
To get an overview of the Registered Resources, in the SAP HANA cockpit manager, choose Registered Resources. In the Registered Resources screen, choose the Register Resource button. In the Resource screen, in the , , , and fields, enter the data from the table. To continue, choose the Step 2 button. In the Technical User screen fill the and fields, using the credentials from the above table. To continue, choose the Step 3 button. In the Connection screen, deselect the checkboxes from Encrypt the SAP start service connection and the Encrypt the database connection. To continue, choose the Step 4 button. In the Resource Groups screen, choose the Step 5 button. Optional: In the Contact screen, enter your contact information as shown in the above table. To continue, choose the Review button. In the Register Resource Review screen, check and confirm your input. To continue, choose the Register button. To return to the SAP HANA cockpit manager home screen, choose the Back button. Add your Registered Resource to a Resource Group, using the following data:
General Information screen
Group94
Group95
Group for H94 databases
Group for H95 databases
Resources screen
H94
H95
Cockpit Users screen
No users to select
No users to select
From the SAP HANA cockpit manager home screen, choose Resource Groups. In the Resource Groups screen, choose the Create Group button.
© Copyright. All rights reserved.
Solution 3: Configure and Open SAP HANA Cockpit 2.0
In the General Information screen, enter the data from the above table in the and fields. To continue, choose the Step 2 button. In the Resources screen, choose the Add Resources button. In the dialog box, select your , and choose the OK button. To continue, choose the Step 3 button. In the Cockpit Users screen, choose the Create Group button. To return to the SAP HANA cockpit manager home screen, choose the Back button. Create a SAP HANA cockpit user and add your Resource Group to this user account.
User Information screen
USER94
Init1234
USER95
User94@exam ple.com
Init1234 User95@exam ple.com
Cockpit Roles screen
Keep the default selection
Keep the default selection
Resource Groups screen
Group94
Group95
From the SAP HANA cockpit manager home screen, choose Cockpit Users. In the Cockpit Users screen, choose the Create User button. In the User Information screen, enter the data from the above table in the , (twice) and fields. To continue, choose the Step 2 button. In the Cockpit Roles screen, keep the default role selection. To continue, choose the Step 3 button. In the Resource Groups screen, choose the Add Groups button. In the Add User to Groups pop-up windows, select your and press OK. Press the Create User button to create the user account. To return to the SAP HANA cockpit manager home screen, choose the Back button. Use an incognito window in Google Chrome to logon to the SAP HANA cockpit and change the initial password.
USER94
USER95
Init1234
Init1234
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
Welcome1
Welcome1
In Google Chrome, press CTRL+Shift+N to open an new incognito window. In the incognito window enter the URL to connect to the SAP HANA cockpit. Use the following URL: https://wdflbmt7285.wdf.sap.corp:51021 On the SAP HANA XS Advanced window, enter your and credentials from the above table, and choose the Log On button. In the Your current password has expired screen, enter the , the old and the (twice). To change the password press the Change Password button. Check the overall status of your SAP HANA database. In the My Resources tab, choose the Monitor Aggregated Health link to see the overall status of your SAP HANA database. To return to the SAP HANA cockpit home screen, choose the Back button. Add the required database user credentials to get an detailed view the running SAP HANA database services.
Enter database user logon credentials for ...
SYSTEM
SYSTEM
Welcome1
Welcome1
Enter SAP Control logon credentials for ...
h94adm
h95adm
Welcome1
Welcome1
Resource Directory
H94
H95
In the SAP HANA cockpit home screen, choose the View resources directory link to get an overview of the resources assigned to your account. Select the Enter Credentials link to enter the database connection credentials. In the Enter database user logon credentials for ... dialog box, enter your and from the above table, and choose OK. Select Connect link to enter the SAP Control Credentials. In the Enter SAP Control logon credentials for ... dialog box, enter your and from the above table, and choose Save. To open a detail overview screen of your SAP HANA database choose your in the Resource Directory screen. The detailed overview screen of your SAP HANA database opens.
© Copyright. All rights reserved.
Solution 3: Configure and Open SAP HANA Cockpit 2.0
To get an overview of the running SAP HANA services choose the Overall Database Status tile. Status tile. To return to the SAP HANA cockpit home screen, choose the Home button. Home button.
© Copyright. All rights reserved.
Unit 5 Exercise 4 Update SAP HANA Cockpit 2.0
Business Example During the planned data center maintenance window you also need to update your central SAP HANA Cockpit 2.0. The newer version will provide you with additional multitenant features that you require in your S AP HANA 2.0 MDC system landscape.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In the training landscape, the SAP HANA cockpit will be installed only once on a central server. To accomplish this, Group94 and Group95 must work together on the central SAP HANA cockpit server to install and configure SAP HANA cockpit 2.0 correctly. The installation and upgrade tasks should be divided as follows: ●
Group94 will install SAP HANA cockpit 2.0
●
Group95 will upgrade SAP HANA cockpit 2.0
Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Please work together with Group95
Provided by your instructor
Please work together with Group95
train-01
Please work together with Group95
initial
Use Remote Desktop to connect to the SAP HANA cockpit server using server using the data in the following table:
© Copyright. All rights reserved.
Exercise 4: Update SAP HANA Cockpit 2.0
Please work together with Group95
Please work together with Group95
Provided by your instructor
wdflbmt7285
Please work together with Group95
ha200root
Please work together with Group95
W3lcome123
Update SAP HANA cockpit 2.0 to the latest version available on the training landscape. Use the hdblcmgui and the data in the table below.
Welcome1
Welcome1
Review the update log files and close the SAP HANA cockpit hdblcm tool. Check the version number of the updated SAP HANA cockpit.
SAP HANA XS Advanced screen vanced screen
© Copyright. All rights reserved.
USER94
USER95
Welcome1
Welcome1
Unit 5 Solution 4 Update SAP HANA Cockpit 2.0
Business Example During the planned data center maintenance window you also need to update your central SAP HANA Cockpit 2.0. The newer version will provide you with additional multitenant features that you require in your S AP HANA 2.0 MDC system landscape.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In the training landscape, the SAP HANA cockpit will be installed only once on a central server. To accomplish this, Group94 and Group95 must work together on the central SAP HANA cockpit server to install and configure SAP HANA cockpit 2.0 correctly. The installation and upgrade tasks should be divided as follows: ●
Group94 will install SAP HANA cockpit 2.0
●
Group95 will upgrade SAP HANA cockpit 2.0
Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Please work together with Group95
Provided by your instructor
Please work together with Group95
train-01
Please work together with Group95
initial
Skip to step 2. if you are still connected to the .
© Copyright. All rights reserved.
Solution 4: Update SAP HANA Cockpit 2.0
On the Windows Desktop, open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, in the Computer field, enter the name provided by the instructor, and choose Connect. In the Windows Security screen, choose More choices and select the option Use a different account. Enter the user name and password c redentials from the above table, and choose OK. On the Remote Desktop Connection dialog box, choose Yes.
Note: You are now connected to the WTS training landscape desktop with a gray background.
Use Remote Desktop to connect to the SAP HANA cockpit server using the data in the following table:
Please work together with Group95
Please work together with Group95
Provided by your instructor
wdflbmt7285
Please work together with Group95
ha200root
Please work together with Group95
W3lcome123
Skip to step 3. if you are still connected to the Remote Desktop session of the SAP HANA cockpit server. In the , open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, in the Computer field, enter your name provided by the instructor, and choose Connect. On the Remote Desktop Connection dialog box, choose Yes. On the Login to xrdp window, enter your user name and password credentials from the above table, and choose OK.
Note: You are now connected to the SAP HANA cockpit server desktop with a gray background.
Update SAP HANA cockpit 2.0 to the latest version available on the training landscape. Use the hdblcmgui and the data in the table below.
© Copyright. All rights reserved.
Unit 5: SAP HANA Cockpit 2.0
Welcome1
Welcome1
In the gray Remote Desktop session, on the SAP HANA cockpit server, double-click the Training button. In the opened file explorer, choose the upgrade folder. To start the update, double-click hdblcmgui.sh. In the Choose system to update, or choose installation window, select Update existing system, and choose the SID H4C. To continue the update select the Next button. In the Choose components to be installed or updated for system ‘H4C’ window, review and accept the proposed setting, and choose the Next button. In the Specify authorization data window, enter the password in the field and as provided in the above table, and choose the Next button. In the Specify XS Advanced Runtime Properties window, enter the password in the field as provided in the above table, and choose the Next button. In the Summary window, review the update parameters, and choose the Update button.
Note: The update takes approximately 35 minutes.
Review the update log files and close the SAP HANA cockpit hdblcm tool. In the SAP HANA Cockpit Components updated window, review the update log by choosing the View Log button. To close the SAP HANA Cockpit – XML Log Viewer window, choose the Close button. To close the SAP HANA Lifecycle Management tool, choose the Finish button. Check the version number of the updated SAP HANA cockpit.
SAP HANA XS Advanced screen
© Copyright. All rights reserved.
USER94
USER95
Welcome1
Welcome1
Solution 4: Update SAP HANA Cockpit 2.0
In the gray Remote Desktop session, close all Google Chrome windows, then open a fresh Google Chrome window to Logon to the SAP HANA cockpit. Connect to the SAP HANA cockpit u sing the following URL: https://wdflbmt7285.wdf.sap.corp:51021 In the SAP HANA XS Advanced window, to log in, enter your and from the above table and press the Log On button. In the SAP HANA Cockpit window, select your in the top right corner. From the drop-down menu select the option About. In the pop-up window About SAP HANA Cockpit, find and write down the SAP HANA Cockpit version number. SAP HANA Cockpit version number:
Close the About SAP HANA Cockpit window by pressing the OK button.
© Copyright. All rights reserved.
Unit 7 Exercise 5 Update SAP HANA
Business Example The project team members requested an SAP HANA 2.0 sandbox system so that they can learn about the newest SAP HANA 2.0 fe atures. To facilitate this request, you will update the Single-Host SAP HANA SPS12 sandbox system to S AP HANA 2.0. You downloaded the current SAP HANA 2.0 SPS02 version from http://support.sap.com http://support.sap.com and and stored it on the SAP HANA Linux server in the /data/training/setup/upgrade directory. Update the SAP HANA 1.0 system to the SAP HANA 2.0 using the SAP HANA lifecycle management tools. Use the Microsoft Remote Desktop application to connect to the Linux desktop, and use hdblcmgui to update the single-host SAP HANA database that you previously installed. Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using landscape using the credentials provided in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provid Provided ed by your your instru instructo ctorr
Provid Provided ed by your your instru instructo ctorr
train-01
train-02
initial
initial
Use Remote Desktop to connect to the SAP HANA database server using server using the credentials provided in the following table:
Provid Provided ed by your your instru instructo ctorr
Provid Provided ed by your your instru instructo ctorr
wdflbmt7195
ha200root
© Copyright. All rights reserved.
ha200root
Exercise 5: Update SAP HANA
W3lcome123
W3lcome123
Update the SAP HANA using the hdblcmgui tool for the following groups:
adm) Password>
H94 Welcome1
H95 Welcome1
SYSTEM
SYSTEM
Welcome1
Welcome1
Welcome1
Welcome1
Welcome1
Welcome1
Use the command line tool HDB to check the new version SAP HANA database for the following groups:
© Copyright. All rights reserved.
H94
H95
Unit 7 Solution 5 Update SAP HANA
Business Example The project team members requested an SAP HANA 2.0 sandbox system so that they can learn about the newest SAP HANA 2.0 fe atures. To facilitate this request, you will update the Single-Host SAP HANA SPS12 sandbox system to S AP HANA 2.0. You downloaded the current SAP HANA 2.0 SPS02 version from http://support.sap.com http://support.sap.com and and stored it on the SAP HANA Linux server in the /data/training/setup/upgrade directory. Update the SAP HANA 1.0 system to the SAP HANA 2.0 using the SAP HANA lifecycle management tools. Use the Microsoft Remote Desktop application to connect to the Linux desktop, and use hdblcmgui to update the single-host SAP HANA database that you previously installed. Note: is the placeholder for the group number that the instructor assigned to you.
Use Remote Desktop to connect to the WTS training landscape using landscape using the credentials provided in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provid Provided ed by your your instru instructo ctorr
Provid Provided ed by your your instru instructo ctorr
train-01
train-02
initial
initial
Skip to step 2. if you are still connected to the . landscape>. On the Windows Desktop, open the Microsoft Windows Start menu and search for Remote Desktop Connection. Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, Connection window, in the Computer field, Computer field, enter the name landscape> name provided by the instructor, and choose Connect. Connect. In the Windows Security screen, Security screen, choose More choices and choices and select the option Use a different account. account. Enter the user name and password c redentials from the above table, and choose OK. OK.
© Copyright. All rights reserved.
Solution 5: Update SAP HANA
On the Remote Desktop Connection dialog box, choose Yes.
Note: You are now connected to the WTS training landscape desktop with a gray background.
Use Remote Desktop to connect to the SAP HANA database server using the credentials provided in the following table:
Provided by your instructor
Provided by your instructor
wdflbmt7195
ha200root
ha200root
W3lcome123
W3lcome123
In the , open the Microsoft Windows Start menu and search for Remote Desktop Connection. Open the Microsoft Remote Desktop application. On the Remote Desktop Connection window, in the Computer field, enter the name provided by the instructor, and choose Connect. On the Remote Desktop Connection dialog box, choose Yes. On the Login to xrdp window, enter your user name and password credentials from the above table, and choose OK.
Note: You are now connected to the SAP HANA database server desktop with a green background.
Update the SAP HANA using the hdblcmgui tool for the following groups:
adm) Password>
H94 Welcome1
H95 Welcome1
SYSTEM
SYSTEM
Welcome1
Welcome1
Welcome1
Welcome1
Welcome1
© Copyright. All rights reserved.
Unit 7: Post Installation Tasks
On the green Linux desktop, double-click the Training button. In the file explorer, double-click the upgrade folder. Double-click DATA_UNITS, and choose HDB_LCM_LINUX_X86_64. The SAP HANA 2.0 Lifecycle Management tools directory opens. In the HDB_LCM_LINUX_X86_64 directory, open the context menu (right mouse click) and select the option Open in Terminal. To start the SAP HANA 2.0 Lifecycle Management tool, from the Terminal window type the command ./hdblcmgui and press Enter. On the Select Software Components Location screen, an overview screen shows the detected Software Components. Choose Next to continue the update. On the Choose system to update, or choose installation screen, select your in the Update existing System area. To continue choose Next. On the Choose components to be installed or updated f or system ‘’ screen, accept the default selection, and choose Next. On the Specify authorization data screen, enter the password you used during the installation of the system. Use the default values from the above table for the user name and passwords: Choose Next. On the Summary screen, check your input, and choose Update. The update takes around 25 minutes. When the update finishes, check the logs by choosing the View Log button in the SAP HANA Components updated screen. To close the opened log file, choose the Close button. To close the SAP HANA Lifecycle Management tool, choose Finish. Use the command line tool HDB to check the new version SAP HANA database for the following groups:
H94
H95
To open a Terminal, right-click the green Linux desktop, and choose Open in Terminal from the context menu. In the Terminal, enter the following command: su – adm . In the Terminal, enter the following command: HDB version. The 2.00.020 part of the version number shows that the update to SAP HANA 2.0 was successful. To leave the adm session type: exit To close the Terminal type: exit
© Copyright. All rights reserved.
Unit 7 Exercise 6 Reconfigure SAP HANA cockpit
Business Example You have updated your SAP HANA 1.0 database to SAP HANA 2.0 SPS02. This update means that the database was automatically converted to Multitenant Database Container (MDC). This change to MDC isn’t yet reflected in your SAP HANA cockpit 2.0 landscape setup. The new SYSTEMDB configuration needs to be added to the SAP HANA cockpit 2.0 landscape configuration.
Caution: SAP HANA cockpit 2.0 is a central monitoring and administration tool. In our training landscape, SAP HANA cockpit is installed once on a central server. Both Group94 and Group95 will use this central SAP HANA cockpit 2.0 server system for system administration and monitoring.
Use Remote Desktop to connect to the WTS training landscape using the data in the following table:
Note: If you are working in a with the next step.
session skip this step, and continue
Provided by your instructor
Provided by your instructor
train-01
train-02
initial
initial
From the WTS training landscape environment, open a session to your SAP HANA database server using PuTTY, and create the user account to register the SAP HANA SYSTEMDB database in SAP HANA cockpit 2.0
h94
h95
h94adm
h95adm
wdflbmt7195
As the adm user, use the hdbsql tool to create the database user COCKPIT_MONITOR and assign the required permissions.
© Copyright. All rights reserved.
Unit 7: Post Installation Tasks
Start Google Chrome and log on to your SAP HANA cockpit manager