Discussion:
[drbd-mc] Possible to save root password?
Caspar Smit
2011-01-13 10:26:50 UTC
Permalink
Hi all,

I'm trying the drbd mc for managing a HBv3/Pacemaker cluster using
DRBD and so far I like it a lot.

Few questions:

1) Is it possible to save the root password somewhere so I don't have
to login to the nodes upon starting up drbd-mc?

2) I have 4 drbd master/slave sets with a group of services on each
(with colocation/order constraints).
I have location contraints to prefer node1 for all resources.

When I do left click on node1 and do "Migrate all resouces away" all
resources get migrated to node2 with no problem,
so far so good. How would I migrate all resources back to node1
because I can't see a "remove migration constraint" button on node1?
When I manually try to migrate the groups back with "remove migration
constraint" it takes "no action" (i can only unmigrate the DRBD master
slave sets)

I have to go into the config manually and delete the cli location
constraints to get everything back to normal.

I hope I explained well enough

Kind regards,

Caspar Smit
Systemengineer
True Bit Resources B.V.
Amp?restraat 13E
1446 TP? Purmerend

T: +31(0)299 410 475
F: +31(0)299 410 476
@: c.smit at truebit.nl
W: www.truebit.nl
Rasto Levrinc
2011-01-13 10:43:49 UTC
Permalink
Post by Caspar Smit
Hi all,
I'm trying the drbd mc for managing a HBv3/Pacemaker cluster using
DRBD and so far I like it a lot.
1) Is it possible to save the root password somewhere so I don't have
to login to the nodes upon starting up drbd-mc?
Saving root passwords wouldn't be a good idea. The safer way is to set up
passwordless SSH keys.
Post by Caspar Smit
2) I have 4 drbd master/slave sets with a group of services on each
(with colocation/order constraints).
I have location contraints to prefer node1 for all resources.
When I do left click on node1 and do "Migrate all resouces away" all
resources get migrated to node2 with no problem, so far so good. How would
I migrate all resources back to node1
because I can't see a "remove migration constraint" button on node1? When I
manually try to migrate the groups back with "remove migration constraint"
it takes "no action" (i can only unmigrate the DRBD master slave sets)
I have to go into the config manually and delete the cli location
constraints to get everything back to normal.
I hope I explained well enough
First, there is a "Remove All Migration Constraints" if you right-click on
the background, not on the node, since it is not node specific.

Second "Remove Migration Constraint" in the group menu removes only
migration constraint of the group, not on every group resource. You could
still go through all the group services and press "remove migration
constraint", but anyway it is a usability bug and I am going to fix it
right away.

Rasto Levrinc
--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
Caspar Smit
2011-01-13 11:05:57 UTC
Permalink
Rasto,

Thanks! I totally missed that you could left click the background!
This fixed all migration contraints :)

For the password I will use passwordless ssh keys, thanks for the tip.

Kind regards,

Caspar Smit
Systemengineer
True Bit Resources B.V.
Amp?restraat 13E
1446 TP? Purmerend

T: +31(0)299 410 475
F: +31(0)299 410 476
@: c.smit at truebit.nl
W: www.truebit.nl
Post by Rasto Levrinc
Post by Caspar Smit
Hi all,
I'm trying the drbd mc for managing a HBv3/Pacemaker cluster using
DRBD and so far I like it a lot.
1) Is it possible to save the root password somewhere so I don't have
to login to the nodes upon starting up drbd-mc?
Saving root passwords wouldn't be a good idea. The safer way is to set up
passwordless SSH keys.
Post by Caspar Smit
2) I have 4 drbd master/slave sets with a group of services on each
(with colocation/order constraints).
I have location contraints to prefer node1 for all resources.
When I do left click on node1 and do "Migrate all resouces away" all
resources get migrated to node2 with no problem, so far so good. How would
I migrate all resources back to node1
because I can't see a "remove migration constraint" button on node1? When I
manually try to migrate the groups back with "remove migration constraint"
it takes "no action" (i can only unmigrate the DRBD master slave sets)
I have to go into the config manually and delete the cli location
constraints to get everything back to normal.
I hope I explained well enough
First, there is a "Remove All Migration Constraints" if you right-click on
the background, not on the node, since it is not node specific.
Second "Remove Migration Constraint" in the group menu removes only
migration constraint of the group, not on every group resource. You could
still go through all the group services and press "remove migration
constraint", but anyway it is a usability bug and I am going to fix it
right away.
Rasto Levrinc
--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
Peter Ambroz
2011-01-13 10:50:03 UTC
Permalink
Post by Caspar Smit
Hi all,
I'm trying the drbd mc for managing a HBv3/Pacemaker cluster using
DRBD and so far I like it a lot.
1) Is it possible to save the root password somewhere so I don't have
to login to the nodes upon starting up drbd-mc?
The standard way of doing this is to use SSH keys without passphrase.
Insecure, but you're the keeper of the keys, not the application itself,
which could pose more security considerations.

Peter
Loading...