Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with group managed service account - node['arcgis']['run_as_msa'] #362

Open
ramtechjoe opened this issue Jul 6, 2023 · 1 comment

Comments

@ramtechjoe
Copy link

ramtechjoe commented Jul 6, 2023

We are running an install using a group managed service account. When we did this it set Portal to run as local service account instead of the account we specified.

we have:

"arcgis": {
        "version": "11.1",
        "run_as_user": "domainName\\ArcGIS_QA_Srvc$",
	"run_as_msa": true,
        "configure_windows_firewall": true,

Should we include a node['arcgis']['run_as_password'] as an empty string instead of leaving it out? Or something else?

Thanks
-Joe

@cameronkroeker
Copy link
Contributor

Hi @ramtechjoe,

Shouldn't need to include node['arcgis']['run_as_password']. If it was set to Local System rather than the gMSA then I suspect the portal setup.exe was not able to find the gMSA account so it defaulted to using Local System. Let's try the following:

  • Uninstall portal
  • Add the node['arcgis']['portal']['setup_options'] attribute to the json file so that it will capture an installation log. For example:
"portal":{
   "setup_options":"/L*v C:\\Portal_Install.log"
},
  • Re-run Chef
  • While Chef is running open Task Manager on the target node, and enable the command line column within the Details tab. We will want to keep an eye on a setup.exe process that will spin up when portal is being installed. If you expand the command line column it will show the run_as username being passed in. Let's ensure it matches domainName\\ArcGIS_QA_Srvc$. If it does match and still gets set to Local System then this means the setup was unable to detect or find the gMSA account.
  • There may be additional information in the C:\\Portal_Install.log that could provide a clue.
  • Also can check Windows Event application logs to see if there are any hints in there as well.

Or alternatively the quickest method might actually be to launch the portal setup.exe GUI, and manually provide the gMSA account details to see if it let's you proceed. If the setup is unable to detect/find the gMSA then it won't let you proceed with the installation and should throw an error.

Thanks,
Cameron K.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants