cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the HDI Container in SAP HANA Cloud trail

m_altmann1
Explorer

Hello together,

Is there a possibility in SAP HANA Cloud trail to change the "SAP HANA Schema and HDI Container (trial)" to "SAP HANA Schema and HDI Container"?

I tried to have the Prerequisites for SAP HANA Cloud Workshops: How to Set Up an Environment and Define Data Structures.

Unfortunately I does not have deleted the "SAP HANA Schema and HDI Container (trial)" and use the

"SAP HANA Schema and HDI Container".

Is it possible to change the container after creating the instance? If yes, which steps I have to do, or is the only way to get a new SAP HANA Cloud Trail?
Many thanks in advance.

Kind Regards

Martina

Accepted Solutions (0)

Answers (6)

Answers (6)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Hi m.altmann1,

In your MTA.yml you have your HDI resource definition. For HDI containers in trial, you would be using hanatrial as service. To change from hdi-shared to schema, all you would need to do is to change the service plan to 'schema'.

resources:
  - name: nodejs-hdi-container
    parameters:
      service: hanatrial
      service-plan: schema
      config:
        schema: ${default-container-name}

After changing it you will have to build the database module again to deploy it against the new HDI container.

Best regards,
Ivan

m_altmann1
Explorer
0 Kudos

Hi thomas.jung

I'd like to have the prerequisites for the Workshop, recording is available and I want to watch on-demand here: https://event.on24.com/wcc/r/2994543/4443FFD69753CC39170BEA7E2037CF62
How can I add the right "SAP HANA Schema and HDI Container" to my SAP HANA Trial account?

Many Thanks in advance
Kind Regards

Martina

thomas_jung
Developer Advocate
Developer Advocate

You shouldn't have to add it to your trial account. The assignment of that entitlement in Trial is automatic.

m_altmann1
Explorer
0 Kudos

Hi thomas.jung

Thank you for your fast response. I started with my first SAP HANA Cloud Trial. Unfortunately I saw the SAP HANA Learning articles too late like

Starting your trial when you have an existing SAP Cloud Platform trial account

https://saphanajourney.com/hana-cloud/learning-article/starting-a-sap-hana-cloud-trial-when-you-have...

I see the following information in Point 3:

"You will see two options in the list related to Schemas and HDI containers. Please make sure to select the one that does not say “(trial)”" as you can see on the screenshot in my first question.

Now I had selected the "SAP HANA Schema and HDI Container (trial)". Yes and this is an central instance. I don't have any other container created, that should be moved to HANA Cloud. But I am looking for a possibility to make it right and have a "SAP HANA Schema and HDI Container" as per the Learning article.

Is it possible, and if yes, how can I do this when I already finished the steps as per Learning Article
How to create your trial SAP HANA Cloud instance
https://saphanajourney.com/hana-cloud/learning-article/how-to-create-your-trial-sap-hana-cloud-insta...

Many Thanks in advance
Kind Regards

Martina

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I'm sorry but I don't understand what you want to do. You added the SAP HANA Schema and HDI Container (trial) to your trial account? If so that's OK, just don't use that service plan later (its listed as hanatrial - use the hana one instead). The two can both exist in your same account.

m_altmann1
Explorer
0 Kudos

Hi thomas.jung

Sorry for bothering, I saw that you are awfully familiar with this topic. I saw the Learning article a little bit late.

Is it possible to change the deleted the "SAP HANA Schema and HDI Container (trial)" in SAP HANA Cloud entitlement and use the "SAP HANA Schema and HDI Container" instead if I had already created my first SAP HANA Cloud instance? So far as I know the HDI Contrainer (trial) is depreciated. What can I do in this case?

Many thanks in advance

Kind Regards

Martina

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I'm sorry but I'm not sure I understand your question. Do you want to move an HDI container instances content? The old (trial) service was pointed to a central HANA As A Service instance - so a completely different database instance. Do you have HDI containers created under it that you want to move to HANA Cloud?

m_altmann1
Explorer
0 Kudos

Hi ivan.mirisola,

To develop an application will be the next step.

In SAP HANA Learning article

Starting your trial when you have an existing SAP Cloud Platform trial account

https://saphanajourney.com/hana-cloud/learning-article/starting-a-sap-hana-cloud-trial-when-you-have...

I see the following information in Point 3:

You will see two options in the list related to Schemas and HDI containers. Please make sure to select the one that does not say “(trial)”, as you can see on the screenshot below.

Unfortunately, I made a mistake and have not deleted the "SAP HANA Schema and HDI Container (trial)" and use the "SAP HANA Schema and HDI Container".

Is it possible to change this wrong Container selection afterwards?

Kind Regards,

Martina

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Hi m.altmann1,

An entitlement is nothing but an authorization setup so your space can consume a resource from the platform. It is not an actual schema. So you could potentially have an HDI-Shared and HDI-Shared (trial) in the same account and entitlement.

As thomas.jung mentioned below, you usually don't need to set this up by yourself. When you create a trial subaccount for the first time it automatically sets the entitlements for you. But is doesn't hurt to have multiple entitlements in your trial account. There will be two hdi-shared plans for Hana with the same name but one belonging to the service 'hana' and the other to the 'hana-trial'. Just as long as you know which one to use.

If you want to remove the trial entitlements, you can always do so, by clicking on "Configure Entitlements" and then clicking on the delete button - a 'trash can' icon to the right of each entitlement. Than save it and you should be fine.

If you get an error message, chances are that you already have an instance of type trial created in a Space. Therefore you would need to go into that space and delete any service instances of type hana trial (filter them from the menu). You should see an entry named "SAP HANA Schemas & HDI Containers (trial)" in that combo-box. Mine doesn't have anymore since I deleted all entitlements for trial from my subaccount.

Hope this helps you.

Best regards,
Ivan

m_altmann1
Explorer
0 Kudos

Hi @ivan.mirisola,
thank you for your responce. This is my first cloud trail. Where can I get the

MTA.yml? Seams this is on application level, right? But I am on the first step just after create Instance.

Many thanks in advance.

Kind Regards

Martina

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi m.altmann1,

An HDI container is actually an Schema on the Database. Usually the IDE will create an instance of an HDI and bind it to your application. When this happens your application gets the credentials to connect to that schema.

Hence, the reason why I have asked about your MTA.yml.

Could you please clarify what is it that you want to do after you have an instance of Hana Cloud?

Best regards,
ivan