Join to existing storage zone from command line

  • 1
  • Question
  • Updated 4 months ago
Hi,
We would like to automate the following steps:
1. Create new VM
2. Install required windows roles and features
3. Install SZC
4. Configure IIS
5. Modify SCZ config files
6. Reboot
7. Join SZC to existing storage zone.

Does anyone know how to complete the last step?

Thanks
Photo of Aleksandras Artemjevas

Aleksandras Artemjevas

  • 26 Posts
  • 3 Reply Likes

Posted 4 months ago

  • 1
Photo of Aleksandras Artemjevas

Aleksandras Artemjevas

  • 26 Posts
  • 3 Reply Likes
Managed to join new server to the existing zone with the following steps
1. Created new StorageCenter through API. 
2. Imported 'C:\inetpub\wwwroot\Citrix\StorageCenter\Tools\SfConfig\SfConfig.dll module
3. Ran Join-Zone -Passphrase <secret> -PrimaryController <primary_szc>
4. Updated HKLM:\SOFTWARE\WOW6432Node\Citrix\StorageCenter\StorageCenterID value with ID which I got in step 1.

The last problem is proxy config. Can't find a way to set it.