Post Upgrade Configurations for 12.2.1

Perform the following configuratons after upgrading to 12.2.1:

Procedure

  1. From the base version Backup directory, restore the following files:
    • <Installation Root Path>\DiscoverCaptureSocket.cfg
    • <Installation Root Path>\DCMaint.cfg
    • <Installation Root Path>\HBR_PipeLine-base.cfg
    • <Installation Root Path>\Beats\filebeat\filebeat.yml
    • <Installation Root Path>\Beats\winlogbeat\winlogbeat.yml
    • <Installation Root Path>\Portal\WebApp\Web.config
    • <Installation Root Path>\Portal\WebService\Web.config
  2. Navigate to <Discover_Installed_Dir>\Portal\WebApp directory.
  3. In Web.config file, under AppSettings section,
    1. Add a new key to continue with DB/NT Authentication:
      <add key="owin:AutomaticAppStartup" value="false" /> (If its NOT available by default)
    2. Add a new key:
      <add key="BaseUrl" value="https://Portal_ip/Portalapi/api/" /> (replace Portal_ip with Portal server ip)
    3. Under <customHeaders>, for Content-Security-Policy tag, add machine IP address info as shown below:
      <add name="Content-Security-Policy" value="frame-ancestors 'self' https://Portal_ip https://localhost;" /> (replace Portal_ip with Portal server ip)
    4. Comment out the following sections, if they are available:
      Section 1
       Authentication settings 
          				 <authentication mode="Forms"> 
          				 <forms loginUrl="Default.aspx" protection="All" name="TLAuthCookie" path="/" slidingExpiration="true"/> 
          				 </authentication> 

      Section 2

       <authorization> 
          				 <deny users="?" /> 
          				 </authorization> 

      Section 3

       <add name="Clear-Site-Data" value="&quot;storage&quot;" /> 
  4. Navigate to <Discover_Installed dir>\Portal\web\assets\data directory.
  5. In appsettings.json file, under Admin: section, replace {{localhost}} with Portal server IP with the following lines:
    "prodUrl": "https://{{localhost}}/PortalAPI/api/",
      			"prodV1Url": "https://{{localhost}}/PortalV1/",
    Note: Only HTTPS URLs will work.
  6. In the same appsettings.json file, under events: section, replace "apiEventStuff": "{{API_BASE_URL}}Events/EventStuff", with "apiEventModuleLists": "{{API_BASE_URL}}Events/EventModuleLists".
  7. If you want to use NT authentication, in the same same appsettings.json file, under AuthenticationSchemes: within the AuthConfig: section, add the following lines:
    "NT": {
            "Name": "NT",
            "Enabled": false
          }
  8. Restart all services of Portal/Report server.
  9. For all Discover Windows components, place the HCL Discover Notices and Information.txt at the following location:
    <Installation Root Path>\