Accessing the Netapp
- The NetApp management endpoint is accessible by SSH from plat-gitlab.cc.vt.edu. You can find the IP addresses to SSH to under
NetApp SVM Management LIFs
in the On-Prem Architecture doc.
- The credentials are in ES Vault:
- After logging into plat-gitlab.cc.vt.edu with ssh, log into the desired NetApp management interface with this command:
S3 administration
Show all buckets
object-store-server bucket show
Show details about a specific bucket
object-store-server bucket show -bucket <bucket name>
Create a new bucket
- Create bucket
vserver object-store-server bucket create -bucket <bucket name> -size 100GB
- Create a user
object-store-server user create -user <user name>
- Create bucket policy for a user
vserver object-store-server bucket policy add-statement -bucket <bucket name> -principal <user name> -effect allow -action GetObject,PutObject,DeleteObject,ListBucket,GetBucketLocation,GetBucketVersioning,ListBucketVersions,GetBucketPolicy,GetLifecycleConfiguration