Task #5608

Improve OrientDB ansible script

Added by Luca Frosini about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:Nov 02, 2016
Priority:NormalDue date:
Assignee:_InfraScience Systems Engineer% Done:

100%

Category:Application
Sprint:External Tools
Infrastructure:Development
Milestones:
Duration:

Description

Orient DB ansible script should be enhanced with the following features:

History

#1 Updated by Luca Frosini about 3 years ago

  • % Done changed from 0 to 10
  • Status changed from New to In Progress

I already made part of the work to implement automatic backup. See commit bfaf045d437b40d143552820f93fcea7b6dcb1ff

#2 Updated by Andrea Dell'Amico about 3 years ago

  • % Done changed from 10 to 60

Luca Frosini wrote:

Orient DB ansible script should be enhanced with the following features:

  • possibility to upgrade hook only (need an orientdb restart)

Done. You can call the playbook with the additional '--tags=orientdb_hooks'

  • upgrade selectively different instances

I don't know what do you mean with selectively. If you mean serially, I just changed the playbook to act on one instance at a time.

  • monitor instances with munin-ganglia

They are on ganglia already. See http://monitoring.research-infrastructures.eu/ganglia/?c=D4Science%20Development%20servers&m=load_one&r=hour&s=by%20name&hc=4&mc=2 (we are going towards one cluster for all the dev servers. You can filter by the hostname to get the data of the orientdb servers only).

#3 Updated by Luca Frosini about 3 years ago

  • % Done changed from 60 to 10

I also parametrized the atuomatic backup configuration file. See rev 7fafb2c2e3041c8c5803bf3b9da42864c1e16470

#4 Updated by Luca Frosini about 3 years ago

  • % Done changed from 10 to 70

Andrea Dell'Amico wrote:

Luca Frosini wrote:

Orient DB ansible script should be enhanced with the following features:

  • possibility to upgrade hook only (need an orientdb restart)

Done. You can call the playbook with the additional '--tags=orientdb_hooks'

Can I launch it with the following command?
./run.sh orientdb.yml -i inventory/hosts.dev --tags=orientdb_hooks

  • upgrade selectively different instances

Can I launch it with the following command if I want to decide where
./run.sh orientdb.yml -i inventory/hosts.dev -l orientdb01-d-d4s

I don't know what do you mean with selectively. If you mean serially, I just changed the playbook to act on one instance at a time.

  • monitor instances with munin-ganglia

They are on ganglia already. See http://monitoring.research-infrastructures.eu/ganglia/?c=D4Science%20Development%20servers&m=load_one&r=hour&s=by%20name&hc=4&mc=2 (we are going towards one cluster for all the dev servers. You can filter by the hostname to get the data of the orientdb servers only).

Thanks you

#5 Updated by Andrea Dell'Amico about 3 years ago

Luca Frosini wrote:

Can I launch it with the following command?
./run.sh orientdb.yml -i inventory/hosts.dev --tags=orientdb_hooks

Yes, correct.

Can I launch it with the following command if I want to decide where
./run.sh orientdb.yml -i inventory/hosts.dev -l orientdb01-d-d4s

You can always limit to a specific host (or to a specific group). It does not depend by the playbook configuration.

#6 Updated by Luca Frosini about 3 years ago

  • % Done changed from 70 to 100
  • Status changed from In Progress to Closed

Andrea Dell'Amico wrote:

Luca Frosini wrote:

Can I launch it with the following command?
./run.sh orientdb.yml -i inventory/hosts.dev --tags=orientdb_hooks

Yes, correct.

Can I launch it with the following command if I want to decide where
./run.sh orientdb.yml -i inventory/hosts.dev -l orientdb01-d-d4s

You can always limit to a specific host (or to a specific group). It does not depend by the playbook configuration.

The right command is this:
./run.sh orientdb.yml -i inventory/hosts.dev -l orientdb01-d-d4s.d4science.org

Also available in: Atom PDF