-
Notifications
You must be signed in to change notification settings - Fork 121
arcgis‐egdb Cookbook Recipes
arcgis-egdb cookbook creates enterprise geodatabases in SQL Server or PostgreSQL DBMS and registers them with ArcGIS Server.
Brief descriptions of arcgis-egdb cookbook recipes along with cookbook attributes are available at README.md. This page provides more detailed descriptions of the recipes and specifies attributes used by each recipe.
Creates EGDBs and registers them with ArcGIS Server.
Attributes used by the recipe:
{
"arcgis": {
"version": "10.9",
"server": {
"private_url": "https://domain.com:6443/arcgis",
"admin_username": "admin",
"admin_password": "changeit"
},
"python": {
"runtime_environment": "C:\\Python27\\ArcGISx6410.9"
},
"misc": {
"scripts_dir": "C:\\chef\\misc_scripts"
},
"egdb": {
"engine": "postgres",
"endpoint": "xxx.cluster-yyy.us-east-2.rds.amazonaws.com",
"keycodes": "C:\\Program Files\\ESRI\\License10.9\\sysgen\\keycodes",
"postgresbin" : "C:\\Program Files\\ArcGIS\\DataStore\\framework\\runtime\\pgsql\\bin",
"master_username": "EsriRDSAdmin",
"master_password": "changeit",
"db_username": "sde",
"db_password": "changeit",
"connection_files_dir": "C:\\chef\\misc_scripts\\connection_files",
"data_items": [{
"database": "egdb",
"data_item_path": "/enterpriseDatabases/registeredDatabase",
"connection_file": "C:\\chef\\msic_scripts\\connection_files\\RDS_egdb.sde",
"is_managed": true,
"connection_type": "shared"
}]
}
},
"run_list": [
"recipe[arcgis-egdb]"
]
}Creates EGDBs in PostgreSQL.
Attributes used by the recipe:
{
"arcgis": {
"run_as_user": "arcgis",
"python": {
"runtime_environment": "C:\\Python27\\ArcGISx6410.9"
},
"misc": {
"scripts_dir": "C:\\chef\\misc_scripts"
},
"egdb": {
"engine": "postgres",
"endpoint": "xxx.cluster-yyy.us-east-2.rds.amazonaws.com",
"keycodes": "C:\\Program Files\\ESRI\\License10.9\\sysgen\\keycodes",
"postgresbin" : "C:\\Program Files\\ArcGIS\\DataStore\\framework\\runtime\\pgsql\\bin",
"master_username": "EsriRDSAdmin",
"master_password": "changeit",
"db_username": "sde",
"db_password": "changeit",
"connection_files_dir": "C:\\chef\\misc_scripts\\connection_files",
"postgresbin": "C:\\Program Files\\ArcGIS\\DataStore\\framework\\runtime\\pgsql\\bin",
"data_items": [{
"database": "egdb",
"data_item_path": "/enterpriseDatabases/registeredDatabase",
"connection_file": "C:\\chef\\msic_scripts\\connection_files\\RDS_egdb.sde",
"is_managed": true,
"connection_type": "shared"
}]
}
},
"run_list": [
"recipe[arcgis-egdb::egdb_postgres]"
]
}Creates EGDBs in SQL Server.
Attributes used by the recipe:
{
"arcgis": {
"python": {
"runtime_environment": "C:\\Python27\\ArcGISx6410.9"
},
"misc": {
"scripts_dir": "C:\\chef\\misc_scripts"
},
"egdb": {
"endpoint": "xxx.cluster-yyy.us-east-2.rds.amazonaws.com",
"keycodes": "C:\\Program Files\\ESRI\\License10.9\\sysgen\\keycodes",
"master_username": "EsriRDSAdmin",
"master_password": "changeit",
"db_username": "sde",
"db_password": "changeit",
"data_items": [{
"database": "egdb",
"data_item_path": "/enterpriseDatabases/registeredDatabase",
"connection_file": "C:\\chef\\msic_scripts\\connection_files\\RDS_egdb.sde",
"is_managed": true,
"connection_type": "shared"
}]
}
},
"run_list": [
"recipe[arcgis-egdb::egdb_sqlserver]"
]
}Registers EGDBs with ArcGIS Server.
Attributes used by the recipe:
{
"arcgis": {
"server": {
"private_url": "https://domain.com:6443/arcgis",
"admin_username": "admin",
"admin_password": "changeit"
},
"egdb": {
"data_items": [{
"database": "egdb",
"data_item_path": "/enterpriseDatabases/registeredDatabase",
"connection_file": "C:\\chef\\msic_scripts\\connection_files\\RDS_egdb.sde",
"is_managed": true,
"connection_type": "shared"
}]
}
},
"run_list": [
"recipe[arcgis-egdb::register_egdb]"
]
}Creates EGDBHOST alias for SQL Server endpoint domain.
Attributes used by the recipe:
{
"arcgis": {
"egdb": {
"engine": "sqlserver-se",
"endpoint": "xxx.us-east-2.rds.amazonaws.com"
}
},
"run_list": [
"recipe[arcgis-egdb::sql_alias]"
]
}Installs SQL Server ODBC driver and sqlcmd utility used by SQL Server EGDB configuration scripts.
Attributes used by the recipe:
{
"run_list": [
"recipe[arcgis-egdb::sqlcmd]"
]
}