Hana Suse Installation

download Hana Suse Installation

of 75

Transcript of Hana Suse Installation

  • 8/10/2019 Hana Suse Installation

    1/75

    HANA System Deployment

    Duncan Speidel/SAP Business One Solution Architecture

    Bratislava April 2013 Public

  • 8/10/2019 Hana Suse Installation

    2/75

    2013 SAP AG. All rights reserved. 2Public

    Agenda

    Linux Overview

    What goes where

    What tools do I use

    What components go on Linux what go on Windows

    Linux Setup OS Installation/Verification

    GUI

    HANA Prerequisites

    OS verification

    HANA Setup

    Install

    System verification

    Initial Connection from Studio

  • 8/10/2019 Hana Suse Installation

    3/75

    Linux Overview

  • 8/10/2019 Hana Suse Installation

    4/75

    2013 SAP AG. All rights reserved. 4Public

    HANA file system

  • 8/10/2019 Hana Suse Installation

    5/75

    2013 SAP AG. All rights reserved. 5Public

    Important location for SAP Files

    /sapdata: HANA DB data files

    /saplogs: HANA DB log files

    /usr/sap/NBD: location of HANA DB executable

    /etc: Linux server config

    /home:

    /proc: virtual file system

    /root

    /var/log

  • 8/10/2019 Hana Suse Installation

    6/75

    2013 SAP AG. All rights reserved. 6Public

    Useful Linux Tools

    ssh client to connect from windows

    putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

    Cygwin http://www.cygwin.com/

    Graphical x-windows

    X-Windows on the server

    vnc connect to x-windows from MS Windows

    Xming

    Exceed

    File Transfer tools

    Winscp File Zilla

  • 8/10/2019 Hana Suse Installation

    7/75

    2013 SAP AG. All rights reserved. 7Public

    What installs where

    Tool Operating

    System

    HANA Linux

    SAP Business One version for HANA Linux

    SAP Business One Analytics LinuxSAP Business One Client Windows

    SAP HANA Client Windows

    SAP HANA Studio Windows/Linux

  • 8/10/2019 Hana Suse Installation

    8/75

    Linux SetupPeter Schinagl

  • 8/10/2019 Hana Suse Installation

    9/75

    2013 SAP AG. All rights reserved. 9Public

    Linux Setup: Preparation forehand

    Prepare the Install Media

    For SAP HANA and SAP Business One

    Hardware configuration

    Check BIOS Settings Check Boot order

    Storage Configuration (RAID Setup)

    Two drives

    1. SUSE Linux 72GB

    2. Depends on hardware vendor

  • 8/10/2019 Hana Suse Installation

    10/75

    2013 SAP AG. All rights reserved. 10Public

    Linux Setup: Preparation forehand

    Network Settings

    IP Address

    Hostname

    Domain

    Default gateway Passwords

    SAP Master Password

    Super user Password for SUSE Linux

    SUSE Installation Preparation

    Download the image

    Burn to CD

  • 8/10/2019 Hana Suse Installation

    11/75

    2013 SAP AG. All rights reserved. 11Public

    SUSE Installation Steps

    Boot from CD-ROM

    Choose Install/Restore with help

    of cursor keys

    press ENTER

  • 8/10/2019 Hana Suse Installation

    12/75

    2013 SAP AG. All rights reserved. 12Public

    SUSE Installation Steps

    If the machine has mult iple disks

    please choose the smaller drive

    (72GB) for the OS

    Normally this is /dev/sda

  • 8/10/2019 Hana Suse Installation

    13/75

    2013 SAP AG. All rights reserved. 13Public

    SUSE Installation Steps

    Confirm that it is the right disk

    Up to this point you can still abort

    the installation

    With confirming this step, the diskwill be formatted

  • 8/10/2019 Hana Suse Installation

    14/75

    2013 SAP AG. All rights reserved. 14Public

    SUSE Installation Steps

    Now the operating system is copied

    onto the disk

  • 8/10/2019 Hana Suse Installation

    15/75

    2013 SAP AG. All rights reserved. 15Public

    SUSE Installation Steps

    After some messages which show

    the start of some services you wil l

    see the EULA for the SUSE Linux

    Enterprise Server

    Scroll down Orpress q (quit) to go to the end.

    Accept i t w ith y and ENTER

  • 8/10/2019 Hana Suse Installation

    16/75

    2013 SAP AG. All rights reserved. 16Public

    SUSE Installation Steps

    Now be back in the graphical setup

    of the SUSE Linux Enterprise Server

    Choose your Keyboard type

  • 8/10/2019 Hana Suse Installation

    17/75

    2013 SAP AG. All rights reserved. 17Public

    SUSE Installation Steps

    Enter you Hostname and domain

    name here

  • 8/10/2019 Hana Suse Installation

    18/75

    2013 SAP AG. All rights reserved. 18Public

    SUSE Installation Steps

    Setup the network

    Click on the green Network

    Interfaces or

    Or use the pull-down box at thebottom

  • 8/10/2019 Hana Suse Installation

    19/75

    2013 SAP AG. All rights reserved. 19Public

    SUSE Installation Steps

    Select the Network-Card

    and choose Edit

  • 8/10/2019 Hana Suse Installation

    20/75

    2013 SAP AG. All rights reserved. 20Public

    SUSE Installation Steps

    Select the Statically assigned IP

    address

    And enter you IP-Address and

    subnet mask

  • 8/10/2019 Hana Suse Installation

    21/75

    2013 SAP AG. All rights reserved. 21Public

    SUSE Installation Steps

    Select Hostname/DNS tab

    And enter your Name Server and/or

    Domain Search

  • 8/10/2019 Hana Suse Installation

    22/75

    2013 SAP AG. All rights reserved. 22Public

    SUSE Installation Steps

    Select Routing Tab

    And enter your default gateway

    Now your Network configuration is

    ready

  • 8/10/2019 Hana Suse Installation

    23/75

    2013 SAP AG. All rights reserved. 23Public

    SUSE Installation Steps

    Next step is to set the password for

    the system administrator root

    Your SUSE Linux installation is

    ready now and we now move on to

    the SAP setup

  • 8/10/2019 Hana Suse Installation

    24/75

    2013 SAP AG. All rights reserved. 24Public

    SAP HANA Setup

    Now we start the Wizard part for the

    SAP HANA and SAP BusinessOne

    installation

    First provide the path to the

    unpacked SAP HANA media

    This could be provided through

    NFS, DVD, USB etc

  • 8/10/2019 Hana Suse Installation

    25/75

    2013 SAP AG. All rights reserved. 25Public

    SAP HANA Setup

    Enter the SAP HANA installation

    parameters

    Do not change the SID NDB and

    the instance number 00

    Enter the Master Password

  • 8/10/2019 Hana Suse Installation

    26/75

    2013 SAP AG. All rights reserved. 26Public

    SAP HANA Setup

    Choose No if you are

    asked for a 3rd party

    media

    We have now copied all

    media for SAP HANA

  • 8/10/2019 Hana Suse Installation

    27/75

    2013 SAP AG. All rights reserved. 27Public

    SAP HANA Setup

    The wizard prompts you for

    another SAP product

    Choose Yes to add the SAP

    Business One installation

    sequence

    The screens wi ll be similar as

    before, but w ith a different

    install media

  • 8/10/2019 Hana Suse Installation

    28/75

    2013 SAP AG. All rights reserved. 28Public

    SAP Business One Setup

    Provide the path to the

    unzipped BusinessOne

    product files

  • 8/10/2019 Hana Suse Installation

    29/75

    2013 SAP AG. All rights reserved. 29Public

    SAP Business One Setup

    Now we have read in all

    needed medias for the

    installations

    Choose No when

    prompted (again) for 3rdparty media

  • 8/10/2019 Hana Suse Installation

    30/75

    2013 SAP AG. All rights reserved. 30Public

    SAP BusinessOne Setup

    Choose No when

    prompted to install another

    product

  • 8/10/2019 Hana Suse Installation

    31/75

    2013 SAP AG. All rights reserved. 31Public

    SAP Installation

    Now the installation of the

    unattended product install

    starts and display it's

    process

  • 8/10/2019 Hana Suse Installation

    32/75

    2013 SAP AG. All rights reserved. 32Public

    SAP Installation

    A summary window

    is displayed

    .and we are

    ready!

  • 8/10/2019 Hana Suse Installation

    33/75

    2013 SAP AG. All rights reserved. 33Public

    SAP Installation

    Now you wil l see a simple

    graphical login screen for

    the IceWM Desktop of the

    SUSE Linux Enterprise

    Server

  • 8/10/2019 Hana Suse Installation

    34/75

    HANA Prerequisites

  • 8/10/2019 Hana Suse Installation

    35/75

    2013 SAP AG. All rights reserved. 35Public

    HANA Prerequisites

    SuSE Linux Enterprise Server from the vendor

    If built from scratch (bare metal) use SAP Customer note 1310037 to ensure the

    OS is ready

    Executing HanaHwCheck.py shows supported hardware

    If the check fails on certified hardware apply the fix in note 1658845

  • 8/10/2019 Hana Suse Installation

    36/75

    2013 SAP AG. All rights reserved. 36Public

    Linux Setup

    OS Verif ication

    cat /etc/SuSE-release returns support OS version

    Network properly configured

    hostname i returns the ip address

    hostname f returns FQDN

  • 8/10/2019 Hana Suse Installation

    37/75

    2013 SAP AG. All rights reserved. 37Public

    Linux Setup

    OS storage Verification

    Verify adequate storage

    df h

    Verify Partit ion Structure

    fdisk -l

  • 8/10/2019 Hana Suse Installation

    38/75

    2013 SAP AG. All rights reserved. 38Public

    Linux Setup

    OS storage Verification

    lvs - report information about logical volumes

  • 8/10/2019 Hana Suse Installation

    39/75

    2013 SAP AG. All rights reserved. 39Public

    OS Component verification

    rpm q

  • 8/10/2019 Hana Suse Installation

    40/75

    2013 SAP AG. All rights reserved. 40Public

    Linux Setup

    GUI Verif ication

    On the server call start and a graphical windows based system should launch

    You can use the same from a windows machine with an x-windows cl ient

    installed clients include:

    VNC Must start VNC on the server (vncserver :1)

    Hummingbird Exceed

    Xming

    Cygwin

    Google can find other options

  • 8/10/2019 Hana Suse Installation

    41/75

    HANA Setup

  • 8/10/2019 Hana Suse Installation

    42/75

    2013 SAP AG. All rights reserved. 42Public

    HANA Setup

    Navigate to directory where you decompressed the files

    hdbinst: console installation of HANA

    hdbsetup: graphical installation of HANA

    hdbuninst: HANA uninstaller

    hdbupd: HANA upgrade

  • 8/10/2019 Hana Suse Installation

    43/75

    2013 SAP AG. All rights reserved. 43Public

    HANA Setup

    Ensure hdb* files and ./instrunt ime/sdbrun have execute permission set

    chmod 754 hdb*

    chmod 754 sdbrun

    Or chmod 777 R to the parent directory

  • 8/10/2019 Hana Suse Installation

    44/75

    2013 SAP AG. All rights reserved. 44Public

    Display settings required

  • 8/10/2019 Hana Suse Installation

    45/75

    2013 SAP AG. All rights reserved. 45Public

    HANA Setup

    Start the installation process

    ./hdbsetup, ./hdbinst or ./hdbupd

  • 8/10/2019 Hana Suse Installation

    46/75

    2013 SAP AG. All rights reserved. 46Public

    Graphical install with hdbsetup

  • 8/10/2019 Hana Suse Installation

    47/75

    2013 SAP AG. All rights reserved. 47Public

    Enter parameters

  • 8/10/2019 Hana Suse Installation

    48/75

    2013 SAP AG. All rights reserved. 48Public

    Install and Summary

  • 8/10/2019 Hana Suse Installation

    49/75

    2013 SAP AG. All rights reserved. 49Public

    Install Completed

  • 8/10/2019 Hana Suse Installation

    50/75

    2013 SAP AG. All rights reserved. 50Public

    Console Install

  • 8/10/2019 Hana Suse Installation

    51/75

    2013 SAP AG. All rights reserved. 51Public

    Console install output

  • 8/10/2019 Hana Suse Installation

    52/75

    2013 SAP AG. All rights reserved. 52Public

    HANA Upgrade

  • 8/10/2019 Hana Suse Installation

    53/75

    2013 SAP AG. All rights reserved. 53Public

    Post install verif ication options

    HANA OS Admin Console

    Process check

    SAP HANA Studio

  • 8/10/2019 Hana Suse Installation

    54/75

    2013 SAP AG. All rights reserved. 54Public

    HANA Verification via OS Admin Console

    Using a tool that supports x-windows go take these steps

    1. cd /usr/sap/NDB/HDB00/

    2. HDB admin or HDBAdmin.sh

    3. Select services

  • 8/10/2019 Hana Suse Installation

    55/75

    2013 SAP AG. All rights reserved. 55Public

    Server running verif ication via process list

    ps ef | grep hdb

  • 8/10/2019 Hana Suse Installation

    56/75

    2013 SAP AG. All rights reserved. 56Public

    HANA Process verification via Studio

  • 8/10/2019 Hana Suse Installation

    57/75

    Thank you

    Duncan SpeidelSAP Business One Solution Architect

    SAP Labs

    3999 West Chester PikeNewtown Square, PA 19073

    T +1 610 661 6457F +49 6227 78-52758

    F +1 610 661 6458

    M +1 610 308 6138

    E [email protected]

  • 8/10/2019 Hana Suse Installation

    58/75

    Appendix

  • 8/10/2019 Hana Suse Installation

    59/75

    Directory Structure

  • 8/10/2019 Hana Suse Installation

    60/75

    2013 SAP AG. All rights reserved. 60Public

    What goes whereDirectory Structure

    Directory Contents

    /bin User binaries

    /boot Information required for startup

    /dev Devices

    /etc The configuration files for the Linux system

    /home home directory for most user

    /lib Contains system libraries, and some critical files such as kernel modules or

    device drivers.

    /lib64 Contains system libraries, and some critical files such as kernel modules or

    device drivers, on some 64-bit systems.

    /lost+found the files that used for a restores after a system crash or when a partition

    hasn't been unmounted before a system shutdown. This way you can recover

    files that would otherwise have been lost.

  • 8/10/2019 Hana Suse Installation

    61/75

    2013 SAP AG. All rights reserved. 61Public

    What goes whereDirectory Structure

    Directory Contents

    /media Default mount point for removable devices, such as USB

    sticks, media players, etc

    /mnt Stands for "mount". Contains filesystem mount points. These

    are used, for example, if the system uses multiple hard disks

    or hard disk partitions. It is also often used for remote

    (network) filesystems, CD-ROM/DVD drives, and so on.

    /opt Contains add-on software. Some large program suites may

    prefer to be installed here, rather than under /usr

    /proc procfs virtual filesystem showing information about

    processes as files.

  • 8/10/2019 Hana Suse Installation

    62/75

    2013 SAP AG. All rights reserved. 62Public

    What goes whereDirectory Structure

    Directory Contents

    /root The home directory for the superuser"root" - that is, the

    system administrator. This account's home directory is

    usually on the initial filesystem, and hence not in /home

    (which may be a mount point for another filesystem).

    /srv Server data (data for services provided by system)./tmp Temporary files

    /usr Holds executables, libraries, and shared resources that are

    not system critical, like the X Window System, KDE, Perl,

    etc.

    /var A short for "variable." A place for files that may change often

    - especially in size, for example e-mail sent to users on the

    system, or process-ID lock files.

    /sapdata HANA DB data files

    /saplogs HANA DB log files

  • 8/10/2019 Hana Suse Installation

    63/75

    2013 SAP AG. All rights reserved. 63Public

    What goes whereDirectory Structure

    Directory Contents

    /sbin Stands for "system (or superuser) binaries"

    and contains fundamental utilities, such as

    init, usually needed to start, maintain and

    recover the system.

    /selinux Security-Enhanced Linux

    (SELi-nux) is a Linux feature that provides avariety of security policies, including the U.S.

    Department of Defense style of mandatory

    access controls, through the use of Linux

    Security Modules (LSM)

    /software Location for Linux code (not on all

    distribution)

    /sys a virtual filesystem (sysfs, comparable to

    /proc, which is a procfs), which stores and

    allows modification of the devices connected

    to the system

  • 8/10/2019 Hana Suse Installation

    64/75

    Required OS components

  • 8/10/2019 Hana Suse Installation

    65/75

    2013 SAP AG. All rights reserved. 65Public

    Required OS Components

    Name of component Why it is needed

    saphostagent Components to centrally monitor a host

    gtk2 A multi-platform toolkit for creating

    graphical user interfaces.

    java-1_6_0-ibm Used by some of the graphical HANA

    tools

    libicu ICU is a set of C and C++ libraries that

    provides robust and

    full-featured Unicode support.

    mozilla-xulrunner192-1.9.2.xx-x.x.x (use

    version provided by OS)

    The goal of XULRunner is to provide a

    solution for deploying XUL applications

    ntp A networking protocol for clock

    synchronization between computer

    systems over packet-switched, variable-

    latency data networks.

  • 8/10/2019 Hana Suse Installation

    66/75

    2013 SAP AG. All rights reserved. 66Public

    Required OS Components

    Name of component Why it is needed

    sudo A program for Unix-like computer

    operating systems that allows users to

    run programs with the security privileges

    of another user (normally the superuser,

    or root

    syslog-ng (use version as provided with

    operating system distribution)

    syslog-ng is an open source

    implementation of the Syslog protocol for

    Unix and Unix-like systems. It extends

    the original syslogd model with content-

    based filtering, rich filtering capabilities,

    flexible configuration options and adds

    important features to syslog, like usingTCP for transport

  • 8/10/2019 Hana Suse Installation

    67/75

    2013 SAP AG. All rights reserved. 67Public

    Required OS Components

    Name of component Why it is needed

    tcsh A Unix shell based on and compatible

    with the C shell (csh). It is essentially the

    C shell with programmable command line

    completion, command-line editing, and a

    few other features.

    libssh2-1 A library implementing the SSH2 protocol

    expect

    yast2-ncurses only for SLES for SAP Only if you do not use SLES for SAP Applications

    autoyast2-installation Only needed if you do a autoyast install (generally not

    required)

    SAP HANA

    Master Guide.pdf

  • 8/10/2019 Hana Suse Installation

    68/75

    Unix Knowledge

  • 8/10/2019 Hana Suse Installation

    69/75

    2013 SAP AG. All rights reserved. 69Public

    Common Command

    Command Description

    chmod Changes access permissions on

    a file. Access permissions are

    execute, read, write and are set

    for owner, group and word

    chown Changes the owner of a filechgrp Changes the group the file

    belongs too. Note you can

    change the groups when you

    change the owner using chown

    :

    df Free disk space. Entering df hwill show all free disk space, at

    the root level, in human readable

    format. df . h will show free disk

    space in the current directory.

  • 8/10/2019 Hana Suse Installation

    70/75

    2013 SAP AG. All rights reserved. 70

    Public

    Common Command

    Command Description

    du disk usage, typically used du . -h

    l Typically an alias to ls l

    ll Typically an alias to ls la

    ls Directory listing in short form

    man help for Linux man

    cd change directory

  • 8/10/2019 Hana Suse Installation

    71/75

    2013 SAP AG. All rights reserved. 71

    Public

    Script fi les on Linux

    SAP commonly deliveries script fi les that provide valuable functionality.

    Often the scripts have a sh or csh extension.

    Unless the execution bit is set, you cannot execute these files.

    In the example above neither hanaconfig.sh or setup.sh can execute, unt il we

    set the execution flag with chmod.

  • 8/10/2019 Hana Suse Installation

    72/75

    2013 SAP AG. All rights reserved. 72

    Public

    vi tip

    i = insert

    / = find

    to leave editor insert mode

    : to enter a command to vi:

    w for write

    q for quite

    wq! force the update to be wri tten and quit

    / search for a string, remember vi, like Linux, is case sensit ive

    Anything more advanced can be found using Google

  • 8/10/2019 Hana Suse Installation

    73/75

    2013 SAP AG. All rights reserved. 73

    Public

    2013 SAP AG. 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 AG.

    The information contained herein may be changed without prior notice.

    Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

    National product specifications may vary.

    These materials are provided by SAP AG and its affi liated companies ("SAP Group") for informational purposes only, without representation orwarranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Groupproducts and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing

    herein should be construed as constituting an additional warranty.

    SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in

    Germany and other countries.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

  • 8/10/2019 Hana Suse Installation

    74/75

    2013 SAP AG. All rights reserved. 74

    Public

    2013 SAP AG. Alle Rechte vorbehalten.

    Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die

    ausdrckliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherigeAnkndigung gendert werden.

    Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietre Softwarekomponenten andererSoftwareanbieter.

    Produkte knnen lnderspezifische Unterschiede aufweisen.

    Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen (SAP-Konzern) bereitgestellt und dienen ausschlielich zu

    Informationszwecken. Der SAP-Konzern bernimmt keinerlei Haftung oder Gewhrleistung fr Fehler oder Unvollstndigkeiten in dieser Publikation.Der SAP-Konzern steht lediglich fr Produkte und Dienstleistungen nach der Magabe ein, die in der Vereinbarung ber die jeweiligen Produkte undDienstleistungen ausdrcklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zustzliche Garantie zu interpretieren.

    SAP und andere in diesem Dokument erwhnte Produkte und Dienstleistungen von SAP sowie die dazugehrigen Logos sind Marken odereingetragene Marken der SAP AG in Deutschland und verschiedenen anderen Lndern weltweit. Weitere Hinweise und Informationen zum

    Markenrecht finden Sie unterhttp://www.sap.com/corporate-en/legal/copyright/index.epx#trademark.

  • 8/10/2019 Hana Suse Installation

    75/75

    Headline area

    Drawing area

    White space

    The Grid