Skip to content

Release Candidate Validation

Guangning edited this page Sep 9, 2020 · 14 revisions

Download the binary distributions

Unzip the server distribution apache-pulsar-manager-<release>-bin.tar.gz. The unzipped binary is in a directory called apache-pulsar-manager-<release>. All the operations below happen within that directory.

Validation checksum

shasum -a 512 apache-pulsar-manager-<release>-src.tar.gz
shasum -a 512 apache-pulsar-manager-<release>-bin.tar.gz
gpg --verify apache-pulsar-manager-0.X.0-bin.tar.gz.asc apache-pulsar-manager-0.X.0-bin.tar.gz
gpg --verify apache-pulsar-manager-0.X.0-src.tar.gz.asc apache-pulsar-manager-0.X.0-src.tar.gz

Compare the contents of file .sha512, .asc to ensure consistency.

Start Pulsar standalone

./bin/pulsar standalone -nss -a 127.0.0.1

Validation bin.tar.gz

tar -zxvf apache-pulsar-manager-0.X.0-release-bin.tar.gz
cd pulsar-manager

Start Pulsar Manager backend and frontend service

tar -zxvf pulsar-manager.tar
cd pulsar-manager
cp -r ../dist ui
./bin/pulsar-manager

Validation

  1. Init username and password
CSRF_TOKEN=$(curl http://localhost:7750/pulsar-manager/csrf-token)
curl \
    -H 'X-XSRF-TOKEN: $CSRF_TOKEN' \
    -H 'Cookie: XSRF-TOKEN=$CSRF_TOKEN;' \
    -H "Content-Type: application/json" \
    -X PUT http://localhost:7750/pulsar-manager/users/superuser \
    -d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "[email protected]"}'
  1. Open the website http://localhost:7750/ui/index.html and log in to.

Username: admin Password: apachepulsar

  1. Validation bookkeeper management(optional)
  • Update the configuration bkvm.conf, set bkvm.enabled to true
  • Restart pulsar-manager
  1. Open the website http://localhost:7750/bkvm