Sponsored Content
Operating Systems AIX AIX How to exchange hostname and IP address between two AIX servers? Post 302734695 by MichaelFelt on Thursday 22nd of November 2012 02:12:49 PM
Old 11-22-2012
smitty tcpip - fastpath to general tcpip menu selection
smitty inet - fastpath to change/add ip address only
smitty mktcpip - fastpath to set ip address, hostname, default route, dns info all in one dialog. Normally, mktcpip should only be used once because it also updates /etc/hosts. The common error is to use the mktcpip for multiple NIC (interfaces) and the single hostname gets set multiple times in /etc/hosts to different addresses.

So, what I would add to your procedure is to review /etc/hosts on both systems and verify no double/incorrect entries remain behind or get added.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changed the hostname/IP and broke it (AIX)

A buddy of mine bought an older RS/6000 CAD workstation runing AIX to learn on, and had me put it on his LAN at home. I used smit to change the hostname/IP. After a reboot I try to login, and get a message saying that DTMessage cannot start, and gives a changed hostname as one of the possible... (3 Replies)
Discussion started by: 98_1LE
3 Replies

2. UNIX for Dummies Questions & Answers

Fax Servers for Linux/AIX

At the company where I work, use a product called VSI-FAX. It works nicely, but the maintenance has proven to be very poor grade. So, I'm interested in any experiences using other fax servers that run on Linux or AIX and what issues/gotchas were run into and overcome and how. I'm considering... (0 Replies)
Discussion started by: kpearson
0 Replies

3. AIX

aix email integration with exchange

Hi All, I realized now that the root email is integrated with exchange. All the email of root is now being sent also to the aliases of aixadmin or to my email. I would like to know how is AIX integrated to exchange. What would be modified on AIX? Probably modify these files: /etc/hosts,... (0 Replies)
Discussion started by: itik
0 Replies

4. AIX

Synchronize time on several AIX servers ?

Hi, I want to synchronize time on several AIX servers - I don't want to set very precise time value, but I want all the servers to have same time value. How do I do that ? thanks Vilius (2 Replies)
Discussion started by: vilius
2 Replies

5. AIX

AIX Servers Ugrading to 6.1

Hi, I am very new & I am upgrading the AIX OS 5.3 to 6.1 by CD/DVD media. Before Upgrading I must backup the data, right? I have to boot from CD then the server will start the process. So during the upgrading, the applications of this AIX Box will be accessible to the Apps users or not? ... (1 Reply)
Discussion started by: Tahniet
1 Replies

6. AIX

CD Rom shared for many AIX servers.

Guy's I have more than 20 servers available in different locations and I want to configure CD Rom as NFS between these servers to be sharedCan any one explain the configuration how can NFS or share CD rom between more than 20 servers available in different locationsto be used in one time from all... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

7. AIX

pwage-aix for IBM AIX servers

This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Discussion started by: sparcguy
0 Replies

8. AIX

Enable send email through smtp - exchange on AIX 6.1

Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies

9. UNIX for Advanced & Expert Users

AIX - Sendmail - add hostname to subject of outgoing mail

Hello, I'm configuring sendmail on an AIX 7.1 server (bos.net.tcp.client 7.1.1.15). I've gotten sendmail to send mail through our Novell GroupWise server, so that mail from a user on the server appears to come from their GroupWise account, and replies to the email would go to their GroupWise... (0 Replies)
Discussion started by: eyebeam
0 Replies

10. AIX

AIX Syslog where the hostname sit

Dear all experts, I would like to know where can I find the hostname located as when I receive the syslog, I can only see as below : (showing in localhost instead of the hostname) Feb 6 15:31:31 localhost syslog:info syslogd: restart Feb 6 15:31:50 localhost syslog:info syslogd: restart Feb... (13 Replies)
Discussion started by: kwliew999
13 Replies
Ns_ConnReturnFile(3aolserver)				   AOLserver Library Procedures 			     Ns_ConnReturnFile(3aolserver)

__________________________________________________________________________________________________________________________________________________

NAME
Ns_ConnReturnFile - Return a file as a complete response SYNOPSIS
#include "ns.h" int Ns_ConnReturnFile(conn, status, type, file) ARGUMENTS
Ns_Conn conn (in) Pointer to open connection. char *file (in) Pointer to filename string. int status (in) HTTP status code. char *type (in) Pointer to mimetype string. _________________________________________________________________ DESCRIPTION
This routine is used to generate complete responses, including the HTTP status code specified by the status argument and appropriate head- ers followed by the contents of the file specified with the file argument. This routine utilizes the underlying builtin file-server code (aka, "fastpath"). As such, it shares the fastpath capabilities to automatically cache pre-read or memory mapped copies of the files and can safely support multiple, simultaneous responses. The following headers are included in the output: Last-modified Constructed based on the modification time of the given file. Content-length Constructed based on the size of the give file. Content-type Constructed with the given type argument. If type is NULL, the type will be determined based on the filename using the Ns_GetMime- Type routine SEE ALSO
Ns_ConnFlush(3), Ns_ConnReturnOpenFd(3), Ns_GetMimeType(3) KEYWORDS
connnection, response AOLserver 4.0 Ns_ConnReturnFile(3aolserver)
All times are GMT -4. The time now is 07:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy