Transcend Control Center (AWS Marketplace)


Step 1: Subscribe Transcend Control Center from AWS Marketplace

Link: https://aws.amazon.com/marketplace/pp/B08JF1GQSX/

Please enter to AWS Marketplace and click on the “Continue to Subscribe

Sign in your AWS account.

Click on the “Continue to Configuration

Configure this Transcend Control Center software and click on the “Continue to Launch

  1. Delivery Method: 64-bit (x86) Amazon Machine Image (AMI)
  2. Software Version: <latest_version>
  3. Region: Select the Region that the nearest to your location.

Launch this Transcend Control Center software

  1. Choose Action: Launch from Website
  2. EC2 Instance Type: t2.large (Recommand select higher than t2.large for better performance.)
  3. VPC Settings: default vpc
  4. Subnet Settings: default subnet

  5. Security Group Settings:

    • Create a security group based on our setting, enter name, description of this security group.
  6. Key Pair Settings
    • Create a key pair in EC2, enter name and select file format as “pem”. The key pair used to access EC2 instance.
  7. Click on the “Launch” to deploy EC2 machine.

Step 2. Login Transcend Control Center Web Service

Open the browser and enter http://serverIP to Transcend Control Center main page (Suggest using Google Chrome for best experience).

Note: Server IP can be found on EC2 Console. Select Control Center instance and public IPv4 address is shown in description.

Enter the default account and password

  • Username: admin
  • Password: <instance_id>

    Note: Server IP can be found on EC2 Console. Select Control Center instance and instance id is shown in description.

    Note: Please remember to modify your own password after log-in.

Main dashboard page will be shown after log-in. Please connect devices with Scope Agent [Step 3]

Step 3. Scope Agent Installation

About Scope Agent

The Control Center is a simple management tool that provides central management of edge devices. With Scope Agent, information of edge devices can be sent to Control Center for monitoring and management. The concept is as below.

Ubuntu

  1. Download Scope Agent, and unzip it

  2. Enter the command chmod 755 Install.sh

  3. Enter the command sudo ./Install.sh (enter the password that user login)

  4. After installing successfully, the command sudo ./Scope_Agent [ServerIPAddress] for connecting with server.

    • ex: sudo ./Scope_Agent 192.168.6.158

Windows

  1. Download Scope Agent

  2. Install Scope Agent

  3. Launch Scope Agent and Enter the IP of server first

  4. If connecting with server, Scope Agent will restart automatically.

Step 4. Setup Finish

After client is connected, you can see the client information is on Control Center.

Upgrade Instructions


Step 1. Connect to your instance

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
  2. In the navigation pane, choose Instances.
  3. Select the instance and choose Connect.
  4. For Connection method, choose A standalone SSH client. Follow the instruction to connect your instance. For more information, please see the connection document

    Note: Your instance user name is ubuntu.

    5. You will see the following content on terminal after connecting successfully.

Step 2. Back up database from original instance

  1. Connect to EC2 instance by following the instruction in [Step 1].

  2. To create backup path, enter the following command:

    mkdir -p /home/ubuntu/db_backup/influxdb_backup
    
  3. To back up database, enter the following commands:

    influxd backup -portable /home/ubuntu/db_backup/influxdb_backup/
    sudo cp -p /var/lib/grafana/grafana.db /home/ubuntu/db_backup/
    
  4. To package resources, enter the following command:

    sudo tar cvf /home/ubuntu/db_backup.tar /home/ubuntu/db_backup/
    
  5. Transferring backup package to your local computer

    Linux and MacOS

    For transferring files from Linux instances to local computer, please see the instruction document

    To transfer backup package to your local computer, enter the following command in terminal on your local computer:

    scp -i /path/my-key-pair.pem ubuntu@my-instance-public-dns-name:/home/ubuntu/db_backup.tar ~/path/db_backup.tar
    

    Windows

    If your computer is Windows platform, please see the instruction document for more information. Path of backup package on EC2 instance is /home/ubuntu/db_backup.tar

Step 3. Restore data on new instance

  1. To transfer backup package to new instance from local computer, enter the following command in terminal on your local computer:

    scp -i /path/my-key-pair.pem ~/path/db_backup.tar ubuntu@my-instance-public-dns-name:/home/ubuntu/db_backup.tar
    
  2. Connect to new EC2 instance by following the instruction in [Step 1].

  3. To extract files from package, enter the following command:

    tar xvf /home/ubuntu/db_backup.tar
    
  4. To restore user settings, enter the following commands:

    sudo chown grafana:grafana /home/ubuntu/db_backup/grafana.db
    sudo cp /home/ubuntu/db_backup/grafana.db /var/lib/grafana/
    sudo systemctl restart grafana-server
    
  5. To restore database, enter the following commands:

    influxd restore -portable -db influxDB -newdb influxDB_bak /home/ubuntu/db_backup/influxdb_backup/
    influx -execute 'SELECT * INTO influxDB..:MEASUREMENT FROM /.*/ GROUP BY *' -database="influxDB_bak"
    influx -execute 'DROP DATABASE influxDB_bak'