PAS 20.1
Scheer PAS uses Portainer to manage the platform components. Portainer is used since PAS 20.1. In earlier versions, administrators must use the Scheer PAS Bridge for this purpose.
Portainer is an open source toolset that allows you to build and manage containers in Docker. For this purpose, Portainer provides an easy to use GUI that PAS customers can use to administer the platform components. | ||
|
Administrators of the Scheer PAS platform can use Portainer to do the following:
Portainer gives you the possibility to manage the services, for example to start and stop them. Open the container list and use the Portainer toolbar...
|
Portainer also gives you insight in the containers and the container logs. There are two ways to open the container logs:
| ||
| ||
The filter logs page contains two sections:
|
Portainer allows you to get access to the logs of the platform services, but we recommend to use Kibana to do this. The default log level is warn (only warn and error are taken into account). If you need to change the log level, see section How to Change the Log Level for a detailed description.
|
You have the possibility to attach to a shell inside the container to change some configuration. There are two ways to open the shell:
| ||
| ||
In the Container console window click the Connect button to open the console.
|
The default log level is warn (only warn and error are taken into account). You can change the log level, for example for debugging purposes.
Do not forget to reset the log level to the default after debugging. Otherwise, enormous amounts of data are generated, which can have a long-term effect on system performance. |
Open the container details and use the Duplicate/Edit button. | ||
The Create container window opens. Scroll down to section Advanced container settings and click on the Env tab. | ||
To change the log level, you need to add the variable LOG_LEVEL if it is not yet present. Use the +add environment variable button. An empty line is added to the list. Enter the following:
| ||
To apply the changes, you need to deploy the container. Click on the button Deploy the container. You will find it in section Actions. | ||
Confirm the pop-up note as you want to replace the existing container. | ||
You will be notified if the container has been created sucessfully. The note disappears after a while and the container list is displayed again. | ||
Use the list to check if the new container is up and running. | ||
Now you can check if the changed levels are displayed in the logs. See section View Container Logs for details on how to access the logs. | ||
Delete the added environment variable LOG_LEVEL after debugging and deploy the container again. The log level will then be reset to the default. |