TECHZEN Zenoss User Community ARCHIVE  

Choosing the partition for new zenoss install

Subject: Choosing the partition for new zenoss install
Author: [Not Specified]
Posted: 2014-10-02 14:06

Hi,

I would like to ask if there is any way in Linux command line to choose the partition where
a brand new Zenoss will be installed on (like in Windows OS). I had a look at the "Installation Guide"
and it looks like it is automated with the "yum" command followed by the "Zenoss RPM file".

This command below simply does it all:
yum -y --nogpgcheck localinstall zenoss_core-version.el6.x86_64.rpm

But I can't choose/modify the installation location to be on which partition...
Is there any way to do it differently

Thank you.



Subject: You could use rpm
Author: Jay Stanley
Posted: 2014-10-02 14:55

You could use rpm

From the rpm man page:

--prefix NEWPATH
For relocatable binary packages, translate all file paths that
start with the installation prefix in the package relocation
hint(s) to NEWPATH.

--relocate OLDPATH=NEWPATH
For relocatable binary packages, translate all file paths that
start with OLDPATH in the package relocation hint(s) to NEWPATH.
This option can be used repeatedly if several OLDPATH's in the
package are to be relocated.

Or you could just setup a mount point before install



Subject: Another theory...
Author: [Not Specified]
Posted: 2014-10-08 15:34

For example, I have a drive /opt/zenoss(5GB) with a symbolic link toward another drive /zenoss (20GB).
If I run the RPM installation, it normally will install it in /opt/zenoss. But since the symbolic link is here to redirect
everything to /zenoss, where exactly will my installation takes place /opt/zenoss OR /zenoss
(Our Admin linux wants zenoss to be installed on separate drive... )



Subject: after the installation using symbolic link
Author: [Not Specified]
Posted: 2014-10-09 10:29

So I tried to install with the symbolic link. It redirected everything to /zenoss instead of /opt/zenoss.
Unfortunately, after the install. I can access the Web Interface and all my services are running, except this one:

Daemon: zenrrdcached starting...
Base directory (-b) resolved via file system links!
Please consult rrdcached '-b' documentation!
Consider specifying the real directory (/zenoss/perf)
Usage: zenrrdcached [run | start | restart | stop | status | stats] [options]

Daemon: zenrrdcached not running...

Any idea Thanks.



Subject: update...
Author: [Not Specified]
Posted: 2014-10-09 10:53

Problem solve. So just to let you guys know...

Since zenrrdcached doesn't like symbolic link, I simply changed the zenhome path to /zenoss instead of the original /opt/zenoss



Subject: please check command
Author: Andrew Kirch
Posted: 2014-10-09 16:50

please check command monitoring (httpd zenpack or similar) and command notifications to ensure that you haven't broken anything doing this.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Setting device status to down
  Next
Zenoss 5.0.0b2 install on Centos!
>