Skip to content

Accessing the Netapp#

  1. 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.
  2. The credentials are in ES Vault:
  3. After logging into plat-gitlab.cc.vt.edu with ssh, log into the desired NetApp management interface with this command:
    ssh vsadmin@<IP address>
    

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#

  1. Create bucket
    vserver object-store-server bucket create -bucket <bucket name> -size 100GB
    
  2. Create a user
    object-store-server user create -user <user name>
    
  3. 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