Support Questions

Find answers, ask questions, and share your expertise

How to downgrade the Cloudera Enterprise to Cloudera Express ?

avatar
Rising Star

Hi Team,

 

Greetings....!!

My cluster license got expired and still it was showing "Cloudera Enterprise ".

Is any problem using after license expiration ?

Can some one suggest me how to downgrade to express edition ?

 

Thanks,

Vinod

1 ACCEPTED SOLUTION

avatar
Guru

Hi @kvinod ,

 

Here is the snippet from the article:

 

For CM 5.13.x and below, use the following process to remove the license manually from the database.

1. Log in to Cloudera Manager and stop the Cloudera Management Services. (Host Monitor, Event server, Alert Publisher, etc)

 

2. From the Cloudera Manager server shell, Stop Cloudera Manager.

service cloudera-scm-server stop

 

3. Confirm the Cloudera Managerdatabase instance name and credentials.
grep com.cloudera.cmf.db /etc/cloudera-scm-server/db.properties

com.cloudera.cmf.db.type=$DBTYPE
com.cloudera.cmf.db.host=$DBHOST:$DBPORT
com.cloudera.cmf.db.name=$DBNAME
com.cloudera.cmf.db.user=$DBUSER
com.cloudera.cmf.db.password=$DBPASS

 

For the remainder of this process the $DB variables will be used, please replace with your configured values. This document will cover $DBTYPE of Postgres or MySQL. $DBPORT may not exist in the properties file if using the default port.

 

4.Backup the database instance.
IMPORTANT: Ensure to create the database backup for this step.

For MySQL:
# mysqldump -h $DBHOST -P $DBPORT -u $DBUSER -p $DBNAME > /root/cmbak.`date +%Y-%m-%d:%H:%M`.sql

For Postgres:
# pg_dump -h $DBHOST -p $DBPORT -U $DBUSER -W $DBNAME > /root/cmbak.`date +%Y-%m-%d:%H:%M`.sql

 

5. Log in to the database
For MySQL:
# mysql -h $DBHOST -P $DBPORT -u $DBUSER -p $DBNAME

For Postgres:
# psql -h $DBHOST -p $DBPORT -U $DBUSER -W $DBNAME

Type the $DBPASS when requested.

 

6. Update the record to remove the license key.
update CONFIGS set VALUE = '' where ATTR = 'license_key';

7. Confirm the license key is removed.

select CONFIG_ID, ATTR, VALUE from CONFIGS where ATTR = 'license_key';
+-----------+-------------+-------+
| CONFIG_ID | ATTR | VALUE |
+-----------+-------------+-------+
| 79 | license_key | |
+-----------+-------------+-------+
1 row in set (0.00 sec)

 

8. Quit database:

For MySQL:
mysql> quit

For Postgres:
scm> \q

 

9. Start Cloudera Manager from the server shell:
service cloudera-scm-server start

 

10. Login to Cloudera Manager and start the Cloudera Management Services. (Host Monitor, Event server, Alert Publisher, etc)

 

11. Restart the cluster services to confirm everything is okay.

 

Thanks and hope this helps,

Li

Li Wang, Technical Solution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

View solution in original post

13 REPLIES 13

avatar
Super Guru
@kvinod,

There won't be issues after license expired, it just that the Enterprise features won't be available, but cluster should still function as before. Please see below doc:

https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_ag_licenses.html#cmug_topic_13_7...

When a Cloudera Enterprise license expires, the following occurs:

-- Cloudera Enterprise Cloudera Enterprise Trial - Enterprise features are disabled.

--Cloudera Enterprise - Most enterprise features such as Navigator, reports, Auto-TLS, and fine-grained permissions are disabled. Key Trustee KMS and the Key Trustee server will continue to function on the cluster, but you cannot change any configurations or add any services. Navigator will not continue to collect audits, but existing audits will remain on disk in the Cloudera Manager audit table. On license expiration, the license expiration banner displays which enterprise features have been disabled.

In terms of downgrading to express edition, can you try to restart CM and management services and see if it will do it?

Cheers
Eric

avatar
Rising Star

Hi Eric,

 

Thanks for your valuable response and i have restarted twice but no luck.
Still i can see Cloudera Enterprise 5.8.1 version.

 

Thanks & Regards,

Vinod

avatar
Super Guru
@kvinod

CM 5.8.x is very old, is there any reason that you do not want to upgrade? As @lwang mentioned, higher version of CM supported downgrade back to Express version, so I guess the option is for you to upgrade first.

But personally I don't see any issues if you don't want to do anything. After expiry, the only difference would be that Enterprise features won't be available, but cluster should still function. Unless Li can provide more insights.

Cheers
Eric

avatar
Rising Star

Hi Eric,

 

Sure will do upgrade and let you know the updates.

Thanks a lot for your response and sure will see comments from @lwang  .

 

Regards,

Vinod

avatar
Guru

Hi @kvinod ,

 

What is your CM version? Starting from Cloudera Manager 5.13.x and higher, there is an option named "Downgrade to Cloudera Express" on the CM UI (Administration ->License) that allows you to remove an enterprise license and downgrade CM to the express version.

 

Thanks and hope this helps,

Li

Li Wang, Technical Solution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

avatar
Rising Star

Hi Li,

 

Thank you for your valuable response, We are using Cloudera Enterprise 5.8.1.

Is there any other option here in ?

Or can i upgrade CDH version to little higher ? so when we doing upgrade again it will ask License Key right, so it will convert into Express right ?

 

Please provide some suggestions.

 

Best Regards,

Vinod

 

 

avatar
New Contributor

Hi @lwang @EricL ,

This is Manidipa. @kvinod works with me.

Our main concern is, we have not renewed the license since last year. But we can still see the CDH version is Enterprise (though it gives the warning that the license is expired and contact Cloudera support). So, we are worried that Cloudera should not come back and say that you are using Enterprise version, but have not paid the license.

 

We assumed that if we have not renewed the license, the feature will automatically go off, and we have tried to convert to Express.

 

Thanks,

Manidipa

avatar
New Contributor

Hi,

Can you let us know, is it ok to be in "Cloudera Enterprise" version, after the license is expired, and we don't want to renew it as we don't need any Enterprise feature.

 

Thanks,

Manidipa

avatar
Guru

Hi @mitram ,

 

Since you don't plan to upgrade Cloudera Manager, the other option is to remove the license directly from the CM database. You can read the specific instructions for this in the following KB article:

https://my.cloudera.com/knowledge/Removing-a-Cloudera-Manager-Enterprise-License-Reference?id=74175

 

Beware that with the downgrade, you will loose access to enterprise functions, especially Navigator KMS/KTS. If you have HDFS Encrypted zones backed by Navigator KMS/KTS, please make sure you move out the data to an un-encrypted location, as after the downgrade, you will not be able to access it any more.

 

The downgrade needs a restart of Cloudera Manager, but this should not distrust the running services (except the licensed ones).

 

Thanks and hope this helps,

Li

Li Wang, Technical Solution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum