Vous êtes sur la page 1sur 36

SAP HANA SPS 10 Whats New?

SAP HANA Platform Lifecycle Management


(Delta from SPS 09 to SPS 10)
SAP HANA Product Management

2014 SAP AG or an SAP affiliate company. All rights reserved.

June, 2015

Agenda
Support of Additional Software Components
Integration of SAP HANA Remote Data Sync
Better Support of Multiple Host Roles for Non-Productive Systems

SAP HANA Database Lifecycle Manager Web UI


Host Addition and Host Removal Available in Web UI
Advanced Configuration in the Web UI
Integration of the Web UI in the SAP HANA Cockpit

SAP HANA Database Lifecycle Manager Command-Line Interface


Improved Monitoring for Start/Stop Systems
Improved Interactive Command-Line Experience for Installation of Multiple-Host Systems

Supportability
Multitenant Database Containers High Isolation

Improved Logs and Traces

Usability
Phased System Update for Reduced Downtime SAP HANA Server Component
Automatically Generated Configuration File
Further Support for LCM Actions Performed as <sid>adm
Customer Feedback Form
Other Usability Improvements
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Support of Additional Software


Components

Integration of SAP HANA Remote Data Sync Planning


SAP HANA remote data sync (RDsync)
synchronizes data between SAP HANA and many
remote databases. Synchronization begins when
a remote database client opens a connection to
the SAP HANA remote data sync server.
To use SAP HANA remote data sync, we require
at least one SAP HANA host with the role
Database Worker and one remote data sync
host with the role Remote Data Sync, which can
be configured during SAP HANA system
installation or as part of a scale-out scenario (add
host).
SAP HANA remote data sync is licensed
separately, as part of the Real-Time Replication
Option sales bundle.
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Integration of SAP HANA Remote Data Sync Implementation


During database synchronization, the client at the remote site uploads database changes that were made to
the remote database since the previous synchronization. On receiving the data, the RDsync server updates the
SAP HANA data, and then downloads changes from the SAP HANA database to the remote database.
During installation or addition of an SAP HANA RDsync host, the upload and download path must be specified
with the following parameters: Parameter
Default Value
Available Interactively
rdsync_downloadpath

/hana/download_rdsync/<SID>

Yes

rdsync_uploadpath

/hana/upload_rdsync/<SID>

Yes

To monitor the SAP HANA RDsync server from the SAP HANA cockpit, a database user can be created and
granted one of the following monitoring roles:
sap.hana.sync.monitor.roles::monitor

Provides read-only access to the SAP HANA remote data sync tiles
including drill downs.

sap.hana.sync.monitor.roles::administrator

Provides full access to the SAP HANA remote data sync tiles including
drill downs and the ability to write changes in the configure tile.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Better Support of Multiple Host Roles for Non-Productive Systems


SAP HANA systems which are making use of SAP
HANA options (for example, SAP HANA dynamic
tiering) in production environments require at least one
SAP HANA database worker host and one SAP HANA
option host.
Non-productive SAP HANA systems can share the
same resources between the SAP HANA server and
the SAP HANA option by assigning multiple host roles
to the same host.
As of SPS 10, assigning additional host roles is
possible during installation of SAP HANA options in
any of the three HDBLCM user interfaces.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

SAP HANA Database Lifecycle


Manager Web UI

Host Addition and Host Removal Available in the Web UI


Add one or multiple SAP HANA database
hosts or SAP HANA option hosts at a time
using the HDBLCM Web UI.
After marking hosts for removal in the
SAP HANA studio, remove one or multiple
hosts using the HDBLCM Web UI.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Advanced Configuration in the Web UI


Component installation and update in the SAP
HANA database lifecycle manager (HDBLCM)
Web UI now has all of the same parameter
configuration options as in the command-line or
graphical user interfaces.
The advanced parameters available are noninteractive parameters and the same parameters
listed when you call the pass-through help in the
command-line interface:
For example:
./hdblcm --action=install --pass_through_help -h

Pass-through parameters access the


parameters of the underlying hdbinst and
hdbupd programs.
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

Integration of the Web UI in the SAP HANA Cockpit


The SAP HANA cockpit home
page can be configured to include
platform lifecycle management tiles
for the actions available in the
HDBLCM Web UI.
Selecting one of the platform LCM
tiles in the SAP HANA cockpit
redirects to a separate Web browser
tab in which the corresponding
action of the HDBLCM Web UI is
opened.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

10

SAP HANA Database Lifecycle


Manager Command-Line
Interface

Improved Monitoring for Start/Stop Systems


Detailed information for scheduled processes
Information is displayed per host

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

12

Improved Interactive Command-Line Experience for Installation of


Multiple-Host Systems
In previous SAP HANA support
package stacks, installing a multiplehost system in interactive mode required
the non-local hosts to be specified as a
long call option.
With SPS 10, if you install a multiplehost system in command-line interactive
mode, you are prompted for individual
details of the non-local hosts.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

13

Supportability

Multitenant Database Containers High Isolation


High tenant isolation can be configured during
installation using the db_isolation parameter,
available interactively in the graphical user interface
or in command-line mode.
High tenant isolation during system installation
creates tenant separation at OS-user (<sid>adm)
level.
These OS-users must exist prior to the addition of
an SAP HANA standby host and prior to registering
a host.
If high isolation is not configured, all database
processes in a multiple-container system run under
the default OS-user <sid>adm.
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

15

Improved Logs and Traces


Instant Logging
If an LCM action crashes or hangs before the execution is finished, even if no LCM action is enabled,
HDBLCM writes a trace, which has the function of a preliminary (unformatted) log file.
Instant logging is enabled by default, and the traces are written to the following location:
/var/tmp/<tool>_<timestamp>_<pid>.trc
Upon program completion, the trace is removed and replaced by the real, formatted log file. The
traces can be saved by setting the following environment variable:
HDB_INSTALLER_TRACE_FILE=<file_path>
Log Collection
If you perform platform LCM actions on multiple-host SAP HANA systems, an HDBLCM action ID is
passed to each underlying LCM program on a remote host. Each sub-program writes a copy of the
log file to the following directory:
<installation path>/<SID>/HDB<instance_number>/<host_name>/trace

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

16

Usability

Phased System Update for Reduced Downtime


SAP HANA Server Component
With a standard SAP HANA system
update, the system is offline from the time
the update is triggered, including the
preliminary checks, and actual software
switch.
The phased system update is performed
in two steps:
1. Running the LCM update action with the
prepare update flag set. This phase is
performed while the system is online.
2. Running the LCM update action a second
time as usual, which resumes the updates, and
takes the system offline for the software switch.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

18

Automatically Generated Configuration File


Typically, platform LCM configuration files are created by
generating a template with HDBLCM, filling in parameter
values, and calling the configuration file during execution
of the LCM action.
As of SPS 10, HDBLCM automatically generates a
configuration file with every LCM action execution, with
the chosen parameter values pre-filled. The automatically
generated configuration files can be used to:
Easily re-perform the LCM action by passing the autogenerated configuration file
Keep a record of the parameters passed for the LCM
action
The auto-generated configuration files are saved in the
log directory for the LCM action execution.
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

19

Further Support for LCM Actions Performed as <sid>adm


For SPS 09, we introduced functionality to perform
some LCM actions as the system administrator
user, <sid>adm, by means of the SAP Host Agent
framework.
With SPS 10, it is additionally possible to perform
scale-out system actions, like adding and removing
SAP HANA hosts, as <sid>adm from the graphical
user interface, command-line interface, or Web
user interface.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

20

Customer Feedback Form


As of SPS 10, you can opt into sharing non-sensitive
system information each time you use the HDBLCM Web UI.

The system information collected includes:


Statistical Data
o SAP HANA release
o LCM action selected

Qualitative Feedback
o Questions about usage
o Comments
o Email in case you want to be contacted by us

The system information and feedback collected from


customers helps the SAP HANA LCM team assign
development resources and prioritize tasks.
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

21

Other Usability and Supportability Improvements


Resume Broken Update in All Modes and Interfaces
o System update can be resumed in interactive mode or batch mode
using any of the three HDBLCM user interfaces. The resume is
started from the same host and installation kit, using persistence
files.
Scale-Out During Installation of SAP HANA Options
o To improve the flexibility of installing an SAP HANA option (for
example, SAP HANA dynamic tiering) to an existing SAP HANA
system, you can perform scale out (host addition) during system
update or the installation or update of additional components.
SSL SQL Connectivity on HANA Server
o SAP Common Crypto Library (libsapcrypto)
o Open SSL
o Support SSL configuration on SAP HANA server

2015 SAP SE or an SAP affiliate company. All rights reserved.

Resume Update

Public

22

Parameter Changes

Parameters New, Added, Removed


rename_system
install

update

uninstall

configure_sld

update_components

update_host

remove_hosts
register_rename_system

addhosts

ADDED

ADDED

add_roles

NEW

NEW

ase_user

ADDED

ADDED

add_local_roles

NEW

certificates_hostmap

REMOVED

check_only
db_isolation

ADDED

ADDED

ADDED

NEW

ignore

ADDED

init_user

NEW

init_user_home_dir

NEW

internal_network

ADDED

ADDED

listen_interface

ADDED

ADDED

prepare_update

NEW

rdsync_download_path

NEW

NEW

NEW

NEW

rdsync_upload_path

NEW

NEW

NEW

NEW

remote_execution

REMOVED

system_user
timeouts

2015 SAP SE or an SAP affiliate company. All rights reserved.

ADDED
REMOVED
Public

24

New Parameters Description

Description

Default

add_local_roles

Specifies additional roles of the local host during SAP HANA system installation. Multiple host roles are not supported in
production environments.

worker

add_roles

Specifies additional roles for existing SAP HANA hosts during SAP HANA option installation. Multiple host roles are not
supported in production environments.

worker

db_isolation

Specifies the isolation of the tenant databases on operating system level for multitenant database container SAP HANA
systems. By default, all database processes in a multiple-container system run under the default OS user <sid>adm. If
it's important to mitigate against cross-database attacks through OS mechanisms, you can configure the system for high
isolation. In this way, the processes of individual tenant databases must run under dedicated OS users belonging to
dedicated OS groups. Database-specific data on the file system is subsequently protected using standard OS file and
directory permissions.

low

init_user

If the user IDs of existing <sid>adm users are identical on the different hosts but do not match the configured user ID of
the SAP HANA system, then an error message is thrown. The parameter 'init_user' suppresses this error message.
If a <sid>adm does not exist on a host, the <sid>adm is created with the ID of the existing <sid>adm.

---

init_user_home_dir

If the <sid>adm user already exists, but does not have a home directory (e.g. network user without local home directory),
this parameter creates or re-creates the home directory on each host according to the configuration of the SAP HANA
system.

---

prepare_update

Stops the SAP HANA update before software version switch. The update is resume-able.

---

rdsync_download_path

Location of SAP HANA Remote Data Sync file download directory [interactive]

/hana/download_rdsync/<SID>

rdsync_upload_path

Location of SAP HANA Remote Data Sync file upload directory [interactive]

/hana/upload_rdsync/<SID>/

2015 SAP SE or an SAP affiliate company. All rights reserved.

Note: The value low in SPS 10,


corresponds to the behavior in
SPS 09.

Public

25

Previous Releases

Whats New in SPS 09


Support of Additional Software Components
Integration of SAP HANA options: SAP HANA dynamic tiering, SAP HANA smart data streaming, SAP HANA accelerator for
SAP ASE

Supportability
Installation of multitenant database container enabled systems
SAP HANA Lifecycle Manager (HLM) is no longer supported or shipped
SAP Landscape Transformation (LT) replication is no longer possible using the SAP HANA platform LCM tools

Usability
Introduction of a Web user interface for HDBLCM administration and update actions
Support for performing some LCM actions as the <sid>adm user

System un-registration performed in HDBLCM graphical user interface

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

27

SIGNATURE.SMF Revisions 90-96


For SAP HANA revision 90-96, if several SAP HANA component SAR archives have been downloaded and
extracted into a single directory, the SIGNATURE.SMF file of the SAP HANA database archive gets overwritten by
the signature of another component. As a result, the wrong SIGNATURE.SMF gets copied to the
<sapmnt>/<SID>/hdblcm directory. If this happens, SAP Host Agent is not able to verify and deploy HDBLCM.
If this situation occurs, open the file <sapmnt>/<SID>/hdblcm/SIGNATURE.SMF and check if there are entries
inside for file paths, starting with SAP_HANA_DATABASE/server/* (for
example SAP_HANA_DATABASE/server/manifest). If there are no such entries or there is no SIGNATURE.SMF
file at all, see SAP Note 2078425, section Repairing Installations with Missing Signature. The problem is most
likely caused by improper extraction of the SAP HANA component archives before installation or upgrade. See
section How to Prepare SAP HANA Packages for Installation or Update for the correct preparation procedure.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

28

Recommended Tool per SPS Installation and Update

SPS 10

SPS 09

SPS 08

SPS 07

SPS 06

Installation:
Single-Host System

Installation:
Multiple-Host System

Update

Uninstallation

HDBLCM

HDBLCM

HDBLCM

HDBLCM (resident)

HDBLCM

HDBLCM (resident)

HDBLCM

HDBLCM (resident)

HDBLCM

HDBLCM

HDBLCM

Unified Installer
or
hdbinst

2015 SAP SE or an SAP affiliate company. All rights reserved.

HDBLCM

HDBLCM

HDBLCM

HDBLCM
or
Lifecycle Manager (HLM)

Unified Installer
or
hdbinst and hdbaddhost

Lifecycle Manager (HLM)


or
hdbupd

HDBLCM (resident)

Unified Installer
or
hdbuninst

Public

29

Recommended Tool per SPS Administration

Add Host

SPS 10

SPS 09

HDBLCM (resident)

HDBLCM (resident)

Remove Host

HDBLCM (resident)

Configure Internal
Network

Configure Connection
to SLD

System Rename

System Registration
and Unregistration

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

Lifecycle Manager (HLM)

Lifecycle Manager (HLM)


or
hdbrename

hdbreg

Lifecycle Manager (HLM)

Lifecycle Manager (HLM)


or
hdbrename

hdbreg

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

HDBLCM (resident)

SPS 08

HDBLCM (resident)

SPS 07

Lifecycle Manager (HLM)


or
hdbaddhost

Lifecycle Manager (HLM)


or
hdbremovehost

SPS 06

Lifecycle Manager (HLM)


or
hdbaddhost

Lifecycle Manager (HLM)


or
hdbremovehost

2015 SAP SE or an SAP affiliate company. All rights reserved.

hdbnsutil

hdbnsutil

HDBLCM (resident)

Public

30

More Information

SAP HANA Platform Lifecycle Management


More Information
Documentation: SAP Help Portal
SAP HANA Installation and Update Guide
SAP HANA Administration Guide Chapter 3: Lifecycle Management
SAP HANA Smart Data Streaming Installation Guide
SAP HANA Dynamic Tiering Installation Guide
SAP HANA Accelerator for SAP ASE Installation Guide
SAP HANA Remote Data Sync Installation Guide
Training: HA200: SAP HANA - Operations & Administration
Certification: SAP Training and Certification Shop
C_HANATEC151 SAP HANA (Edition 2015)
E_HANAINS151 SAP Certified Technology Specialist (Edition 2015) SAP HANA Installation
SAP Note

Title

2078425

Troubleshooting note for SAP HANA Platform Management tool hdblcm

2082466

hdblcm SAP HANA Troubleshooting

Further SAP notes are available on component HAN-DB-PLT, HAN-LM-INS, and HAN-LM-UPG

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

32

SAP HANA Platform Lifecycle Management


How To Stay Up-to-Date
Further information can be found on
http://hana.sap.com/abouthana/hanatechnology/administration.html

Here you will find more information on:

Monitoring and Troubleshooting

Security

Sizing

SAP Platform LCM

Whats new slides

SAP HANA space on SAP Community Network: http://scn.sap.com/community/hana-in-memory


In addition, you find SAP HANA documentation on SAP Help Portal knowledge center at http://help.sap.com/hana_platform.

SAP HANA platform lcm related guides:

SAP HANA Server Installation and Update Guide

SAP HANA Administration Guide

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

33

SAP HANA Platform Lifecycle Management


How To Stay Up-to-Date
SAP Public Web
SAP HANA space on SAP community network
http://scn.sap.com/community/hana-in-memory
Features of SAP HANA
http://hana.sap.com/abouthana.html
SAP HANA guides
http://help.sap.com/hana_platform

SAP Education and Certification Opportunities


www.sap.com/education (HA200, C_HANATEC141, E_HANAINS141)
Watch SAP d-code Online
http://events.sap.com/teched/en/home
2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

34

Disclaimer
This presentation outlines our general product direction and should not be relied on in making
a purchase decision. This presentation is not subject to your license agreement or any other
agreement with SAP.
SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and
SAPs strategy and possible future developments are subject to change and may be changed
by SAP at any time for any reason without notice.
This document is provided without a warranty of any kind, either express or implied, including
but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or
non-infringement. SAP assumes no responsibility for errors or omissions in this document,
except if such damages were caused by SAP intentionally or grossly negligent.

2015 SAP SE or an SAP affiliate company. All rights reserved.

Public

35

Thank you
Contact information

Stephanie Lewellen
SAP HANA Product Management
AskSAPHANA@sap.com
2015 SAP SE or an SAP affiliate company. All rights reserved.