Project

General

Profile

Actions

Task #2228

closed

Nagios: renamining VM for mongodb nodes

Added by Roberto Cirillo over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Low
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Feb 10, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

nagios shows the old names for mongodb nodes:

node58.p.d4science.research-infrastructures.eu
node67.p.d4science.research-infrastructures.eu
node73.p.d4science.research-infrastructures.eu
node80.p.d4science.research-infrastructures.eu
node84.p.d4science.research-infrastructures.eu

could you change these host names with the new host names, please?

monogo1-p-d4s.d4science.org
monogo2-p-d4s.d4science.org
monogo3-p-d4s.d4science.org
monogo4-p-d4s.d4science.org
monogo5-p-d4s.d4science.org
Actions #1

Updated by Andrea Dell'Amico over 9 years ago

  • Status changed from New to In Progress

What about this one?:

mongo6-p-d4s.d4science.org
#node85.p.d4science.research-infrastructures.eu
Actions #2

Updated by Andrea Dell'Amico over 9 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

I changed the other hostnames.

Actions #3

Updated by Andrea Dell'Amico over 9 years ago

  • % Done changed from 100 to 80

And now we have some errors and warnings.

Actions #4

Updated by Roberto Cirillo over 9 years ago

mongo6 is a backup node it isn't attached to the replicaSet system. Of course, you can rename it as mongo6.
(You mean, from node85.p.d4science.research-infrastructures.eu to mongo6-p-d4s.d4science.org)

Actions #5

Updated by Roberto Cirillo over 9 years ago

Andrea Dell'Amico wrote:

And now we have some errors and warnings.

The warnings are due to the upgrade of the nodes as reported here: #2121
After the upgrade I'm going to recheck these warnings.

Actions #6

Updated by Roberto Cirillo over 9 years ago

Roberto Cirillo wrote:

mongo6 is a backup node it isn't attached to the replicaSet system. Of course, you can rename it as mongo6.
(You mean, from node85.p.d4science.research-infrastructures.eu to mongo6-p-d4s.d4science.org)

yes, exactly what I mean

Actions #7

Updated by Andrea Dell'Amico over 9 years ago

Roberto Cirillo wrote:

Andrea Dell'Amico wrote:

And now we have some errors and warnings.

The warnings are due to the upgrade of the nodes as reported here: #2121
After the upgrade I'm going to recheck these warnings.

No, it's the check behaviour that changed. I'm trying to understand if the code can be easily modified to not return errors when executed on non master nodes. Otherwise we shall need to disable some checks on the slave nodes, but the situation will become inconsistent if the master changes.

Actions #8

Updated by Andrea Dell'Amico over 9 years ago

  • % Done changed from 80 to 100

The mongodb check has been fixed.

@tommaso.piccioli@isti.cnr.it tells me that mongo6 is an instance only used when a recovery is needed, so its availability is not guaranteed. I think it should not be monitored.

Actions #9

Updated by Roberto Cirillo over 9 years ago

  • Status changed from Feedback to Closed

I agree with you

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)