Yes, it will have an impact. There are some instructions in the V5 release
notes, in the back, but they are not very complete. Here are the
instructions
from the V6 Release notes. I have already found some typos in them (missing
<od> operand in step 1), corrected here. I think the instructions for
changing
the IP address are ok, but I'm not positive about the instructions for
changing
the hostname (and I contributed to this effort!). I do not normally
recommend
changing the hostname. Those instructions given cover the case where the
TMR and Netview are two different boxes.
If your Netview server is NOT the TMR server, the instructions for changing
the address are similar, but you will also have to tell the TMR server
about
the change. I did it this yesterday and confused myself terribly but once I
got
the entries into both of the /etc/hosts files corrected, it went ok.
Note that if your Netview is moving very far, like out of the same subnet,
you probably should rediscover the map, since it is discovered from the
point of view of Netview.
========== From the V6 Release Notes Appendix B ================
To change the IP address in the Tivoli Framework, perform the following
steps:
1.Issue this command:
odadmin odlist change_ip <od> <newaddr> FALSE
where <newaddr> is the new IP address. <od> is the object
dispatcher
number which is 1 if this is the TMR server. Find the the number
with
the command 'odadmin odlist.'.
2.Issue this command:
ovstop nvsecd
3.Change the IP address on the Netview machine (for example, on
AIX use smit (smit tcpip) to change the address).
4.Issue this command:
odadmin shutdown
5.Change the IP address in the /etc/hosts, /etc/resolv.conf, and
snmpd.conf files. (They
will probably be out of order in /etc/hosts. Make sure the new one
comes first.)
6.Issue this command:
odadmin start
To test this change, do the following:
1.Issue this command:
odadmin odlist
This command should show the server as a managed node (or the TMR
server).
2.Verify that the Tivoli desktop starts up successfully by entering
tivoli from the command line.
3.Show the properties of the managed node from the Tivoli desktop. It
should show the new address.
To change the IP address in Tivoli NetView, follow these steps:
1.Issue this command:
ovstart nvsecd
Note:
The Tivoli NetView daemons should all be stopped from the
ovstop command in the previous section.
2.Issue this command:
/usr/OV/service/reset_ci
3.Issue this command:
ovstart
4.Start Tivoli NetView using the netview command.
5.Delete and rediscover the node for the management station, or demand
poll it.
To test this change, do the following:
1.Verify that the node appears correctly in the IP Internet map and the
Managers map.
2.Check for errors in the nettl log.
3.If the Tivoli NetView MLM is installed, check the mlm group,
topology, and smconfig.
Changing the Hostname
To change the hostname of the TMR server, perform the following steps:
1.Shutdown everything, using the command:
odadmin shutdown all
2.Rename the $DBDIR directory using the new hostname.
3.Change the hostname in the /etc/hosts file.
4.Change the hostname using the command:
hostname <NewName>
where <NewName> is the new hostname.
5.Modify the value of the DBDIR environment variable in the
/etc/Tivoli/setup_env.sh script.
6.Unset the current DBDIR environment variable using this command:
unset DBDIR
7.Rerun the Tivoli setup script:
. /etc/Tivoli/setup_env.sh
8.Modify the DBDIR environment variable in the /etc/Tivoli/oserv.rc
file.
9.Manually restart the oserv with the new name using this command:
oserv -N ali -k $DBDIR
10.Verify that the name has been changed using the command:
odadmin
The following is an example of the results of the odadmin command:
root@OldName:/ #odadmin
Region = 1136735440
Dispatcher = 1
Interpreter type = aix4-r1
Database directory = /export/home0/Tivolidb/NewName.db
11.Update the database by issuing the following commands:
cd $DBDIR
VS=`idlattr -t -g 0.0.0 fileioRef Object`
idlattr -t -s $VS versioning_area string "'$DBDIR/file_versions'"
To change the name of the managed node, perform the following steps:
1.Find the objectid of the Managed Node using this command:
wlookup -ar ManagedNode
Sample result:
OldName 1136735440.1.327#TMF_ManagedNode::Managed_Node
2.Change the name of the managed node using this command:
idlcall 1136735440.1.327 _set_label '"NewName"'
Use the object id from the previous wlookup command and the new
hostname.
3.Verify the change using this command:
wlookup -ar ManagedNode
Sample result:
NewName 1136735440.1.327#TMF_ManagedNode::Managed_Node
4.Verify that TMR is still functioning properly, by issuing the
command:
odadmin
The results should be the same as those displayed by odadmin in Step
10 of the previous section.
5.Check the installation record using the command:
wlsinst -ah
Sample result:
TME 10 Framework Release 3.6
NewName aix4-r1
6.Restart the Tivoli desktop using the tivoli command.
Perform the following steps on each Managed Node for this TMR (if any):
1.Rerun the Tivoli setup script: . /etc/Tivoli/setup_env.sh.
2.Manually restart the oserv using this command:
oserv -h <NewName> -k $DBDIR
where <NewName> is the new host name.
Perform the following steps to change the name of the NetView object:
1.Find the objectid of the Tivoli NetView server using this command:
wlookup -ar NetViewServer
Sample result:
OldName 1136735440.1.327 #NetView::Server#
2.Change the name using the command:
idlcall 1136735440.1.327 _set_mannode '"NewName"'
where NewName is the new hostname.
3.Verify the new name:
wlookup -ar NetViewServer
Sample result:
NewName 1136735440.1.327 #NetView::Server#
4.Get objectid of NetViewRemoteAccess:
wlookup -ar NetViewRemoteAccess
Sample result:
OldName 1136735440.1.327#NetView::RemoteAccess#
5.Change the name using the command:
idlcall 1136735440.1.327 _set_label '"NewName"'
where NewName is the new hostname.
6.Verify the change using this command:
wlookup -ar NetViewRemoteAccess
Sample result:
NewName 1136735440.1.327#NetView::RemoteAccess#
To change the hostname in NetView, follow the steps in Changing the IP
Address"
under the heading Appendix B: Changing the IP Address and Hostname of the
Tivoli NetView Server (ie reset_ci; Note: You will also need to run the
mapadmin
command to associate the existing maps with the new hostname.)
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager
---------------------- Forwarded by Leslie Clark/Southfield/IBM on
04/11/2000 11:02 PM ---------------------------
"Sin Wai Yee, Maggie" <mwysin@kcrc.com>@tkg.com on 04/11/2000 10:05:38 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'Discussion of IBM NetView and POLYCENTER Manager on NetView'"
<NV-L@UCSBVM.ucsb.edu>
cc:
Subject: [NV-L] Impact of change IP address of AIX netview 5.1 machine
If i need to change the ip address of that machine, do this type of action
cause any impact ?
Please comment
_________________________________________________________________________
NV-L List information (unsubscribing, policies, posting, digest version,
searchable archives): http://www.tkg.com/nv-l
|