The Web GUI and
Dashboard Application Services
Hub
(DASH) functionalities include a backup facility, which you can use to back up configuration data
such as pages, roles, filters, views, and tools settings. You can back up (and later restore) the
existing configuration data. You might need to back up and restore the configuration data when you
upgrade your system, or for maintenance reasons.
About this task
To back up and restore the configuration data, complete the following steps.
Procedure
Backing up or exporting data
- Export Web GUI and
Dashboard Application Services
Hub
data from the source Web GUI pod
(old, existing deployment).
- Access the
webgui-0
container by running the following
command: oc exec -ti <release-name>-webgui-0 bash
Where
<release-name> is the name of your release.
- Go to the
/home/netcool/app/gui/omnibus_webgui/integration/plugins
directory.
- Edit the OMNIbusWebGUI_clone_settings.properties file. For more
information, see the Export Web GUI and Dashboard Application Services Hub data section
here: https://www.ibm.com/docs/en/netcoolomnibus/8.1?topic=servers-exporting-data
- Uncomment the following line:
JazzSM.cell.name=JazzSMNode01Cell
- Enter the following line after the
JazzSM.cell.name=JazzSMNode01Cell
line:product.home=/home/netcool/app/gui/omnibus_webgui
- Edit the ExportWebGUIPlugin.ignore parameter to include
server.init.update
:ExportWebGUIPlugin.ignore=acls,\
server.init.update,\
data,\
- Go to the directory that contains the utility:
/home/netcool/app/jazz/ui/bin.
- Enter one of the following commands to export the data:
./consolecli.sh Export --username smadmin --password password --settingFile /home/netcool/app/gui/omnibus_webgui/integration/plugins/OMNIbusWebGUI_DASH_clone.properties
Replace smadmin and password with the username and password
of the Dashboard Application Services
Hub
administrative user.
- Copy the data.zip file from the
webgui-0
container to the infrastructure node with the following command:
oc cp <release-name>-webgui-0:/home/netcool/app/jazz/ui/output/data.zip data.zip
Restoring or importing data
- Import Web GUI and
Dashboard Application Services
Hub
data. For more information, see the Import Web GUI and Dashboard Application Services Hub
data section of the OMNIbus documentation: https://www.ibm.com/docs/en/netcoolomnibus/8.1?topic=servers-importing-data:
- Restart the upgraded Web GUI pod, by
running the following command:
oc scale sts --replicas=1 <release-name>-webgui
- Copy the data.zip file into the upgraded webgui-0
container:
oc cp data.zip <release-name>-webgui-0:/home/netcool/app/jazz/ui/input/data.zip
- If it does not exist, create the input directory.
Run
the following command to create the input directory:
oc exec -ti <release-name>-webgui-0 bash
mkdir /home/netcool/app/jazz/ui/input/
- Access the webgui-0 container by running the following command:
oc exec -ti <release-name>-webgui-0 bash
- As supplied, the utility writes information, warning, and error messages to the log
file. Change the level of logging, if required.
- Go to the
/home/netcool/app/gui/omnibus_webgui/integration/plugins
directory.
- Edit the OMNIbusWebGUI_clone_settings.properties file:
- Uncomment the
JazzSM.cell.name=JazzSMNode01Cell
line.
- Enter the following line after the
JazzSM.cell.name=JazzSMNode01Cell
line:product.home=/home/netcool/app/gui/omnibus_webgui
- Add
JazzSM.home=/home/netcool/app/jazz
- Go to the directory that contains the utility:
/home/netcool/app/jazz/ui/bin
- Enter one of the following commands to import the data:
./consolecli.sh Import --username smadmin --password password --settingFile /home/netcool/app/gui/omnibus_webgui/integration/plugins/OMNIbusWebGUI_DASH_clone.properties
Replace smadmin and password with the username and password
of the DASH
administrative user.
- After running the import command, verify that all Web GUI and
Dashboard Application Services
Hub
customizations are in place, by checking, for example, filters and pages.
Exporting the data by using the Dashboard Application Services
Hub export wizard
- To export the data by using the Dashboard Application Services
Hub export wizard, see the
Exporting console settings section here
https://www.ibm.com/docs/en/jfsm/1.1.3.0?topic=importing-exporting-console-settings/ .
Importing the data by using the Dashboard Application Services
Hub import wizard
- Following are the steps to import the data by using the Dashboard Application Services
Hub import wizard:
- Go to Console Settings > Dashboard
hub.
- Select Import dashboards to current console.
- Select the file exported previously.
- To import this file, click Choose File and then select
Import.This action imports the Dashboard Application Services
Hub pages and customizations to the
current console.