How to manipulate conf

There are 2 kinds of conf in system

  • conf - For running service
  • conf.queued - For generating configuration

Generate conf

Generate configuration in powter-server/server according to info provided

make gen_config INFO=[INFO]
make show_queued_conf

If no INFO provided, a default one will be used instead

Set conf

Move conf.queue to conf for use of service starting

make set_config
make showconf

Pop conf

Move the queued conf to conf and restart all services

make pop_conf
make show_queued_conf
make showconf

Restore conf

Move conf to conf.queue

make restore_config
make show_queued_conf

Delete conf

Delete configuration in powter-server/server

make rm_config

results matching ""

    No results matching ""