Reply
Explorer
Posts: 10
Registered: ‎04-17-2018
Accepted Solution

What is the correct way to update Navigator Metadata Server Storage Dir

[ Edited ]

Hi,

 

currently we setup our Navigator Metadata Server Storage Dir into /var/lib/cloudera-scm-navigator

and the problems is the free space of /var partition is very low, now.

 

could you guys inform me, what is the correct way to move /var/lib/cloudera-scm-navigator/solr into /data1/solr

 

note: sorry for my english

 

Thanks

Expert Contributor
Posts: 125
Registered: ‎01-08-2018

Re: What is the correct way to update Navigator Metadata Server Storage Dir

First of all, you have to stop Navigator.

Then it depends on what you decide.

The easiest approach (not requiring changes in configuration) is to move the directory and create a link:

 

# mv /var/lib/cloudera-scm-navigator/solr  /data1/
# ln -s /data1/solr  /var/lib/cloudera-scm-navigator/solr

Although I would prefer to move the whole navigator directory:

 

# mv /var/lib/cloudera-scm-navigator/ data1/
# ln -s /data1/cloudera-scm-navigator  /var/lib/cloudera-scm-navigator

 The last approach is again to move the directory without link

# mv /var/lib/cloudera-scm-navigator/ data1/

 and change

Navigator Metadata Server Storage Dir
nav.data.dir

in Cloudera Manager to

/data1/cloudera-scm-navigator

 

Hope, that helps. As mentioned above, I prefer the second approach, because all directory is in one partition plus, someone new in your team won't have to check CM for the new location.

Explorer
Posts: 10
Registered: ‎04-17-2018

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Hi GeKas,

 

Thank you for your answer.

about this 

 

 

Spoiler
First of all, you have to stop Navigator.

 

 

do I need to stop all of Cloudera Management Service or just  Navigator Audit Server & Navigator Metadata Server.

 

cloudera_management_service.PNG

 

Thanks

Highlighted
Expert Contributor
Posts: 125
Registered: ‎01-08-2018

Re: What is the correct way to update Navigator Metadata Server Storage Dir

No you don't have to stop all Management Services.

Only Navigator Metadata Server is enough, but you can stop also Navigator Audit server if you feel more safe.

Explorer
Posts: 10
Registered: ‎04-17-2018

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Hi Gekas,

Thank you very much for your answer.
I will test it on UAT & will give you & community the update.

Thanks
Announcements