Oct 24, 2011 10:44 AM
Upgrade Question
-
Like (0)
I have inherited a Zenoss install and I'm not sure how to go about upgrading it as I'm not sure if it was installed as a virtual appliance, stack install or native install. How do I identify which time of install I have? I can see that it appears to be running CentOS 5.4 (Final).
Thanks
Well, can you go to Advanced -> Versions? So we know what version of Zenoss etc it's running? Then, you probably can do an
rpm -qa | grep zenoss
And that should let you know if it's RPM based...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
[root@usl-zenoss zenoss]# rpm -qa | grep zenoss
zenoss-core-zenpacks-3.1.0-1031
zenoss-3.1.0-1031.el5
So it looks like I would use the Centos Native Packages?
Yes, I think you'd use the RPMs.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Well I installed the Zenoss 3.2.1 RPM and then the updated Zenpack RPM. I followed the process in the installation guide and everything seemed to go well but upon logging into the website I get the "unable to connect to the server" popup pretty much everywhere I click. The only things that really work are the dashboard and the Advanced tab. All Daemons appear to be running. Any advice? I do have a snapshot (VMware) so I can revert back fairly easily but I would like to be on the new version.
Anything in the log files? Did zenmigrate complete successfully? Have you tried one more zenoss restart?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
yeah i actually did a full restart of the box. this is the only thing in the install log that I saw of issue.
WARNING:zen.migrate:Recovering
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 21, in <module>
main()
File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 18, in main
m.main()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 423, in main
self.cutover()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 310, in cutover
self.migrate()
File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 286, in migrate
m.cutover(self.dmd)
File "/opt/zenoss/Products/ZenModel/migrate/eventfacadeUsingCatalog.py", line 46, in cutover
comp.index_object(idxs=('getId',))
AttributeError: 'Win32Processor' object has no attribute 'index_object'
Stopping Zope Object Database
daemon process stopped
Zenoss upgrade pre-restart commands complete.
Daemon: zeoctl .
daemon process started, pid=6876
Daemon: zopectl .
daemon process started, pid=6881
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...
Daemon: zenjmx starting...
Daemon: zenperfwmi starting...
Upgrade install post step
Testing for the pre-upgrade ZenPack...
Zenoss upgrade complete.
This thread seems to be similar:message/61059#61059
dseagren:
What version did you upgrade from?
--Shane
3.1.0
i should mention i've seen this on my ubuntu box before.
two things i made sure of.
mysqld wasn't running and zenoss was stopped.
then i ran the installer again.
started zenoss and mysqld and everything was fine after that.
this still retains your data, although i always to do a zenoss backup before upgrading....
as root
su zenoos
zenoss stop
exit
/etc/init.d/mysqld stop
./zenoss-installer ( i guess change this part for the rpm installer)
let it run it should ask if it needs to launch at the end....say yes
/etc/init.d/mysqld start
should be right.
well i decided to revert back to my vmware snapshot until I can get more time to try again. The revert was successful but there must be something that isn't running because I get nothing when clicking on infrastructure or events. I don're receive an error, just not data. This will teach me to try upgrading. Here is a screenshot of what I see after reverting back to a snapshot. No errors. not sure where to look
weird....
I'm running a centos install as well and i used the bin file off the website to upgrade using my instructions and it worked ok.
as for the problem your having now i'd by checking the daemons page and making sure they are all running.
also check if mysql is running, it it wasn't you would have seen a message about not connecting.
also check out the $ZENHOME/log directory for some logs that may be handy to look through for clues.
sudo su zenoss for the above env variable to work.
if the daemons aren't running sudo su zenoss then zenoss stop (hit that a couple of times) then zenoss start
you've probably already bounced it though.
Yeah I'm not sure what happened exactly. I may open a new thread for the issue I'm having now as it's not really related to upgrading. All the daemons are running and I'm still getting alerts so it must be an issue with zope. No errors when navigating to events or infrastructure but nothing shows up.
Dseagren -
After upgrading you may need to clear your browser cache/cookies. With javascript changes the browser cache can do some weird things so it's best to clear it after an upgrade.
--Dennis
I feel like an idiot. I cleared all the cache after the upgrade but when I reverted back I forgot to do it. There is still the question of the upgrade. I will be taking another run at the upgrade today to see how it goes. One of the issues I saw last time was that after stopping the zenoss services a "ps ax | grep zenoss" still showed java and zenjmx items listed. The upgrade instructions say there should be nothing running.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||