This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
install:upgrade:4.4.x-to-5.0.0 [2017/03/18 08:03] miconda [Impacted Modules] |
install:upgrade:4.4.x-to-5.0.0 [2018/03/09 09:11] marco.capetta [Removed Modules] |
||
---|---|---|---|
Line 42: | Line 42: | ||
* cpl-c => cplc | * cpl-c => cplc | ||
- | * janssonrpc-c => jsonrpcc | + | * janssonrpc-c => janssonrpcc |
* jsonrpc-c => jsonrpcc | * jsonrpc-c => jsonrpcc | ||
* jsonrpc-s => jsonrpcs | * jsonrpc-s => jsonrpcs | ||
Line 115: | Line 115: | ||
By default, kamctl uses now JSONRPC protocol over FIFO file, instead of the old MI protocol. The commands are more or less the same, but the output is now in JSON format, incompatible with the old output. | By default, kamctl uses now JSONRPC protocol over FIFO file, instead of the old MI protocol. The commands are more or less the same, but the output is now in JSON format, incompatible with the old output. | ||
+ | |||
+ | ===== Config Snippets ===== | ||
+ | |||
+ | This section collects configuration file snippets that can help migrating to v5.0. | ||
+ | |||
+ | ==== Replace MI With RPC ==== | ||
+ | |||
+ | The default configuration file for v4.4 has following snippets using MI components: | ||
+ | |||
+ | <code c> | ||
+ | ... | ||
+ | loadmodule " | ||
+ | ... | ||
+ | loadmodule " | ||
+ | ... | ||
+ | # ----- mi_fifo params ----- | ||
+ | # | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Replace them with next snippets to upgrade to v5.0: | ||
+ | |||
+ | <code c> | ||
+ | ... | ||
+ | loadmodule " | ||
+ | ... | ||
+ | # ----- jsonrpcs params ----- | ||
+ | modparam(" | ||
+ | /* set the path to RPC fifo control file */ | ||
+ | # modparam(" | ||
+ | /* set the path to RPC unix socket control file */ | ||
+ | # modparam(" | ||
+ | ... | ||
+ | </ | ||