Posts

Showing posts from September, 2014

Notes on upgrading Openshift Origin PHP Cartridge from v 0.08 to v 0.20

I am currently running OpenShift Origin  V3 platform on a CentOS/RHEL 6.5, but needs PHP 5.4 support. The problem is, PHP cartridge in v0.08 only supports the original PHP version that cames with the OS, which is PHP 5.3. Other people using Fedora might be able to use PHP 5.5 even with v0.08 version of the PHP cartridge. The steps to install Origin V4 cartridge (cartridge version 0.20 in manifest.yml / 1.26.9.1 in rpm spec) is (if you have no idea what these means, then you really shouldn't try them) : download the PHP cartridge from Origin V4 rpm repository erase the previous PHP cartridge using yum (yum erase ...) install the new PHP cartridge using rpm (rpm -i ....) install the new PHP cartridge using oo-admin-cartridge (oo-admin-cartridge -a install -s ...) restart the mcollective on the node server (service ruby193-mcollective restart) repeat these process on all nodes clear caches on broker server (/usr/sbin/oo-admin-broker-cache --console) However, as someone

Zabbix on Centos/RHEL 6.5 : Fixing SELinux Errors

One of my Openshift Origin servers have lots of these messages in the /var/log/messages : Sep 28 22:15:20 broker setroubleshoot: SELinux is preventing /usr/sbin/zabbix_agentd from read access on the file cmdline. For complete SELinux messages. run sealert -l 4dbe6e60-5c4e-47cb-9b7d-040260fc38e0 Sep 28 22:15:20 broker setroubleshoot: SELinux is preventing /usr/sbin/zabbix_agentd from read access on the file cmdline. For complete SELinux messages. run sealert -l 2d781069-0e24-45b6-a949-e978e6671c1a Sep 28 22:15:20 broker setroubleshoot: SELinux is preventing /usr/sbin/zabbix_agentd from read access on the file cmdline. For complete SELinux messages. run sealert -l 2d781069-0e24-45b6-a949-e978e6671c1a Sep 28 22:15:20 broker setroubleshoot: SELinux is preventing /usr/sbin/zabbix_agentd from read access on the file cmdline. For complete SELinux messages. run sealert -l 2d781069-0e24-45b6-a949-e978e6671c1a Sep 28 22:15:20 broker setroubleshoot: SELinux is preventing /usr/sbin/zabbix_agen