...
Translations Ignore |
---|
Code Block |
---|
DBPRI=acd-dbm
DBSTA=acd-dbs
DBREP=acd-dbr
DBPWD=<password>
sed -i -e "s/DATA_PRIMARY/${DBPRI}/g" -e "s/DATA_STATS/${DBSTA}/g" -e "s/DATA_REPORTS/${DBREP}/g" -e "s/DB_PASSWORD/${DBPWD}/g" /home/jtel/wildfly-current/standalone/configuration/standalone.xml
unset DBPWD
unset DBREP
unset DBSTA
unset DBPRI
cp /home/jtel/wildfly-current/standalone/configuration/standalone.xml /home/jtel/shared |
|
...
Further Servers
If the configuration file has already been provided on STORE, then the following commands will copy it to the wildfly server.
...
Translations Ignore |
---|
Code Block |
---|
# Edit the file
vi /home/jtel/wildfly-current/standalone/configuration/hazelcast.xml
# Search for this bit (near the top) and modify accordingly
...
<tcp-ip enabled="true">
<member>acd-dbm</member>
<member>acd-jb1</member>
<member>acd-jb2</member>
<member>acd-tel1</member>
</tcp-ip>
...
# Copy the file
cp /home/jtel/wildfly-current/standalone/configuration/hazelcast.xml /home/jtel/shared |
|
...
Further Servers
If the configuration file has already been provided on STORE, then the following commands will copy it to the wildfly server.
...