<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Create HANA DB on Cloudfoundry via CLI in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500326#M4684416</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;yes always the same error.&lt;/P&gt;&lt;P&gt;cf -v create-service hana-cloud-trial hana mh_hana_db -c '{"SystemPassword":"tUller2013","SourceIP":"0.0.0.0/0","dpserver":"true","vcpu":"2","storage":"120"}'&lt;/P&gt;&lt;P&gt;If i take a look into the verbose output i found the following information.&lt;/P&gt;&lt;P&gt;"service_instance": { &lt;BR /&gt;            "create": { &lt;BR /&gt;              "parameters": { &lt;BR /&gt;                "$schema": "http://json-schema.org/draft-04/schema#", &lt;BR /&gt;                "additionalProperties": false, &lt;BR /&gt;                "definitions": { &lt;BR /&gt;                  "extensionservice": { &lt;BR /&gt;                    "properties": { &lt;BR /&gt;                      "enabled": { &lt;BR /&gt;                        "type": "boolean" &lt;BR /&gt;                      }, &lt;BR /&gt;...........&lt;/P&gt;&lt;P&gt;"memory": { &lt;BR /&gt;                        "description": "HANA memory size (RAM) in GB", &lt;BR /&gt;                        "format": "int64", &lt;BR /&gt;                        "maximum": 45, &lt;BR /&gt;                        "minimum": 30, &lt;BR /&gt;                        "type": "integer" &lt;BR /&gt;                      }, &lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;at the end i found the following POST Request.&lt;/P&gt;&lt;P&gt;REQUEST: [2021-10-30T12:47:38+02:00] &lt;BR /&gt;POST /v2/service_instances?accepts_incomplete=true HTTP/1.1 &lt;BR /&gt;Host: api.cf.eu10.hana.ondemand.com &lt;BR /&gt;Accept: application/json &lt;BR /&gt;Authorization: [PRIVATE DATA HIDDEN] &lt;BR /&gt;Content-Type: application/json &lt;BR /&gt;User-Agent: cf/7.3.0+645c3ce6a.2021-08-16 (go1.16.6; amd64 linux) &lt;BR /&gt;{ &lt;BR /&gt;  "name": "mh_hana_db", &lt;BR /&gt;  "parameters": { &lt;BR /&gt;    "SourceIP": "0.0.0.0/0", &lt;BR /&gt;    "SystemPassword": "[PRIVATE DATA HIDDEN]", &lt;BR /&gt;    "dpserver": "true", &lt;BR /&gt;    "storage": "120", &lt;BR /&gt;    "vcpu": "2" &lt;BR /&gt;  }, &lt;BR /&gt;  "service_plan_guid": "xxxxxxxxxxxxxxxxxxxx", &lt;BR /&gt;  "space_guid": "xxxxxxxxxxxxxxxxxxxxxxxxx" &lt;BR /&gt;} &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;RESPONSE: [2021-10-30T12:47:40+02:00] &lt;BR /&gt;HTTP/1.1 502 Bad Gateway &lt;BR /&gt;Content-Length: 290 &lt;BR /&gt;Content-Type: application/json;charset=utf-8 &lt;BR /&gt;Date: Sat, 30 Oct 2021 10:47:40 GMT &lt;BR /&gt;Server: nginx &lt;BR /&gt;Strict-Transport-Security: max-age=31536000; includeSubDomains; preload; &lt;BR /&gt;X-B3-Spanid: 9ddd652b2c93ed63 &lt;BR /&gt;X-B3-Traceid: 9ddd652b2c93ed63 &lt;BR /&gt;X-Content-Type-Options: nosniff &lt;BR /&gt;X-Ratelimit-Limit: 40000 &lt;BR /&gt;X-Ratelimit-Remaining: 39999 &lt;BR /&gt;X-Ratelimit-Reset: 1635594309 &lt;BR /&gt;X-Vcap-Request-Id: 5a4b738e-bc73-48e7-6628-c8f88e484cbb::84682fa3-21a5-4c25-ba0c-6bc9526edae2 &lt;BR /&gt;{ &lt;BR /&gt;  "code": 10001, &lt;BR /&gt;  "description": "Service broker error: Service broker hana-cloud-trial failed with: Invalid Parameter (memory): Required for HANA [ref 20DtCoagW3DnXvPKq9hJfZZKqQw]", &lt;BR /&gt;  "error_code": "CF-ServiceBrokerBadResponse", &lt;BR /&gt;  "http": { &lt;BR /&gt;    "method": "PUT", &lt;BR /&gt;    "status": 422 &lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;I'm interesting in:&lt;/P&gt;&lt;P&gt;Are you able to deploy a hana db with my command?&lt;/P&gt;&lt;P&gt;Which commandline are you using to deploy a service like Hana?&lt;/P&gt;&lt;P&gt;How can i take a deeper look into the service broker to verify which parameters are supported/used?&lt;/P&gt;&lt;P&gt;Is the Service Broker "hana-cloud-trial" the correct Broker? I'm not sure because of the http 502 Response Error Code.&lt;/P&gt;&lt;P&gt; Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Sat, 30 Oct 2021 11:03:41 GMT</pubDate>
    <dc:creator>MarcoHöpner</dc:creator>
    <dc:date>2021-10-30T11:03:41Z</dc:date>
    <item>
      <title>Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaq-p/12500324</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;on cloudfoundry i'm trying to create a hana db without success.&lt;/P&gt;
  &lt;P&gt;I'm using a trial account and my cli looks like : &lt;/P&gt;
  &lt;P&gt;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"}'&lt;/P&gt;
  &lt;P&gt;I always get the error:&lt;/P&gt;
  &lt;P&gt;Service broker error : Service broker hana-cloud-trail failed with: Invalid Paramter (memory): Required for HANA [....]&lt;/P&gt;
  &lt;P&gt;If i use the -v flag i got error:&lt;/P&gt;
  &lt;P&gt;HTTP/1.1 502 Bad Gateway ...&lt;/P&gt;
  &lt;P&gt;"code": 10001&lt;/P&gt;
  &lt;P&gt;"error_code":" CF-ServiceBrokerBadResponse"&lt;/P&gt;
  &lt;P&gt;I'm using the V7 Version of the cli.&lt;/P&gt;
  &lt;P&gt;Any help is welcome.&lt;/P&gt;
  &lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaq-p/12500324</guid>
      <dc:creator>MarcoHöpner</dc:creator>
      <dc:date>2021-10-29T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500325#M4684415</link>
      <description>&lt;P&gt;Have you tried to leave out the memory parameter?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 19:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500325#M4684415</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2021-10-29T19:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500326#M4684416</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;yes always the same error.&lt;/P&gt;&lt;P&gt;cf -v create-service hana-cloud-trial hana mh_hana_db -c '{"SystemPassword":"tUller2013","SourceIP":"0.0.0.0/0","dpserver":"true","vcpu":"2","storage":"120"}'&lt;/P&gt;&lt;P&gt;If i take a look into the verbose output i found the following information.&lt;/P&gt;&lt;P&gt;"service_instance": { &lt;BR /&gt;            "create": { &lt;BR /&gt;              "parameters": { &lt;BR /&gt;                "$schema": "http://json-schema.org/draft-04/schema#", &lt;BR /&gt;                "additionalProperties": false, &lt;BR /&gt;                "definitions": { &lt;BR /&gt;                  "extensionservice": { &lt;BR /&gt;                    "properties": { &lt;BR /&gt;                      "enabled": { &lt;BR /&gt;                        "type": "boolean" &lt;BR /&gt;                      }, &lt;BR /&gt;...........&lt;/P&gt;&lt;P&gt;"memory": { &lt;BR /&gt;                        "description": "HANA memory size (RAM) in GB", &lt;BR /&gt;                        "format": "int64", &lt;BR /&gt;                        "maximum": 45, &lt;BR /&gt;                        "minimum": 30, &lt;BR /&gt;                        "type": "integer" &lt;BR /&gt;                      }, &lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;at the end i found the following POST Request.&lt;/P&gt;&lt;P&gt;REQUEST: [2021-10-30T12:47:38+02:00] &lt;BR /&gt;POST /v2/service_instances?accepts_incomplete=true HTTP/1.1 &lt;BR /&gt;Host: api.cf.eu10.hana.ondemand.com &lt;BR /&gt;Accept: application/json &lt;BR /&gt;Authorization: [PRIVATE DATA HIDDEN] &lt;BR /&gt;Content-Type: application/json &lt;BR /&gt;User-Agent: cf/7.3.0+645c3ce6a.2021-08-16 (go1.16.6; amd64 linux) &lt;BR /&gt;{ &lt;BR /&gt;  "name": "mh_hana_db", &lt;BR /&gt;  "parameters": { &lt;BR /&gt;    "SourceIP": "0.0.0.0/0", &lt;BR /&gt;    "SystemPassword": "[PRIVATE DATA HIDDEN]", &lt;BR /&gt;    "dpserver": "true", &lt;BR /&gt;    "storage": "120", &lt;BR /&gt;    "vcpu": "2" &lt;BR /&gt;  }, &lt;BR /&gt;  "service_plan_guid": "xxxxxxxxxxxxxxxxxxxx", &lt;BR /&gt;  "space_guid": "xxxxxxxxxxxxxxxxxxxxxxxxx" &lt;BR /&gt;} &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;RESPONSE: [2021-10-30T12:47:40+02:00] &lt;BR /&gt;HTTP/1.1 502 Bad Gateway &lt;BR /&gt;Content-Length: 290 &lt;BR /&gt;Content-Type: application/json;charset=utf-8 &lt;BR /&gt;Date: Sat, 30 Oct 2021 10:47:40 GMT &lt;BR /&gt;Server: nginx &lt;BR /&gt;Strict-Transport-Security: max-age=31536000; includeSubDomains; preload; &lt;BR /&gt;X-B3-Spanid: 9ddd652b2c93ed63 &lt;BR /&gt;X-B3-Traceid: 9ddd652b2c93ed63 &lt;BR /&gt;X-Content-Type-Options: nosniff &lt;BR /&gt;X-Ratelimit-Limit: 40000 &lt;BR /&gt;X-Ratelimit-Remaining: 39999 &lt;BR /&gt;X-Ratelimit-Reset: 1635594309 &lt;BR /&gt;X-Vcap-Request-Id: 5a4b738e-bc73-48e7-6628-c8f88e484cbb::84682fa3-21a5-4c25-ba0c-6bc9526edae2 &lt;BR /&gt;{ &lt;BR /&gt;  "code": 10001, &lt;BR /&gt;  "description": "Service broker error: Service broker hana-cloud-trial failed with: Invalid Parameter (memory): Required for HANA [ref 20DtCoagW3DnXvPKq9hJfZZKqQw]", &lt;BR /&gt;  "error_code": "CF-ServiceBrokerBadResponse", &lt;BR /&gt;  "http": { &lt;BR /&gt;    "method": "PUT", &lt;BR /&gt;    "status": 422 &lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;I'm interesting in:&lt;/P&gt;&lt;P&gt;Are you able to deploy a hana db with my command?&lt;/P&gt;&lt;P&gt;Which commandline are you using to deploy a service like Hana?&lt;/P&gt;&lt;P&gt;How can i take a deeper look into the service broker to verify which parameters are supported/used?&lt;/P&gt;&lt;P&gt;Is the Service Broker "hana-cloud-trial" the correct Broker? I'm not sure because of the http 502 Response Error Code.&lt;/P&gt;&lt;P&gt; Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 11:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500326#M4684416</guid>
      <dc:creator>MarcoHöpner</dc:creator>
      <dc:date>2021-10-30T11:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500327#M4684417</link>
      <description>&lt;P&gt;Hi Marco, &lt;/P&gt;&lt;P&gt;SAP HANA Cloud is available on the US for the trial, cf&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://answers.sap.com/questions/13508076/sap-hana-cloud-trial-cf-eu10-no-longer-available.html?childToView=13509244" target="test_blank"&gt;https://answers.sap.com/questions/13508076/sap-hana-cloud-trial-cf-eu10-no-longer-available.html?childToView=13509244&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can create an instance using, for example, command&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cf create-service hana-cloud-trial hana my_hana_db -c '{ "data": {"memory": 30, "systempassword": "Initial1"}}'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For production, the memory increments in 30 GB in AWS and GCP and 32 for Azure, cf&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.sap.com/viewer/9ae9104a46f74a6583ce5182e7fb20cb/LATEST/en-US/03982b3b93664f089b084713285e3c81.html" target="_blank"&gt;Create an SAP HANA Database Instance Using the CLI&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1987748-cf.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 10:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500327#M4684417</guid>
      <dc:creator>dvankempen</dc:creator>
      <dc:date>2021-11-01T10:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500328#M4684418</link>
      <description>&lt;P&gt;Hi Denys,&lt;/P&gt;&lt;P&gt;it works now.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Is there a place/blog/URL to keep informed about such changes?  &lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 12:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500328#M4684418</guid>
      <dc:creator>MarcoHöpner</dc:creator>
      <dc:date>2021-11-02T12:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500329#M4684419</link>
      <description>&lt;P&gt;Not yet, will cook something up. To be continued ... &lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 16:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500329#M4684419</guid>
      <dc:creator>dvankempen</dc:creator>
      <dc:date>2021-11-02T16:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create HANA DB on Cloudfoundry via CLI</title>
      <link>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500330#M4684420</link>
      <description>&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.sap.com/tutorials/hana-cloud-automation-cli.html"&gt;Executing SAP HANA Cloud Tasks from the Command Line&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 18:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-hana-db-on-cloudfoundry-via-cli/qaa-p/12500330#M4684420</guid>
      <dc:creator>Dan_vL</dc:creator>
      <dc:date>2023-10-25T18:01:45Z</dc:date>
    </item>
  </channel>
</rss>

