Change Host Name

Raafat

Member
We have I series server and JDE 8, now we got a dr server, i sis a full restore from live to DR, i want to change the host name and IP of the DR to make JDE service running.
can you help me how to change it from JDE?
 
Hi Raafat,
I do this once a year for our DRP Test. This is what you need to do. I hope I don't miss anything. Needless to say, but make sure you do this from the console or 5250 via HMC.


1. Update the i5/OS Netserver Name
- Using iSeries Navigator expand the DRSERVER, Network, Servers, TCP/IP.
- Right click and open properties for i5/OS NetServer, Click Next Start.
- Change Server Name to: NEWSERVERNAME, click OK

2. Put the server into restricted state.
- On the command line type: “ENDSBS SBS(*ALL) DELAY(60)"

3. Change the *LOCAL Relational Database Entry
- On the command line type: “WRKRDBDIRE”
- Remove the entry for “DRSERVERNAME" *LOCAL”
- Reply to the message with “G” for Go.
- Add a *LOCAL entry for "NEWSERVERNAME"
- Relational database: NEWSERVERNAME
- Name or Address: *LOCAL
- TYPE: *IP
- Preferred method: *ENCRYPTED

4. Change DDM TCP/IP Attributes to require an Encrypted Password.
- On the command line type: CHGDDMTCPA AUTOSTART(*YES) PWDRQD(*ENCRYPTED)

5. Change Network Attributes (CHGNETA)
- On the command line type: CHGNETA and hit F4.
- System Name: NEWSERVERNAME
- Local Network ID: YOURDOMAIN
- Local control point name: NEWSERVERNAME
- Default local location: NEWSERVERNAME

6. Change TCP Domain
- On the command line type: CHGTCPDMN, use the following values
- Host name: NEWSERVERNAME
- Domain Name: YOURDOMAiN
- Domain search list: *DFT
- Host name search priority: *LOCAL
- Domain name server: YOURDNSSERVER IPs

7. Delete Non-System SQL Packages (SQL packages that DO NOT start with the letter “Q”)
- On the command line type: WRKOBJ OBJ(*ALL/*ALL) OBJTYPE(*SQLPKG)
- Use option 4 to delete the packages (DO NOT delete any starting with the letter “Q”)

8. Delete the Database Host Server’s SQL Package (QZDAPKG)
- On the command line type: WRKOBJ OBJ(*ALL/*QZDAPKG) OBJTYPE(*SQLPKG)
- Use option 4 to delete package named “QZDAPKG”

9. Restart the iSeries Server
On the command line type: PWRDWNSYS DELAY(30) RESTART(*YES)
This will prompt you to confirm. Use F16 (Shift F4)
When the server is restarted you will see the login screen and the NEWSERVERNAME
 
Back
Top