Server Roles
Each role in Enhance is containerized, allowing servers in the cluster to provide various services, such as Application, Email, Database, Backup, and DNS roles.
Key Operations:
-
Install a Role:
- Open Servers in the left sidebar.
- Select Manage on the server to add a role.
- Scroll to Roles and click Add Role.
- Select the desired roles and click Add services.
Tip: You can navigate away from the server page while the installation is in progress.
Warning: New roles won’t be mapped to websites automatically. Use the "move server" option to link websites to the new role.
-
Override Global Role Settings:
- Some global settings can be overridden per role, such as:
- Email Role: SMTP relay configuration.
- Application Role: PHP FPM and PHP INI settings.
- Database Role: Custom my.cnf directives.
- To override, go to Servers, select Manage, navigate to the role, and click Settings.
- Some global settings can be overridden per role, such as:
-
Delete a Role:
- Deleting a role will remove the service and all associated containers and data.
- Tip: Ensure no websites are mapped to the role before deleting.
-
Disable/Enable a Role:
- Disabling prevents new websites from being added to that service but won’t affect existing ones.
- To disable: Select the service in the server’s Roles tab and click Disable role.
- To enable: Select the service and click Enable role.
-
Restart a Role:
- Graceful Restart: Waits for all processes to finish before restarting.
- Forceful Restart: Immediately kills all processes.
- To restart, navigate to Services in the server management page, select the service, and click Restart now.