Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Anchor
top1
top1

Tip

For Updating Python 3.10.2  



Expand
title

...

Windows Installation

Step 1:

...

  • 9.

...

  • 3.

...

  • zip file.

Step 2:

...

  •  Unzip the package andreplace below files present in conf folder

...

    • default.

...

    • ini 
    • ldap.toml

...

Step 3:

Particularly server, database, auth.proxy, allow_loading_unsigned_plugins section of default.ini need to be change if required in migration.

neo4j-datasource,Inference,cde-inference-plugin,cde-fusion-panel plugins are not signed plugins so we have to allow loading these plugins using the property as below. If this property is not set, we don’t see the plugins in Grafana.

...

Expand
titleGrafana Custom Settings Steps
  • Click here to get ldap.toml. 
  • Download the default.ini for the required version below
  • Replace the ldap.toml and content of defaults.ini inside the conf folder in Grafana with the downloaded defaults.ini file content.
  • Go to the Database section inside file and enter the Database password in the password field.
  • Following variables are customized in the downloaded default.ini
    • Database section

[database]
  type = (database type)
  host = (database host)
  name = grafana
  user = (database name)
  password = (database password)

    • Security section

[security]
  # set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false.
  allow_embedding = true

    • External Image Storag section

[plugins]
  allow_loading_unsigned_plugins =

...

cts-neo-4-j-4-0,Inference,cde-inference-plugin,

...

Step 4:

...

cognizant-insights-charts

Info

We can check the name of the plugin in package.json in the plugin folder.

(eg. grafana-9.3.1\data\plugins\insights-charts-4-0\package.json

    • Grafana Live section

[Live]
  max_connections = 0

Step 3:

  • Click here to download master.zip.
  • Unzip and copy the iSight_ui3.js

...

  • in Insights-master\PlatformGrafanaPlugins\ScriptedDashboard.
  • Place it inside grafana-

...

  • 9.

...

  • 3.

...

  • 1/public/dashboards.

Image Modified

Step 4:

  • Include the below script tags in the index.html file  located in C:\InSights_Windows\Server2\grafana-9.3.1\public\views 

<script async="" src="//www.googletagmanager.com/gtm.js?id=[[.GoogleTagManagerId]]">

</script><script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

Step 5:

...

  • Copy the plugins in Insights-master\PlatformGrafanaPlugins\Panels.
  • Place the plugins inside grafana-9.3.1\data\plugins.
  • Copy the data sources in Insights-master\PlatformGrafanaPlugins\DataSources.
  • Place the data sources inside grafana-9.3.1\data\plugins.

Image Added

Step 6:

  • Add all the files inside img folder (Click here to download img folder) in C:\InSights_Windows\Server2\grafana-9.3.1\public\img. 

Step 7:

  • Postgres Backup Steps (if you are upgrading grafana) 

    • Stop the previous version of Grafana running on the instance.  
    • Follow the below steps to backup existing database 
    • Navigate to <postgres_installation_path>/bin 
    • Backup DB by executing the command pg_dump --username=username --password grafana > grafana_backup 

Step

...

8:

  • create Grafana service using following command (change the nssm or grafana-

...

  • 9.

...

  • 3.

...

  • 1 if needed)

...

  • C:\Insights_Deployment\Server2\nssm-2.24\win64\nssm install

...

  • Grafana9.

...

  • 3.

...

  • 1 "C:\Insights_Deployment\Server2\grafana-

...

  • 9.

...

  • 3.

...

  • 1\bin\grafana-server.exe" 

  • Start the  Grafana9.3.1 service.



Expand
titleLinux Installation
  • Click here to get the Grafana installation script on RHEL 7
  • Click here to get the Grafana installation script on RHEL 8.
  • Click here to get the Grafana installation script on UBUNTU.


Expand
titleGrafana Migration

...

Back to Top