Saltstack (i) installation

Source: Internet
Author: User

# Salt installation (Epel source mode)

RPM-IVH http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

# Service Side

Yum-y Install Salt-master

# Client

Yum-y Install Salt-minion

# Server configuration:

Vi/etc/salt/masterinterface:192.168.6.170auto_accept:false//false: Server-side manual validation true: Automatic authentication </code>

# Client Configuration

vi/etc/salt/minionmaster:192.168.6.170///IPID:SALT_MINION-1//Client Identity schedule://Client to the server every 30s to synchronize updates Highstate:function:state.highstate seconds:30

# Start Service

/etc/init.d/salt-master/etc/init.d/salt-minion

Server Add firewall 4505 (publish_port): Salt message Publishing System, 4506 (Ret_port): Salt client communicates with server port

Vi/etc/sysconfig/iptables-a input-p tcp-m tcp--dport 4505-j accept-a output-p tcp-m TCP--sport 4505-j ACCEPT-A in Put-p tcp-m TCP--dport 4506-j accept-a output-p tcp-m tcp--sport 4506-j ACCEPT


Saltstack (i) installation

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.