|
|
1. Installed Version Verification
Verify installed RPM packages:
rpm -qa | grep -E "visulox|vlx"
Check Visulox Portal binary version:
/opt/visulox-portal/bin/vlx-portald version
Check Visulox license status:
sudo visulox license status
2. Visulox Core
Service Status:
systemctl status vlx-core
# Healthy state indicator: Active: active (running)
visulox integrity
# To check component status
Logs:
journalctl -u vlx-core.service -f
journalctl -u vlx-core.service -n 200
Restart:
systemctl restart vlx-core
Core Configuration Validation:
visulox config list
# Exmaples:
visulox config -name role
visulox config -name visulox-portal.hostname
# Edit example:
visulox config edit -name visulox-portal.hostname='raw.tbsol.de'
3. Visulox Portal
To see all available vlx-portald commands, run:
/opt/visulox-portal/bin/vlx-portald --help
Available commands:
|
Command |
Description |
|---|---|
|
|
Generate the autocompletion script for the specified shell |
|
|
Testing username or (username and password) |
|
|
Create maingateway connector_server in the database and print its secret |
|
|
Create a worker portal_server row from an FQDN |
|
|
Fetch and display information from Active Directory server |
|
|
Fetch and display information from LDAP server |
|
|
Check Visulox Portal installation health |
|
|
Help about any command |
|
|
Install all default data and configurations that system needs |
|
|
Join a cluster by fetching configuration from a master server |
|
|
Migrate up or down |
|
|
Start all API servers (rest-apis, socket-apis, soap-apis) |
|
|
Start the KeyDB consumer gateway |
|
|
Start osgd api server based on SGD server |
|
|
Start rest api server |
|
|
Setup master node |
|
|
Setup worker node to join a cluster |
|
|
Print the version number |
Flags:
|
Flag |
Description |
|---|---|
|
|
Path to the configs file (e.g. ./configs.yaml) [Optional] |
|
|
Apply down migrations (reverse all applied migrations) |
|
|
Help for this command |
|
|
Force migration version (default -1) |
|
|
Print out the version of current migration |
|
|
Steps of migrations — should be used with migrate command |
|
|
Apply up migrations (apply all migrations) |
Use [command] --help for more information about a specific command.
3.1. Service Status and Logs
Status:
systemctl status vlx-portal
# Healthy state indicator: Active: active (running)
Logs:
journalctl -u vlx-portal -f
File-Based Logs (Default path):
/var/log/visulox-portal/portal.log
# Monitor:
tail -f /var/log/visulox-portal/portal.log
3.2. Set log level and log file path
3.2.1. Portal
Edit configurations:
sudo vi /opt/visulox-portal/configs/config.json
Update Logger block:
"Logger": {
"Level": "debug",
"ExtraFilePath": "/var/log/visulox-portal/portal.log"
}
-
Ensure file permissions:
sudo mkdir -p /var/log/visulox-portal
sudo touch /var/log/visulox-portal/portal.log
sudo chown vlx:vlxgroup /var/log/visulox-portal/portal.log
sudo chmod 664 /var/log/visulox-portal/portal.log
-
Restart:
sudo systemctl restart vlx-portal
⚠ Use debug only temporarily.
3.2.2. Connector
Edit configurations:
sudo vi /opt/visulox-portal-connector/configs/config.json
Update Logger block:
"Logger": {
"Level": "debug",
"ExtraFilePath": "/var/log/visulox-portal-connector/connector.log"
}
-
Ensure file permissions:
sudo mkdir -p /var/log/visulox-portal-connector
sudo touch /var/log/visulox-portal-connector/connector.log
sudo chown vlx:vlxgroup /var/log/visulox-portal-connector/connector.log
sudo chmod 664 /var/log/visulox-portal-connector/connector.log
-
Restart:
sudo systemctl restart vlx-connector
⚠ Use debug only temporarily.
3.3. Portal User Management
Use the following command to manage Portal users (e.g., create or update a user with a password):
/opt/visulox-portal/bin/vlx-portald control-user \
-c /opt/visulox-portal/configs/config.json \
-u <username> \
-p <password>
Parameters:
-
-c— Path to the Portal config file -
-u— Username -
-p— Password
Example:
/opt/visulox-portal/bin/vlx-portald control-user -c /opt/visulox-portal/configs/config.json -u u1 -p abc123
3.4 UI Validation (Hostname Required)
Visulox may not work correctly via IP. Access must use the configured hostname.
Example:
https://raw.tbsol.de:8180/ui4/login
Do not use:
https://<SERVER_IP>:8180
4. Visulox Connector
4.1 Service Status
systemctl status vlx-connector
4.2 Real-Time Connector Logs (systemd)
journalctl -u vlx-connector -f
4.3 File-Based Connector Logs (if enabled)
Default path:
/var/log/visulox-portal-connector/connector.log
Monitor:
tail -f /var/log/visulox-portal-connector/connector.log
4.4 Set Connector Log Level
-
Edit:
sudo vi /opt/visulox-portal-connector/configs/config.json
-
Update:
"Logger": {
"Level": "debug",
"ExtraFilePath": "/var/log/visulox-portal-connector/connector.log"
}
-
Ensure permissions:
sudo mkdir -p /var/log/visulox-portal-connector
sudo touch /var/log/visulox-portal-connector/connector.log
sudo chown vlx:vlxgroup /var/log/visulox-portal-connector/connector.log
sudo chmod 664 /var/log/visulox-portal-connector/connector.log
-
Restart:
sudo systemctl restart vlx-connector
5. Process Verification
ps aux | grep -E "visulox|vlx" | grep -v grep
Expected:
-
visulox
-
vlx-portal
-
vlx-connector
6. Port Verification
Check listening ports:
ss -tulpen | grep -E "8180|vlx|visulox|connector|portal"
Validate:
-
Expected ports listening
-
Bound to correct interface
-
No port conflicts
7. Typical Operational Flow after Upgrade
-
Verify RPM versions
-
Check service status
-
Restart services (if required)
-
Monitor logs in real time
-
Validate hostname-based UI access
-
Confirm no restart loops
8. Common Failure Indicators & Immediate Actions
8.1 Restart Loop
journalctl -u <service> -n 200
8.2 Configuration Error
Inspect:
journalctl -u <service>
visulox config list
8.3 Port Conflict
ss -tulpen | grep <port>
8.4 Portal Health Check
Run the built-in health check to verify Visulox Portal installation health:
/opt/visulox-portal/bin/vlx-portald health-check -c /opt/visulox-portal/configs/config.json
9. Permissions and Safe Editing
Ensure log files have correct ownership.
Portal:
chown vlx:vlxgroup /var/log/visulox-portal/portal.log
Connector:
chown vlx:vlxgroup /var/log/visulox-portal-connector/connector.log
Restart service after changes.
10. Check Session Startup Logs
For each application session, a directory is created under:
/var/visulox-portal-connector/xpra
Run the following command to list the session directories sorted by date and time:
ls -alihtr
The latest directory corresponds to the most recent session.
To find the correct folder, note that in Web Mode each session has a unique identifier (UUID) visible in the URL.
This UUID represents the EmulatorSession ID, and the corresponding directory in this path is created with the same name.
Inside the session directory, you can find the session startup logs in:
app_launcher.log