Comparison of grains and pillar in Saltstack

Source: Internet
Author: User
Tags saltstack

1. Storage location

Grains:minion End

Pillar:master End

2. Data type

Grains: Static data

Pillar: Dynamic Data

3. Data collection and Update method

Grains:minion is collected at startup, or it can be refreshed with salt ' * ' saltutil.sync_grains

Pillar: Defined on the master side, assigned to the corresponding minion. You can refresh with salt ' * ' saltutil.refresh_pillar

4. Application

Grains: Storage Minion basic protective gear, such as for matching minion, its own receipts can be used to do asset management, etc.

Pillar: Store master specified data, only specified minion can be seen for sensitive data preservation

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

Comparison of grains and pillar in Saltstack

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.