Content Manager OnDemand supports data storage in an OpenStack Swift repository. OpenStack Swift is a highly available, distributed, eventually consistent object/blob store. You can use OpenStack Swift to store lots of data efficiently, safely, and inexpensively. More information on OpenStack Swift can be found at: http://docs.openstack.org/developer/swift/
Perform these steps to configure OpenStack Swift on an AIX, Linux, or Linux on System z server.
Two new entries must be added to the ARS.CFG file.
ARS_SWIFT_CONFIG_FILE=/opt/IBM/ondemand/V10.1/config/ars.swift
ARS_SWIFT_CONFIG_DIR=/opt/IBM/ondemand/V10.1/config
ARS_SWIFT_CONFIG_FILE=/opt/ibm/ondemand/V10.1/config/ars.swift
ARS_SWIFT_CONFIG_DIR=/opt/ibm/ondemand/V10.1/config
The ARS_SWIFT_CONFIG_FILE
entry
specifies an existing Swift configuration file which the server uses
by default.
The ARS_SWIFT_CONFIG_DIR
entry
specifies the directory in which any alternate configuration files
are kept. This directory is used if additional Swift configuration
files are defined. The names of these additional configuration files
can be specified when defining storage nodes in Content Manager OnDemand. If no configuration file is
specified in the storage node, the default configuration file is used.
The configuration file name and directory path shown in the examples are the recommended values for these entries.
The ARS_STORAGE_MANAGER
entry in the ARS.CFG
file might also need to be changed. If you specify ARS_STORAGE_MANAGER=CACHE_ONLY
,
this disables all storage managers supported by Content Manager OnDemand.
ARS_STORAGE_MANAGER=TSM
ARS_STORAGE_MANAGER
value
is set to TSM
.ARS_STORAGE_MANAGER=NO_TSM
OpenStack Swift
as an external storage
manager.C:\Program Files\IBM\OnDemand\V10.1\config
C:\Program
Files\IBM\OnDemand\V10.1\config\ars.swift
A sample configuration
file is included as part of the installation of Content Manager OnDemand.An OpenStack Swift configuration file for Content Manager OnDemand contains entries specific to your Swift implementation. You specify the location and name of the default configuration file in the ARS.CFG entry or via the OnDemand Configurator. Required entries must be specified. Optional entries are not required in the configuration file unless those values need to be changed.
The following list describes the entries that can be specified in a Swift configuration file.
http://
or https://
in
the name. This entry is required.0
- SSL will not be used1
- SSL will be used60
. This entry is
optional. Warning: Setting this value too low might cause connection
failures.https://swift.example.com:8088/v1/account/
,
the Swift configuration file contains:ARS_SWIFT_SERVER=swift.example.com
ARS_SWIFT_PORT=8088
ARS_SWIFT_TLD=/v1/account
ARS_SWIFT_USE_SSL=1
You can define the settings for using the OpenStack Swift access method on the Add a Primary Node dialog of the OnDemand Administrator client.
The Storage Node field
becomes Container Name when the Access Method is set to OpenStack
Swift
. The Container Name field is used with the OpenStack
Swift server and determines the storage hierarchy for objects stored
to this node. Containers are created if they do not already exist.
The Logon field is the OpenStack Swift user name which is used to store and retrieve data from the OpenStack Swift system. The password is also required.
The Access Method radio button
is set to OpenStack Swift
. For Content Manager OnDemand servers running on all platforms
except Windows, the Configuration File Name defaults to the value
specified by the ARS_SWIFT_CONFIG_FILE
parameter
in the ARS.CFG file if no value is entered. Otherwise, Content Manager OnDemand looks for the configuration
file in the directory defined by the ARS_SWIFT_CONFIG_DIR
parameter
specified in the ARS.CFG file. For Content Manager OnDemand servers
running on Windows, the server uses the Configuration File Name field
and the Configuration Directory field that are specified in the OnDemand
Configurator instead of using the ARS.CFG file parameters.