Skip to end of banner
Go to start of banner

Deploy Version: Auto Scaling Group

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Deploy Version: Auto Scaling group

In order to

Administrative Considerations

If you followed our recommended setup above, you will need to configure a bastion host for SSH access to the instance as it is in a private subnet.

By default, the ec2-user account can be used to access your deployed AMI image. As part of the stand up, you should have defined a key value pair, please use this when logging in under ssh security

Logs

  • Log into the deployed AMI using the ec2-user account.

  • The dashboard application runs as pi-user. you can log in as that user by running

    • sudo -u pi-user -i

  • Logs are stored under /opt/pi/Dashboard/tomcat/logs/

  • There are no housekeeping rules set on this folder as default, you may wish to add your own.

Restarting the Dashboard

  • To restart the dashboard, please execute:

    1. sudo -u pi-user -i

    2. /opt/pi/Dashboard/dashboard.sh all stop

    3. Verify the services have stopped /opt/pi/Dashboard/dashboard.sh all status

    4. /opt/pi/Dashboard/dashboard.sh all start

    5. You may verify the the service has restarted /opt/pi/Dashboard/dashboard.sh all status

Upgrading/backing up the panintelligence dashboard

Please follow these steps when you wish to migrate your panintelligence to a new version of the software which we release regularly or if you wish to upgrade to the developer path (as found in the Marketplace)

We have created 2 scripts for you. They back up key resources which, when applied to a fresh install, will bring all of your changes.

  • Log into the deployed AMI instance using the ec2-user account.

  • initiate the backup

    1. sudo -u pi-user -i

    2. /opt/pi/Dashboard/s3_backup.sh --s3-bucket=<your s3 bucket name>

  • restore your backup on a new host

    1. Please stop the dashboard prior to running these steps (please see restarting the dashboard)

    2. sudo -u pi-user -i

    3. /opt/pi/Dashboard/s3_restore.sh --s3-bucket=<your s3 bucket name> --zip-file=<specify path in s3>

    4. If no zip-file option is presented, the restore routine will use the latest backup.

  • After you've copied the files across to your new host, you can start the dashboard. The database will automatically align to the latest version of the software.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.