зеркало из https://github.com/Azure/Avere.git
Removing references to azure storage accounts that are no longer used or have the risk of being controlled by external entitites.
This commit is contained in:
Родитель
b1337df5b6
Коммит
8e3157337a
|
@ -226,7 +226,7 @@ https://aka.ms/downloadazcopy
|
|||
Now copy the image to Azure:
|
||||
```
|
||||
cd 'C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy\'
|
||||
.\AzCopy.exe /Source:C:\Path\To\Image\ubuntu-demo-image.vhd /Dest:https://myvmstore.blob.core.windows.net/public/ubuntu-demo-image.vhd /DestKey:/<key here> /BlobType:page
|
||||
.\AzCopy.exe /Source:C:\Path\To\Image\ubuntu-demo-image.vhd /Dest:(https://URI_TO_AZURE_STORAGE_ACCOUNT/public/ubuntu-demo-image.vhd) /DestKey:/<key here> /BlobType:page
|
||||
```
|
||||
|
||||
# Create VM from VHD
|
||||
|
|
|
@ -96,7 +96,7 @@ The Avere vFXT cluster uses managed service identity (MSI) for normal cluster op
|
|||
3. Use these commands to download the role definition and paste in your subscription ID.
|
||||
|
||||
```bash
|
||||
wget -O- https://averedistribution.blob.core.windows.net/public/vfxtdistdoc.tgz | tar zxf - avere-cluster.json
|
||||
wget -O- https://URI_TO_AZURE_STORAGE_ACCOUNT/public/vfxtdistdoc.tgz | tar zxf - avere-cluster.json
|
||||
vi avere-cluster.json
|
||||
```
|
||||
|
||||
|
|
|
@ -89,4 +89,4 @@ SVRSecure-G3-crl.verisign.com sd.symcd.com
|
|||
download.averesystems.com download.averesystems.net Avere software
|
||||
updates Allow the IP range 65.123.167.224/29 to pass through your
|
||||
firewall on port 443 avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT
|
|
@ -6,4 +6,4 @@ SVRSecure-G3-crl.verisign.com sd.symcd.com
|
|||
download.averesystems.com download.averesystems.net Avere software
|
||||
updates Allow the IP range 65.123.167.224/29 to pass through your
|
||||
firewall on port 443 avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT
|
|
@ -144,7 +144,7 @@ to pass through your
|
|||
firewall on port 443</td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td>avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net</td>
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
|
|
@ -92,7 +92,7 @@ to pass through your
|
|||
firewall on port 443</td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td>avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net</td>
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
|
|
@ -89,4 +89,4 @@ SVRSecure-G3-crl.verisign.com sd.symcd.com
|
|||
download.averesystems.com download.averesystems.net Avere software
|
||||
updates Allow the IP range 65.123.167.224/29 to pass through your
|
||||
firewall on port 443 avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT
|
||||
|
|
|
@ -6,4 +6,4 @@ SVRSecure-G3-crl.verisign.com sd.symcd.com
|
|||
download.averesystems.com download.averesystems.net Avere software
|
||||
updates Allow the IP range 65.123.167.224/29 to pass through your
|
||||
firewall on port 443 avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT
|
|
@ -130,7 +130,7 @@ to pass through your
|
|||
firewall on port 443</td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td>avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net</td>
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
|
|
@ -79,7 +79,7 @@ to pass through your
|
|||
firewall on port 443</td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td>avere-billing.appspot.com
|
||||
averedist.blob.core.windows.net</td>
|
||||
URI_TO_AZURE_STORAGE_ACCOUNT</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
|
|
@ -104,7 +104,7 @@ dbutil.py set mass2 serverName avereblobstorage.blob.core.usgovcloudapi.net -x
|
|||
|
||||
Was set to:
|
||||
```
|
||||
serverName: avereblobstorage.blob.core.windows.net
|
||||
serverName: URI_TO_AZURE_STORAGE_ACCOUNT
|
||||
```
|
||||
|
||||
###### Configure junction:
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"pattern": "127.0.0.1"
|
||||
},
|
||||
{
|
||||
"pattern": "^https://STORAGEACCOUNT.blob.core.windows.net/vhd/centos74.vhd"
|
||||
"pattern": "^https://URI_TO_AZURE_STORAGE_ACCOUNT/vhd/centos74.vhd"
|
||||
},
|
||||
{
|
||||
"pattern": "^https://wiki.linux-nfs.org/wiki/index.php/ACLs#The_ACL_Interoperability_Problem"
|
||||
|
|
|
@ -122,7 +122,7 @@ Install-DesktopLinks($UserPath)
|
|||
$lnk = $wshshell.CreateShortcut("c:\Users\$UserPath\Desktop\AvereMgmt.lnk")
|
||||
$lnk.TargetPath = "https://${AvereManagementIP}/avere/fxt/index.php"
|
||||
$AvereIconDestinationPath = "C:\Windows\System32\avere.ico"
|
||||
$AvereIconUrl = "https://avereimageswestus.blob.core.windows.net/archive/avere.ico"
|
||||
$AvereIconUrl = "URI_TO_AZURE_STORAGE_ACCOUNT/archive/avere.ico"
|
||||
DownloadFileOverHttp $AvereIconUrl $AvereIconDestinationPath
|
||||
$lnk.IconLocation = "$AvereIconDestinationPath, 0"
|
||||
$lnk.Save()
|
||||
|
@ -219,7 +219,7 @@ Install-WindowsPacks
|
|||
# install the windows pack
|
||||
$DestinationPath = "C:\AzureData\Windows_Pack_x64_1709.msu"
|
||||
$DestinationLog = "C:\AzureData\Windows_Pack_x64_1709.txt"
|
||||
$WindowsPackUrl = "https://avereimageswestus.blob.core.windows.net/archive/Windows_Pack_x64_1709.msu"
|
||||
$WindowsPackUrl = "https://URI_TO_AZURE_STORAGE_ACCOUNT/archive/Windows_Pack_x64_1709.msu"
|
||||
DownloadFileOverHttp $WindowsPackUrl $DestinationPath
|
||||
Write-Log "installing Windows pack: Wusa.exe $DestinationPath /quiet /log:$DestinationLog"
|
||||
Wusa.exe "$DestinationPath" /quiet /log:$DestinationLog
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
productionBlobURLTemplate = "https://%s.blob.core.windows.net"
|
||||
productionBlobURLTemplate = "https://%s.URI_TO_AZURE_STORAGE_ACCOUNT"
|
||||
)
|
||||
|
||||
// BlobContainer represents a blob container, this can be used to read/write blockblobs, appendblobs, or page blobs
|
||||
|
|
|
@ -37,7 +37,7 @@ git pull origin main
|
|||
|
||||
```bash
|
||||
### begin output commands (copy paste from the terraform output commands)
|
||||
export SAS_PREFIX=https://abanhowestorageaccount.blob.core.windows.net/previz?
|
||||
export SAS_PREFIX=https://URI_TO_AZURE_STORAGE_ACCOUNT/previz?
|
||||
export SAS_SUFFIX=$(az storage container generate-sas --account-name abanhowestorageaccount --https-only --permissions acdlrw --start 2020-04-06T00:00:00Z --expiry 2021-01-01T00:00:00Z --name previz --output tsv)
|
||||
#### end output commands
|
||||
|
||||
|
@ -103,9 +103,9 @@ One the logging is enabled you access the logs via the `$logs` container as show
|
|||
The following are sample logs after downloading one of the log files:
|
||||
|
||||
```
|
||||
2.0;2020-04-07T14:06:54.8894735Z;GetBlob;SASSuccess;206;7;7;sas;;aenhowestorageaccount;blob;"https://aenhowestorageaccount.blob.core.windows.net:443/previz/src/terraform/examples/jumpbox/main.tf?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/src/terraform/examples/jumpbox/main.tf";2a16ee81-c01e-0010-73e5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;532;0;478;2017;0;;;""0x8D7DAFB6E490984"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"4317add7-4052-49b1-45ec-0747a1797a2b";;;;;;;;
|
||||
2.0;2020-04-07T14:06:54.9385068Z;GetBlob;SASSuccess;206;43;2;sas;;aenhowestorageaccount;blob;"https://aenhowestorageaccount.blob.core.windows.net:443/previz/src/terraform/examples/vfxt/3-filers/README.md?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/src/terraform/examples/vfxt/3-filers/README.md";2a16eea6-c01e-0010-13e5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;540;0;478;2964;0;;;""0x8D7DAFB6E497EC3"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"3495f5cd-8671-45c6-5c3b-ea4fd86926bb";;;;;;;;
|
||||
2.0;2020-04-07T14:06:54.9865415Z;GetBlob;SASSuccess;206;44;2;sas;;aenhowestorageaccount;blob;"https://aenhowestorageaccount.blob.core.windows.net:443/previz/src/terraform/examples/vfxt/vdbench/azureblobfiler/main.tf?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/src/terraform/examples/vfxt/vdbench/azureblobfiler/main.tf";2a16eec7-c01e-0010-32e5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;552;0;478;7217;0;;;""0x8D7DAFB6E470D53"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"b5924eeb-84cd-4e3a-4f09-7fadd6542dab";;;;;;;;
|
||||
2.0;2020-04-07T14:06:55.0305726Z;GetBlob;SASSuccess;206;4;4;sas;;aenhowestorageaccount;blob;"https://aenhowestorageaccount.blob.core.windows.net:443/previz/.git/logs/refs/remotes/origin/pr200218f?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/.git/logs/refs/remotes/origin/pr200218f";2a16eee3-c01e-0010-4ee5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;532;0;475;180;0;;;""0x8D7DAFB6E3EA764"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"cbf3467b-b22d-4a57-6d05-06bf4e61def0";;;;;;;;
|
||||
2.0;2020-04-07T14:06:55.0806070Z;GetBlob;SASSuccess;206;3;3;sas;;aenhowestorageaccount;blob;"https://aenhowestorageaccount.blob.core.windows.net:443/previz/.git/refs/remotes/origin/pr032020?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/.git/refs/remotes/origin/pr032020";2a16ef20-c01e-0010-0ae5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;525;0;472;41;0;;;""0x8D7DAFB6E3E8050"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"814843f5-86a7-4728-4124-f2e893ee6302";;;;;;;;
|
||||
2.0;2020-04-07T14:06:54.8894735Z;GetBlob;SASSuccess;206;7;7;sas;;aenhowestorageaccount;blob;"https://URI_TO_AZURE_STORAGE_ACCOUNT:443/previz/src/terraform/examples/jumpbox/main.tf?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/src/terraform/examples/jumpbox/main.tf";2a16ee81-c01e-0010-73e5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;532;0;478;2017;0;;;""0x8D7DAFB6E490984"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"4317add7-4052-49b1-45ec-0747a1797a2b";;;;;;;;
|
||||
2.0;2020-04-07T14:06:54.9385068Z;GetBlob;SASSuccess;206;43;2;sas;;aenhowestorageaccount;blob;"https://URI_TO_AZURE_STORAGE_ACCOUNT:443/previz/src/terraform/examples/vfxt/3-filers/README.md?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/src/terraform/examples/vfxt/3-filers/README.md";2a16eea6-c01e-0010-13e5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;540;0;478;2964;0;;;""0x8D7DAFB6E497EC3"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"3495f5cd-8671-45c6-5c3b-ea4fd86926bb";;;;;;;;
|
||||
2.0;2020-04-07T14:06:54.9865415Z;GetBlob;SASSuccess;206;44;2;sas;;aenhowestorageaccount;blob;"https://URI_TO_AZURE_STORAGE_ACCOUNT:443/previz/src/terraform/examples/vfxt/vdbench/azureblobfiler/main.tf?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/src/terraform/examples/vfxt/vdbench/azureblobfiler/main.tf";2a16eec7-c01e-0010-32e5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;552;0;478;7217;0;;;""0x8D7DAFB6E470D53"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"b5924eeb-84cd-4e3a-4f09-7fadd6542dab";;;;;;;;
|
||||
2.0;2020-04-07T14:06:55.0305726Z;GetBlob;SASSuccess;206;4;4;sas;;aenhowestorageaccount;blob;"https://URI_TO_AZURE_STORAGE_ACCOUNT:443/previz/.git/logs/refs/remotes/origin/pr200218f?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/.git/logs/refs/remotes/origin/pr200218f";2a16eee3-c01e-0010-4ee5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;532;0;475;180;0;;;""0x8D7DAFB6E3EA764"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"cbf3467b-b22d-4a57-6d05-06bf4e61def0";;;;;;;;
|
||||
2.0;2020-04-07T14:06:55.0806070Z;GetBlob;SASSuccess;206;3;3;sas;;aenhowestorageaccount;blob;"https://URI_TO_AZURE_STORAGE_ACCOUNT:443/previz/.git/refs/remotes/origin/pr032020?se=2021-01-01T00%3A00%3A00Z&sig=XXXXX&sip=24.155.118.199&sp=racwdl&spr=https&sr=c&st=2020-04-06T00%3A00%3A00Z&sv=2018-11-09&timeout=901";"/aenhowestorageaccount/previz/.git/refs/remotes/origin/pr032020";2a16ef20-c01e-0010-0ae5-0cd55c000000;0;24.155.118.199:61943;2018-03-28;525;0;472;41;0;;;""0x8D7DAFB6E3E8050"";Tuesday, 07-Apr-20 13:56:11 GMT;"If-Unmodified-Since=Tuesday, 07-Apr-20 13:56:12 GMT";"AzCopy/10.3.4 Azure-Storage/0.7 (go1.13; Windows_NT)";;"814843f5-86a7-4728-4124-f2e893ee6302";;;;;;;;
|
||||
```
|
|
@ -132,7 +132,7 @@ output "rdp_address" {
|
|||
}
|
||||
|
||||
output "storage_account_container_sas_command_prefix" {
|
||||
value = "export SAS_PREFIX=https://${local.storage_account_name}.blob.core.windows.net/${local.container_name}?"
|
||||
value = "export SAS_PREFIX=https://${local.storage_account_name}.URI_TO_AZURE_STORAGE_ACCOUNT/${local.container_name}?"
|
||||
}
|
||||
|
||||
output "storage_account_container_sas_command_suffix" {
|
||||
|
|
|
@ -416,7 +416,7 @@ resource "terraform_data" "weka_file_system" {
|
|||
" fileSystemAuthRequired=${var.weka.fileSystem.authRequired ? "yes" : "no"}",
|
||||
" fileSystemContainerName=${local.wekaObjectTier.storage.containerName}",
|
||||
" if [ ${local.wekaObjectTier.enable} == true ]; then",
|
||||
" weka fs tier s3 add $fileSystemContainerName --obs-type AZURE --hostname ${local.wekaObjectTier.storage.accountName}.blob.core.windows.net --secret-key ${nonsensitive(local.wekaObjectTier.storage.accountKey)} --access-key-id ${local.wekaObjectTier.storage.accountName} --bucket ${local.wekaObjectTier.storage.containerName} --protocol https --port 443",
|
||||
" weka fs tier s3 add $fileSystemContainerName --obs-type AZURE --hostname ${local.wekaObjectTier.storage.accountName}.URI_TO_AZURE_STORAGE_ACCOUNT --secret-key ${nonsensitive(local.wekaObjectTier.storage.accountKey)} --access-key-id ${local.wekaObjectTier.storage.accountName} --bucket ${local.wekaObjectTier.storage.containerName} --protocol https --port 443",
|
||||
" fi",
|
||||
" weka fs group create $fileSystemGroupName",
|
||||
" weka fs create $fileSystemName $fileSystemGroupName \"$fileSystemTotalBytes\"B --obs-name $fileSystemContainerName --ssd-capacity \"$fileSystemDriveBytes\"B --auth-required $fileSystemAuthRequired",
|
||||
|
|
|
@ -66,7 +66,7 @@ virtualMachineScaleSets = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"azstudio1.blob.core.windows.net:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
"URI_TO_AZURE_STORAGE_ACCOUNT:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -151,7 +151,7 @@ virtualMachineScaleSets = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"azstudio1.blob.core.windows.net:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
"URI_TO_AZURE_STORAGE_ACCOUNT:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -236,7 +236,7 @@ virtualMachineScaleSets = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"mount -o anon nolock \\\\azstudio1.blob.core.windows.net\\azstudio1\\content X:"
|
||||
"mount -o anon nolock \\\\URI_TO_AZURE_STORAGE_ACCOUNT\\azstudio1\\content X:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -321,7 +321,7 @@ virtualMachineScaleSets = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"mount -o anon nolock \\\\azstudio1.blob.core.windows.net\\azstudio1\\content X:"
|
||||
"mount -o anon nolock \\\\URI_TO_AZURE_STORAGE_ACCOUNT\\azstudio1\\content X:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -57,7 +57,7 @@ virtualMachines = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"azstudio1.blob.core.windows.net:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
"URI_TO_AZURE_STORAGE_ACCOUNT:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ virtualMachines = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"azstudio1.blob.core.windows.net:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
"URI_TO_AZURE_STORAGE_ACCOUNT:/azstudio1/content /mnt/content aznfs default,sec=sys,proto=tcp,vers=3,nolock 0 0"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -191,7 +191,7 @@ virtualMachines = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"mount -o anon nolock \\\\azstudio1.blob.core.windows.net\\azstudio1\\content X:"
|
||||
"mount -o anon nolock \\\\URI_TO_AZURE_STORAGE_ACCOUNT\\azstudio1\\content X:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -258,7 +258,7 @@ virtualMachines = [
|
|||
{
|
||||
enable = false # File Storage
|
||||
mounts = [
|
||||
"mount -o anon nolock \\\\azstudio1.blob.core.windows.net\\azstudio1\\content X:"
|
||||
"mount -o anon nolock \\\\URI_TO_AZURE_STORAGE_ACCOUNT\\azstudio1\\content X:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -98,12 +98,12 @@ Next upload the image:
|
|||
2. login to [azcopy] with `azcopy login` command
|
||||
3. execute the following command to upload to the storage account:
|
||||
```bash
|
||||
azcopy copy ubuntu.vhd https://anhowevhd.blob.core.windows.net/vhd/ubuntu.vhd
|
||||
azcopy copy ubuntu.vhd https://URI_TO_AZURE_STORAGE_ACCOUNT/vhd/ubuntu.vhd
|
||||
```
|
||||
|
||||
Once uploaded create the image using the following command:
|
||||
```bash
|
||||
az image create --location LOCATION --resource-group RESOURCE_GROUP_NAME --name IMAGE_NAME --os-type Linux --source https://STORAGE_ACCOUNT_NAME.blob.core.windows.net/vhd/ubuntu.vhd
|
||||
az image create --location LOCATION --resource-group RESOURCE_GROUP_NAME --name IMAGE_NAME --os-type Linux --source https://URI_TO_AZURE_STORAGE_ACCOUNT/vhd/ubuntu.vhd
|
||||
```
|
||||
|
||||
Once the image is created, you can now delete the storage account:
|
||||
|
|
|
@ -66,5 +66,5 @@ The following table shows the safe urls required for Avere vFXT and az cli:
|
|||
|
||||
| Azure Service | Role | Safe Urls |
|
||||
| --- | --- | --- |
|
||||
| Azure Avere vFXTs | Render burst fast caching / performance caching | download.averesystems.com:443<BR>management.azure.com:443<BR>ACCOUNTNAME.blob.core.windows.net(if using blob storage for filer) |
|
||||
| Azure Avere vFXTs | Render burst fast caching / performance caching | download.averesystems.com:443<BR>management.azure.com:443<BR>URI_TO_AZURE_STORAGE_ACCOUNT(if using blob storage for filer) |
|
||||
| az cli | command line tool to create and manage azure resources | management.azure.com:443 |
|
|
@ -31,19 +31,19 @@ These instructions walk through the creation of a Vyos VHD image and are based o
|
|||
1. exit the container and run azcopy to copy the vhd to a blob storage account.
|
||||
```bash
|
||||
VHD_PATH=$(find . -name *.log | head -1)
|
||||
STORAGE_ACCOUNT="your storage account"
|
||||
STORAGE_ACCOUNT="URI_TO_AZURE_STORAGE_ACCOUNT"
|
||||
azcopy login
|
||||
azcopy $VHD_PATH https://$STORAGEACCOUNT.blob.core.windows.net/vhd/vyos.vhd
|
||||
azcopy $VHD_PATH https://$STORAGEACCOUNT/vhd/vyos.vhd
|
||||
```
|
||||
1. create the vyos image
|
||||
```bash
|
||||
# assumes image RG already exists, and location is same region as blob storage account
|
||||
STORAGE_ACCOUNT="your storage account"
|
||||
STORAGE_ACCOUNT="URI_TO_AZURE_STORAGE_ACCOUNT"
|
||||
LOCATION=eastus
|
||||
IMAGES_RG=images_rg
|
||||
|
||||
# create the image
|
||||
az image create --location $LOCATION --resource-group $IMAGES_RG --name vyos1.2 --os-type Linux --source https://$STORAGEACCOUNT.blob.core.windows.net/vhd/vyos.vhd
|
||||
az image create --location $LOCATION --resource-group $IMAGES_RG --name vyos1.2 --os-type Linux --source https://$STORAGEACCOUNT/vhd/vyos.vhd
|
||||
|
||||
# list the image id
|
||||
az image list -g $IMAGES_RG --query "[].id"
|
||||
|
|
|
@ -75,12 +75,12 @@ variable "install_pcoip" {
|
|||
|
||||
variable "grid_url" {
|
||||
description = "specifies the grid url"
|
||||
default = "https://bit1.blob.core.windows.net/bin/Graphics/Windows/461.09_grid_win10_server2016_server2019_64bit_azure_swl.exe?sv=2020-04-08&st=2021-05-16T17%3A37%3A25Z&se=2222-05-17T17%3A37%3A00Z&sr=c&sp=rl&sig=jY6xDzLXfDogsXIAfwNMd5hCu%2BcR8Tg1rgJZreBFJj4%3D"
|
||||
default = "https:/URI_TO_AZURE_STORAGE_ACCOUNT/bin/Graphics/Windows/461.09_grid_win10_server2016_server2019_64bit_azure_swl.exe?sv=2020-04-08&st=2021-05-16T17%3A37%3A25Z&se=2222-05-17T17%3A37%3A00Z&sr=c&sp=rl&sig=jY6xDzLXfDogsXIAfwNMd5hCu%2BcR8Tg1rgJZreBFJj4%3D"
|
||||
}
|
||||
|
||||
variable "teradici_pcoipagent_url" {
|
||||
description = "specifies the teradici pcoipagent"
|
||||
default = "https://bit1.blob.core.windows.net/bin/Teradici/pcoip-agent-graphics_21.03.0.exe?sv=2020-04-08&st=2021-05-16T17%3A37%3A25Z&se=2222-05-17T17%3A37%3A00Z&sr=c&sp=rl&sig=jY6xDzLXfDogsXIAfwNMd5hCu%2BcR8Tg1rgJZreBFJj4%3D"
|
||||
default = "https://URI_TO_AZURE_STORAGE_ACCOUNT/bin/Teradici/pcoip-agent-graphics_21.03.0.exe?sv=2020-04-08&st=2021-05-16T17%3A37%3A25Z&se=2222-05-17T17%3A37%3A00Z&sr=c&sp=rl&sig=jY6xDzLXfDogsXIAfwNMd5hCu%2BcR8Tg1rgJZreBFJj4%3D"
|
||||
}
|
||||
|
||||
variable "teradici_license_key" {
|
||||
|
|
|
@ -63,8 +63,8 @@ $GOPATH/bin/blobuploader
|
|||
|
||||
|
||||
```bash
|
||||
10.2.1.5 YOUR_PRIVATE_STORAGE_ACCOUNT.blob.core.windows.net
|
||||
```
|
||||
10.2.1.5 URI_TO_AZURE_STORAGE_ACCOUNT
|
||||
|
||||
|
||||
14. Now confirm you can upload the blobs:
|
||||
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
"diagnosticsProfile": {
|
||||
"bootDiagnostics": {
|
||||
"enabled": true,
|
||||
"storageUri": "[concat('http://',variables('jumpboxSAName'),'.blob.core.windows.net')]"
|
||||
"storageUri": "[concat('http://',variables('jumpboxSAName'),'URI_TO_AZURE_STORAGE_ACCOUNT')]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ steps:
|
|||
echo "##vso[task.setvariable variable=dest_container_sas;issecret=true]${dest_container_sas}"
|
||||
check_rc.sh $rc "Generate destination SAS URL" || exit 0
|
||||
|
||||
sas_url="https://${AZURE_STORAGE_ACCOUNT_NAME}.blob.core.windows.net/${AZURE_STORAGE_ACCOUNT_CONTAINER_NAME}?${dest_container_sas}"
|
||||
sas_url="https://URI_TO_AZURE_STORAGE_ACCOUNT/${AZURE_STORAGE_ACCOUNT_CONTAINER_NAME}?${dest_container_sas}"
|
||||
echo "##vso[task.setvariable variable=sas_url;issecret=true]${sas_url}"
|
||||
|
||||
cmdokmsg="CMD_OK_$(date -u '+%m%dx%H%M%S')"
|
||||
|
|
|
@ -192,7 +192,7 @@ class TestRegressionClientSetup:
|
|||
# Get the storage account's access key and add that hostdb entry, too.
|
||||
sa_key = atd.st_client.storage_accounts.list_keys(
|
||||
atd.resource_group, test_vars["storage_account"]).keys[0].value
|
||||
commands.append("echo 'averesv/hostdb.py -s {0}.blob.core.windows.net -m {0}.blob.core.windows.net -M az --cloudCreds \"{0}::{1}\"' >> ~/hostdb_entries.sh".format(test_vars["storage_account"], sa_key))
|
||||
commands.append("echo 'averesv/hostdb.py -s URI_TO_AZURE_STORAGE_ACCOUNT -m URI_TO_AZURE_STORAGE_ACCOUNT -M az --cloudCreds \"{0}::{1}\"' >> ~/hostdb_entries.sh".format(test_vars["storage_account"], sa_key))
|
||||
|
||||
last_error = None
|
||||
for staf_client_ip in test_vars["staf_client_priv_ips"]:
|
||||
|
|
Загрузка…
Ссылка в новой задаче