High Availability of Bookshelf in Chef 11

Hello,

According to document[1] of Chef 11 Server, there is an option in Bookshelf
part

bookshelf[‘ha’] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf cluster
with multiple nodes running Bookshelf service and Bookshelf will sync data
(replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

Hello,

According to document[1] of Chef 11 Server, there is an option in Bookshelf
part

bookshelf[‘ha’] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf cluster
with multiple nodes running Bookshelf service and Bookshelf will sync data
(replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html


Sent from Gmail Mobile

Please don't re-send the same question to the list more than once.

--Noah

On Jun 10, 2014, at 3:30 PM, tetsu soh tetsu.soh@gmail.com wrote:

Hello,

According to document[1] of Chef 11 Server, there is an option in Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf cluster with multiple nodes running Bookshelf service and Bookshelf will sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

--
Sent from Gmail Mobile

I know. Sorry for that.

The mail looks failed to delivery so I clicked the send button again.

Tetsu

2014年6月11日水曜日、Noah Kantrowitznoah@coderanger.netさんは書きました:

Please don't re-send the same question to the list more than once.

--Noah

On Jun 10, 2014, at 3:30 PM, tetsu soh <tetsu.soh@gmail.com <javascript:;>>
wrote:

Hello,

According to document[1] of Chef 11 Server, there is an option in
Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf
cluster with multiple nodes running Bookshelf service and Bookshelf will
sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

--
Sent from Gmail Mobile

--
Sent from Gmail Mobile

No, Bookshelf doesn't sync the data for you. That configuration option maps
to the HA configuration of Enterprise Chef, and it essentially disables the
service by default and hands control over its state to a supervisor. We use
DRBD to replicate the block device between two nodes, and keepalived to
transition a VIP between them.

Adam

On Tue, Jun 10, 2014 at 8:54 AM, tetsu soh tetsu.soh@gmail.com wrote:

Hello,

According to document[1] of Chef 11 Server, there is an option in
Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf
cluster with multiple nodes running Bookshelf service and Bookshelf will
sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: adam@opscode.com

Hi Adam,

Thank you!

One more question, is it possible to use S3 as a bookshelf service?

Regards,

Tetsu

2014年6月11日水曜日、Adam Jacobadam@opscode.comさんは書きました:

No, Bookshelf doesn't sync the data for you. That configuration option
maps to the HA configuration of Enterprise Chef, and it essentially
disables the service by default and hands control over its state to a
supervisor. We use DRBD to replicate the block device between two nodes,
and keepalived to transition a VIP between them.

Adam

On Tue, Jun 10, 2014 at 8:54 AM, tetsu soh <tetsu.soh@gmail.com
<javascript:_e(%7B%7D,'cvml','tetsu.soh@gmail.com');>> wrote:

Hello,

According to document[1] of Chef 11 Server, there is an option in
Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf
cluster with multiple nodes running Bookshelf service and Bookshelf will
sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: adam@opscode.com
<javascript:_e(%7B%7D,'cvml','adam@opscode.com');>

--
Sent from Gmail Mobile

Bookshelf conforms the S3 api, so it's possible to use S3 itself instead
of bookshelf.

See the bookshelf options here:
http://docs.opscode.com/config_rb_chef_server_optional_settings.html#bookshelf

You'll want to set the bookshelf url to point to an S3 bucket and set
the access and secret keys appropriately, then do a chef-server-ctl
reconfigure so the settings are picked up and you should be good to go.

At that point you can even disable the bookshelf service if you want, as
the server will pick up the settings and talk directly to S3, so
bookshelf itself doesn't have to be running.

  • Mark

tetsu soh mailto:tetsu.soh@gmail.com
June 10, 2014 at 8:19 PM
Hi Adam,

Thank you!

One more question, is it possible to use S3 as a bookshelf service?

Regards,

Tetsu

2014年6月11日水曜日、Adam Jacob<adam@opscode.com
mailto:adam@opscode.com>さんは書きました:

--
Sent from Gmail Mobile
Adam Jacob mailto:adam@opscode.com
June 10, 2014 at 7:53 PM
No, Bookshelf doesn't sync the data for you. That configuration option
maps to the HA configuration of Enterprise Chef, and it essentially
disables the service by default and hands control over its state to a
supervisor. We use DRBD to replicate the block device between two
nodes, and keepalived to transition a VIP between them.

Adam

--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: adam@opscode.com mailto:adam@opscode.com
tetsu soh mailto:tetsu.soh@gmail.com
June 10, 2014 at 11:54 AM
Hello,

According to document[1] of Chef 11 Server, there is an option in
Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf
cluster with multiple nodes running Bookshelf service and Bookshelf
will sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

Absolutely.

On Tue, Jun 10, 2014 at 5:19 PM, tetsu soh tetsu.soh@gmail.com wrote:

Hi Adam,

Thank you!

One more question, is it possible to use S3 as a bookshelf service?

Regards,

Tetsu

2014年6月11日水曜日、Adam Jacobadam@opscode.comさんは書きました:

No, Bookshelf doesn't sync the data for you. That configuration option

maps to the HA configuration of Enterprise Chef, and it essentially
disables the service by default and hands control over its state to a
supervisor. We use DRBD to replicate the block device between two nodes,
and keepalived to transition a VIP between them.

Adam

On Tue, Jun 10, 2014 at 8:54 AM, tetsu soh tetsu.soh@gmail.com wrote:

Hello,

According to document[1] of Chef 11 Server, there is an option in
Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf
cluster with multiple nodes running Bookshelf service and Bookshelf will
sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: adam@opscode.com

--
Sent from Gmail Mobile

--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: adam@opscode.com

Great!

Thank you for your detailed answer!

2014年6月11日水曜日、Mark Mzykmmzyk@getchef.comさんは書きました:

Bookshelf conforms the S3 api, so it's possible to use S3 itself instead
of bookshelf.

See the bookshelf options here:
http://docs.opscode.com/config_rb_chef_server_optional_settings.html#bookshelf

You'll want to set the bookshelf url to point to an S3 bucket and set the
access and secret keys appropriately, then do a chef-server-ctl reconfigure
so the settings are picked up and you should be good to go.

At that point you can even disable the bookshelf service if you want, as
the server will pick up the settings and talk directly to S3, so bookshelf
itself doesn't have to be running.

  • Mark

    tetsu soh <javascript:_e(%7B%7D,'cvml','tetsu.soh@gmail.com');>
    June 10, 2014 at 8:19 PM
    Hi Adam,

Thank you!

One more question, is it possible to use S3 as a bookshelf service?

Regards,

Tetsu

2014年6月11日水曜日、Adam Jacob<adam@opscode.com
<javascript:_e(%7B%7D,'cvml','adam@opscode.com');>>さんは書きました:

--
Sent from Gmail Mobile
Adam Jacob <javascript:_e(%7B%7D,'cvml','adam@opscode.com');>
June 10, 2014 at 7:53 PM
No, Bookshelf doesn't sync the data for you. That configuration option
maps to the HA configuration of Enterprise Chef, and it essentially
disables the service by default and hands control over its state to a
supervisor. We use DRBD to replicate the block device between two nodes,
and keepalived to transition a VIP between them.

Adam

--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: adam@opscode.com
<javascript:_e(%7B%7D,'cvml','adam@opscode.com');>
tetsu soh <javascript:_e(%7B%7D,'cvml','tetsu.soh@gmail.com');>
June 10, 2014 at 11:54 AM
Hello,

According to document[1] of Chef 11 Server, there is an option in
Bookshelf part

bookshelf['ha'] : Use to run the Chef server in a high availability
topology. Default value: false.

What does this mean? Does the HA here mean we can setup a bookshelf
cluster with multiple nodes running Bookshelf service and Bookshelf will
sync data (replica) automatically for us?
If it is true, how can I specify nodes in the cluster?
If it is false, how can I set up a cluster of Bookshelf ?
Can I use other S3 service instead of Bookshelf ?

Thank you for your help.

Regards,

Tetsu

[1] http://docs.opscode.com/config_rb_chef_server_optional_settings.html

--
Sent from Gmail Mobile

On Wed, 11 Jun 2014 09:19:24 +0900
tetsu soh tetsu.soh@gmail.com wrote:

One more question, is it possible to use S3 as a bookshelf service?

Hi tetsu!

Julian C. Dunn wrote about this a few months ago:

http://lists.opscode.com/sympa/arc/chef/2014-04/msg00327.html

--
Xabier de Zuazo Oteiza
IT System Administrator - Onddo Labs S.L.
www.onddo.com

Public Key = http://www.onddo.com/xabier_zuazo.pub
Key Fingerprint = 8EFA 5B17 7275 5F1F 42B2 26B4 8E18 8B67 9DE1 9468