standardize support uploads customer name
anhowe opened this issue · comments
Anthony Howe commented
Standardize on the support name for the cluster:
av0x2dCUSTOMER0x2dRESOURCE_GROUP-CLUSTER
The name is separated by separator 0x2d and must match the following regular expression ^av([-a-zA-Z0-9_]*[a-zA-Z0-9])?$
and spaces can be converted to _
.
The following lists each of the 4 parts:
- av - this represents that this is a dynamic avere cluster
- CUSTOMER - this is a customer name supplied in variable
support_uploads_company_name
or if not specified, the first stanza (all lowercase) of the subscription id. - RESOURCE_GROUP - this is the resource group specified by
azure_resource_group
and is transformed to match the regular expression above. - CLUSTER - this is cluster name specified by
vfxt_cluster_name
The combination of resource group and cluster name always ensures a unique cluster name.
Once cluster is up, and specify use support.modify customerId
to apply the name av0x2dCUSTOMER0x2dRESOURCE_GROUP-CLUSTER
For testing, run the following commands on the cluster:
lsu clustername
- this shows the cluster namelsu gsiInfo custID
- this shows the support name