Skip to content

This repository contains sample customization scripts I developed to customize IBM Analytics Enigne Clusters.

Notifications You must be signed in to change notification settings

djain13/ae-customization-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ae-customization-samples

The below listed steps are for Creating a cluster with customization in JSON format

  • Need to down load the script from the below given git location and place it in your object store.(<absolute_script_path>)

https://github.com/Raviprasadpentakota/ae-customization-samples/blob/master/src/key-based-ssh.sh

  • Copy the public key of the machine from where we want to make passwordless ssh into a file and upload to the object store.(<absolute_path_public_key_file>)

  • Need to modify the given below json template with the object store auth end point ,access key and secret access key.

cf create-service <service-name>  lite <Instance name>   -c <cluster parameters as json string or path to cluster parameters json file>

Template of cluster json

{
	"num_compute_nodes": 1,
	"hardware_config": "default",
	"software_package": "ae-1.0-spark",
	"customization": [{
		"name": "action1COSS3",
		"type": "bootstrap",
		"script": {
			"source_type": "CosS3",
			"source_props": {
				"auth_endpoint": "<cos_object_store_auth_end_point>",
				"access_key_id": "<access_key_id>",
				"secret_access_key": "<secret_access_key>"
			},
			"script_path": "<absolute_script_path>"
		},
		"script_params": ["https://<cos_object_store_auth_end_point>", "<secret_access_key>", "<access_key_id>", "<absolute_path_public_key_file>"]
	}]
}

About

This repository contains sample customization scripts I developed to customize IBM Analytics Enigne Clusters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%