- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- loghost on hpux 11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 09:18 PM
08-15-2005 09:18 PM
What is the equivalent of loghost on hpux ?
Thanks in advance,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 09:21 PM
08-15-2005 09:21 PM
Re: loghost on hpux 11i
The first name after the IP address in the /etc/hosts file is the primary hostname. You can put aliases behind the primary name so that resolving will occur to the same IP address and hostname.
Eg an alias for a mailserver could be mailserver.domain.com where the primary name would be server.domain.com.
I guess that 'loghost' is the equivalent of the primary name on HP-UX.
best regards,
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 09:28 PM
08-15-2005 09:28 PM
Re: loghost on hpux 11i
From man hosts
==============================================
Aliases are other names by which a host is known. They can substitute for the official host name in most commands. For example:
192.45.36.5 hpdxsg testhost
In this example, users can use remote login on hpdxsg by using the command:
rlogin testhost
instead of
rlogin hpdxsg
If your system is in a domain naming environment, an official host name consists of the full domain extended host name. For example:
192.45.36.5 hpdxsg.xsg.hp.com hpdxsg testhost
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 10:30 PM
08-15-2005 10:30 PM
Re: loghost on hpux 11i
I wonder if it is not something obsolete in solaris now...
Here is the beginning of /etc/hosts
$ more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost loghost
The interresting thing is that this box belongs to a set of boxes maintained/administered by SUN...
>It used to mean that the server would be recognized mainly by this name.
This would be what you would see after typing: hostname
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 11:58 PM
08-15-2005 11:58 PM
SolutionIn a freshly installed Solaris, the syslogd daemon is configured to send log messages through the network to a server named "loghost" if that name is defined. To avoid unnecessary network traffic, by default "loghost" is defined as an alias to "localhost", or is left undefined.
To get a group of Solaris hosts to all log their syslog information to one place, you just make the name "loghost" refer to something other than the local host. If you set up DNS or NIS to override /etc/hosts, you can do that centrally, with no need to make changes in all the hosts.
All Solaris hosts receive syslog messages from the network by default (at least in Solaris 8 and below; my Solaris knowledge is not exactly up-to-date).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 12:39 AM
08-16-2005 12:39 AM
Re: loghost on hpux 11i
Here is from the /etc/syslog.conf on a solaris 9 server:
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
#
All the best
Victor