From owner-freebsd-questions@FreeBSD.ORG Fri Jul 15 22:06:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD9061065677 for ; Fri, 15 Jul 2011 22:06:39 +0000 (UTC) (envelope-from freebsd@penx.com) Received: from Elmer.dco.penx.com (elmer.dco.penx.com [174.46.214.165]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8448FC12 for ; Fri, 15 Jul 2011 22:06:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by Elmer.dco.penx.com (8.14.5/8.14.4) with ESMTP id p6FM6aWQ046697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 16:06:38 -0600 (MDT) (envelope-from freebsd@penx.com) Date: Fri, 15 Jul 2011 16:06:36 -0600 (MDT) From: Dennis Glatting X-X-Sender: dennisg@Elmer.dco.penx.com To: Brandon Gooch Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: venture37@geeklan.co.uk, freebsd-questions@freebsd.org Subject: Progress Report: OpenNMS under FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 22:06:39 -0000 I have OpenNMS-1812 running under FreeBSD 8.2, specifically within a VirtualBox instance running FreeBSD 8.2 amd64 itself running under FreeBSD 8.2 amd64. There were a lot of issues. By "running" I mean: * A PostgreSQL database is built, running, and initialized, * OpenNMS starts and displays its web page, and * I can log into that web page with wonderfulness displayed on my browser. PostgreSQL and OpenNMS seem happy. However, I have not yet configured OpenNMS to talk to any devices. Issues included: * Sometimes you have to specify JAVA_HOME in the environment and other times you MUST NOT. * I didn't see any indication of what version of PostgreSQL to install so I mistakenly installed 9.1. I later backed down to 8.4. * OpenNMS requires UTF8 for PostgreSQL but the default install does not include it. (BTW, I rebuilt the database many times.) * I had to suck instrumentationLogReader-1.0-SNAPSHOT.jar out of a Linux RPM because the OpenNMS install script could not download it from anywhere. * I had to set the Java proxies for my site. * Many OpenNMS files, such as .xml and .sql files, install with the execute bit set. I'm not sure if that is my fault or the install process' fault. Nonetheless, it shouldn't be that way. * Creation and permissions of PostgreSQL entities wasn't obvious to me. Where to change the OpenNMS files to alter their passwords also wasn't obvious. * I did not like the default installation point for the PostgreSQL database and moved it to /var/db. * I do not like where OpenNMS installs its log files. I prefer to create something like /var/log/nms. That said, for now I'm not going to touch them and hope they are nicely managed. Some of these issues stem from the fact that I am not a Java guy, I am not a PostgreSQL guy, I preferred my database not to be resident on my NMS, my network doesn't NAT for non-interfacing hosts (by design), and virtualization, which itself was a non-issue. BTW, this is one of two sites I plan to deploy OpenNMS under similar construct.