Update end-to-end rendering deployment example

This commit is contained in:
Rick Shahid 2021-11-30 16:31:48 -08:00
Родитель 8506063558
Коммит d4efc7359e
3 изменённых файлов: 16 добавлений и 21 удалений

Просмотреть файл

@ -26,8 +26,8 @@ virtualMachineScaleSets = [
fileName = "initialize.sh" fileName = "initialize.sh"
parameters = { parameters = {
fileSystemMounts = [ fileSystemMounts = [
"azasset.blob.core.windows.net:/azasset/show /mnt/show/write nfs sec=sys,vers=3,proto=tcp,nolock 0 0",
"cache.media.studio:/mnt/farm /mnt/show/read nfs hard,proto=tcp,mountproto=tcp,retry=30 0 0", "cache.media.studio:/mnt/farm /mnt/show/read nfs hard,proto=tcp,mountproto=tcp,retry=30 0 0",
"azasset.blob.core.windows.net:/azasset/show /mnt/show/write nfs sec=sys,vers=3,proto=tcp,nolock 0 0",
"scheduler.media.studio:/DeadlineRepository /mnt/scheduler nfs defaults 0 0" "scheduler.media.studio:/DeadlineRepository /mnt/scheduler nfs defaults 0 0"
] ]
} }
@ -68,9 +68,9 @@ virtualMachineScaleSets = [
fileName = "initialize.ps1" fileName = "initialize.ps1"
parameters = { parameters = {
fileSystemMounts = [ fileSystemMounts = [
"mount -o anon azasset.blob.core.windows.net:/azasset/show W:", "mount -o anon \\\\cache.media.studio\\mnt\\farm R:",
"mount -o anon cache.media.studio:/mnt/farm R:", "mount -o anon \\\\azasset.blob.core.windows.net\\azasset\\show W:",
"mount -o anon scheduler.media.studio:/DeadlineRepository S:" "mount -o anon \\\\scheduler.media.studio\\DeadlineRepository S:"
] ]
} }
} }

Просмотреть файл

@ -23,8 +23,8 @@ virtualMachines = [
fileName = "initialize.sh" fileName = "initialize.sh"
parameters = { parameters = {
fileSystemMounts = [ fileSystemMounts = [
"scheduler.media.studio:/DeadlineRepository /mnt/scheduler nfs defaults 0 0", "cache.media.studio:/mnt/workstation /mnt/show nfs hard,proto=tcp,mountproto=tcp,retry=30 0 0",
"cache.media.studio:/mnt/workstation /mnt/show nfs hard,proto=tcp,mountproto=tcp,retry=30 0 0" "scheduler.media.studio:/DeadlineRepository /mnt/scheduler nfs defaults 0 0"
] ]
teradiciLicenseKey = "" teradiciLicenseKey = ""
} }
@ -50,15 +50,15 @@ virtualMachines = [
fileName = "initialize.sh" fileName = "initialize.sh"
parameters = { parameters = {
fileSystemMounts = [ fileSystemMounts = [
"scheduler.media.studio:/DeadlineRepository /mnt/scheduler nfs defaults 0 0", "cache.media.studio:/mnt/workstation /mnt/show nfs hard,proto=tcp,mountproto=tcp,retry=30 0 0",
"cache.media.studio:/mnt/workstation /mnt/show nfs hard,proto=tcp,mountproto=tcp,retry=30 0 0" "scheduler.media.studio:/DeadlineRepository /mnt/scheduler nfs defaults 0 0"
] ]
teradiciLicenseKey = "" teradiciLicenseKey = ""
} }
} }
}, },
{ {
name = "WinArtist3" name = ""
imageId = "/subscriptions/3d07cfbc-17aa-41b4-baa1-488fef85a1d3/resourceGroups/AzureRender.Image/providers/Microsoft.Compute/galleries/Gallery/images/WindowsWorkstation/versions/3.0.0" imageId = "/subscriptions/3d07cfbc-17aa-41b4-baa1-488fef85a1d3/resourceGroups/AzureRender.Image/providers/Microsoft.Compute/galleries/Gallery/images/WindowsWorkstation/versions/3.0.0"
machineSize = "Standard_NV48s_v3" // https://docs.microsoft.com/en-us/azure/virtual-machines/sizes machineSize = "Standard_NV48s_v3" // https://docs.microsoft.com/en-us/azure/virtual-machines/sizes
operatingSystem = { operatingSystem = {
@ -77,15 +77,15 @@ virtualMachines = [
fileName = "initialize.ps1" fileName = "initialize.ps1"
parameters = { parameters = {
fileSystemMounts = [ fileSystemMounts = [
"mount -o anon scheduler.media.studio:/DeadlineRepository S:", "mount -o anon \\\\cache.media.studio\\mnt\\workstation W:",
"mount -o anon cache.media.studio:/mnt/workstation W:" "mount -o anon \\\\scheduler.media.studio\\DeadlineRepository S:"
] ]
teradiciLicenseKey = "" teradiciLicenseKey = ""
} }
} }
}, },
{ {
name = "WinArtist4" name = ""
imageId = "/subscriptions/3d07cfbc-17aa-41b4-baa1-488fef85a1d3/resourceGroups/AzureRender.Image/providers/Microsoft.Compute/galleries/Gallery/images/WindowsWorkstation/versions/4.0.0" imageId = "/subscriptions/3d07cfbc-17aa-41b4-baa1-488fef85a1d3/resourceGroups/AzureRender.Image/providers/Microsoft.Compute/galleries/Gallery/images/WindowsWorkstation/versions/4.0.0"
machineSize = "Standard_NV32as_v4" // https://docs.microsoft.com/en-us/azure/virtual-machines/sizes machineSize = "Standard_NV32as_v4" // https://docs.microsoft.com/en-us/azure/virtual-machines/sizes
operatingSystem = { operatingSystem = {
@ -104,8 +104,8 @@ virtualMachines = [
fileName = "initialize.ps1" fileName = "initialize.ps1"
parameters = { parameters = {
fileSystemMounts = [ fileSystemMounts = [
"mount -o anon scheduler.media.studio:/DeadlineRepository S:", "mount -o anon \\\\cache.media.studio\\mnt\\workstation W:",
"mount -o anon cache.media.studio:/mnt/workstation W:" "mount -o anon \\\\scheduler.media.studio\\DeadlineRepository S:"
] ]
teradiciLicenseKey = "" teradiciLicenseKey = ""
} }

Просмотреть файл

@ -12,7 +12,7 @@ This folder contains the end-to-end modular framework for automated deployment o
| [5 Compute Scheduler](#5-compute-scheduler) | Deploys [Virtual Machines](https://docs.microsoft.com/en-us/azure/virtual-machines/) for distributed job scheduling across a render farm. | | [5 Compute Scheduler](#5-compute-scheduler) | Deploys [Virtual Machines](https://docs.microsoft.com/en-us/azure/virtual-machines/) for distributed job scheduling across a render farm. |
| [6 Compute Farm](#6-compute-farm) | Deploys [Virtual Machine Scale Sets](https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview) for [Linux](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_virtual_machine_scale_set) or [Windows](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/windows_virtual_machine_scale_set) render farms. | | [6 Compute Farm](#6-compute-farm) | Deploys [Virtual Machine Scale Sets](https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview) for [Linux](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_virtual_machine_scale_set) or [Windows](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/windows_virtual_machine_scale_set) render farms. |
| [7 Compute Workstation](#7-compute-workstation) | Deploys [Virtual Machines](https://docs.microsoft.com/en-us/azure/virtual-machines/) for [Linux](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/overview) and/or [Windows](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/overview) artist workstations. | | [7 Compute Workstation](#7-compute-workstation) | Deploys [Virtual Machines](https://docs.microsoft.com/en-us/azure/virtual-machines/) for [Linux](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/overview) and/or [Windows](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/overview) artist workstations. |
| [8 Render Job Submission](#8-render-job-submission) | Submit a render job from an Azure remote artist GPU workstation. | | [8 Render Job Submission](#8-render-job-submission) | Submit a render farm job from an Azure remote artist workstation. |
To manage deployment of the Azure Artist Anywhere solution from your local workstation, the following prerequisite steps are required. To manage deployment of the Azure Artist Anywhere solution from your local workstation, the following prerequisite steps are required.
1. Make sure the [Terraform CLI](https://www.terraform.io/downloads.html) is downloaded locally and accessible in your path environment variable. Version 1.0.10 (or higher) is required. 1. Make sure the [Terraform CLI](https://www.terraform.io/downloads.html) is downloaded locally and accessible in your path environment variable. Version 1.0.10 (or higher) is required.
@ -156,7 +156,7 @@ Now that the Azure Artist Anywhere solution deployment is complete, this next se
Based on the [SubmitCommandLineJob](https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/command-line-arguments-jobs.html#submitcommandlinejob) argument to Deadline, the following example command renders a sample Blender splash image. Based on the [SubmitCommandLineJob](https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/command-line-arguments-jobs.html#submitcommandlinejob) argument to Deadline, the following example command renders a sample Blender splash image.
* deadlinecommand.exe -SubmitCommandLineJob -frames \<STARTFRAME>-\<ENDFRAME> -executable blender -arguments "/mnt/show/read/splash/2.93.blend --background --frame-start \<STARTFRAME> --frame-end \<ENDFRAME>" * deadlinecommand.exe -SubmitCommandLineJob -frames \<STARTFRAME>-\<ENDFRAME> -executable blender -arguments "/mnt/show/splash/2.93.blend --background --frame-start \<STARTFRAME> --frame-end \<ENDFRAME>"
### User Interface ### User Interface
@ -168,9 +168,4 @@ By default, the image build customization process in module [4 Compute Image](#4
1. After closing the Preferences window, the *Submit To Deadline* option should now be in your Render menu. 1. After closing the Preferences window, the *Submit To Deadline* option should now be in your Render menu.
If you have any questions or issues, please contact rick.shahid@microsoft.com If you have any questions or issues, please contact rick.shahid@microsoft.com