Understanding HANA One

Embed Size (px)

Citation preview

  • 7/30/2019 Understanding HANA One

    1/5

    Understanding Your SAP HANA One Deployment

    Now that you deployed your SAP HANA One instance, attached an elastic IP Address, adjusted your

    security groups, and connected your SAP HANA Studio installation lets take a closer look at the solutionas well as some basic operations.

    Network TopologyIf you deployed your SAP HANA One instance using the 1-Click deployment option, your instance isdeployed into AWS Cloud and secured via a security group.

    Figure 1 - HANA One Deployment in EC2 Classic network topology

    The network topology for an AWS VPC deployment is also included for reference but is beyond thescope of this quick start guide.

    Figure 2 - VPC Deployment with Access via Internet Gateway Figure 3 - VPC Deployment with Access via Corporate Network

  • 7/30/2019 Understanding HANA One

    2/5

    AWS Instance TypeSAP HANA One instances are currently based on the AWS cc2.8xlarge instance type . This instance typehas the following characteristics:

    60.5 GB of memory

    88 EC2 Compute Units (2 x Intel Xeon E5-2670, eight-core "Sandy Bridge" architecture) 64-bit platform I/O Performance: Very High (10 Gigabit Ethernet)

    Storage Configuration & Volume Layout The SAP HANA One storage configuration as delivered uses a combination of standard Elastic Block Store (EBS) Volumes and Provisioned IOPS volumes . As depicted by the diagram below, the AWS instance isEBS backed.

    For the SAP HANA One installation, EBS P-IOPS volumesare used for the log device to ensure consistentperformance. The data and backup volumes leverage EBSstandard volumes. However, for Rev 48, EBS P-IOPS,volumes are optional.

    Figure 4 - global.ini configuration

    Mdadm arrays are used for the SAP HANA One Log andData volumes, as well as the backup volumes. This is done

    primarily for performance reasons. For configuration details please see the file /etc/mdadm.conf onyour system.Figure 5 - EBS Volume configuration

    http://aws.amazon.com/ec2/instance-types/http://aws.amazon.com/ec2/instance-types/http://aws.amazon.com/ec2/instance-types/http://aws.amazon.com/ebs/http://aws.amazon.com/ebs/http://aws.amazon.com/ebs/http://aws.amazon.com/about-aws/whats-new/2012/07/31/announcing-provisioned-iops-for-amazon-ebs/http://aws.amazon.com/about-aws/whats-new/2012/07/31/announcing-provisioned-iops-for-amazon-ebs/http://aws.amazon.com/about-aws/whats-new/2012/07/31/announcing-provisioned-iops-for-amazon-ebs/http://aws.amazon.com/about-aws/whats-new/2012/07/31/announcing-provisioned-iops-for-amazon-ebs/http://aws.amazon.com/ebs/http://aws.amazon.com/ec2/instance-types/
  • 7/30/2019 Understanding HANA One

    3/5

    Backup and RecoverySimple Backup and restore functions can be managed entirely from the SAP HANA Studio. Simply selectyour SAP HANA One instance within the studio and right-click for the context menu. Select Backup andfollow the onscreen instructions. Note the location of the backup as specified, and then complete thebackup. Please make sure database user has necessary roles for backup operation as described in SAP

    HANA Backup and Recovery Guide .

    Once you have created a backup onto an EBS volume, you need to copy the backup data to Amazon S3to protect the data against EBS volume failure.

    Copying Files direct to Amazon S3To copy to or retrieve data from Amazon S3 you can

    use various command line interfaces exist that youcan incorporate into a script. S3cmd is an opensource project available under GNU Public License v2 (GPLv2) and is free for both commercial and privateuse

    Creating a Snapshot of a backup EBS VolumeInstead of copying and retrieving single files toAmazon S3, you can also create a snapshot of thecomplete EBS Volume. The snapshot is automaticallystored in Amazon S3 and can subsequently be used tocreate new EBS Volumes that contain the same dataas stored in the snapshot.

    The Backup and Recovery of SAP systems on Amazon Web Services guide provides an overview of howto backup SAP systems running on Amazon Web Services. This guide focuses on the essential differencesin backing up SAP systems on AWS as compared to traditional infrastructure.

    http://help.sap.com/hana/hana1_imdb_backup_en.pdfhttp://help.sap.com/hana/hana1_imdb_backup_en.pdfhttp://help.sap.com/hana/hana1_imdb_backup_en.pdfhttp://help.sap.com/hana/hana1_imdb_backup_en.pdfhttp://s3tools.org/s3cmdhttp://s3tools.org/s3cmdhttp://d36cz9buwru1tt.cloudfront.net/backup_and_recovery_of_sap_systems_on_aws_v2-0.pdfhttp://d36cz9buwru1tt.cloudfront.net/backup_and_recovery_of_sap_systems_on_aws_v2-0.pdfhttp://d36cz9buwru1tt.cloudfront.net/backup_and_recovery_of_sap_systems_on_aws_v2-0.pdfhttp://d36cz9buwru1tt.cloudfront.net/backup_and_recovery_of_sap_systems_on_aws_v2-0.pdfhttp://s3tools.org/s3cmdhttp://help.sap.com/hana/hana1_imdb_backup_en.pdfhttp://help.sap.com/hana/hana1_imdb_backup_en.pdf
  • 7/30/2019 Understanding HANA One

    4/5

    Upgrading to SAP HANA One Revision 48

    When upgrading to Revision 48, you can have two scenarios:

    1. Upgrade an existing revision to a new release. For example, how does a Rev 38 customerupgrade a Rev 38 SAP HANA One system to a newer release, like Rev 48?

    2. Migrate an existing system to a new release. For example, how can content of an existing Rev 38SAP HANA One system be migrated to a new Rev 48 SAP HANA One system?

    For release SAP HANA One Rev 48, scenario 1 is not directly supported. However, in scenario 2, anyexisting SAP HANA One customer can migrate content from a lower Revision (for example, Rev 38) to ahigher Revision (for example, Rev 48) and can achieve the feature requirement in 1. This method appliesto upgrading only from SAP HANA One 38. However, migrating between any releases not available inHANA One is not supported in HANA One (for example, Rev 38 to Rev 46).

    To perform these steps, you should be familiar with SAP HANA backup, recovery, import, exportprocesses, and AWS EBS volume, snapshot management or S3 functionality.

    To migrate an existing SAP HANA One system to a new release:

    1. Make a backup of all data from your existing SAP HANA One system and keep it safe.2. Use Export Utility in SAP HANA to export content from an existing SAP HANA One system.3. Use Import utility in SAP HANA to import content from an existing to a new SAP HANA One

    system.

    Details

    1. Always create and keep a backup of your data from an existing system. Data backup can beperformed with HANA Studio with backup wizard and only choosing Data option. Once yousuccessfully performed data back, please make sure you keep your data backup files safe andsecured. There are several ways, the data backup files can be saved securely including:

    a. Create a tar file from the backup directory in Linux level. For SAP HANA One, it is/backup/HDB/data.

    b. Using tools like winscp to download the tar file to your desktop or local server. Datastays locally under your control. Attach a new EBS volume to your HANA One instanceand then mount the new volume. Backup data to this newly mounted volume (note

    down volume ID for future reference). After you complete the data backup the file, youcan detach the new volume. You can keep this volume and attach directly to the sameHANA One instance or attach to a newer HANA One instance. You also can create asnapshot from this volume. In either way (either as a volume or a snapshot), you cansecurely keep backup data within your AWS account. You also can save back up datainto AWS S3.

  • 7/30/2019 Understanding HANA One

    5/5

    2. If your backup data file in a safe location, export data from your existing HANA One system. Forthe exact SQL syntax for export/import, seehttp://help.sap.com/hana/html/_gdata_import_export_statements.html .

    3. Launch the new SAP HANA One system from AWS Marketplace or start an existing and alreadysubscribed system to which you want to migrate your existing data.

    4. Following steps 1a and 1b, transfer exported files from your original or source system to new ortarget system.

    5. Following SQL syntax in step 2, import your content as described in step 4.

    Following these guidelines, you can save data as backup files and then use import/export utility of SAPHANA to migrate data from an older version of SAP HANA One instance to a newer instance of SAPHANA One instance.

    http://help.sap.com/hana/html/_gdata_import_export_statements.htmlhttp://help.sap.com/hana/html/_gdata_import_export_statements.htmlhttp://help.sap.com/hana/html/_gdata_import_export_statements.html