Skip to main content
Version: 3.1.0 (Preview)

Plan The 3.1.0 Upgrade

AreaPre-upgrade checks
Source and package provenanceUse one reviewed candidate containing the documented baseline, and verify its artifacts
Ambari JavaBuild on JDK 17; select an Ambari runtime satisfying the new Java checks
Stack JavaRecord the independently selected JDK and each service's compatibility requirements
PythonCheck the minimum version, actual executable, and packaged native-extension ABI
ArchitectureKeep RPM headers, Python wheels, and VictoriaMetrics binaries on the same target architecture
DatabaseBack up metadata, configuration, credentials/keystores, and the restore procedure
MonitoringInventory AMS data, widgets, integrations, legacy service records, and the new retention/capacity plan
Browser/authenticationValidate React entry points, reverse-proxy paths, local/SSO login, and role permissions

On Rocky 8, do not assume the system's generic python3 executable is Python 3.9. The runtime guide and packaging guide describe the interpreter and ABI contract.

The removal of old AMS Stack definitions is not itself cleanup of every existing cluster record. Qualify the legacy service inventory against the target build and use the supported migration procedure; do not invent manual database deletions to make startup succeed.

Maintenance Window

  1. Rehearse the candidate on a representative copy of the environment. Record normal startup, an interrupted operation, and rollback.
  2. Preserve a consistent database/configuration/package backup and stop Ambari Server according to the maintenance plan. Keep application service shutdown decisions separate from the management-server upgrade.
  3. Upgrade Server and Agent packages from the approved repository for the selected architecture. Do not copy only a React dist directory or overlay old private Python libraries onto the new package.
  4. Configure Ambari and Stack Java homes independently. If configuration is required, the setup interface supports the following separate paths; replace them with installed JDK locations:
ambari-server setup \
--ambari-java-home /opt/jdks/ambari-17 \
--stack-java-home /opt/jdks/stack-java
  1. With Server stopped and the database backup available, run the candidate's metadata upgrade:
ambari-server upgrade
  1. Resolve any schema/configuration errors before starting Server. Start Server and Agents using the installed service entry points, then confirm host registration and command execution.
  2. Install/configure VictoriaMetrics and VMAGENT, validate discovery and queries, and recreate custom monitoring definitions.
  3. Complete the acceptance checks below before returning the environment to normal change activity.

The 3.1 catalog establishes the new monitoring metadata tables. It does not import AMS historical samples or automatically convert old widget layouts.

Acceptance Checks

  • Confirm Server starts without mixed Java framework/provider errors, and both Ambari and service JDK choices are correct.
  • Verify every Agent runs through its wrapper with the expected Python minor ABI and can import its packaged dependencies.
  • Execute a controlled service check and inspect its background request/task logs.
  • Open Hosts, retain filters while moving between list and detail, and confirm component summaries.
  • Read, edit, validate, and save a representative configuration using both a writable role and a read-only role.
  • Validate Kerberos/HA workflows relevant to the deployed topology, including cancellation, refresh, and owner recovery.
  • Check metadata/data backups and rollback readiness before initiating a separate Stack upgrade.
  • Verify exporter health, independently discovered component targets, storage delivery, datasource connection, dashboard queries, and role-based monitoring access.
  • Confirm that an existing browser preference does not unintentionally keep users on Classic when the deployment requires React.

The repository contains static tests and selected runtime evidence. Those do not substitute for these environment-specific acceptance checks.

Rollback

A rollback must restore a consistent metadata database, configuration, and compatible package set. A package downgrade alone cannot undo all schema, private-library, and dashboard-model changes. Preserve the old monitoring read path as required by retention policy, and treat VictoriaMetrics storage and VMAGENT queue recovery separately.

References

See JDK separation, Python/package modernization, and the pinned 3.1 upgrade catalog.