Gluent Data Platform Daemons Upgrade¶
Table of Contents
Introduction¶
This document includes the steps to upgrade the Gluent Data Platform daemons. This document is applicable only if Gluent Data Platform daemons are managed as a service or by Oracle Clusterware.
Update Daemon Configuration Files¶
Important
Metadata Daemon actions must be performed on all Oracle servers where Gluent Data Platform has been installed. Data Daemon actions should be performed on all nodes where Data Daemon is to run.
Choose the appropriate command from the table below depending on which daemons will be running on the server on which the command is executed.
Each command will update the configuration and script files for the appropriate daemon(s) and change the ownership of those files to root:root
.
The commands below must be run as root.
Gluent Daemon |
Commands |
---|---|
Metadata Daemon |
# export ORACLE_SID=<APPROPRIATE VALUE>
# . <PATH TO offload.env>
# cd $OFFLOAD_HOME/bin
# ./connect --update-metad-files
|
Data Daemon |
# . <PATH TO offload.env>
# cd $OFFLOAD_HOME/bin
# ./connect --update-datad-files
|
Both Daemons |
# export ORACLE_SID=<APPROPRIATE VALUE>
# . <PATH TO offload.env>
# cd $OFFLOAD_HOME/bin
# ./connect --update-root-files
|
Note
These connect
commands only update files located in the Gluent Data Platform directory.
Install Service Configuration Files¶
If Upstart or systemd is used for automatic daemon management the updated configuration files need to be re-installed.
Upstart¶
The following commands should be run as root.
Data Daemon |
|
---|---|
Copy configuration script |
# cp $OFFLOAD_HOME/scripts/datad/gluent-datad.conf /etc/init
|
Metadata Daemon |
|
Copy configuration script |
# cp $OFFLOAD_HOME/scripts/metad/gluent-metad.conf /etc/init
|
systemd¶
The following commands should be run as root.
Data Daemon |
|
---|---|
Copy Configuration Script |
# cp $OFFLOAD_HOME/scripts/datad/gluent-datad.service /etc/systemd/system
|
Metadata Daemon |
|
Copy Configuration Script |
# cp $OFFLOAD_HOME/scripts/metad/gluent-metad.service /etc/systemd/system
|
systemd Manager Configuration |
|
Reload |
# systemctl daemon-reload
|