GreenLight v3.5. comes with a new Platform Architecture.
Because of this massive change it is necessary that you migrate the data from the old GreenLight Appliance towards the new GreenLight Appliance (side by side migration) → in case you want to keep the existing config and historical data

The following process is pretty straight forward and represents a step by step guide:

 

The following Data will be migrated:

/opt/panagenda/scripts/gl_sctions
/opt/panagenda/scripts/gl_powershell
/opt/panagenda/scripts/gl_sensor

 

Requirements

/opt/panagenda/pgdata (new appliance)  should be as big as /var/lib/postgresql (old appliance)

 

How to verify?

On NEW GreenLight Appliance:

If you get an error, please do the following:

 

How To MIGRATE the Data

ssh panagenda@<ip_OLD_GreenLight>

enter "yes" to accept the fingerprint

enter password: "panagenda"

...whenever you are connected, enter "exit"

 

 

/opt/panagenda/appdata/volumes/gl/scripts

 

./migrate.sh <ip_OLD_GreenLight>

example:  ./migrate.sh 10.10.1.200


You should see this kind of process: (this can take minutes/hours depending on the amount of data you have)

 

 

Whenever this is done, the new GreenLight Appliance restarts automatically. So the Core Migration is done and you can use the new Appliance.

The OLD greenLight appliance is off (http process) and should be completely switched off.

 

OPTIONAL:  Manual Tasks (after migration)

Likely that you have modified some items in the past. These elements needs to be manually touched.

for example:

 

If you have added Linux Shell Script Actions or Linux Shell Script Sensors or Custom PowerShell Scripts ...or even custom SQL code , please check and adjust them if necessary

 /opt/panagenda/appdata/volumes/gl/scripts/gl_action

 /opt/panagenda/appdata/volumes/gl/scripts/gl_sensor

 /opt/panagenda/appdata/volumes/gl/scripts/gl_powershell

 /opt/panagenda/appdata/volumes/gl/scripts/sql

 

put missing dependencies into /opt/panagenda/appdata/volumes/gl/ramkin/binaries

 

put debian package files into /opt/panagenda/appdata/volumes/gl/ramkin/install

example:  certain DEB installations you need

 

NOTE:  nagios plugins , ldap utilities are part of the GL Image already. !