You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Contents:

Changes to KOP configuration 

 

KOP Configuration (KOP app and Wildfly)

 

  1. How to make changes in KOP configuration ?
    1. Within the KOP container, edit configuration files located under $(KIUWAN_VOL)/deployconfig/kiuwan
    2. Deploy Kiuwan (see below point #3)
  2. How to make changes in Wildfly configuration ?
    1. Within the KOP container, edit configuration files located under $(KIUWAN_VOL)/deployconfig/wildfly
    2. Deploy Kiuwan (see below point #3)
  3. How to deploy Kiuwan (after configuration changes) ?
    1. Within the docker server:
      1. cd <KIUWAN_VOL>/koptools (KIUWAN_VOL as set in settings.custom)
      2. ./redeployKiuwan.sh

 

 

 

Configuration changes to MySQL, Redis and sshd

 

Configuration changes to MySQL, Redis and sshd

 

  1. Can i make changes to configuration of MySQL, Redis and sshd ?
    1. Yes, you can (although Kiuwan Docker is presumably configured to suite your needs)
    2. To change MySQL configuration
      1. supervisorctl stop wildfly
      2. supervisorctl stop mysql
      3. edit mysqld.cnf located at <KIUWAN_VOL>/configurations/etc/mysql/mysql.conf.d
      4. supervisorctl start mysql
      5. supervisorctl start wildfly
    3. To change Redis configuration
      1. supervisorctl stop wildfly
      2. supervisorctl stop redis
      3. edit redis.conf located at <KIUWAN_VOL>/configurations/etc/redis
      4. supervisorctl start redis
      5. supervisorctl start wildfly

    4. In case you need to change the configuration of any of those services:
      1. MySQL : edit mysqld.cnf located at <KIUWAN_VOL>/configurations/etc/mysql/mysql.conf.d
      2. Redis: edit redis.conf located at <KIUWAN_VOL>/configurations/etc/redis
    5. supervisorctl stop wildfly | mysql
    6. you must bear in mind that these services' configuration is out of persistent volume ($KIUWAN_VOL). Therefore, those changes will not remain effective after you restart the container.
    7. In case you need to make persistent those changes , execute the next command within the docker server:
      • docker commit <container_name> <nimagen:tag>



Within the KOP container:
  1. supervisorctl stop wildfly
  2. /root/kiuwan/deployKiuwan.sh
  3. supervisorctl start wildfly

  • No labels