This article provides a step-by-step workaround for resolving a configuration failure in Arctera License Management Service (LMS) 8.0.2 when installed on top of Veritas InfoScale Operations Manager (VIOM) 8.0.2.550 on Red Hat Enterprise Linux (RHEL) servers. The issue manifests as a Database configuration failed error during the LMS configuration process, even after verifying prerequisites such as patch levels, permissions, and firewall settings. The failure is due to the LMS configuration script (cli_lms_config.pl) failing to update the LMS UUID in the VIOM/CMS database and configuration file, causing the configuration to abort.
This workaround involves manually updating the database and configuration file, modifying the configuration script to bypass the failing step, and re-running the configuration. The steps have been tested and confirmed to resolve the issue, allowing the LMS web interface to become accessible and license registration to be completed successfully.
Database configuration failedThe LMS configuration script (cli_lms_config.pl) attempts to update the LMS UUID in the VIOM/CMS database during setup. For reasons possibly related to permissions, environment settings, or script logic, the script fails to execute the database update when run as root. This results in the LMS UUID not being written to the database or the configuration file (e.g., /etc/vx/VRTSlms/.lmsuuid), causing the configuration to fail with a database error. Manual execution of the same SQL command succeeds, indicating a problem specific to the script's automated process.
Follow these steps to resolve the LMS 8.0.2 configuration failure and successfully complete the setup:
Uninstall and Reinstall LMS
Ensure a clean state by removing and reinstalling the LMS package.
Manually Update the Database with LMS UUID
Identify and execute the SQL command to insert the LMS UUID into the VIOM/CMS database.
/opt/VRTSsfmcs/pgsql/bin/psql -p 5636 SFMdb3 habguest -c "INSERT INTO p_db_default (name, value, note) VALUES ('server_identifier_value', gen_random_uuid(), 'unique LMS identifier for UIS json report');"
/opt/VRTSsfmcs/pgsql/bin/psql -p 5636 SFMdb3 habguest -c "\COPY (SELECT value FROM p_db_default WHERE name = 'server_identifier_value') TO '/etc/vx/VRTSlms/licenses/.lmsuuid' WITH (FORMAT text)"
>> (if we do above step then we do not need 3rd step to be performed)
Manually Update the Configuration File
Update the LMS configuration file with the UUID value.
vi /etc/vx/VRTSlms/licenses/.lmsuuid
LMS_UUID=
Modify the LMS Configuration Script
Bypass the failing step in the configuration script by commenting out the problematic function call.
vi /opt/VRTSlms/bin/cli_lms_config.pl
# at the beginning:
# update_lms_uuid(); # Line 231
Re-run the LMS Configuration
Execute the configuration script again to complete the setup.
/opt/VRTSsfmh/bin/perl /opt/VRTSlms/bin/cli_lms_config.pl
Register the LMS License
Generate and apply the LMS license key.
The issue stems from the cli_lms_config.pl script failing to execute the update_lms_uuid() function, which is responsible for writing the LMS UUID to the VIOM/CMS database and the configuration file (/etc/vx/VRTSlms/license/.lmsuuid). The failure occurs despite the script running with root privileges and all prerequisites (patch levels, permissions, firewall settings) being met. Manual execution of the SQL command to insert the UUID succeeds, suggesting a script-specific issue, possibly related to:
update_lms_uuid() function may cause it to fail silently or mishandle errors.Engineering is investigating the root cause to determine if a patch or updated script is needed. A future release may address this issue to prevent the need for manual intervention.
Environment-Specific Issues: This issue was observed on RHEL servers with VIOM 8.0.2.550. Other Linux distributions or VIOM versions may not exhibit the same behavior.
Log Analysis: Check the LMS and VIOM logs (e.g., /var/log/vx/*) for specific error messages related to database connectivity or schema updates.
UUID Generation: If the UUID is not available in logs, generate a new one using a standard UUID generator (e.g., uuidgen on Linux) and ensure consistency between the database and configuration file.
Script Modification Risks: Commenting out the update_lms_uuid() function bypasses a critical step. Ensure the manual UUID updates are accurate to avoid downstream issues with LMS functionality.
Script to Modify: /opt/VRTSlms/bin/cli_lms_config.pl & comment out below line:
# update_lms_uuid(); # Line 231
Configuration File: /etc/vx/VRTSlms/licenses/.lmsuuid
Logs to Check: /var/opt/VRTSsfmh/logs/lms_config.log;/var/opt/VRTSlms/logs/*