Re: attaching tier and starting rebalance daemon in single command, (needed to see all directories)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >> What I need to do is combine those two commands into a single one.
> >>
> >> What I am thinking is, at the cli level, we would first send the attach
> >> command, and if it returns successfully, send the "tier start" command.

Composing "attach-tier" and "tier-start" commands in cli is an acceptable solution.
Remember that other commands on this volume can be executed between the composed
"attach-tier" and "tier-start" command, possibly failing the tier-start command with
"Another transaction in progress" error. This could happen as the volume transaction
lock is released at the end of a command.

Alternately, you could start the promotion/demotion daemon on nodes that have
'relevant' bricks in the attach-tier command. You could choose depending on which
approach is maintainable for you.

HTH,
KP
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux