IBM System i Administering Zend Core for i
IBM System i™ Administering Zend Core for i 5/OS Michael J. Sandberg, Melissa K. Anderson, James H. Bainbridge, Beth L. Hoffman i want stress-free IT. i want control. i want an i. © 2006 IBM Corporation
IBM System i Documentation § System i – http: //publib. boulder. ibm. com/iseries § Zend for i 5/OS – www. zend. com/products/zend_core/zend_for_i 5_os § PHP – www. php. net § Apache – www. apache. org i want an i. © 2006 IBM Corporation
IBM System i Subsystems § There is one subsystem and multiple jobs that run Zend Core – – ZEND / I 5_COMD ZEND / ZC_STR_PRN ZEND / ZENDCOREAP QHTTPSVR / ZENDCORE i want an i. © 2006 IBM Corporation
IBM System i Directories & Libraries § Library – ZENDCORE § Directories – usrlocalZend – wwwzendcore i want an i. © 2006 IBM Corporation
IBM System i Log Files § Zend Core Log Files – wwwzendcorelogs – usrlocalZendapache 2logs – usrlocalZendCorelogs § Output Errors to Browser – Global in Zend Core administrative interface – Individual PHP files //Turn on display_errors ini_set('display_errors', '1'); // Display ALL errors including notices error_reporting (E_ALL); i want an i. © 2006 IBM Corporation
IBM System i Administration from 5250 § GO ZENDCORE/ZCMENU i want an i. © 2006 IBM Corporation
IBM System i PHP Environment After Installation System i 5/OS URL: PASE http: //my_i 5: 89/my_dir/my_app. php Request Response HTML + PHP HTTP: 89 Server (Reverse Proxy) HTTP: 8000 Server PHP Module Zend Core Zend Platform i want an i. PHP file DB 2 UDB © 2006 IBM Corporation
IBM System i Browser Administration – External Apache § External Apache Web Server – http: //<System i Server>: 2001 i want an i. © 2006 IBM Corporation
IBM System i Browser Administration – Zend Core § Zend Core Administration – http: //<System i Server >: 89/Zend. Core/ i want an i. © 2006 IBM Corporation
IBM System i Backup and recovery § Use i 5/OS save and restore commands – Save Library (SAVLIB) and Restore Library (RSTLIB) – Save Object (SAV) and Restore Object (RST) – Use for backing up directories § Objects to back up: – ZENDCORE product library – Contains the product binaries – IBM HTTP Server for i 5/OS instance: – /www/zendcore/* – Zend Core for i 5/OS (including Apache HTTP Server) – /usr/local/Zend/* i want an i. © 2006 IBM Corporation
IBM System i Configuration data to back up § If you do not perform a full backup of the product, at least back up these files and directories: – /www/zendcore/htdocs/* – This directory contains your PHP files and other Web resources – /www/zendcore/conf/httpd. conf – Configuration file for the IBM HTTP Server instance (ZENDCORE) – /usr/local/Zend/apache 2/conf/httpd. conf – Configuration file for the i 5/OS PASE Apache HTTP Server – /usr/local/Zend/Core/etc/* – Configuration files for Zend Core i want an i. © 2006 IBM Corporation
- Slides: 11