Create New Bucket
This section explains how to create buckets in a BucketFS service.
Prerequisites
You must have a BucketFS service configured. For more information, see Create New Bucket.
Procedure
This procedure is carried out using ConfD.
The following examples use ConfD through the command-line tool confd_client, which is accessible on all database nodes. You can also access ConfD through XML-RPC in your own Python programs. For more information, see ConfD.
Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.
To create a bucket, use the ConfD job bucket_add. For example:
confd_client -c bucket_add -a '{bucket_name: BUCKET_NAME, bucketfs_name: BUCKETFS_NAME, public: False, read_password: READPW, write_password: WRITEPW}'
Verification
To verify that the bucket was successfully created, use the ConfD job bucketfs_info:
Next Steps
For information about how to access and use the new bucket, see Manage Buckets and Files in BucketFS.
See Also
For information about how to expand scripting languages using BucketFS, see Adding New Packages to Existing Script Languages.