Got it

How to Pre-upgrade mongo&solr Backup

Latest reply: Dec 28, 2018 00:30:28 1823 7 13 0 2

How to Pre-upgrade mongo&solr Backup,following the below steps:

1. Open Internet Explorer, enter https://xxx.xxx.xxx.xxx:8443/sem in the address box, and press Enter.

2. Enter the user name and password to log in to the SEM client.

3.   Choose Resource management > Service management > Software management, select the board where the Mongo and Solr are deployed from Cluster list, click the stopping button in the Mongo and Solr lines from Software list, and stop all the Mongo(Mongo Mongos MongoConfig) and Solr(Solr Solrs) software in the cluster.

Step 4 to Step 9 needs to be performed on all management nodes.

 

 

4. Log in to the background of the board where the SEM is located and check for the Mongo and Solr processes.

ps -elf | grep mongo

ps -elf | grep solr

5. Log in to the background of all management boards and check whether the IPSAN remaining storage space can meet the backup conditions.

df –h

You need to ensure that the total available space in /sre_storage/data1/mongo, /sre_storage/data1/solr, and /sre_storage/data2/solr on all management boards is smaller than the remaining space in /sre_storage/data1/s2.

 

6. Create the backup directories 201xxxxxbackup, 201xxxxxbackup/solr, and 201xxxxxbackup/solrs in /sre_storage/data1/s2/.

mkdir -p /sre_storage/data1/s2/201xxxxxbackup

mkdir -p /sre_storage/data1/s2/201xxxxxbackup/solr

mkdir -p /sre_storage/data1/s2/201xxxxxbackup/solrs

7. Back up Mongo data (backup speed: 90 MB/s).

time cp -frap /sre_storage/data1/mongo/ /sre_storage/data1/mongo/ /sre_storage/data1/s2/20170614backup/

 

8. Back up Solr data.

time cp -frap /sre_storage/data1/solr/ /sre_storage/data1/s2/20170614backup/solr

 

9. Back up Solrs data.

time cp -frap /sre_storage/data2/solr/ /sre_storage/data1/s2/20170614backup/solrs

 

10. Check whether backup is successful. Check the storage space occupied by backup data and storage space of data sources. In principle, the difference is within 30%.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tanzania163
Tanzania163 Created Dec 3, 2018 05:48:05 (0) (0)
useful  
useful bro ,, thank you
View more
  • x
  • convention:

is there any picture can be added to explain ?
View more
  • x
  • convention:

You need to ensure that the total available space in /sre_storage/data1/mongo, Can you provide a more detailed explanation?
View more
  • x
  • convention:

Check whether backup is successful. Check the storage space occupied by backup data and storage space of data sources. In principle, the difference is within 30%.Can you provide a more detailed explanation?

View more
  • x
  • convention:

We normally still have to use the console for most of the configurations, if we can do it through web UI that would be more user friendly.
View more
  • x
  • convention:

Choose Resource management > Service management > Software management, select the board where the Mongo and Solr are deployed from Cluster list, click the stopping button in the Mongo and Solr lines from Software list, and stop all the Mongo(Mongo Mongos MongoConfig) and Solr(Solr Solrs) software in the cluster.


Step 4 to Step 9 needs to be performed on all management nodes.





DFDF
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.