From 6b8f105b8af7512e5f7198563ed60dcf020c78eb Mon Sep 17 00:00:00 2001 From: Don Domingo Date: Thu, 8 May 2014 15:11:09 +1000 Subject: [PATCH] Document cinder API service multi-process config This patch adds a section on how to use the new osapi_volume_workers setting to increase the throughput of the Block Storage API service. Partially implements: https://blueprints.launchpad.net/cinder/+spec/multi-process-api-service Change-Id: I99f2d544bfccfe15c57f85b47c0da1b09ac54df6 --- .../section_increase-api-throughput.xml | 48 +++++++++++++++++++ doc/admin-guide-cloud/ch_blockstorage.xml | 1 + 2 files changed, 49 insertions(+) create mode 100644 doc/admin-guide-cloud/blockstorage/section_increase-api-throughput.xml diff --git a/doc/admin-guide-cloud/blockstorage/section_increase-api-throughput.xml b/doc/admin-guide-cloud/blockstorage/section_increase-api-throughput.xml new file mode 100644 index 0000000000..ea0a94419d --- /dev/null +++ b/doc/admin-guide-cloud/blockstorage/section_increase-api-throughput.xml @@ -0,0 +1,48 @@ + +
+ + Increase Block Storage API service throughput + + By default, the Block Storage API service runs in one process. + This limits the number of API requests that the Block Storage + service can process at any given time. In a production + environment, you should increase the Block Storage API throughput + by allowing the Block Storage API service to run in as many + processes as the machine capacity allows. + + + + The Block Storage API service is named + openstack-cinder-api on the following + distributions: CentOS, Fedora, openSUSE, Red Hat Enterprise + Linux, and SUSE Linux Enterprise. In Ubuntu and Debian + distributions, the Block Storage API service is named + cinder-api. + + + To do so, use the Block Storage API service option + osapi_volume_workers. This option allows + you to specify the number of API service workers (or OS processes) + to launch for the Block Storage API service. + + + To configure this option, open the + /etc/cinder/cinder.conf configuration file + and set the osapi_volume_workers configuration + key to the number of CPU cores/threads on a machine. + + + On distributions that + include openstack-config, you can + configure this by running the following command instead: + + # openstack-config --set /etc/cinder/cinder.conf \ + DEFAULT osapi_volume_workers CORES + + Replace CORES with the number of CPU + cores/threads on a machine. + +
diff --git a/doc/admin-guide-cloud/ch_blockstorage.xml b/doc/admin-guide-cloud/ch_blockstorage.xml index 295b0ba662..11ad8497fc 100644 --- a/doc/admin-guide-cloud/ch_blockstorage.xml +++ b/doc/admin-guide-cloud/ch_blockstorage.xml @@ -32,6 +32,7 @@ Storage (EBS) offering. +
Manage volumes The default OpenStack Block Storage service