You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that [provisioning_scheme.scvmm_machine_config] has [use_full_disk_clone_provisioning], requesting same for [provisioning_scheme.xenserver_machine_config].
When selected 'Use Full Copy' option to create Machine Catalog in Citrix Studio, the Catalog properties show 'VM Copy Mode: Full copy'.
When created via Terraform, the Catalog properties show 'VM Copy Mode: Fast Clone'.
When 'writeback_cache = { }' used, prompt comes up asking to enter attributes and is why below has to be added to make it to work:
writeback_cache = {
writeback_cache_disk_size_gb = "0"
writeback_cache_memory_size_mb = "0"
}
Machine Catalog properties, created via Citrix Studio shows 'VM Copy Mode: Full Copy'
Machine Catalog properties, created via above Terraform Code shows 'VM Copy Mode: Fast Clone'
Noticed that [provisioning_scheme.scvmm_machine_config] has [use_full_disk_clone_provisioning], requesting same for [provisioning_scheme.xenserver_machine_config].
When selected 'Use Full Copy' option to create Machine Catalog in Citrix Studio, the Catalog properties show 'VM Copy Mode: Full copy'.
When created via Terraform, the Catalog properties show 'VM Copy Mode: Fast Clone'.
Link to any docs that cover this feature:
https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/install-configure/machine-catalogs-create.html
Alternatively, when creating VMs to deliver static desktops, you can specify (on the Machines page of the catalog creation wizard) thick (full copy) VM clones. Full clones do not require retention of the master image on every data store. Each VM has its own file.
Below is the code:
Get Zone resource by name
Get Hypervisor resource of any connection type by name
Get Hypervisor Resource Pool of any connection type resource by name and the hypervisor name it belongs to
Creating the Machine Catalog For Persistent VM
resource "citrix_machine_catalog" "Win10_PersistentVM_MCS_Pool_0" {
name = "Win10_PersistentVM_MCS_Pool1"
description = "Win10 Persistent VM Catalog"
zone = data.citrix_zone.test_zone.id
allocation_type = "Static"
session_support = "SingleSession"
provisioning_type = "MCS"
provisioning_scheme = {
hypervisor = data.citrix_hypervisor.pool_0.id
hypervisor_resource_pool = data.citrix_hypervisor_resource_pool.resource_pool_0_0.id
identity_type = "ActiveDirectory"
machine_domain_identity = {
domain = "temp.tmp"
service_account = var.username
service_account_password = var.password
domain_ou = "OU=Test,DC=temp,DC=tmp"
}
xenserver_machine_config = {
master_image_vm = "Win10BasePersistent_Tv1"
image_snapshot = "Tv1"
cpu_count = 4
memory_mb = 8192
writeback_cache = {
writeback_cache_disk_size_gb = "0"
writeback_cache_memory_size_mb = "0"
}
}
number_of_total_machines = 1
machine_account_creation_rules = {
naming_scheme = "CTXVMPTW###"
naming_scheme_type = "Numeric"
}
}
}
FYI:
When 'writeback_cache = { }' used, prompt comes up asking to enter attributes and is why below has to be added to make it to work:
writeback_cache = {
writeback_cache_disk_size_gb = "0"
writeback_cache_memory_size_mb = "0"
}
Machine Catalog properties, created via Citrix Studio shows 'VM Copy Mode: Full Copy'
Machine Catalog properties, created via above Terraform Code shows 'VM Copy Mode: Fast Clone'
Link to any docs that cover this feature:
https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/install-configure/machine-catalogs-create.html
Alternatively, when creating VMs to deliver static desktops, you can specify (on the Machines page of the catalog creation wizard) thick (full copy) VM clones. Full clones do not require retention of the master image on every data store. Each VM has its own file.
The text was updated successfully, but these errors were encountered: