IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
Expand all | Collapse all

What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

  • 1.  What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri March 22, 2024 08:55 AM
    What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?
    What ports does it use?  Unsecured: and SSL: ?
    Should it be disabled or not?  Again, this is on an IBM i 7.5 system with current PTFs.
    Does it have something to do with LDAP or whatever the long drawn out Tivoli name for ldap is?
     
    When looking at the following three figures are the following correct?
    Bookmarks                               -> Web Administration           -> IBM i job
    IBM Navigator for i (Old Web Interface) -> Application Servers, Admin2  -> ADMIN2
    IBM Web Administration for i            -> HTTP Servers, ADMIN          -> ADMIN
    IBM Digital Certificate Manager for i   -> Application Servers, Admin3  -> ADMIN3
    IPP Server for IBMi                     -> HTTP Servers, ADMIN          -> ADMIN
    Cryptographic Coprocessor Configuration -> HTTP Servers, ADMIN          -> ADMIN
    Others
    Navigator for i -> ADMIN1
    ?               -> ADMIN4
    ?               -> ADMIN5
     
    See also NETSTAT OPTION(*CNN)
    F15=Subset
    Local port range:                    
      Lower value  . . . . . . . .   2000
      Upper value  . . . . . . . .   2020
    F14=Display port numbers
    8=Display jobs
    You'll see some of these jobs using ports not shown on the screens 



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------


  • 2.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Mon March 25, 2024 05:33 AM
    Edited by Satid S Mon March 25, 2024 05:41 AM

    Dear Robert

    If you have HTTP Group PTF level 2 or higher in IBM i 7.5, ADMIN2 will provide only LDAP service at port 389 and LDAPS at port 636. 

    Details on ADMIN2 are in these 2 Technotes:

    https://www.ibm.com/support/pages/remove-heritage-ibm-navigator-i-admin2

    https://www.ibm.com/support/pages/heritage-navigator-enable-and-disable-instructions



    ------------------------------
    Satid S
    ------------------------------



  • 3.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Mon March 25, 2024 09:07 AM

    I do not have ADMIN2 running at this time.

    netstat *cnn shows 

    Connection type  . . . . . . :   *TCP       
    Local address  . . . . . . . :   10.10.6.128
    Local port . . . . . . . . . :   389      

    Name           User   
    QUSRDIR        QDIRSRV

    Connection type  . . . . . . :   *TCP       
    Local address  . . . . . . . :   10.10.6.128
    Local port . . . . . . . . . :   636        

    Name           User   
    QUSRDIR        QDIRSRV

    I did not see this behavior noted at either of the links provided. 



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 4.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Mon March 25, 2024 09:08 AM

    Where is that image you provided gleaned from?



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 5.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Mon March 25, 2024 11:33 AM

    Hello Robert,

    Satid's image looks like the WRKSRVTBLE screen.



    ------------------------------
    Michael Swenson
    Software Engineer
    IBM
    ------------------------------



  • 6.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Tue March 26, 2024 12:50 PM

    @Michael Swenson I believe you're right.  However that command doesn't seem to point to what jobs or anything are used to support those ports.  Not even sure what the use of that command is.  Other than adding a description to a number.  Is that where they get the description on NETSTAT *CNN?  So if I'm running a popular IBM i package which uses port 9000 I could ADDSRVTBLE to describe that port?



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 7.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Tue March 26, 2024 02:55 PM

    Rob,

    It serves the same function as the services file in Windows (C:\Windows\System32\drivers\etc\services), Linux (/etc/services) or any other OS that provides TCP/IP support.  It simply assigns a service name to a port for tcp and/or udp.  You can use the service table on IBM i to add a service name for a port or even reassign a port in some cases.  For example, the IBM i host servers can use non-standard ports.  If I want the database host server to use port 9021, I could delete the entry in the service table for as-database that defines it with port 8471 and add one for port 9021 (note you can only have one port but you can configure which one that is).  Then run the ENDHOSTSVR *DATABASE and STRHOSTSVR *DATABASE command to release and re-bind the socket server ports and the database server now uses 9021.  If you are using the default behavior of our client to use the port mapper to determine ports for services, they will simply connect to port 9021 without any change having to be made on the client.



    ------------------------------
    Michael Swenson
    Software Engineer
    IBM
    ------------------------------



  • 8.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Tue March 26, 2024 02:41 PM

    I think I'm getting this now.

    ADMIN2 does not "serve" or "provide" ldap.  That is done by the QUSRDIR job.

    ADMIN2 "manages" ldap.  If you go into Navigator, Servers, TCP/IP Servers, Directory Server (LDAP), Properties, More, and click Server Administration it will abort when the ADMIN2 job is down.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 9.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Tue March 26, 2024 03:45 PM

    I'm not so sure about that Robert but I may be wrong.
    We have configured SSO/Kerberos and that services uses the LDAP service.
    Even if ADMIN2 is down it's still possible to use the EIM in LDAP.
    I don't think ADMIN2 is used any more after the Heritage Navigator was removed.
    But I'm agree with you that the "Server Administration" is not working after shutting down ADMIN2.
    I have never been able to log into that site. 
    So I don't know what the Server admin does att all although the description tells you what.



    ------------------------------
    Erik Aasland
    IBMi administrator
    Fremtind Insurance
    ------------------------------



  • 10.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Wed March 27, 2024 11:46 AM

    Greetings!  Time to jump in.  

    With the Heritage Nav riding off into he sunset, the ADMIN2 server is only for the LDAP directory management interface. Not the LDAP server, that runs in a totally different job.  Here is what that interface looks like.

    You can get to it by - http://systemname:2004/IDSWebApp

    Within Navigator, you can use Network ->Connections You see all the ports that are active, right click on the entry, and you can then see the actual Job that is running and connected to that port. 



    ------------------------------
    Tim Rowe
    ------------------------------



  • 11.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Wed March 27, 2024 02:54 PM

    Tim,

    1 - How do we tell Navigator to use https instead of http when we click on "Server Administration" to manage ldap?  You know, like we do with the other stuff under Managing Bookmarks?

    2 - How do we tell it to use systemname.mycompany.com instead of whatever the domain is wherever it discovered this dekko-1 url http://gdi.dekko-1:2002/IDSWebApp/IDSjsp/Login.jsp?ldapserver=gdi.dekko.com  Again, something I can sometimes change with Managing Bookmarks.

    These two issues resolved from clicking on Server Administration at:



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 12.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Tue April 02, 2024 10:13 AM

    I have opened a case dealing with Navigator using the wrong link.  TS015775487



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 13.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Tue April 02, 2024 10:45 AM

    I can get the following to work from the browser URL line (one, after beating hsts into submission):

    http://gdi.dekko-1:2004/IDSWebApp/IDSjsp/Login.jsp?ldapserver=gdi.dekko.com
    https://gdi.dekko.com:2005/IDSWebApp/IDSjsp/Login.jsp?ldapserver=gdi.dekko.com

    but the link in Navigator tries to go to the wrong port(2002):

    http://gdi.dekko-1:2002/IDSWebApp/IDSjsp/Login.jsp?ldapserver=gdi.dekko.com



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 14.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Wed April 03, 2024 12:03 PM

    You can try "Restore Shipped Bookmarks" and should get port 2001:

    Or you can edit the bookmarks to your liking:



    ------------------------------
    Lora R Powell

    IBM i – Systems
    IBM Navigator for i & Performance on the web (PDI)
    IBM i 7.5 Memo to Users
    IBM Power Systems Development

    Office: 30-2/ C204

    Do the next right thing
    Let's GO
    ------------------------------



  • 15.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Wed April 03, 2024 12:16 PM

    Fascinating.  I have a total of 5 bookmarks and none of them are that.  Across 11 LPARs of IBM i, all at 7.5, cume 23306, HTTP group 13.

    Some of these have been around since OS/400, some started out at 7.5.

    How did you get that bookmark?



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 16.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Wed April 03, 2024 12:20 PM

    If I add that bookmark manually, does it fix the link here to use that value?



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 17.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Thu April 04, 2024 09:15 AM

    "Restore Shipped Bookmarks" is what I was referring to.  We have updated the bookmarks through PTFs.  But you need to request the updates since it will write over any changes you have made.  It is referred to in our PTF update details: https://www.ibm.com/support/pages/node/6520030 .

     

    Lora Powell
     
    IBM i – Systems
    IBM Navigator for i
    Performance on the web (PDI), Web integration, and ARE teams
    IBM i 7.5 Memo to Users

    IBM Power Systems Development
     
    Location: IBM Rochester, MN
    Email: lrpowell@us.ibm.com 
    Cell phone: 507-261-0325
    Office: 30-2/
     C204

    Do the next right thing

    Let's GO

     

     






  • 18.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Thu April 04, 2024 10:09 AM

    @Lora R Powell,

    I snipped my current bookmarks and pasted that into a Word document.

    I performed Restore Shipped Bookmarks, snipped that and added to the document.

    I modified "IBM Web Administration for i" and "IBM Digital Certificate Manager for i" to use the right port, and to use https.  Snipped that and added it to the document.

    I ran ENDTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN) , verified it was down with WRKSBSJOB SBS(QHTTPSVR) and started it back up.

    The new bookmark works.  However, that did nothing to fix that button in my previous post.

    I do appreciate this information but I'd like to get that button fixed too.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 19.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 08:48 AM

     

    A screenshot of a computer  Description automatically generated

    Aah, sorry I missed the original issue.

    The value used for the "Server Administration" button on the LDAP Properties panel (under More tab) is pulled from a setting that can be changed on the General tab of the same panel. 

    • The field to update is: "Server administration URL". 
    • Press OK to save changes.
    • Reopen the properties panel, go to More tab, and launch to the Server Admin URL.

    That should fix your issue.

     

     

     

    Lora Powell
     
    IBM i – Systems
    IBM Navigator for i
    Performance on the web (PDI), Web integration, and ARE teams
    IBM i 7.5 Memo to Users

    IBM Power Systems Development
     
    Location: IBM Rochester, MN
    Email: lrpowell@us.ibm.com 
    Cell phone: 507-261-0325
    Office: 30-2/
     C204

    Do the next right thing

    Let's GO

     

     






  • 20.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 08:57 AM

    Thank you!  I have a case opened for DAYS and they haven't yet figured that out.  TS015775487



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 21.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 09:18 AM
    Do you know this.
    Qustion: When I got this kind of message


    Where is the <WAS_Home> located?

    And is the user ID the same as in General, Administrator Name and Password?






  • 22.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 09:33 AM

    I do not know where that directory is located.  There are some ifs search methods to find files.

    Yes it is the same as that entered on the General tab.  You have to enter the user as cn=Administrator.  The password you simply enter in the password.  No yadayada=password syntax.

    I logged in successfully for the first time just to figure this out for you.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 23.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 09:42 AM
    Thank you for that Robert.
    Then I know. 
    I can use another tool to log into the ldap for sso with the same password so I know that password works.
    But I have tried a lot of times to log in her just to se "what is in there.." with another id's. 
    Then I have to locate the "WAS.."...








  • 24.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 09:53 AM

    I cannot log in use cn=rob even though I have all sorts of authority.  I have to use the cn=administrator that I configured on the General tab.

    I just set the password too.  IDK if a recent password set flips some bits or what not.

    As far as I know I don't have anything out there currently relying upon whatever the old password for administrator was.  :-)



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 25.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 09:12 AM

    So, if I can get the following to work from my browser

    https://gdi.dekko.com:2005/IDSWebApp/IDSjsp/Login.jsp?ldapserver=gdi.dekko.com

    http://gdi.dekko.com:2004/IDSWebApp/IDSjsp/Login.jsp?ldapserver=gdi.dekko.com

    I should pick the appropriate domain and port depending on whether or not I'm using SSL?

    That seems to work.  Thank you.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 26.  RE: What is the purpose of the ADMIN2 job on an IBM i 7.5 system with current PTFs?

    Posted Fri April 05, 2024 01:58 PM

    I want to say thank you for all those who helped me.

    I think this thread has ran it's course.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------