Friday, January 22, 2010

64 bit apache 2.2 upgrade

  1. Add modules to /etc/sysconfig/apache2
  2. copy weblogic module for /usr/lib64/apache2
  3. copy mod_jk module for 2.2 to usr/lib64/apache2
  4. Modify httpd.conf
  5. modify vhost.d/*.conf for changes JkMount does not work
  6. copy ssl certificate (not needed, remove the ssl.conf file?)

Monday, January 18, 2010

QA upgrade steps (32bit)

  1. Upgrade to tomcat 5.5.26
  2. Change drive class for jdbc to oracle.jdbc.driver.OracleDriver
  3. Change driver class in tomcat config to oracle.jdbc.driver.OracleDriver
  4. Make sure LDAP password you know is correct
  5. Check publish status, make sure nothing in queue and no errors, prune
  6. Stop endpoints
  7. Stop all services on vcmqas
  8. Stop all services on all machines (incl. tomcat) - meaning need a downtime
  9. Backup db (export, vcm and portal db schemas) using enterprise manager
  10. Backup folders (see http://eqbal-vignette.blogspot.com/2009/12/backups-for-qa-and-prod.html)
  11. Restart services
  12. Uninstall CCE (see upgrade guide)
  13. Backup autonomy (see upgrade guide)
  14. Uninstall autonomy
  15. rename /opt/Vignette/uninstall_cma directory
  16. Install 7.6 bin (select upgrade when asked)
  17. live autonomy and CA need to be shutdown
  18. Run vgnupgrade
  19. Run pre-req check, resolve any warning/errors before continuing
  20. Upgrade runtime svcs
  21. Connect to VCM, upgrade local config agent
  22. Backup /opt/Vignette and ~/Vignette, ~/vpd.properties
  23. Backup live autonomy and stop services
  24. Install cds bins on web servers
  25. Stop tomcat then Upgrade CAs
  26. Upgrade CMS services
  27. Upgrade CDS service (from VCM server)
  28. Upgrade Autonomy/install, use setnev-mgmt.sh (change port nos), modify script to use rm -rf
  29. Re-index content, start live autonomy upgrade
  30. Reindex content on live
  31. Patch
  32. Update tomcat config for Vignette install dir
  33. Build and deploy VCM apps (undeploy earlier jars, restart vcm server,then redeploy using the text file, restart vcm server again)
  34. Change ~/Export-Import/apache-ant-1.7.0/bin/build-deploy/local-build.properties for 7_3_1 to 7_6
  35. Import CTDs from dev
  36. Import Inlinks assets, create tables if needed
  37. Remove furl listener
  38. Update vgn-tas, vgn-ext-templating and furl webapps
  39. Set proper furl config values
  40. Set classes (to pre 7.4) for in-context edit
  41. Update new car files for Portal
  42. Update tomcat conf files for vgn-furl path
  43. Build and deploy piocda
  44. copy new jar files to portal webapp (vgn-appsvcs-cda.jar, thirdparty-combined.jar)
  45. delete mapper.jar from portal/web-inf/lib
  46. stop tomcat and delete DPM cache
  47. Test and then Patch
  48. Enable tunnelling for Adminserver (not vcmserver) under Protocols
  49. Install vcmtools
  50. After testing vgnTest.jsp and CPSAssetUtil.jsp, delete from live stage
  51. VCM runtime logs roll (admin console)



Thursday, January 14, 2010

Apache backups when upgrading to 64bit

  • vhosts config files
  • httpd.conf special stuff
  • /etc/sysconfig/apache2
  • all other conf files in /etc/apache2
  • ssl.crt (may need to reapply)

QA and Prod upgrade path

  • Save an image in case of botched upgrade to 7.6 (in a VM preferably)
  • Backup (to remote location)
  • Upgrade to 7.6
  • Save an image in case of botched upgrade to 64 bit OS (in a VM preferably)
  • Backup again (to remote location)
  • Upgrade OS to 64 bit suse 10
  • Add memory double or triple current
  • copy folders & files from upgraded 32bit backups made earlier

Tomcat upgrade to 5.5.26 for DPM

  1. Dont upgrade to 5.5.27/28 not supported, causes error with portal
  2. Unzip core in /usr/local/tomcat
  3. Unzip admin in /usr/local/tomcat
  4. rename context.xml
  5. Copy tomcat-users.xml from /opt/tomcat/conf
  6. copy conf xml files from /opt/tomcat/conf/Catalina/localhost
  7. copy piocda.war, vgn-ext-templating.war to webapps folder
  8. copy portal directory to webapps folder
  9. copy setenv.sh and setvapenv.sh to bin folder
  10. copy jar files from /opt/tomcat/common/lib to common/lib dir
  11. copy workers.properties file
  12. chmod u+x *.sh in the bin folder
  13. modify catalina.properties for portal libs
  14. remove webapps not needed (move)
  15. Add configuration for server.xml (Add context paths; add emptySessionPath=true for ports; add mail resource, max threads setting, add connector for port 8010 on live stages; do a diff
  16. recreate symbolic link /opt/tomcat to point to new tomcat folder (ln -s /usr/local/tomcat/apache... tomcat)
  17. edit httpd.conf for location of workers.properties file

Portal startup error

If portal app does not start on Tomcat with NoClassDefFound error for ConfigUtil or similar:
make sure catalina.properties has the path to portal shared lib directory

shared.loader=/opt/Vignette/Portal/lib/shared/*.jar,${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

My Page Link does not appear

Check to see if under
Vignette Content > Vignette Content Management Services > Vignette Management Console > Service Provider Framework > View Template Registry
a "Menu Bar" entry is defined under Customer Extension View Template Registry. If so it should include all components defined under System View Template Registry for "Menu Bar"

Tuesday, January 12, 2010

7.6 upgrade: CTDs changed for ephox inline tag license

  1. Event
  2. FAQ
  3. File
  4. Free Html
  5. Image
  6. Pioneer Article
  7. Pioneer Product V2
  8. Pioneer Teaser
  9. Pioneer Video
  10. Press Releases
  11. Promotion
  12. Wiring Diagram

Upgrade checks

Check on these things:

Tomcat:
  1. Whether a resource defined for mail/Session is required anywhere in code. Answer: Yes

Tomcat upgrade

See: Newer post about Tomcat upgrade to 5.5.28
As part of 7.6 upgrade, upgrade tomcat to 5.5.26 (before proceeding with DPM upgrade steps)
  1. Copy the webapps from /opt/tomcat/webapps to 5.5.26 webapps folder
  2. copy conf/Catalina/localhost config xml files to corresponding 5.5.26 folder
  3. Copy config from server.xml from /opt/tomcat/conf to corresponding 5.5.26 folder
  4. Copy workers.properties file
  5. Change link to new tomcat

Content types to index (after 7.6 upgrade, replace vcm server name)

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_CHANNEL_EXTENSION

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_COMPARE_GROUP

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_DEALER_SHOWCASE

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_DEALER_SHOWCASE_IMAGE

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_DEALER

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_EVENT

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_FAQ

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_FILE

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_FREE_HTML

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_IMAGE

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_LINK_SET

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_ARTICLE

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_TEASER_TWO

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_PRODUCT_V2

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_VIDEO

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_PRESS_RELEASE

./vgncontentindex -h pbs-lnxvcmdev:27110 -u vgnadmin -p pi0neer -w /opt/Vignette/vcm/inst-vgninst/ -z 300 -c PIO_PROMOTION