hostlist.dat

Package: WA2L/edrc 1.5.57
Section: File Formats (4)
Updated: 17 November 2020
Index Return to Main Contents

 

NAME

hostlist.dat - list of hosts for the hostlist command

 

SYNOPSIS

edrc/etc/hostlist.dat

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the host list definition for the hostlistdat2cfg command which converts this data file to a format that can be computed by the hostlist command.

 

FILEFORMAT

The fileformat is a list of definitions that have the format

CUSTOMER;ENVIRONMENT;GROUPS;OPTIONS;HOSTS;

Rows starting with a # are considered as comments. Empty lines are allowed, too.

 

OPTIONS

CUSTOMER

customer name as defined in edrc/etc/server_environment.cfg.

ENVIRONMENT

customer environment name as defined in edrc/etc/server_environment.cfg.

GROUPS

space separated list of host groups.

OPTIONS

Additional options for a row. Currently this field is not resolved and should be left empty.

HOSTS

space separated list of hosts.

 

EXAMPLES

#
# etc/hostlist.dat - hostlist csv database file
#
# [00] 12.08.2008 CWa   Initial Version
#

#
# Format:
#
#   <CUSTOMER>;<ENVIRONMENT>;<GROUPS>;<OPTIONS>;<HOSTS>;
#
#   To verify the syntax, use: hostlistdat2cfg -a list_dat 
#   Only correct entries will be listed.
#
Highlander  ;ADMIN          ;       ;;adm-linux adm-hpux adm-solaris;
Highlander  ;REPORT         ;       ;;rpt-001 rpt-002;
ACME        ;DEVELOPMENT    ;@APP   ;;host-001 host-002;
ACME        ;DEVELOPMENT    ;@DB    ;;host-003;
ACME        ;TEST           ;       ;;host-101 host-103;
ACME        ;PREPRODUCTION  ;       ;;host-201 host-203 host-205;
ACME        ;PRODUCTION     ;       ;;host-303 host-308 host-309;
ACME        ;               ;@PING  ;;ping-001 ping-002 ping-003;

WA2L        ;EDRC_DVLP      ;@DEV   ;;tobago \
                                      ub2004 \
                                      suse110 suse110-32 suse113 \
                                      suse114 suse123 suse152;

 

SEE ALSO

edrcintro(1), hostlist(3), hostlist.cfg(4), hostlistdat2cfg(3), server_environment(3), server_environment.cfg(4)

 

NOTES

the reason why the hostlist.dat file is converted using hostlistdat2cfg into a file that can be computed by the hostlist command is, that first the hostlist.cfg existed and over time it turned out to be to complicated to maintain, but a backward compatible solution was needed.

Therefore it is recommended to define the list of hosts in the hostlist.dat file and not any more in the hostlist.cfg file.

 

BUGS

-

 

AUTHOR

hostlist.dat was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:53:10 GMT, August 28, 2024