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”
- Delivery Method: 64-bit (x86) Amazon Machine Image (AMI)
- Software Version: <latest_version>
- Region: Select the Region that the nearest to your location.
Launch this Transcend Control Center software
- Choose Action: Launch from Website
- EC2 Instance Type: t2.large (Recommand select higher than t2.large for better performance.)
- VPC Settings: default vpc
-
Subnet Settings: default subnet
-
Security Group Settings:
- Create a security group based on our setting, enter name, description of this security group.
- 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.
- 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
-
Download Scope Agent, and unzip it
-
Enter the command chmod 755 Install.sh
-
Enter the command sudo ./Install.sh (enter the password that user login)
-
After installing successfully, the command sudo ./Scope_Agent [ServerIPAddress] for connecting with server.
- ex: sudo ./Scope_Agent 192.168.6.158
Windows
-
Download Scope Agent
-
Install Scope Agent
-
Launch Scope Agent and Enter the IP of server first
-
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
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
- In the navigation pane, choose Instances.
- Select the instance and choose Connect.
-
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
-
Connect to EC2 instance by following the instruction in [Step 1].
-
To create backup path, enter the following command:
mkdir -p /home/ubuntu/db_backup/influxdb_backup
-
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/
-
To package resources, enter the following command:
sudo tar cvf /home/ubuntu/db_backup.tar /home/ubuntu/db_backup/
-
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
-
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
-
Connect to new EC2 instance by following the instruction in [Step 1].
-
To extract files from package, enter the following command:
tar xvf /home/ubuntu/db_backup.tar
-
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
-
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'