1: The package that needs to be installed, if missing, please install.
1 2 3 |
Python (2.6+) gcc python-devel |
Install the appropriate module?
1 2 3 4 |
sudo pip install markupsafe sudo pip install paramiko sudo pip install ecdsa sudo pip install Pycrypto |
2: Download RPM package?
1 |
wget http://www.aerospike.com/artifacts/aerospike-amc-community/3.6.0/aerospike-amc-community-3.6.0-el5.x86_64.rpm |
3: Install aerospike-amc-community-3.6.0-el5.x86_64.rpm?
1 |
RPM-IVH aerospike-amc-community-3.6.0-el5.x86_64.rpm |
For details, please refer to here: http://www.aerospike.com/docs/amc/install/linux/el6/
4: Operation Guide?
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Starting the AMC server to start the AMC:SUDO/ETC/INIT.D/AMC start to stop the AMC SERVER:SUDO/ETC/INIT.D/AMC stop To restart the AMC SERVER:SUDO/ETC/INIT.D/AMC restart to see whether or not the AMC server is up:sudo/etc/init.d/ AMC Status |
You can view the error log for any problems during configuration:/var/log/amc/error.log
5: Default gunicorn_config content?
1 2 3 4 5 6 7 8 9 10 |
[Root@localhost ~]# cat/etc/amc/config/gunicorn_config.py bind = "0.0.0.0:8081" pidfile = "/tmp/amc.pid" loglevel = "info "errorlog ="/var/log/amc/error.log "workers = 1 Proc_name =" AMC "chdir ="/opt/amc/server "Timeout = Worker_class = "Eventlet" |
You can edit bind and then restart the AMC service. For example instead: 192.168.91.132:8081
The Community edition can be consulted here: http://www.aerospike.com/docs/amc/user_guide/community/
The commercial version can be consulted here: http://www.aerospike.com/docs/amc/user_guide/enterprise/
6: Can the AMC be connected after all two services have been successfully started?
1 2 3 4 5 6 7 8 |
[root@localhost bin]# ls aerospike asd bin etc share var [root@localhost bin]#./aerospike status Info:process Runni ng [root@localhost bin]#/ETC/INIT.D/AMC status retrieving AMC status .... AMC is running. [Root@localhost bin]# |
Browser input:
Enter the 192.168.91.132 connection.
If prompted:
Check that the 3000 and 8081 ports on the host are listening for normal service.
Detailed reference: http://www.aerospike.com/docs/amc/user_guide/community/dashboard.html