Overview
GooseFS organizes and manages cache data through namespaces. The namespace of GooseFS serves as a unified access API for the GooseFS cluster to access data, and can mount multiple underlying storage systems, such as COS and Cloud HDFS.
Operation Steps
Namespace management supports creating, updating, and deleting namespaces, associating a COS storage bucket with a GooseFS cluster, and setting a cache read/write policy.
2. In the left navigation, select GooseFS > Instance List to enter the GooseFS cluster list page.
3. Select the GooseFS cluster where you need to create a namespace, enter the cluster details page, click Namespace in the sidebar, and enter the namespace subpage.
4. On the namespace page, click Add Namespace and fill in the following fields.
Bucket Source: Selectable from your account or other accounts' buckets.
Note:
When selecting other account buckets, ensure that account has corresponding bucket read/write permission.
COS Bucket: Select the bucket you need to mount.
Project Name: Namespace name.
Mounting Range: Selectable for the entire bucket or a specified directory prefix.
UFS URI: used for accessing and operating files within the file system.
Read Policy: Used to manage the cache policy of data in the GooseFS cluster when reading data from GooseFS. Currently only supports CACHE.
Write Policy: Used to manage the cache policy of data in the GooseFS cluster when writing data through GooseFS. Currently supports CACHE_THROUGH and THROUGH.
UFS Attributes: Used to set configuration information for accessing underlying storage, such as access keys.
fs.cosn.bucket.region: Selected bucket region, such as ap-beijing.
fs.cosn.flush.enabled: Whether to enable the data refresh mechanism, the default is true.
fs.cosn.upload.part.size: The shard size for multi-part upload, default is 8MB.
fs.cosn.userinfo.secretId: used to mark the identity of the API caller. One APPID can create multiple cloud API keys.
fs.cosn.userinfo.secretKey: Encryption signature key for your Tencent Cloud account, used to verify request legitimacy.
Note:
SecretId and SecretKey are collectively referred to as cloud API keys. They are secure credentials required for user access to Tencent Cloud API for identity verification. Please create them on the Cloud Access Management (CAM) page. Select Access Key > API Key in the left sidebar, then click Create Key to obtain. 5. Enter the required parameters for various operations as needed, confirm and click Confirm to execute, and just create the namespace.
6. Namespace management.
Enter the namespace page, manage in the operation items corresponding to the namespace, and support Update or Delete.
Update operation: Supports modifying Write Policy and UFS Attributes. Namespace name cannot be modified after creation.
Delete: Supports deleting the current namespace.
Following Steps
After creating a namespace, you can manage it on your nodes by adding new clients. For details, see client management.