sconos
2012-10-30 14:24:12 UTC
sconos [http://community.zenoss.org/people/sconos] created the discussion
"Migrate from 3.2.1 to 4.2.0"
To view the discussion, visit: http://community.zenoss.org/message/69627#69627
--------------------------------------------------------------
Hi all,
Looking for some help moving from an estalished Zenoss 3.2.1 running instance to a different server running an instance of 4.2.0 SP1
Both 3.2.1 and 4.2.0 are running on supported OS installs (CentOS)
I've done a zenbackup from the old 3.2.1 server, scp'd the backup straight to the new 4.2.0 server, ran zenrestore then zenmigrate with what looks like no issues, but starting up zenoss on the 4.2.0 server is another story.
[***@zenoss2 bin]$ zenoss stop
Daemon: zenwin stopping...
Daemon: zeneventlog stopping...
Daemon: zenwinperf stopping...
Daemon: zenjmx stopping...
Daemon: zenrrdcached stopping...
Daemon: zenprocess stopping...
Daemon: zencommand stopping...
Daemon: zenperfsnmp stopping...
Daemon: zenmodeler stopping...
Daemon: zentrap stopping...
Daemon: zenactiond stopping...
Daemon: zenstatus stopping...
Daemon: zensyslog stopping...
Daemon: zenping stopping...
Daemon: zeneventd stopping...
Daemon: zenjobs stopping...
Daemon: zenhub stopping...
Daemon: zopectl .
daemon process stopped
Daemon: zeneventserver stopping...
[***@zenoss2 bin]$ ./zenrestore --file=/opt/zenoss/backups/zb10302012.tgz
[***@zenoss2 bin]$ ./zenmigrate
INFO:zen.migrate:Installing AddUserInterfaceSettings (4.2.0)
INFO:zen.migrate:Installing ChangeSnmpDefaults (4.2.0)
INFO:zen.migrate:Installing ClearUserSettings (4.2.0)
INFO:zen.migrate:Installing DeviceSearchIpAddressCatalogCleanup (4.2.0)
INFO:zen.migrate:Installing FileSystemIndexName (4.2.0)
INFO:zen.migrate:Installing JobsDelete (4.2.0)
INFO:zen.migrate:Removing old job records
INFO:zen.migrate:Removing old job relationship
INFO:zen.migrate:Installing RemoveDCSHFromCommand (4.2.0)
INFO:zen.migrate:Installing RemoveDeviceZenMenus (4.2.0)
INFO:zen.migrate:Installing RemoveModificationsMenuItems (4.2.0)
INFO:zen.migrate:Installing SetIgnoreParamsOnZenDaemons (4.2.0)
INFO:zen.migrate:Installing SnmpWalkWithPort (4.2.0)
INFO:zen.migrate:Installing addIgnoreParametersWhenModeling (4.2.0)
INFO:zen.migrate:Adding ignoreParametersWhenModeling to all process classes.
INFO:zen.migrate:Installing addzInterfaceMapIgnoreDescriptions (4.2.0)
INFO:zen.migrate:Installing discoveryMaxOidsPerRequest (4.2.0)
INFO:zen.migrate:Installing fixEmailNotificationClearSubjectFormat (4.2.0)
INFO:zen.migrate:Setting default values for E-mail notifications.
INFO:zen.migrate:Installing ifOperStatusEthernetCsmacd64 (4.2.0)
INFO:zen.migrate:Installing ifOperStatusRRDCreateCommand (4.2.0)
WARNING:zen.migrate:
Changing the definition for ifOperStatus. Please
remove all rrd files with this name: ifOperStatus_ifOperStatus.rrd.
You can remove all the rrd files with the following command as the zenoss user:
find $ZENHOME -name "ifOperStatus_ifOperStatus.rrd" -delete
INFO:zen.migrate:Installing moveZepConfig (4.2.0)
INFO:zen.migrate:Installing perDeviceCompCatalog (4.2.0)
INFO:zen.migrate:Installing removeClearHeartbeatsMenuItem (4.2.0)
INFO:zen.migrate:Installing setDefaultsOnEmailNotifications (4.2.0)
INFO:zen.migrate:Setting default values for E-mail notifications.
INFO:zen.migrate:Installing zRemoveAutoAllocate (4.2.0)
INFO:zen.migrate:Installing zenmodelerModeledDevices (4.2.0)
INFO:zen.migrate:Installing ifOperStatusEvents (4.2.0)
INFO:zen.migrate:Loading Reports
[***@zenoss2 bin]$ find $ZENHOME -name "ifOperStatus_ifOperStatus.rrd" -delete
[***@zenoss2 bin]$ zenoss start
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....................................................................................................................................................................................
zeneventserver failed to start within 180 seconds.
Please check the following log file for more details:
 /opt/zenoss/log/zeneventserver.log
Daemon: zopectl .
daemon process started, pid=15290
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zeneventd starting...
WARN: unable to read config file /opt/zenoss/etc/zeneventd.conf                -- skipping. (IOError: [Errno 2] No such file or directory: '/opt/zenoss/etc/zeneventd.conf')
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactiond starting...
WARN: unable to read config file /opt/zenoss/etc/zenactiond.conf                -- skipping. (IOError: [Errno 2] No such file or directory: '/opt/zenoss/etc/zenactiond.conf')
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenrrdcached starting...
Daemon: zenjmx starting...
Daemon: zenwinperf starting...
WARN: unable to read config file /opt/zenoss/etc/zenwinperf.conf                -- skipping. (IOError: [Errno 2] No such file or directory: '/opt/zenoss/etc/zenwinperf.conf')
Daemon: zeneventlog starting...
Daemon: zenwin starting...
[***@zenoss2 bin]$
my first backup from the 3.2.1 box was run with "./zenbackup --file=zb10302012.tgz --no-eventsdb --no-perfdata"
This is becasue I just want the devices, no old events and the device performance data to start fresh. After the restore and migrate I could not even hit the login page on the new 4.2.0 instance. This is a VM so I just restored snapshot back to baseline and am going to try again after zeopacking the old DB and getting as much event history cleared out, I'll try a straight ./zenbackup - I looked at the zeneventserver.log, but could not see anything and it was huge, so I did not post it.
I'm only posting this because everything I read says that the above should have worked with no issues. Does anyone have any comments or suggestions?
TIA, Mike
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69627#69627]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Migrate from 3.2.1 to 4.2.0"
To view the discussion, visit: http://community.zenoss.org/message/69627#69627
--------------------------------------------------------------
Hi all,
Looking for some help moving from an estalished Zenoss 3.2.1 running instance to a different server running an instance of 4.2.0 SP1
Both 3.2.1 and 4.2.0 are running on supported OS installs (CentOS)
I've done a zenbackup from the old 3.2.1 server, scp'd the backup straight to the new 4.2.0 server, ran zenrestore then zenmigrate with what looks like no issues, but starting up zenoss on the 4.2.0 server is another story.
[***@zenoss2 bin]$ zenoss stop
Daemon: zenwin stopping...
Daemon: zeneventlog stopping...
Daemon: zenwinperf stopping...
Daemon: zenjmx stopping...
Daemon: zenrrdcached stopping...
Daemon: zenprocess stopping...
Daemon: zencommand stopping...
Daemon: zenperfsnmp stopping...
Daemon: zenmodeler stopping...
Daemon: zentrap stopping...
Daemon: zenactiond stopping...
Daemon: zenstatus stopping...
Daemon: zensyslog stopping...
Daemon: zenping stopping...
Daemon: zeneventd stopping...
Daemon: zenjobs stopping...
Daemon: zenhub stopping...
Daemon: zopectl .
daemon process stopped
Daemon: zeneventserver stopping...
[***@zenoss2 bin]$ ./zenrestore --file=/opt/zenoss/backups/zb10302012.tgz
[***@zenoss2 bin]$ ./zenmigrate
INFO:zen.migrate:Installing AddUserInterfaceSettings (4.2.0)
INFO:zen.migrate:Installing ChangeSnmpDefaults (4.2.0)
INFO:zen.migrate:Installing ClearUserSettings (4.2.0)
INFO:zen.migrate:Installing DeviceSearchIpAddressCatalogCleanup (4.2.0)
INFO:zen.migrate:Installing FileSystemIndexName (4.2.0)
INFO:zen.migrate:Installing JobsDelete (4.2.0)
INFO:zen.migrate:Removing old job records
INFO:zen.migrate:Removing old job relationship
INFO:zen.migrate:Installing RemoveDCSHFromCommand (4.2.0)
INFO:zen.migrate:Installing RemoveDeviceZenMenus (4.2.0)
INFO:zen.migrate:Installing RemoveModificationsMenuItems (4.2.0)
INFO:zen.migrate:Installing SetIgnoreParamsOnZenDaemons (4.2.0)
INFO:zen.migrate:Installing SnmpWalkWithPort (4.2.0)
INFO:zen.migrate:Installing addIgnoreParametersWhenModeling (4.2.0)
INFO:zen.migrate:Adding ignoreParametersWhenModeling to all process classes.
INFO:zen.migrate:Installing addzInterfaceMapIgnoreDescriptions (4.2.0)
INFO:zen.migrate:Installing discoveryMaxOidsPerRequest (4.2.0)
INFO:zen.migrate:Installing fixEmailNotificationClearSubjectFormat (4.2.0)
INFO:zen.migrate:Setting default values for E-mail notifications.
INFO:zen.migrate:Installing ifOperStatusEthernetCsmacd64 (4.2.0)
INFO:zen.migrate:Installing ifOperStatusRRDCreateCommand (4.2.0)
WARNING:zen.migrate:
Changing the definition for ifOperStatus. Please
remove all rrd files with this name: ifOperStatus_ifOperStatus.rrd.
You can remove all the rrd files with the following command as the zenoss user:
find $ZENHOME -name "ifOperStatus_ifOperStatus.rrd" -delete
INFO:zen.migrate:Installing moveZepConfig (4.2.0)
INFO:zen.migrate:Installing perDeviceCompCatalog (4.2.0)
INFO:zen.migrate:Installing removeClearHeartbeatsMenuItem (4.2.0)
INFO:zen.migrate:Installing setDefaultsOnEmailNotifications (4.2.0)
INFO:zen.migrate:Setting default values for E-mail notifications.
INFO:zen.migrate:Installing zRemoveAutoAllocate (4.2.0)
INFO:zen.migrate:Installing zenmodelerModeledDevices (4.2.0)
INFO:zen.migrate:Installing ifOperStatusEvents (4.2.0)
INFO:zen.migrate:Loading Reports
[***@zenoss2 bin]$ find $ZENHOME -name "ifOperStatus_ifOperStatus.rrd" -delete
[***@zenoss2 bin]$ zenoss start
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....................................................................................................................................................................................
zeneventserver failed to start within 180 seconds.
Please check the following log file for more details:
 /opt/zenoss/log/zeneventserver.log
Daemon: zopectl .
daemon process started, pid=15290
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zeneventd starting...
WARN: unable to read config file /opt/zenoss/etc/zeneventd.conf                -- skipping. (IOError: [Errno 2] No such file or directory: '/opt/zenoss/etc/zeneventd.conf')
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactiond starting...
WARN: unable to read config file /opt/zenoss/etc/zenactiond.conf                -- skipping. (IOError: [Errno 2] No such file or directory: '/opt/zenoss/etc/zenactiond.conf')
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenrrdcached starting...
Daemon: zenjmx starting...
Daemon: zenwinperf starting...
WARN: unable to read config file /opt/zenoss/etc/zenwinperf.conf                -- skipping. (IOError: [Errno 2] No such file or directory: '/opt/zenoss/etc/zenwinperf.conf')
Daemon: zeneventlog starting...
Daemon: zenwin starting...
[***@zenoss2 bin]$
my first backup from the 3.2.1 box was run with "./zenbackup --file=zb10302012.tgz --no-eventsdb --no-perfdata"
This is becasue I just want the devices, no old events and the device performance data to start fresh. After the restore and migrate I could not even hit the login page on the new 4.2.0 instance. This is a VM so I just restored snapshot back to baseline and am going to try again after zeopacking the old DB and getting as much event history cleared out, I'll try a straight ./zenbackup - I looked at the zeneventserver.log, but could not see anything and it was huge, so I did not post it.
I'm only posting this because everything I read says that the above should have worked with no issues. Does anyone have any comments or suggestions?
TIA, Mike
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69627#69627]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]