Aerospike Series: 5: Installing AMC

Source: Internet
Author: User
Tags aerospike

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

  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.