Hey Guys,
after reading various posts can on this site and analyzing wiki page, do I understand correctly that currently in the config file you can have one entry per role?
E.g. You cannot have base deployment and three separate GIS Server sites specified in the same config file, however you would need to use 4 different config files?
Regards,
Mikael J
Hi @MikaelJ,
This should be possible using one config file. Take a look at the below sample:
@JakeSkinner I thought it might be this, but
"ServerDirectoriesRootLocation": "\\\\[Fileshare Machine Name 1]\\[Fileshare Name]\\arcgisserver\\directories",
"ConfigStoreLocation": "\\\\[Fileshare Machine Name 1]\\[Fileshare Name]\\arcgisserver\\config-store",
what about these keys? how it will change the name from one site to another?
Sorry @MikaelJ, I misread your question. I read it as a multi-machine site. Yes, you will need multiple config files when deploying multiple ArcGIS Server sites. The config files separate from the base deployment will include the web adaptor, ArcGIS Server, and federation details. Ex:
{
"AllNodes": [
{
"NodeName": "arcgis-mapping",
"Role": [
"Server"
]
},
{
"NodeName": "arcgis-webadaptor",
"Role": [
"WebAdaptor"
],
"WebAdaptorConfig": [
{
"Role": "Server"
}
]
}
],
"ConfigData": {
"Version": "11.1",
"ServerContext": "mapping",
"ServerRole": "GeneralPurposeServer",
"Credentials": {
"ServiceAccount": {
"PasswordFilePath": "D:\\automationFiles\\passwords\\serviceAccount.txt",
"UserName": "domain\\svc_arcgis",
"IsDomainAccount": true,
"IsMSAAccount": false
}
},
"Server": {
"LicenseFilePath": "D:\\automationFiles\\licenses\\ArcGISGISServerAdvanced_ArcGISServer_1428926.prvc",
"Installer": {
"Path": "D:\\automationFiles\\software\\ArcGIS11.1\\ArcGIS_Server_Windows_111_185208.exe",
"InstallDir": "D:\\Program Files\\ArcGIS\\Server"
},
"ServerDirectoriesRootLocation": "D:\\arcgisserver\\directories",
"ConfigStoreLocation": "D:\\arcgisserver\\config-store",
"ExternalLoadBalancer": "maps.domain.com",
"PrimarySiteAdmin": {
"UserName": "siteadmin",
"PasswordFilePath": "D:\\automationFiles\\passwords\\siteadmin.txt"
}
},
"WebAdaptor": {
"AdminAccessEnabled": true,
"Installer": {
"Path": "D:\\automationFiles\\software\\ArcGIS11.1\\ArcGIS_Web_Adaptor_for_Microsoft_IIS_111_185222.exe"
}
},
"Federation": {
"PortalHostName": "maps.domain.com",
"PortalPort": "443",
"PortalContext": "portal",
"PortalAdministrator": {
"UserName": "portaladmin",
"PasswordFilePath": "D:\\automationFiles\\passwords\\portaladmin.txt"
},
"RestrictedPublishing": false
}
}
}
Thank you for confirming this!