Discussion:
semi manual install core 4 proxy
kenhen93
2013-03-27 15:18:40 UTC
Permalink
kenhen93 [http://community.zenoss.org/people/kenhen93] created the discussion

"semi manual install core 4 proxy"

To view the discussion, visit: http://community.zenoss.org/message/72628#72628

--------------------------------------------------------------
Hi All,

It was a pain to install Core 4 manually but I had to due to the network security my zenoss server lived in. I wanted to share my experience for others in case they run into this problem. My company replicates many yum repos in house, so most of the more typical dependencies, i was able to install via yum. My network security team setup some proxy settings so I could reach rpmforge and epel repo but they did not always seem to work. I ended up having to download most of the rpms and scp them to my zenoss server to install. When I ran into issues with the install guide, I would look at the autodeploy script. I think the install guide could include some more info. Zenoss was installed on Centos 6.2 x86_64

The rules for the proxy included

ftp://ftp.redhat.com/.* ftp://ftp.redhat.com/.*
http://%28.*.%29?redhat.com/.* http://(.*.)?redhat.com/.*
(.*.)?redhat.com:443
http://%28.*.%29?fedorapeople.org/.* http://(.*.)?fedorapeople.org/.*
http://%28.*.%29?fedoraproject.org/.* http://(.*.)?fedoraproject.org/.*
http://apt.sw.be/redhat/.* http://apt.sw.be/redhat/.*

RPMs
jre-7u17-linux-x64.rpm
MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
MySQL-server.x86_64 0:5.5.28-1.linux2.6.rpm
MySQL-shared-compat.x86_64 0:5.5.28-1.linux2.6
nagios-common-3.2.3-7.el6.x86_64.rpm
nagios-plugins-1.4.15-2.el5.x86_64.rpm
nagios-plugins-dig-1.4.15-2.el5.x86_64.rpm
nagios-plugins-dns-1.4.15-2.el5.x86_64.rpm
nagios-plugins-http-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ircd-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ldap-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ntp-1.4.15-2.el5.x86_64.rpm
nagios-plugins-perl-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ping-1.4.15-2.el5.x86_64.rpm
nagios-plugins-rpc-1.4.15-2.el5.x86_64.rpm
nagios-plugins-tcp-1.4.15-2.el5.x86_64.rpm
perl-rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
rabbitmq-server-3.0.4-1.noarch.rpm
rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
zenoss_core-4.2.3.el6.x86_64.rpm

Configure yum to use a proxy: http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html

service iptables stop
chkconfig iptables off
service ip6tables stop
chkconfig ip6tables off

rpm -ivh jre-7u17-linux-x64.rpm
export JAVA_HOME=/usr/java/default/bin
java -version

***I could not reach the rpmforge repo from my zenoss server but I had most of the dependancies local, so I only need to download two rpm, including RRDtool itself***
yum install gettext libdbi-drivers.x86_64 libdbi-devel.x86_64 perl-Time-HiRes.x86_64 ruby xorg-x11-fonts-Type1.noarch
yum -y --nogpgcheck localinstall rrdtool-1.4.7-1.el6.rfx.x86_64.rpm perl-rrdtool-1.4.7-1.el6.rfx.x86_64.rpm

***The install guide only says to download the MySQL client, per the autoscript you need more MySQL packages then that***
+yum -y --nogpgcheck localinstall MySQL*.rpm+
+service mysql start+
+chkconfig --add mysql+
+chkconfig --level 2345 mysql on+
+mysqladmin -u root password ''+
+mysqladmin -u root -h localhost password ''+

+wget -r -l1 --no-parent -A 'epel*.rpm' http://dl.fedoraproject.org/pub/epel/6/x86_64/ http://dl.fedoraproject.org/pub/epel/6/x86_64/+
+yum -y --nogpgcheck localinstall dl.fedoraproject.org/pub/epel/6/x86_64/epel-*.rpm+
edit /etc/yum.repos.d/epel.repo change epel stanza enabled value to = 0

***If you cannot reach the EPEL repo here, you are going to have to install some more dependencies manually, including erlang***
yum --enablerepo=epel -y --nogpgcheck localinstall rabbitmq-server-3.0.4-1.noarch.rpm

***There is no mention of this in the install guide, but if you do not do these configuration steps, rabbitmq will not start***
edit /etc/rabbitmq/rabbitmq-env.conf
add +"NODENAME=<hostname>"+ do not need domain
+chmod go+r etc/rabbitmq/rabbitmq-env.conf+
edit /etc/hosts and add hostname to the end of line with 127.0.0.1
+service rabbitmq-server start+
+chkconfig rabbitmq-server on+

+yum -y install memcached net-snmp net-snmp-utils+
+service memcached start+
+chkconfig memcached on+
+service snmpd start+
+chkconfig snmpd on+

+yum localinstall nagios*+

*+**Make sure there are no hosts.allow or hosts.deny files** Rename them if they exist+*

+yum localinstall zenoss_core-4.2.3.el6.x86_64.rpm liberation-fonts-common.noarch+
+service zenoss start+

Please feel free to comment, add to this post, tell me I am wrong. Thanks! :^0
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72628#72628]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nilie
2013-03-27 19:05:46 UTC
Permalink
nilie [http://community.zenoss.org/people/nilie] created the discussion

"Re: semi manual install core 4 proxy"

To view the discussion, visit: http://community.zenoss.org/message/72623#72623

--------------------------------------------------------------
I manually installed Zenoss Core 4.2.0 myself and it was a trouble free process. However, installing it without proper access to Internet is an impressive achievement I would never dare to attempt.
Regarding the MySQL installation, I noticed that in the latest version of the Installation manual the instructions are wrong and incomplete. Previous versions of the document (for Zenos 4.2.0) seems to be correct though.
As for rabbitmq configuration, on my system that rabbitmq-env.conf file doesn't even exist but that doesn't seem to bother Zenoss at all.
I'd like to know if there is a special reson why you prefered to install Oracle JRE with rpm instead of using yum and also if Oracle Java 1.7 works well since the installation manual says this version is unsupported.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72623#72623]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
kenhen93
2013-03-27 19:13:59 UTC
Permalink
kenhen93 [http://community.zenoss.org/people/kenhen93] created the discussion

"Re: semi manual install core 4 proxy"

To view the discussion, visit: http://community.zenoss.org/message/72631#72631

--------------------------------------------------------------
I honestly did not realized 1.7 was unsupported. I just went to oracle's java website and downloaded the most recent version. Zenoss is not complaining in either of my core 4 environments that are running 1.7 and I am monitoring some servers via jmx.

What installation guide did you use? I was using Zenoss_Core_Installation_01-012013-4.2-v09 that i felt did not have all of the correct manually installation instructions.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72631#72631]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nilie
2013-03-28 15:36:35 UTC
Permalink
nilie [http://community.zenoss.org/people/nilie] created the discussion

"Re: semi manual install core 4 proxy"

To view the discussion, visit: http://community.zenoss.org/message/72646#72646

--------------------------------------------------------------
I was using Zenoss_Core_Installation_01-072012-4.2-v08.pdf because my first installation was with Zenoss Core v4.2.0 then when I upgraded to 4.2.3 I just read only the upgrading section of the version you mentioned so I didn't notice the errors.
As for Java and rabbitmq, Zenoss does not support the latest version which means it might very well be working. However, in case you have a problem it might become more difficult to get help since Zenoss developers are not familiar with the new versions. On rabbitmq web site for example they warn that there are differences between v2.x and 3.x and that 3.x is not 100% backward compatible.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72646#72646]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...