Redis management platform repoll developed by django--operation and maintenance functions

content

1. Redis resource pool management

  1. 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

  1. 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 figureimage

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).image

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

  1. When the configuration goes online, the fixed text requirements of the platform are as follows

image

  1. 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.image

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. imageClick 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 instanceimage

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) image

{{o.name}}
{{m.name}}

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324062652&siteId=291194637