nv-l
[Top] [All Lists]

Changing IP adddress and/or hostname of TME Netview

To: nv-l@lists.tivoli.com
Subject: Changing IP adddress and/or hostname of TME Netview
From: Leslie Clark <lclark@US.IBM.COM>
Date: Fri, 29 Oct 1999 07:59:42 -0400

This is what I wrote up for myself after the last time I went through this.
The information comes from a variety of sources, including the Release
Notes
(5.1.1 had some typos in this area).

Cordially,
Leslie Clark
IBM Global Services

=============================================================
When Netview is installed on the TMR Server and you need to change
the ip address, or the address and the hostname and don't want to
re-install Netview:


Change the IP Address:

    Change the ip address in Tivoli Framework:
   odadmin odlist change_ip <newaddr> FALSE
   ovstop nvsecd
   smitty tcpip, change the address (move cable, etc)
   odadmin shutdown
   change /etc/hosts, resolv.conf, snmpd.conf, etc
   odadmin start
   Test the change
   odadmin odlist - should show the server as the managed node.
   tivoli - start the desktop, should work.
   show properties of the managed node - should show new address.
   Change the ip address in Netview
   ovstart nvsecd    - minimum startup
   /usr/OV/service/reset_ci
   ovstart
   open map
   delete and rediscover node for management station, or demandpoll.
   Test the change
   Check that the node appears correctly in IP map, Managers map.
   Check for errors in nettl log.
   If MLM installed, check mlm group, topology, and smconfig.


Changing the hostname:

   Change the hostname for TMR  Server:
   Shutdown everything:   cmd-> odadmin shutdown all
   Rename DBDIR: cmd-> mv /home/Tivolidb/OldName.db
   /home/Tivolidb/NewName.db
   Change name in /etc/hosts
   Change the hostname: cmd-> hostname NewName
   Change $DBDIR value in /etc/Tivoli/setup_env.sh
   Unset  current $DBDIR: unset DBDIR
   Rerun setup: cmd-> . /etc/Tivoli/setup_env.sh
   Edit the /etc/oserv.rc  (can't remember what for)
   Manually restart the oserv with new name: cmd-> oserv -N ali -k $DBDIR
   Verify that the name has been changed:cmd-> odadmin
   Results:
          root@OldName:/ #odadmin
          Region = 1136735440
          Dispatcher = 1
          Interpreter type = aix4-r1
          Database directory = /export/home0/Tivolidb/NewName.db
   Update the datebase:  cmd-> cd $DBDIR
         cmd-> VS=`idlattr -t -g 0.0.0 fileioRef Object`
         cmd-> idlattr -t -s $VS versioning_area string
   '"$DBDIR/file_versions"'
   Change the name of the Managed Node:
   Get objectid of ManagedNode: cmd-> wlookup -ar ManagedNode
   OldName        1136735440.1.327#TMF_ManagedNode::Managed_Node
   Change it: cmd-> idlcall 1136735440.1.327 _set_label '"NewName"'
   Check it: cmd-> wlookup -ar ManagedNode
   NewName        1136735440.1.327#TMF_ManagedNode::Managed_Node
   Check that TMR is still ok: cmd-> odadmin
   Results:
             root@OldName:/ #odadmin (ignore old admin desktop name)
             Region = 1136735440
             Dispatcher = 1
             Interpreter type = aix4-r1
             Database directory = /export/home0/Tivolidb/NewName.db
   Check installation record: cmd-> wlsinst -ah
    TME 10 Framework  Release 3.6
           NewName       aix4-r1  (etc)
   Restart the desktop:  cmd-> tivoli
   On each Managed Node, if any:
   Rerun the setup:     cmd-> . /etc/Tivoli/setup_env.sh
   Manually restart the oserv:  cmd-> oserv -h NewName -k $DBDIR
   Change name of Netview object:
   Get objectid of NetViewServer: cmd-> wlookup -ar NetViewServer
   OldName        1136735440.1.327#...............
   Change it: cmd-> idlcall 1136735440.1.327 _set_mannode '"NewName"'
   Check it: cmd-> wlookup -ar NetViewServer
   NewName        1136735440.1.327#....................
   Get objectid of NetViewRemoteAccess: cmd-> wlookup -ar
   NetViewRemoteAccess
   OldName        1136735440.1.327#...............
   Change it: cmd-> idlcall 1136735440.1.327 _set_label '"NewName"'
   Check it: cmd-> wlookup -ar NetViewRemoteAccess
   NewName        1136735440.1.327#....................
   Cleaning up the Desktop:
   Create a new Policy Region if the default one no longer makes sense.
   Drag the Managed Node into it (shift-drag).
   Delete the old Policy Region if it is no longer needed.
   Can't drag the balloons; need to run makeicon.script:
    makeicon.script PR_label MN_label IconLabel
   Delete the old balloon object
(See attached file: makeicon.script)(See attached file: makeicon.readme)

   Change hostname in Netview:
   ovstart nvsecd    - minimum startup
   /usr/OV/service/reset_ci
   ovstart
   open map
   delete and rediscover node for management station, or demandpoll

Attachment: makeicon.script
Description: Binary data

Attachment: makeicon.readme
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
  • Changing IP adddress and/or hostname of TME Netview, Leslie Clark <=

Archive operated by Skills 1st Ltd

See also: The NetView Web