Object Lock
Disable Root
Warning
Disabling the root account is a non-reversable action in the lab
Instructions
- Login as root user to the Config Controller Node (node1) node using the password provided by your trainer
- Change directory to /opt/cloudian-staging/8.1.1 and run the script cloudianInstall.sh
/opt/cloudian-staging/8.1.1/cloudianInstall.sh
Instructions
- Select Advanced Configuration (Option 4)
- Select Disable Root Password (Option m)
- Type "yes" in response to the prompt
Note
HSH must be enabled before you can disable the root password.
Instructions
- Exit from menu and logout as root user. The root user account is now disabled
Create Object Locked Bucket
Instructions
- Login as admin user to CMC
- View User Data for previously created user
- Select + Add New Bucket
- Enter mylockedrf3bucket for bucket name
- Click Object Lock Button to enable Object Lock
- Ensure SRF3 is selected for Storage Policy
- Click Create
Instructions
- Read the Warning (and do read the warning) It is important to understand these changes are permanent for the bucket.
- Click OK to proceed.
Instructions
You will now see your new bucket, with a padlock next to the name, denoting this bucket as object locked.
- Upload the 5k file to the mylockedrf3bucket
- Try to delete the 5k object. Were you succesful? Why?
- As you can see, the bucket is configured for Object Lock, but there is no retention policy set, so objects uploaded are not locked.
Instructions
- Click on the Bucket Properties
- Click on Object Lock tab
- Notice Default Object Lock Policy is set to None
- Notice the additional Modes
Governance :- This allows Deletes
Compliance : No Deletes allowed until retention period ends. - Click on Compliance Mode
- Set a retention period of 1 day. This is the minimum that can be set via CMC.
- Click Save
Instructions
- Upload the 5k file to the mylockedrf3bucket
- Notice this time, the Object now has a version and the version has a padlock next to it. Can you delete it now?
Note
The object cannot be deleted until the retention period has expired.
Instructions
- Click on the Object properties, and then the Object Lock Tab.
Note
You cannot change Mode. You can also see when the retention period for this object ends.
You can extend the Retain Until date but not reduce it.
You may also enable a LEGAL HOLD against the object from here.