Change IP Address

From MidrangeWiki
Revision as of 13:45, 25 May 2011 by (talk | contribs) (Time to change)
Jump to: navigation, search

Changing IP Addresses

Sometimes one has to change the IP Address on an i5. Could be a relocation or whatever. There are several places to remember to check.

Recording existing values

First, record your existing values. Maybe off to the right, write down the new address(es).

CFGTCP 1. Work with TCP/IP interfaces

Internet Subnet Line Line

Address Mask Description Type

2. Work with TCP/IP routes. This is the router or gateway this machine will go through to get to the rest of your network. Off to the right record what the new router entries will be.

Route Subnet Next Preferred

Destination Mask Hop Interface

12. Change TCP/IP domain information. If you are relocating, your network administrator may suggest replacing one or more of these with a more local DNS. Write the new address off to the right. Domain name server(s) internet address(es):

Sometimes one would put the interfaces recorded above into the local host table. Record that:

10. Work with TCP/IP host table entries Internet Host Address Name

If you are running DNS on your i (normally configured using iNav) then you will need to go to iNav, Network, Servers, DNS, Open up NS, right click on DNS Server - NS and select Properties. Then open up the Options tab. On interfaces, if you have an entry there, check it out. When done, File, Save Configuration, then Server, Update.

Now you need to check your http configuration. Point your browser to http://youriSeriesName:2001 When that pops up sign on as someone with QSECOFR authority. Select Web Administration. Select Manage, All Servers, All HTTP Servers. Any that are bound to particular old IP addresses record those here.

Check for SMTP bindings. You can either bind to "select all addresses" or bind to a specific address or addresses. Although there are commands like ADDSMTPLE and RMVSMTPLE, I've yet to find any commands like DSPSMTPLE or WRKSMTPLE. Therefore I recommend using iNav. Network, Servers, TCP/IP, right click on SMTP and select Properties. Check the Bindings tab.

Domino Shop?

WRKDOMSVR 13=Edit NOTES.INI by each. Search the notes.ini file for TCPIP_TcpIpAddress. Record the address found there below: Domino server IP Address

Also have your Domino administrator check Server documents for buried IP addresses.

Time to change

Now you are done recording. Start the change. Coordinate with your network administrator, of course. They will need to change routers, DNS entries, etc.

WRKDOMSVR 6=End server. Repeat for all present. 9=Work server jobs Wait until all jobs, indented underneath the top subsystem name are ended. Repeat for all Domino servers. 13=Edit NOTES.INI. Search for TCPIP_Tcp_IpAddress. Replace with new address. Do not start them yet.

http://youriSeriesName:2001. Sign on as someone with SECOFR authority. Select Web Administration. Select Manage, All Servers, All HTTP Servers. Stop any that need changing. Hopefully you did not bind 2001 to any particular address. Change those that need changing. An alternative to using the above would be to do a WRKLNK '/www/*', drill down into each directory, drill down into the conf directory below that and edit the httpd.conf file and change the Listen line.




See the above information you previously recorded. Many of these you may have to delete and readd as changing will certain fields will not be an option.

Fix your Management Central server by CALL QSYS/QYPSCONFIG PARM('QYPS_HOSTNAME' 'aa.xx.yy.zz') where 'aa...' is your new IP address.

If you use the networking option of BRMS (Backup and Recovery Media Services) they may start a bare minimum of IP when you are in a restricted state for media management. Run the following: CALL QBRM/Q1AOLD PARM(‘TCPIPIFC’ ‘*REMOVE’ ‘*ALL’) CALL QBRM/Q1AOLD PARM(‘TCPIPIFC’ ‘*ADD’ 'aa.xx.yy.zz') where 'aa...' is your new IP address.



Test communications from/to this lpar by using the PING command. Your network administrator may block pings. However people don't often do that for internal use - just external users.

Test Domino from your Notes client by using File, Database, Open and using the server name(s) that you just started. You can type in the server name or select it from the list. You may have to select "Other" to see this server if you don't often access this particular Domino server.

Check any other iSeries lpars or servers for host table entries that refer to this server.