Esri / arcgis-powershell-dsc

This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
121 stars 62 forks source link

GeoEvent Server SDK not installed #148

Closed prez13 closed 4 years ago

prez13 commented 5 years ago

When installing GeoEvent Server 10.7, the GeoEvent SDK is not installed, the folder is missing. The whole GeoEvent Folder is only about 800 MB compared to the normal 1 GB for 10.7. Otherwise, GeoEvent Server seems to work normally.

shailesh91 commented 5 years ago

@prez13 do you see anything in install logs?

prez13 commented 5 years ago

The install logs look good to me, nothing suspicious, and it says "GeoEvent installation was successful!". I just uninstalled the PS ArcGIS module and installed it again, then ran Mode Upgrade as suggested by an Esri support analyst; the SDK folder is still missing, the logs look good.

Maybe noteworthy that I had uninstalled the SW after the first install (using Modes Install / Uninstall), because I had thought something was wrong since GeoEvent was neither licenced nor configured. It turned out I had to use the new Mode InstallLicenceConfigure, which I then did.

Attached the (anonymized) install and upgrade logs. PowerShell_DSC_install_and_upgrade_logs.zip

shailesh91 commented 5 years ago

@prez13 do you observe the same behavior when installing manually?

prez13 commented 5 years ago

@shailesh91 When I install manually I get a prompt in the installation wizard to select the components (see attached screenshot). One of the components is GeoEvent Server, which is enabled by default, and the other component is the SDK, which is disabled by default. When I enabled the SDK component, it got installed.

Does this mean I am not able to use PowerShell DSC to deploy GeoEvent Server if I need the SDK?

components_to_install

shailesh91 commented 5 years ago

@prez13 I think we never checked that SDK was just optional. I will try to provide a fix soon for this.

prez13 commented 5 years ago

@shailesh91 Thank you for providing a fix. If we already wanted to use the SDK now, is there a way to install it as a workaround while keeping the environment valid for DSC?

nshampur commented 5 years ago

@prez13 .. if u happen to know the silent install command for the GeoEvent setup that includes the SDK, then you can try wrapping that with the DSC Package resource

https://docs.microsoft.com/en-us/powershell/dsc/reference/resources/windows/packageresource

rowisequinor commented 5 years ago

@shailesh91 has this been fixed for 10.7.1 ?

shailesh91 commented 5 years ago

@rowisequinor This has not been fixed yet.

cameronkroeker commented 4 years ago

Hello @prez13,

We have added Support for GeoEvent SDK in the latest release, v3.0.0:

EnableGeoeventSDK - (Optional - True | False(Default)) - Enables GeoEvent SDK during installation.

https://github.com/Esri/arcgis-powershell-dsc/wiki/V3.-Variables-reference-page-for-JSON-configuration-files

We will be fixing the sample config to include this at a later date, however it should look something like this:

"GeoEventServer": {
            "LicenseFilePath": "[License File Path - GeoEvent Server ]",
            "Installer": {
                "Path": "[GeoEvent Server Installer Path]",
                "InstallDir": "[Geoevent Server Install Dir - Ex. C:\\ArcGIS\\GeoEventServer]"
            }
           "EnableGeoeventSDK": true
        },