Using the create_scaleout_snapshot utility application consistent and crash consistent storage snapshots can be created. The following behaviors should be noted when using this process.
- Application consistent storage snapshots are created for only the SAP HANA data volumes attached to the relevant worker host at that point in time.
- The storage snapshot for each data volume will have the SAP HANA Backup ID and worker host name appended to its name for recovery purposes.
- Crash consistent storage snapshots will add the data and log volumes to a protection group with the instance system identifier (SID) appended for traceability purposes. If two systems with the same SID exist in the same landscape on the same FlashArray then Crash consistent storage snapshots should only be created of one of them.
- It is possible to create storage snapshots of SAP HANA virtual machines on VMware but only if the data and log volumes are located on a vVol datastore.
Only SAP HANA 2.0 deployments are supported for use with this utility. The utility will exclusively try to connect to the SystemDB.
For Scale Out deployments the SystemDB is located on the Nameserver host. To find the nameserver host execute the following SQL command
SELECTHOST FROMM_LANDSCAPE_HOST_CONFIGURATION WHERE NAMESERVER_ACTUAL_ROLE = 'MASTER'
The following arguments are used with the create_scaleup_snapshot utility
|
Argument |
Purpose |
Requirement |
|---|---|---|
|
-h, --help |
Show help message text. |
Optional |
|
-ha HOSTADDRESS, --hostaddress HOSTADDRESS |
Host address (hostname) of an SAP HANA Scale Out worker System. Defaults to localhost if not provided. |
Optional |
|
-d DOMAINNAME, --domainname DOMAINNAME |
Domain name of domain where SAP HANA scale out nodes are located. |
Required |
|
-i INSTANCENUMBER, --instancenumber INSTANCENUMBER |
SAP HANA instance number , typically in the form 00. defaults to 00 if not provided. |
Optional |
|
-du DATABASEUSER, --databaseuser DATABASEUSER |
SAP HANA system database user with the correct permissions to create a storage snapshot. |
Required |
|
-dp DATABASEPASSWORD, --databasepassword DATABASEPASSWORD |
SAP HANA system database password with the correct permissions to create a storage snapshot. Will prompt for a password if not provided. |
Optional |
|
-osu OPERATINGSYSTEMUSER, --operatingsystemuser OPERATINGSYSTEMUSER |
A user with the permissions to freeze the SAP HANA data volume and view volume information. |
Required |
|
-osp OPERATINGSYSTEMPASSWORD, --operatingsystempassword OPERATINGSYSTEMPASSWORD |
Password for the user with permissions to freeze the SAP HANA data volume and view volume information. Will prompt for the password if not provided. |
Optional |
|
-fa FLASHARRAY, --flasharray FLASHARRAY |
The IP address or hostname of a Everpure FlashArray with the SAP HANA systems volumes on it. |
Required |
|
-fau FLASHARRAYUSER, --flasharrayuser FLASHARRAYUSER |
A user on the FlashArray with permissions to create a volume snapshot. |
Required |
|
-fap FLASHARRAYPASSWORD, --flasharraypassword FLASHARRAYPASSWORD |
Password for the user with permissions to create a volume snapshot on FlashArray. Will prompt for the password if not provided. |
Optional |
|
-cc, --crashconsistent |
Create a crash consistent snapshot in a protection group. |
Optional |
|
-ff, --freezefilesystem |
Freeze the filesystem to avoid any IO going to the volume.Will unfreeze as apart of the process. |
Optional |
|
-vca VCENTERADDRESS, --vcenteraddress VCENTERADDRESS |
The IP address or hostname of a vCenter Server managing the SAP HANA VM. |
Optional |
|
-vcu VCENTERUSER, --vcenteruser VCENTERUSER |
The Username of a user for the vCenter Server managing the SAP HANA VM. |
Optional |
|
-vcp VCENTERPASSWORD, --vcenterpassword VCENTERPASSWORD |
The Password of a user for the vCenter Server managing the SAP HANA VM. Will prompt for the password if not provided. |
Optional |
|
--version |
Show program's version number and exit. |
Optional |