01-24-2012
RHEL 5.5, /etc/hosts, multiple loghost entries?
Greetings everyone. I am currently required by company policy to point our servers to a corporate syslog server, so that causes us to have one loghost entry. However the vendor whose software we install on these servers, for their EMS requires us to include another loghost entry.
I have searched around and haven't seen anything anywhere about whether or not you can use multiple loghost entries in /etc/hosts. Any feedback would be greatly appreciated. Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I need to copy a file ( say 1MB file ) to multiple hosts( no of machines is huge).
What would be the most optimal way of doing it with minimal user intervention ?
Thanks,
Sumit (5 Replies)
Discussion started by: sumsriva
5 Replies
2. Shell Programming and Scripting
I am trying get "df -k" output from multiple hosts along with their hostnames via ssh, my script is appending the "df -k" output from all the nodes to a single file but not getting the hostnames for those nodes, just wondering how to pass more than one command via ssh or may be someone could come... (6 Replies)
Discussion started by: barkath
6 Replies
3. Shell Programming and Scripting
Hi Folks,
I have scanned the threads all day and have not found anything close enugh to what I need. I'm probably more confused now than before.
Here's what I'm trying to do:
1. automate for running in the early am. (I think I can handle the cron part)
2. get the newest file from a... (5 Replies)
Discussion started by: huntfishtrap
5 Replies
4. Shell Programming and Scripting
Hi Expert,
How to create a script to reboot multiple hosts in linux?
Thank you. (5 Replies)
Discussion started by: regmaster
5 Replies
5. Red Hat
Hi,
I configure the /etc/hosts in red aht ES 5.4
I want to ask what is the function of "loghost "..
If I miss it , any different or problem ??/
Below is the etc/hosts file
127.0.0.1 localhost
192.168.59.10 A.abc.com A loghost
192.168.59.12 B.abc.com B
192.168.59.13 C.abc.com C (1 Reply)
Discussion started by: chuikingman
1 Replies
6. UNIX for Dummies Questions & Answers
We recently had an smtp server go down and didn't have a backup. Now that the backup server is up and running, I'd like to set up sendmail on our Solaris 10 servers to failover to the backup mail (smtp) server if the primary refuses connections.
I've googled "mailhost" and haven't found... (0 Replies)
Discussion started by: the.gooch
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
This question has been posted by another member previously, but no reply/answer was posted to that thread and it has been closed. Searches do not seem to turn up a straight answer as to whether or not this is possible.
So I ask the same question:
We recently had our SMTP server go... (2 Replies)
Discussion started by: kwasserb
2 Replies
8. UNIX for Dummies Questions & Answers
Hi guys - I am having a hard time trying to figure how to search for a certain string on config files hosted on multiple hosts.
This is an example:
Hostnames: myhost1.mycompany.com|myhost2.mycompany.com|myhost3.mycompany.com
String to search for: myipaddress.somehost.com
Directory... (9 Replies)
Discussion started by: DallasT
9 Replies
9. Shell Programming and Scripting
I created a script to check for tsm backup status on linux hosts. Script uses a source file to connect to each host and run a dsmc command on each host and write the output back to a output file located on the parent server where the script is running. The script works fine for the first 2 hosts... (4 Replies)
Discussion started by: svajhala
4 Replies
10. Shell Programming and Scripting
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 Replies
LEARN ABOUT PHP
timesyncd.conf
TIMESYNCD.CONF(5) timesyncd.conf TIMESYNCD.CONF(5)
NAME
timesyncd.conf, timesyncd.conf.d - Network Time Synchronization configuration files
SYNOPSIS
/etc/systemd/timesyncd.conf
/etc/systemd/timesyncd.conf.d/*.conf
/run/systemd/timesyncd.conf.d/*.conf
/usr/lib/systemd/timesyncd.conf.d/*.conf
DESCRIPTION
These configuration files control NTP network time synchronization.
CONFIGURATION DIRECTORIES AND PRECEDENCE
The default configuration is defined during compilation, so a configuration file is only needed when it is necessary to deviate from those
defaults. By default, the configuration file in /etc/systemd/ contains commented out entries showing the defaults as a guide to the
administrator. This file can be edited to create local overrides.
When packages need to customize the configuration, they can install configuration snippets in /usr/lib/systemd/*.conf.d/. Files in /etc/
are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages. The main
configuration file is read before any of the configuration directories, and has the lowest precedence; entries in a file in any
configuration directory override entries in the single configuration file. Files in the *.conf.d/ configuration subdirectories are sorted
by their filename in lexicographic order, regardless of which of the subdirectories they reside in. When multiple files specify the same
option, for options which accept just a single value, the entry in the file with the lexicographically latest name takes precedence. For
options which accept a list of values, entries are collected as they occur in files sorted lexicographically. It is recommended to prefix
all filenames in those subdirectories with a two-digit number and a dash, to simplify the ordering of the files.
To disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null in the configuration
directory in /etc/, with the same filename as the vendor configuration file.
OPTIONS
The following settings are configured in the "[Time]" section:
NTP=
A space-separated list of NTP server host names or IP addresses. During runtime this list is combined with any per-interface NTP
servers acquired from systemd-networkd.service(8). systemd-timesyncd will contact all configured system or per-interface servers in
turn until one is found that responds. When the empty string is assigned, the list of NTP servers is reset, and all assignments prior
to this one will have no effect. This setting defaults to an empty list.
FallbackNTP=
A space-separated list of NTP server host names or IP addresses to be used as the fallback NTP servers. Any per-interface NTP servers
obtained from systemd-networkd.service(8) take precedence over this setting, as do any servers set via NTP= above. This setting is
hence only used if no other NTP server information is known. When the empty string is assigned, the list of NTP servers is reset, and
all assignments prior to this one will have no effect. If this option is not given, a compiled-in list of NTP servers is used instead.
RootDistanceMaxSec=
Maximum acceptable root distance. Takes a time value (in seconds). Defaults to 5 seconds.
PollIntervalMinSec=, PollIntervalMaxSec=
The minimum and maximum poll intervals for NTP messages. Each setting takes a time value (in seconds). PollIntervalMinSec= must not be
smaller than 16 seconds. PollIntervalMaxSec= must be larger than PollIntervalMinSec=. PollIntervalMinSec= defaults to 32 seconds, and
PollIntervalMaxSec= defaults to 2048 seconds.
SEE ALSO
systemd(1), systemd-timesyncd.service(8), systemd-networkd.service(8)
systemd 237 TIMESYNCD.CONF(5)