Menu
Mar 2, 2019 - SAP HANA Studio is an Eclipse based, integrated development environment (IDE) for development and administration of SAP HANA Database. Instructions for downloading the SAP HANA software for deployment on AWS.
This cookbook installs SAP HANA Studio onto a Windows instance. This is a BYOPcookbook (Bring Your Own Package). You need to provide theinstaller in a zipped package or provide a download location for SAPCAR if usinga SAR package. If zipped, that package should be of a standard layout:
installer.zipSAP_HANA_STUDIOhdbinst.exe
.Supports
This cookbooks supports the following windows versions, and has been tested onSAP's internal cloud and AWS as noted below.
OS | Internally Tested | AWS EC2 Tested |
---|---|---|
Windows Server 2008 | ⃠ | ✓ |
Windows Server 2008 R2 | ✓ | ✓ |
Windows Server 2012 | ⃠ | ✓ |
Windows Server 2012 R2 | ✓ | ✓ |
Windows Server 2016 TP | ✓ | ⃠ |
Windows 10 | ✓ | ⃠ |
Attributes
Basic and Required
You must provide these values to the cookbook so that it can install theclient on your system. You may have specified these values as a part ofanother cookbook.
Key | Type | Description | Default |
---|---|---|---|
['sap']['hanastudio'] | String | Where can I find the package file containing the HANA Studio installer. | nil |
Advanced and Optional
These attributes are used to fine tune the installation.
Key | Type | Description | Default |
---|---|---|---|
['sap']['sapcar'] | String | Where can I find the SAPCAR executable to extract sar files. (Required if using a SAR package) | nil |
['hana-studio']['install_dir'] | String | Where do you want the Studio to be installed? | 'C:Program FilesSAPHdbstudio' |
['hana-studio']['features'] | String | Which features¹ do you want to include? (comma separated list) | 'all' |
¹*NOTE:* The available features may differ from one version to another. Somecommon features include:
- admin
- appdev
- dbdev
- answers
- importmetadata
Please consult your package documentation for an accurate list of your package'sfeatures, and their descriptions.
Resource/Provider
hana_studio
Actions
:install
:uninstall
Use the actions to install or remove an installation of the studio to or fromthe specified location.
uninstall
removes the HANA studio exactly in thepath you specify.Example
hana_studio_remote_package
Actions
:extract
:cleanup
![Sap hana studio download and install Sap hana studio download and install](http://www.hackingsap.com/blog/wp-content/uploads/MacHANA.png)
Use the actions to extract and then cleanup a remote zip package. This makesuse of the remote_file resource for the download.
Example
Usage
hana-studio::default
So you want to install the SAP HANA studio? In addition to the resourcesprovided above, you can use this cookbook's default recipe to install the SAPHANA Studio. Here's how:
- Depend on me (in your
metadata.rb
).
- Setup your installation (using attributes).
- [REQUIRED]: You must provide the location of the packaged installer usingthe
['sap']['hanastudio']
attribute. - [OPTIONAL]: The location to download SAPCAR if using a
sar
package. - [OPTIONAL]: Change the default installation directory.
- [OPTIONAL]: Use a custom list of comma separated features.
- Include
hana-studio
in your node'srun_list
:
- Enjoy SAP HANA Studio!
Contributing
Contributions are welcomed!
- Fork the repo
- Create a feature branch (like
add_component_x
) - Write your change
- Test your change
- Submit a Pull Request using Github
License and Authors
Authors
- Alon Antoshvinski ([email protected] )
- Dan-Joe Lopez ([email protected])
License
Copyright 2016, SAP
Licensed under the Apache License, Version 2.0 (the 'License');you may not use this file except in compliance with the License.You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an 'AS IS' BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.