Requirements
Platform
- AWS Image - Suse SLES 11 SP3 (checked on this AMI: ami-f1f5acc1 from region: us-west-2)
- approx. 25GB in the rootfs directory and 5GB for the specified directory in attribute
['install'].['tempdir']
- AWS EC2 Instance Type: c4.4xlarge (Minimum requirements - tested on this type)
Attributes
All attributes have sane default values (See attributes/default.rb
). You can install any supported component in this cookbook, without overriding any attributes. In case you need to override an attribute(s), use either a role or a wrapper cookbook. See examples in the examples section.
Attributes related to SAP Hana instance configuration.
['hana'].['installpath']
- the directory into which SAP Hana will be installed.['hana'].['datapath']
- custom path for the data files, empty by default['hana'].['logpath']
- custom path for the log files, empty by default['hana'].['sid']
- the SID of the installation (HNA by default)['hana'].['instance']
- the instance number of the installation (00 by default, it will be used with the xs port later)['hana'].['userid']
- UID of the user SIDadm, which will be created during installation (1099 by default)['hana'].['password']
- SIDadm's password (Password must be > 8, and latters in upper and lower case)['hana'].['syspassword']
- password for database user SYSTEM (Password must be > 8, and latters in upper and lower case)['hana'].['checkhardware']
- flag to circumvent SAP's check, whether the used hardware is certified and meets certain requirements. Bear in mind that this is not meant for production systems, and don't expect any support.['hana'].['checkstoignore']
- installer checks to be ignored if the checkhardware flag is disabled['hana'].['clientsid']
- flag to specify a stand-alone Hana client installation (see below)['hana'].['import_content']
- flag to specify if HanaXS (default development) content will be imported while installation and/or upgrade
Attributes related to the installation process.
['install'].['tempdir']
- temporary directory needed during installation['install'].['files'].['sapcar']
- URL to the SAPCAR tool (for extracting SAR files)['install'].['files'].['hanadb']
- URL to the SAR file for the Hana installer['install'].['files'].['hanaclient']
- URL to the SAR file for the Hana client installer
All attributes under ['install'].['files'] hierarchy, must be accessible by http get method from the node on which the installation is executed. The structure of ['install'].['files'].['hanadb'] archive must be a sole folder named SAP_HANA_DATABASE and all installation files in it. The structure of ['install'].['files'].['hanadb'] archive must be a sole folder named SAP_HANA_CLIENT and all installation files in it.
Attributes related to the distributed installation process.
['hana'].['dist'].['sharedvolume']
- the nfs path (i.e server:/path) to the shared disk where the HANA will be installed including the data files and the log files. Only NFS shares are supported now. This attribute should be either an empty string or not set at all in case of a single node installation.['hana'].['dist'].['sharedmountoptions']
- The NFS share options.['hana'].['dist'].['master-mode-required']
- Only required for distributed installs with newer HANA versions - see the comments in the enable-master-mode.rb recipe.['hana'].['dist'].['waitcount']
- The number of wait loops for the NFS share to be available. Needed in case of distributed installation where the NFS share is being created in parallel to the SAP Hana node installations. Usually keep the defaults.['hana'].['dist'].['waittime']
- How much time each loop will wait. Usually keep the defaults.
All attributes under ['hana'].['dist'] hierarchy are related to distributed SAP Hana system installation process. Override only if you are installing a distributed system.