Complete the following steps:
(Recommended) Create a virtual IP pool dedicated to VAST Database.
Set up a database owner user.
Create at least one database and a schema.
Creating a Dedicated Virtual IP Pool
It is recommended to create a dedicated virtual IP pool containing only the CNodes which you want to dedicate for servicing VAST Database workloads. This prevents any performance implications for other VAST Cluster services.
Contact your cluster admin to create a dedicated virtual IP pool for VAST Database.
Setting Up a Database Owner User
Choose an existing VAST Cluster user or create a new one. For instructions on how to create a VAST Cluster user, see Managing Local Users.
Ensure that the user is allowed to create S3 buckets:
In VAST Web UI, open the Update User dialog (User Management -> Users -> edit a user) and verify that the Allow Create Bucket option is enabled.
Creating a Database and a Schema
By creating a VAST database, you create an Element Store view where database tables will be stored. A Database-enabled view must have a policy and the Database protocol type. You can manage Database-enabled views in the same way as other views.
Caution
A VAST database table created on an Element Store view looks like a file on a filesystem. Ensure that you have proper access policies in place to prevent non-authorized access to or manipulation of database tables.
A database can have one or more schemas. A schema contains one or more tables which store data.
Creating a Database and Schema using the VAST Web UI
To create a database and a schema via VAST Web UI:
Choose DataBase -> VAST DB.
In the VAST DB page that opens, click + New Database.
In the New Database dialog, enter the following required settings:
Database Name: Enter the name for your database. Database naming requirements are the same as for S3 bucket names.
Policy name: Select a policy. This policy should match the policy chosen for the Database-enabled view.
Path: Specify a path for the database.
Database owner: Specify the name of the database owner user.
Click Create.
The new database is displayed in the database tree.
Select the newly created database in the database tree and click + Add Schema.
In the Add Schema dialog that opens, enter a name for the schema. Schema naming requirements are the same as for S3 object names.
Click Create.
The new schema is displayed under the database in the database tree.