- EUC guy turned automator.
- From Milwaukee Wisconsin USA.
- Currently with AHEAD
ryancbutler / citrix-vad-lab Goto Github PK
View Code? Open in Web Editor NEWBuild a Citrix Virtual Apps and Desktop environment with Ansible and Terraform
Build a Citrix Virtual Apps and Desktop environment with Ansible and Terraform
Hello
Im trying to install a Delivery Controller and it seems it has given me a exit code of 11?
{
"stdout": "parsing:\tC:\ProgramData\Citrix\CTQs\metainstaller.dat\tmo.8aa9ef23-3c9a-4d80-b7e7-ebb1cd77d47f -done:1f3368e8-c140-4759-ac20-0594c7d84d00\r\nparsed:\t 1/1 in C:\ProgramData\Citrix\CTQs\metainstaller.dat\tmo.\r\nUnknown error FailedMedia.\r\n",
"stderr": "",
"changed": false,
"rc": 11,
"reboot_required": false,
"msg": "unexpected rc from install C:\ProgramData\Citrix\XenDesktopSetup\XenDesktopServerSetup.exe: see rc, stdout and stderr for more details",
"stdout_lines": [
"parsing:\tC:\ProgramData\Citrix\CTQs\metainstaller.dat\tmo.8aa9ef23-3c9a-4d80-b7e7-ebb1cd77d47f -done:1f3368e8-c140-4759-ac20-0594c7d84d00",
"parsed:\t 1/1 in C:\ProgramData\Citrix\CTQs\metainstaller.dat\tmo.",
"Unknown error FailedMedia."
],
"stderr_lines": [],
"_ansible_no_log": false
}
I THINK this error code states that the installation media cannot be found. This happens if you, for example, mount a ISO and install from a ISO....Reboot comes along and ISO is not mounted....
Just a heads up, just in case
Hi,
currently there is a problem with fetching resource pool
every time I am getting this error
Error: error fetching resource pool: resource pool 'WAG/INFRA' not found
on main.tf line 19, in data "vsphere_resource_pool" "pool":
19: data vsphere_resource_pool "pool" {
Can you please advise what is wrong?
Thanks a lot
TN
First, thanks for making this. Its really helps.
I just wanted to know if anything with Ansible and Citrix Gateway (formerly known as Netscaler Gateway) is in your plans.
Thank you!
Hello
Installing Director, I get that the DirectorUrl variable does not exist....
Using Visual Studio Code, I tried to search the entire project for DirectorUrl but it could not find it (except in the playbook)
Is this missing somewhere? Also, I imagine it is for getting the full URL to the Director right? I ask this so maybe I could fix it myself using Powershell.
Thank you
previous issue: Error: error fetching resource pool: resource pool #9
HI @ryancbutler
the problem is with any name I am giving as resource pool, I also tried the root resource pool
"Specifying the root resource pool for a standalone host
NOTE:
Fetching the root resource pool for a cluster can now be done directly via the vsphere_compute_cluster data source.
All compute resources in vSphere (clusters, standalone hosts, and standalone ESXi) have a resource pool, even if one has not been explicitly created. This resource pool is referred to as the root resource pool and can be looked up by specifying the path as per the example below:
data "vsphere_resource_pool" "pool" {
name = "esxi1/Resources"
datacenter_id = "${data.vsphere_datacenter.dc.id}"
}
is there a way how to list resource pool name via terraform? I have no other idea how to find out what is wrong, I also found some threads that are pointing to the same issue with resource pool
hashicorp/terraform-provider-vsphere#962
Thanks a lot
Hi!
I deployed my VMs manually and everything worked out fine for now.
When I get to the storefront-init Task, everything runs smoothly until the last task (slurp passcode). Here it tells me the file (C:\Logs\passcode.txt) was not found.
I am quite confused as to where, and how the file is genereted inside your script. I know it is needed to join the second server but since I have no file I can't continue.
My Citrix CVAD Version is 2203 and I am working on Windows Server 2022 Machienes. Can you maybe tell me where I'm mistaken ?
When running VDA Installation for the second time (after uninstallation) for some reason the same installation files does not create the C:\ProgramData\citrix\xendesktopsetup and it fails in the resume vda installation
The installation finishes anyways.
What i did as a workaround is to check if the path of this metadata exist first.
Thanks in advance
PD: Im quite new with GIT. :)
Hello
Ive seen with Director and Storefront that SSL is not enabled and it seems to me in 2019 that might be out of date...
The most obvious thing would be self signed as CA domain certificates and such vary between each environment and it would be difficult to implement a "one shoe fits all" solution.
Im not sure if Enable-VDASSL works with self signed certs though...
Thanks again
Hello
Based on your Ansible playbook, I made this one, where the part of installing SQL Server 2017 is 98% the same:
hosts: "HOSTWITHSQL"
vars:
sql_svc_account: ad.mydomain.lan\svcsql
sql_svc_password: svcsql
sql_admins: ad.mydomain.lan\sqladmins
sql_instance: sqlcitrix
tasks:
name: "Create SQL Path"
win_file:
path: C:\Temp\SQL\Files
state: directory
name: "Copy SQL Files To Host"
win_copy:
src: "/ansiblefiles/isos/SqlSetup_x64_ENU"
dest: C:\Temp\SQL\Files
backup: yes
register: dest
name: Install SQL Components
win_package:
path: "C:\Temp\SQL\Files\SqlSetup_x64_ENU\setup.exe"
arguments: /q /ACTION=Install /FEATURES=SQL /INSTANCENAME="{{ sql_instance }}" /SQLSVCACCOUNT="{{ sql_svc_account }}" /SQLSVCPASSWORD="{{ sql_svc_password }}" /SQLSYSADMINACCOUNTS="{{ sql_admins }}" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSVCINSTANTFILEINIT="True" /IACCEPTSQLSERVERLICENSETERMS /UpdateEnabled=0
state: present
creates_path: C:\Program Files\Microsoft SQL Server
register: sql_install
name: Reboot after SQL
win_reboot:
when: sql_install.changed
name: Install SQL Management
win_chocolatey:
name: sql-server-management-studio
state: present
name: "Delete files folder"
win_file:
path: C:\Temp\SQL\Files
state: absent
The weird part is that the setup.exe opens for < 1 sec in Task Manager and then closes. Ansible says it installed correctly.
From what Ive been reading, the setup SHOULD dump SOME kind of log file: https://docs.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-2017 but Ive searched and I didnt find anything.
Is it possible to change the arguments to include a log file output of the setup?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.