This installs and configures Datos.io RecoverX
Chef version 0.11.0+ and Ohai 0.7.0+ are required.
- Ubuntu Trusty 14.04
This is the recipe that is used to set up the RecoverX cluster.
Set up a role for the RecoverX cluster. Some notes about the role:
- For the SSH settings to take effect, the
openssh
cookbook must be installed
name 'recoverx-mongodb-server'
description 'MongoDB backup role for RecoverX node'
run_list(
'recipe[recoverx::recoverx]',
'recipe[openssh]'
)
default_attributes(
datos: {
recoverx: {
node_type: 'mongodb',
version: '1.2.10_2017-03-09-20-11',
download_url: 'https://s3.amazonaws.com/com.mycompany.packages/datos_1.2.10_2017-03-09-20-11_centos6.tar.gz',
storage_type: 's3'
},
mongodb: {
mongodb_group: 'mongodb'
}
},
openssh: {
server: {
'max_sessions': '500',
'max_startups': '500:1:500'
}
}
)
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
- Author:: Eric Lubow (@elubow)