Monthly Archives: January 2013

Safely Uninstalling Zend Core for i5 OS version 2.6.0 or less, without messing up Zend Server

Now that Zend Server for IBM i is running on our systems we’ve decided to clean up Zend Core and uninstall it.  To uninstall it there is 3 steps to follow:

1. Remove Zend Platform (Required to upgrade Zend Core)

2. Update Zend Core to a version of 2.6.1 or greater using an installer file and not a Zend Core Components update.

3. Remove Zend Core

Note:

– The installer file can be obtain only from Zend support.

– Uninstalling an earlier version will remove profiles used by Zend Server for IBM i

Determining your Zend Core Version

To determine what version of Zend Core you’re  running run the following I5 commands:

GO LICPGM

OPTION 10

Page Down until you find 1ZCORE5.  If the describition is Zend Core for IBM i5/OS (2.6.0)  or less you will have to upgrade Zend Core before installing it

Uninstalling Zend Platform

Run the Delete Licensed Program (DLTLICPGM) command on the i5 command line:

  1. DLTLICPGM LICPGM(1ZCORE5) OPTION(1)
  2. If needed, run WRKOBJLCK OBJ(ZENDPLAT) OBJTYPE(*LIB) 

Updating Zend Core to 2.6.1+

1. Have Zend Support send Zend Core 2.6.1 by emailing Mike Pavlak or download it here.
A. Note knowledge base article http://kb.zend.com/index.php?View=entry&EntryID=488, “The installer is no longer available on our web site. Please contact Zend Support to get a copy of the installer for Zend Core for i5/OS 2.6.1. ”
2. The windows installers FTP process failed fore me so the SAVF file had to be ftp’d to the i5 and ran
A. Create a savf file on the i5
i. crtsavf savefiles/zcoresavf
B. FTP the file to the i5 from your windows machine
i. Run cmd
ii. cd to directory with file to upload
iii. ftp <servername>
iv. enter username
v. enter password
vi. cd savefiles
vii. binary
viii. put zcoresavf zcoresavf
C. prepare for upgrade
i. rename the directories /usr/local/Zend and /www/zendcore to different names
ii. end Zend Core Subsystem and Apache instance

D. Run restore license program
i. RSTLICPGM LICPGM(1ZCORE5) DEV(*SAVF) SAVF(SAVEFILES/ZCORESAVF)
ii. If error message “Waiting for reply to message on message queue QSYSOPR.” – Sign in with another session and run:
a. dspmsg qsysopr
iii. If your getting directory not registered, rename the directories /usr/local/Zend and /www/zendcore to different names

iv. Rename /usr/local/Zend back in case you were using the Zend Framework

Uninstalling Zend Core 2.6.1 or better

Simply make sure theres no locks and run delete license program:

DLTLICPGM LICPGM(1ZCORE5)

If locked, run WRKOBJLCK OBJ(ZENDCORE) OBJTYPE(*LIB)

References

KB article noting that the installer file is no longer available on the Zend website and the installer must be obtained from Zend Support
http://kb.zend.com/index.php?View=entry&EntryID=488http://kb.zend.com/index.php?View=entry&EntryID=488

Forum on how to uninstall zend core
http://forums.zend.com/viewtopic.php?f=77&p=71168

Delete Zend Platform info
http://kb.zend.com/index.php?View=entry&EntryID=245

Delete Zend Core info
http://kb.zend.com/index.php?View=entry&EntryID=242

Zend Core components downlaod (NOTE: this is just to upgrade components and will not make your Zend Core safe to un-install, you need the installer file from Zend Support)
http://www.zend.com/en/products/core/updates/i5os/2.6.7/i5os/latest

Advertisements