Saltstack Installation Deployment (CentOS 6.7)

Source: Internet
Author: User
Tags saltstack

System version:

CentOS6.7 x86_64

Deployment planning:

Serial number

Host Name

Ip

Role

1

Linux-node1.example.com

10.0.0.7

Salt-master, Salt-minion

2

Linux-node2.example.com

10.0.0.8

Salt-minion

Linux-node1.example.com:

Installing Salt-master salt-minion

Yum Install Salt-master salt-minion-y

Start Salt-master

/etc/init.d/salt-master start

Modifying the Minion-side configuration file

Vim/etc/salt/minion 16-line change to master:10.0.0.7

Start Salt-minion

/etc/init.d/salt-minion start

View all minion-side keys sent to master (linux-node2.example.com after installing salt-minion and starting to see results)

[Email protected] master]# salt-keyaccepted keys:denied keys:unaccepted Keys: linux-node1.example.comlinux-node2.example.comrejected Keys:

Accept all keys sent to master by the Minion side

[Email protected] master]# salt-key-a

The following keys is going to be accepted:

unaccepted Keys:

Linux-node1.example.com

Linux-node2.example.com

Proceed? [n/y] Y

Key for Minion Linux-node1.example.com accepted.

Key for Minion Linux-node2.example.com accepted

Modifying the Minion-side configuration file

Vim/etc/salt/minion

16 Line to master:10.0.0.7

/etc/init.d/salt-minion start

Linux-node2.example.com

Installing Salt-minion

Yum Install Salt-minion-y

Modifying the Minion-side configuration file

Vim/etc/salt/minion 16-line change to master:10.0.0.7

Start Salt-minion

/etc/init.d/salt-minion start



This article is from the "architects of the Day" blog, be sure to keep this source http://wanyuetian.blog.51cto.com/3984643/1716931

Saltstack Installation Deployment (CentOS 6.7)

Related Article

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.