This module installs the EMC NetWorker backup client and/or server.
It is assumed that the installation packages are available via a repository
the client has access to. It also manages the servers
file.
- the
lgtoclnt
andlgtoman
packages - the content in
/nsr/res/servers
- the service
networker
An assumption is made that you have setup a private repository to hold the packages for installing the NetWorker client.
Once you have a repo setup all you have to do is include networker in your manifest somewhere. You can, optionally, set the servers that are allowd to access the client via a parameter or via the file backend to hiera.
Basic usage:
include networker
Set the servers allowed to access the client:
class { 'networker':
servers => ['server1.example.com', 'server2.example.com'],
}
Pull the file representing /nsr/res/servers
from hiera:
class { 'networker':
servers_file => 'hiera',
}
Installs the Networker client packages "lgtoclnt", "lgtoman"
Default: true
Hiera parameter: networker::install::install_client
Installs the Networker console package "lgtonmc"
Default: false
Hiera parameter: `networker::install::install_console``
Installs the Networker Module for Databases and Applications package "lgtonmda"
Default: false
Hiera parameter: networker::install::install_nmda
Installs the Networker Module for SAP package "lgtonmsap"
Default: false
Hiera parameter: networker::install::install_sap
Installs the Networker server package "lgtoserv"
Default: false
Hiera parameter: networker::install::install_server
Installs the Networker storagenode package "lgtonode"
Default: false
Hiera parameter: networker::install::install_storagenode
Sets the version of the client to install.
Default: present
Hiera parameter: networker::install::version_client
Sets the version of the console to install.
Default: present
Hiera parameter: networker::install::version_console
Sets the version of the nmda module to install.
Default: present
Hiera parameter: networker::install::version_nmda
Sets the version of the sap module to install.
Default: present
Hiera parameter: networker::install::version_sap
Sets the version of the server to install.
Default: present
Hiera parameter: networker::install::version_server
Sets the version of the storagenode to install.
Default: present
Hiera parameter: networker::install::version_storagenode
Sets the system's connection ports to the ranges specified.
Type: String
Default: 0-0
The servers that should be entered into /nsr/res/servers
Type: array
Default: []
Determines where the content for the servers file comes from. Valid values are
'template'
and 'hiera'
.
template
: takes the array passed to $servers and uses it to construct/nsr/res/servers
.hiera
: takes advantage of the file backend for hiera and looks for the specified file there (seeservers_file_name
).
Type: String
Default: 'template'
The name of the file in hiera that contains the desired contents of
/nsr/res/servers
Type: String
Default: 'networker_servers'
Sets the system's service ports to the ranges specified.
Type: String
Default: 7937-9936
This should work on the RedHat
and Debian
families of OS's. Additional
support is welcomed, just submit an issue with the details. Support for
Windows is planned for a future release.
Pull requests are welcomed! Many thanks to Sebastian Ickler for adding features beyond the client setup to this module. If you add any code please try to make sure it will only be executed on OS's that support it.
This is released under the New BSD / BSD 3 Clause license. A copy of the license can be found in the root of the module.