Buckets
Enable view-user-data
Instructions
- Select Users & Groups / Manage Users
- Ensure Users is selected in Group Name
- Click Search
Note
By Default in versions 7.2+, an admin or group admin cannot manage the buckets and objects
of users within the CMC (admin can still manage S3 credentials of users, therefore utilizing
an external S3 client will allow admins to manage user objects)
If you did not enable this functionality during the build process you must do it now.
Configuring View_User_Data as root (if not completed earlier)
Instructions
- Log-in to your config node1 using SSH as root user
- We will use the "sed" command to directly modify the common.csv configuration file
As an alternative we could navigate to the file and modify using vi.
sed -i 's/.*cmc_view_user_data,.*/cmc_view_user_data,true/g' /etc/cloudian-7.5.2-puppet/manifests/extdata/common.csv
- cd to /etc/cloudian-7.5.2-puppet/manifests/extdata then vi common.csv
- In the 'vi' editor, type /cmc_view_user_data to search for the config option
- Edit the file and set the following: cmc_view_user_data,true
Instructions
- Press Esc key to ensure you are not in edit mode
- Then Press Shift Key + Z + Z to save and quit the file common.csv
- Run the cloudianInstall.sh script
/opt/cloudian-staging/7.5.2/cloudianInstall.sh
- Choose option 2) Cluster Management then option b) Push Configuration Setting to Cluster
- Press Enter to push changes to all nodes. Remember to exit the script on completion.
Create Bucket
Info
Some application buckets require a unique Storage Policy to be assigned to them, for instance Veeam. Be aware of the application requirements so you can ensure your bucket/storage policy configuration is correct.
Instructions
- Select Users & Groups then Manage Users
- Ensure Users is selected in Group Name
- Click Search
You can now see the View User data under Actions
Click View User Data to create a new bucket for the user.
Instructions
- Type “myrf3bucket” in Bucket Name
- Select RF3 Storage Policy
- Click Create
Notice that you cannot enable Object Lock on this bucket. The reason is shown if you hover over the Disable button.
Warning
You can only enable Object Lock on a bucket at creation, you cannot enable Object Lock later
Upload Data to Bucket
Instructions
- Logout from the Admin user
- Login as the User you created in Chapter 2
- Ensure Buckets and Objects Selected
- Click Objects Tab
- Select “myrf3bucket”
- Click Upload File
- Click + Add files
- Choose 5K and 50K Files from the course materials
- Click Start Upload
- Ensure Upload completes successfully
- Logout of the User session
Locate Object
Instructions
- Login as Admin User
- Select Analytics Tab
- Select Object Locator Sub-Tab
- Type “myrf3bucket” in Bucket Name
- Type 5k in Object Name
- Click Find
- Validate Type as “REPLICAS”
- Validate that there are 3 Separate Replicas
Instructions
- Type 50k in Object Name
- Click Find
- Validate Type as “REPLICAS”
- Validate that there are 3 Separate Replicas
Info
Note that currently the object locator does not support wildcard as entries. You must put in exact Bucket / Object names.