Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manual steps (SLES docs) to be automated #3

Open
noelmcloughlin opened this issue May 31, 2018 · 1 comment
Open

manual steps (SLES docs) to be automated #3

noelmcloughlin opened this issue May 31, 2018 · 1 comment

Comments

@noelmcloughlin
Copy link
Member

Manual steps (documented in SLES Enterprise Storage Guide) that could be automated?

  1. manage policy.cfg file (roles)

The /srv/pillar/ceph/proposals/policy.cfg configuration file is used to determine roles of individual cluster nodes. For example, which node acts as an OSD or which as a monitor node. Edit policy.cfg in order to reflect your desired cluster setup. The order of the sections is arbitrary, but the content of included lines overwrites matching keys from the content of previous lines.

  1. manage master_minion.sls file (salt-master)

Check that the file /srv/pillar/ceph/master_minion.sls on the Salt master points to your Salt master. If your Salt master is reachable via more host names, use the one suitable for the storage cluster. If you used the default host name for your Salt master—salt—in the ses domain, then the file looks as follows:

master_minion: salt.ses

Ensure salt-master/salt-minion services get reloaded afterwards

  1. open firewall ports

Check that the Salt master node has ports 4505 and 4506 open to all Salt minion nodes on the firewall. If not, you can open them using the yast2 firewall command and allowing the SaltStack service.

  1. mange deepsea_minions file

Setting the deepsea_minions option's target is a requirement for DeepSea deployments. DeepSea uses it to instruct minions during stages execution (refer to DeepSea Stages Description for details.

To set or change the deepsea_minions option, edit the /srv/pillar/ceph/deepsea_minions.sls file on the Salt master and add or replace the following line:

deepsea_minions: target
Tip: deepsea_minions Target
As the target for the deepsea_minions option, you can use any targeting method: both Matching the Minion Name and Targeting with a 'deepsea' Grain.

Match all Salt minions in the cluster:

deepsea_minions: '*'
Match all minions with the 'deepsea' grain:

deepsea_minions: 'G@deepsea:*'

@noelmcloughlin
Copy link
Member Author

noelmcloughlin commented May 31, 2018

Issue 3: The firewalld-formula should be used for opening firewall ports. This works on most distro except on SLES version < 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant