TECHZEN Zenoss User Community ARCHIVE  

ISO vs OVA Installation Question

Subject: ISO vs OVA Installation Question
Author: Robert Borowicz
Posted: 2021-05-26 12:46

I have installed Core 6.3.2 via an OVA file on ESX 6.5. The process was quite painless in that it set up the Docker environment for me and allowed me to overide the heavy default CPU and Memory requirements. (I DO need more of each in my lab) 

I now would like to try the ISO based install on bare metal and am not sure what state that leaves you in once installed. 

Where in the docs should I being to add things to the just installed image?  Must I install the run files? Further configure Docker? 

Thanks in advance!

-Rob

------------------------------
Robert Borowicz
Zenoss Engineer
------------------------------


Subject: RE: ISO vs OVA Installation Question
Author: Michael Rogers
Posted: 2021-05-26 18:12

Hi, Rob!

The .iso and the .ova should result in nearly identical end products.  The main difference is that the .ova is for VMWare hypervisors and the .iso is for MS HyperV:

https://help.zenoss.com/zsd/RM/installing-resource-manager/installing-a-master-host/creating-a-master-host-with-hyper-v

Beneath the linked page are instructions for HyperV host configuration.  These instructions walk you through creating the additional disks to meet the storage requirements.  Once the virtual disks are created and mounted, you can fire off the installer to create a finished appliance.

The .ova (as I'm sure you've already discovered) includes these disk images and has them already mounted with the appliance software installed.  

The .run files and Docker configuration instructions are for manual (non-appliance) installations.  You'll only need them if you plan to start your Zenoss installation on top of a fresh CentOS/RHEL install.

Really, it comes down to what you're looking to learn in the moment:
If you want to know how to install and configure Zenoss from scratch?  Start with the .run files. 
If you want a running install so you can get familiar with the product?  Start with the .ova.

You could use the .iso based appliance if you knew that you would eventually be installing into a HyperV environment.  If not, I would skip it.  The extra steps that it adds don't really teach you anything about Zenoss.

I hope that helps!



------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------


Subject: RE: ISO vs OVA Installation Question
Author: Robert Borowicz
Posted: 2021-05-26 19:16

Thanks Michael,

The operative thing you said was: "The .iso is for MS HyperV".  I'm using it on bare metal and therefor its NOT the same as .ova. 

I do want to explore the pieces bit by bit, so I'll start with a base CentOS 7.4 install. That seems the best supported by the current version of ZSD.

Regards

-Rob

------------------------------
Robert Borowicz
Zenoss Engineer
------------------------------


Subject: RE: ISO vs OVA Installation Question
Author: Michael Rogers
Posted: 2021-05-26 20:23

Rob,

You can use the .iso on a bare metal install, absolutely.  However, if the host you're installing on doesn't have the disks called for in the instructions, you're apt to run into trouble when you get to the "install Zenoss" step in the process (step 9 on this page).

For a real bare metal install from the individual .run files, I recommend starting here.  You'll be following the instructions for a single-host installation.  I typically recommend following the tip at the top of the page: "Keep this page open and open new tabs or windows for each procedure."

As for CentOS version, 7.4 is going to be the latest and greatest for 6.3.2.

------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------


Subject: RE: ISO vs OVA Installation Question
Author: Robert Borowicz
Posted: 2021-06-04 16:32

Update: 

So I've been limping along with the 6.3.2 OVA based install running on a Dual CPU Athlon based ESX box with 16 Gig RAM. I gave the single node VM 12 Gig of RAM and the install went OK. Res Mgr starts OK, load shoots up and then levels off. I've been able to add devices and kick the tires a bit.  I ran a discovery of my home lab and everything went into /Discovered as advertised.  Today I moved a Win7 labptop into /Server/Windows and did a "model" and load shot up sky high. What 'woke up' when I did this?  Attaching a screen shot of top.

------------------------------
Robert Borowicz
Zenoss Engineer
------------------------------


Subject: RE: ISO vs OVA Installation Question
Author: Michael Rogers
Posted: 2021-06-04 19:03

Rob,

Kicking off a model job is going to result in a fair number of things happening.  I'll start by assuming you're doing this from the command line.

1. Zenmodeler is going to start up, which will require loading the modeler Python code from disk, along with its various imports.
2. Once zenmodeler is started, it'll reach out to zenhub to get its marching orders.
3. Zenhub will need to pull back data about the device, any configured zProperties required to get into the device, and a list of modeler plugins to run.  This data is going to come from memcached, primarily.  If the required data isn't currently cached, it'll need to make calls to the Solr index.
4. Once this data is sent back to zenmodeler, it will load additional code from zenhub along with the modeler plugin Python files from disk.
5. At this point, the actual model job should commence and exist only in memory.  
6. When the model job is complete, the assembled model data will be handed back to zenhub for addition to its worklist.
7. A zenhub worker will then execute an "applyDataMaps" task which consists of writing the model data to the zodb database (in the mariadb-model container) and indexing the data with Solr.

If the model job was initiated from the GUI, all of the above steps will be executed by the zminion service which adds a tiny bit more load.

All told, I'd bet a dollar that a load that high is pointing toward an I/O issue.  If you can, I'd recommend pulling up iostat and then fire off another model job to see what gets reported.  It's also simply possible that, with so few cores, the model adds one too many more things that all need to happen at the same time and we're seeing a fist-fight for run time.  

Let me know what you find?

PS: the dollar I wagered above is a hypothetical dollar and does not constitute a contract.  Also, I don't have a Venmo or PayPal account, anyway.  ;)

------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------



< Previous
Updated to 6.3.2 - modeling no longer working on schedule
  Next
Zenoss CE - High Availability Deployment
>