시작 이벤트로 입자 전달 문제 해결
Every time a Salt client starts, it passes the machine_id grain to SUSE Multi-Linux Manager. SUSE Multi-Linux Manager uses this grain to determine if the client is registered. This process requires a synchronous Salt call. Synchronous Salt calls block other processes, so if you have a lot of clients start at the same time, the process could create significant delays.
이 문제를 해결하기 위해 별도의 동기 Salt 호출을 방지할 수 있는 새로운 기능이 Salt에 도입되었습니다.
이 기능을 사용하려면 이 기능을 지원하는 클라이언트에서 클라이언트 구성에 구성 파라미터를 추가하면 됩니다.
To make this process easier, you can use the mgr_start_event_grains.sls helper Salt state.
|
이전에 등록한 클라이언트에만 적용됩니다. 최근에 Salt 클라이언트를 등록했다면 이 구성 파라미터가 기본적으로 추가되어 있습니다. |
On the SUSE Multi-Linux Manager Server, at the command prompt, use this command to enable the start_event_grains configuration helper:
salt '*' state.sls util.mgr_start_event_grains
이 명령은 필요한 구성을 클라이언트의 구성에 추가하고, 클라이언트를 재시작할 때 이를 적용합니다. 클라이언트가 수가 매우 많은 경우 대신에 다음과 같이 배치 모드로 명령을 실행할 수 있습니다.
salt --batch-size 50 '*' state.sls mgr_start_event_grains