cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create HANA DB on Cloudfoundry via CLI

MarcoHöpner
Explorer
0 Likes
2,211

Hi,

on cloudfoundry i'm trying to create a hana db without success.

I'm using a trial account and my cli looks like :

cf create-service hana-cloud-trial hana myhana -c '{"SystemPassword":"1234567","SourceIP":"0.0.0.0.0/0","dpserver":"true","vcpu":"2","memory":"30","storage":"120"}'

I always get the error:

Service broker error : Service broker hana-cloud-trail failed with: Invalid Paramter (memory): Required for HANA [....]

If i use the -v flag i got error:

HTTP/1.1 502 Bad Gateway ...

"code": 10001

"error_code":" CF-ServiceBrokerBadResponse"

I'm using the V7 Version of the cli.

Any help is welcome.

Marco

Accepted Solutions (1)

Accepted Solutions (1)

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Marco,

SAP HANA Cloud is available on the US for the trial, cf

You can create an instance using, for example, command

cf create-service hana-cloud-trial hana my_hana_db -c '{ "data": {"memory": 30, "systempassword": "Initial1"}}'

For production, the memory increments in 30 GB in AWS and GCP and 32 for Azure, cf

MarcoHöpner
Explorer

Hi Denys,

it works now.

Thank you very much.

Is there a place/blog/URL to keep informed about such changes?

Best Regards

Marco

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Likes

Not yet, will cook something up. To be continued ...

Answers (1)

Answers (1)

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Likes

The following tutorial demonstrates executing various administrative tasks such as start/stop/create/update/upgrade of an SAP HANA Cloud instance using the BTP and CF CLIs.

Executing SAP HANA Cloud Tasks from the Command Line