content
- 1. Redis resource pool management
- Second, configure the application online
- 3. Start instance monitoring
- 4. Application start and stop
- 5. Add bulk users
1. Redis resource pool management
- All machines in the redis resource pool must use the redis installation script that comes with the platform to install redis according to redis, and execute the following command on the server
sh repoll-init.sh repoll
- Use the administrator user to log in to the platform and enter the IP, username and other information of all servers in the resource pool in the "Resource Pool Server List" tab, as shown in the following figure
Second, configure the application online
Only the instance that initiates the application in the project manager role and is approved by the approval role can be configured and launched by the platform administrator (dba or application operation and maintenance role).
Configure online
Log in to the platform through the administrator role, click the instance to be launched, and enter the text according to the fixed text requirements of the platform. It should be noted that
- When the configuration goes online, the fixed text requirements of the platform are as follows
- For the format platform, there will be a certain format verification. All server ip addresses must be the machine ip entered into the platform resource pool in the first step, or the verification cannot be passed.
3. Start instance monitoring
The monitoring of redis is currently implemented through django-crontab. The command to enable monitoring is as follows
python3 manage.py crontab add
4. Application start and stop
The redis instance after the configuration goes online will be displayed in the "Redis Running Instances" tab, which will display the data obtained by monitoring, including memory usage, running days, and current instance running status. Click the instance name to enter, the instance's On the details page, you can see the start, stop and QPS trend graph buttons of the instance
5. Add bulk users
The platform provides an API interface for creating new users, and users can be added in batches through the interface. Available through http://127.0.0.1:8000/users/ (please visit the ip and port of the platform according to the actual situation)