====== AS400 i5/os random notes ====== {{rb:power8.png?200 |IBM AS400 / i5 hardware}} Most of this is a dump from my notebooks, edited to remove any sensitive information. As such it is just a dump, not a tutorial in any way. Use with caution, I wrote these notes because I didn't know anything about AS400 at the time. I still don't.... ===== Links ===== [[https://as400.wordpress.com/]] ==== Free Account ==== [[https://www.pub400.com/cgi/signup.nd/start?ymode=NEW]] ===== Unstructured ===== QSECOFR - UNIX root equivolent ''Q'' - System Related \\ ''SECOFR'' - Security Officer \\ ===== i5 boot ===== Power on, wait for flashing green light. LCD will cycle through:- 1 (N = Normal IPL) 2 (cancel with m (Manual) 3 4 through to step 20, finishing on 43. Terminal navigation (not terminal emulator) Alt - Jump -> two sessions - status line shows number bottom left Cursor on RHS at top if no connection to server, moves to top LHS when connection established. Setup Key - shows X on status line. Console locked for input. ===== Setup i5 ===== Dedicated Service Tools - Sign on - Menu 4 User:- QSECOFR \\ Password:- whatever, seem to remember default is QSECOFR \\ 4 - Work with Disk Config \\ 1 - Display Config \\ 1 - Status - Disk Mirroring \\ Resource Name:- - DD002 - DD001 2 - Capacity -see size and % used \\ exit \\ 7 - Service Tools \\ 4 - Hardware Service Manager \\ exit \\ Select:- \\ 1 - IPL <- Only shows options because of Manual Startup (IPL == Initial Program Load) \\ Sign On \\ System:- S65Bxxxx - Serial Number \\ Display:- QCONSOLE \\ Login:- QSECOFR \\ Password:- whatever \\ 1st time ask for date and time info, then change password. \\ Work with software agreements \\ 5722SS1 - V5R4M0 - i5/OS \\ Accept licences, change contat information (CHGCNTINF - CHange CoNTact INFormation)\\ i5/OS Main Menu \\ dspmsg qsysopr (-emailqueue)(email)\\ ifs == Integrated File System - Unix like file system) \\ QSYS.LIB - root command structure \\ F4 - Help Options - parameters for commands \\ WRK(processor) 1GB memory, 2x 512MB \\ Go ''licpgm'' -> 10 Display \\ wrkusrprf - Work with User Profiles \\ wrksysval - Work with System Values (Global Values) \\ ===== Power Off ===== Main Menu, (MAIN) f9 - recalls last commands f5 - refresh GO wrkactjobs - Work with Active Jobs end sbs -> *all - end all subsystems dspmsg qsysopr - Display any messages pwrdwnsys * IMMED - Power Down System, IMMED=now, CNTRLD=controlled with delay. ===== TCPIP ===== From top level, go ''tcpadm'', configure TCP Set values as appropriate Go ''hardware'' to create ''Line'', (NOT VIRTUALIP!!) Select eth port under LAN adapter in ''wrkcomres'' Option 5 to create, creaate line description, alter physical properties such as speed. *- F4 Propmpt for suggestions. ==== NTP ==== Go ''chgntpa'' (Change NTP attributes) NETSTAT - netwrok status - option 3 ''wrksysval'' - Qautovirt - System value name ''wrkusrprf'' Work User Profile ''crtusrprf'' Create user profile Default is for password to be the same as username. Set pw to expired to force user to change at next signin.