Sponsored Content
Operating Systems AIX AIX How to exchange hostname and IP address between two AIX servers? Post 302731695 by lramsb4u on Thursday 15th of November 2012 03:09:48 PM
Old 11-15-2012
AIX How to exchange hostname and IP address between two AIX servers?

Hi all,

I am trying to exchange hostname and IP address of two AIX machines.

But i am confused as how to change it ?
do i need to use "smitty mktcpip" or "smitty tcpip" ?

what is the difference between smitty mktcpip and smitty tcpip ?

Also anymore steps to follow or just updating using smitty is enough (hoping that no reboot is required)

Also below is the procedure i want to use for the whole process of swapping hostname and IP address:

1) remove server A from network and update hostname and IP address (to Server B's hostname and IP) using smitty

2) move network connection cables from server B to server A

3) update hostname and IP of server B (to that of server A's old values)

4) attach network cables removed from server A to server B

Does this procedure is good to go ?

Thanks in advance!
 

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
NET-SERVER(1)						User Contributed Perl Documentation					     NET-SERVER(1)

NAME
net-server - Base Net::Server starting module SYNOPSIS
net-server [base type] [net server arguments] net-server PreFork ipv '*' net-server HTTP net-server HTTP app foo.cgi net-server HTTP app foo.cgi app /=bar.cgi net-server HTTP port 8080 port 8443/ssl ipv '*' server_type PreFork --SSL_key_file=my.key --SSL_cert_file=my.crt access_log_file STDERR DESCRIPTION
The net-server program gives a simple way to test out code and try port connection parameters. Though the running server can be robust enough for full tim use, it is anticipated that this binary will just be used for basic testing of net-server ports, acting as a simple echo server, or for running development scripts as CGI. OPTIONS
"base type" The very first argument may be a Net::Server flavor. This is given as shorthand for writing out server_type "ServerFlavor". Additionally, this allows types such as HTTP and PSGI, which are not true Net::Server base types, to subclass other server types via an additional server_type argument. net-server PreFork net-server HTTP # becomes a HTTP server in the Fork flavor net-server HTTP server_type PreFork # preforking HTTP server "port" Port to bind upon. Default is 80 if running a HTTP server as root, 8080 if running a HTTP server as non-root, or 20203 otherwise. Multiple value can be given for binding to multiple ports. All of the methods for specifying port attributes enumerated in Net::Server and Net::Server::Proto are available here. net-server port 20201 net-server port 20202 net-server port 20203/IPv6 "host" Host to bind to. Default is *. Will bind to an IPv4 socket if an IPv4 address is given. Will bind to an IPv6 socket if an IPv6 address is given (requires installation of IO::Socket::INET6). If a hostname is given and "ipv" is still set to 4, an IPv4 socket will be created. If a hostname is given and "ipv" is set to 6, an IPv6 socket will be created. If a hostname is given and "ipv" is set to * (default), a lookup will be performed and any available IPv4 or IPv6 addresses will be bound. The "ipv" parameter can be set directly, or passed along in the port, or additionally can be passed as part of the hostname. net-server host localhost net-server host localhost/IPv4 There are many more options available. Please see the Net::Server documentation. AUTHOR
Paul Seamons <paul at seamons.com> LICENSE
This package may be distributed under the terms of either the GNU General Public License or the Perl Artistic License perl v5.18.2 2012-06-12 NET-SERVER(1)
All times are GMT -4. The time now is 07:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy