NAME
Siebel::Srvrmgr::Util::IniDaemon - creates a Siebel::Srvrmgr::Daemon from a INI configuration file
DESCRIPTION
This modules provides a interface to a Siebel Enterprise to search and extract parameters from a specific Siebel component from all Siebel Server it is available.
EXPORTS
The recover_info
function is the only one exported by default.
FUNCTIONS
create_daemon
This functions connects to the Siebel Enterprise and retrieve the parameters values of the desired component.
It expects as parameters:
A string of the complete path to a configuration file that is understandle by Config::IniFile.
CONFIGURATION FILE
The configuration file must have a INI format, which is supported by the Config::Tiny module.
Here is an example of the required parameters with a description:
[GENERAL]
# the Siebel Gateway hostname and port, for example
gateway=foobar:1055
# the Siebel Enterprise name
enterprise=MyEnterprise
# the Siebel user with administrative privileges
user=sadmin
# the password from the user with administrative privileges
password=123456
# the field delimiter used to separate the output fields of srvrmgr
field_delimiter=|
# the complete pathname to the program srvrmgr
srvrmgr= /foobar/bin/srvrmgr
# if true, will add a "load preferences" command with "LoadPreferences" action automatically
load_prefs = 1
# type defines which subclass of Siebel::Srvrmgr::Daemon to use. The acceptable value is "heavy"
# for Siebel::Srvrmgr::Daemon::Heavy and "light" for Siebel::Srvrmgr::Daemon::Light
type = heavy
Whatever other parameters or sections available on the same INI will be ignored.
SEE ALSO
AUTHOR
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This file is part of Siebel Monitoring Tools.
Siebel Monitoring Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Siebel Monitoring Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>.