Internal Object Store¶
Before you start¶
Goal
- Setup the Altair SLC Hub to use the internal object store.
Prerequisites
- Altair SLC Hub configuration privileges for the host.
Configuring the internal object store connection¶
External Object Store
- If intending to use an external object store, see here.
Altair SLC Hub will install an object store out the box for easy use.
The connection to the object is configured using the object_store
configuration section.
A list of the configuration settings and comments on their use is found in the hub configuration file [etc directory]/config.d/object_store.yaml
.
By default, the Altair SLC Hub will attempt to detect legacy configuration in an s3
section.
If no s3
section exists, it will default to the internal object store.
To make sure Altair SLC Hub is using the internal object store, create a configuration file with a lexicographically greater name, such as object_store_internal.yaml
.
Set the contents of the file to:
object_store:
type: internal
Boostrap will initilise the internal object store.
Start the object store¶
Note
You must have bootstrapped the Altair SLC Hub to start/stop the internal object store.
Now start the object store service with the following command:
hubctl service start objstore
Check that the service has started successfully:
hubctl service status objstore
Verification¶
Verify object store
- run the hubctl verify objectstore command
It is possible to verify that the connection information for the object store is correct.
Using the internal object store, this must be after running bootstrap and the service must be running.
To do this, use the following hubctl
command:
hubctl verify objectstore