Troubleshooting > Host Resources: Generating Host Resource Configuration Files
   
Version 9.1
Host Resources: Generating Host Resource Configuration Files
This APTARE-provided utility automatically generates the host resource configuration files and collector configuration file for each valid line provided in the input file.
Usage:
genHostResourceConf.{sh|bat} {CollectorID} {fileName}
CollectorID
Identifier name used for the configuration files
filename
File containing the list of parameters—one per line—in the format:
HostAddresses:userId:password:domain:excludeHostAddress
Note: Comments are allowed by using a # at the beginning of the line.
cto
Connection time-out in milliseconds
sto
Socket time-out in milliseconds
Sample lines in an input file:
# Sample configuration file to generate Host Resource Conf files 172.16.1.11-13,aptarelab3:root:adminpwd::172.16.1.12-13,apataredlab3
aptareaix1:root:superpwd::
apatrewin2k:samuel:adminpwd:aptarewin2kdomain:
Result:
For each valid line, a host resource configuration is created under the home directory:
/mbs/conf/hostresourceconf. Lines that are not valid are sent to standard output.
Creates a collector configuration xml file with Meta Data Collector child thread tags for each successfully created host resource configuration file. The file is saved in the home directory under /mbs/conf. The collector configuration xml is named in the following format:
collectorconfig-<date>.xml where date is in DDMMMYYYHHMM format