Deploying multiple containers using configuration adaption scripts
About this task
In order to avoid conflicts between multiple container instances, there are Karaf configuration adaption scripts which automate the adjustment of potentially conflicting parameters. They are based on the edit and property-set commands described above.
Those scripts are executed within the Karaf container and thus are supported by all platforms compatible with container. Therefore, even if they have an .sh extension, their usage is not limited to Linux based operating systems.
To deploy multiple containers:
Procedure
Results
The ports which are configured using the configuration scripts are described in the table below:
Parameter | configureC0.sh | configureC1.sh | configureC2.sh | configureC3.sh |
---|---|---|---|---|
HTTP Port | 8040 | 8041 | 8042 | 8043 |
HTTPS Port | 9001 | 9002 | 9003 | 9004 |
RMI Registry Port | 1099 | 1100 | 1101 | 1102 |
RMI Server Port | 44444 | 44445 | 44446 | 44447 |
SSH Port | 8101 | 8102 | 8103 | 8104 |
Command Port | 8000 | 8010 | 8020 | 8030 |
File Transfer Port | 8001 | 8011 | 8021 | 8031 |
Monitoring Port | 8888 | 8898 | 8908 | 8918 |