SRM Suite 3.0: Unable to discover switches after migration from Watch4net 6.2u4; SEVERE message in collecting.log file states 'Can't load descriptor 'conf/alertingconnector.xml'
book
Article ID: 333398
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
SRM Suite 3.0 is unable to discover switches and manage the environment.
Error message similar to the following is seen in SRM 3.0 collecting.log file:
I NFO -- [2014-02-06 12:27:59 CAT] -- CollectorManagerImpl::configure(): Parsing file 'E:\Program Files\APG\Collecting\Collector-Manager\Generic-SNMP\conf\collecting.xml' ... INFO -- [2014-02-06 12:27:59 CAT] -- CollectorManagerImpl::getComponentInstance(): Instantiating class com.watch4net.apg.v2.collector.plugins.SocketConnector for connector Backend... INFO -- [2014-02-06 12:27:59 CAT] -- CollectorManagerImpl::getComponentInstance(): Configuring connector Backend (SocketConnector v5.4 r45610) with E:\Program Files\APG\Collecting\Collector-Manager\Generic-SNMP\conf\socketconnector.xml... SEVERE -- [2014-02-06 12:27:59 CAT] -- Bootstrap::main(): Can't start Collector Manager! com.watch4net.apg.v2.common.config.InvalidConfigurationException: Can't load descriptor 'conf/alertingconnector.xml' for connector Alerting! at com.watch4net.apg.v2.collector.CollectorManagerImpl.getInstance(CollectorManagerImpl.java:239) at com.watch4net.apg.v2.collector.CollectorManagerImpl.configureConnectors(CollectorManagerImpl.java:418) at com.watch4net.apg.v2.collector.CollectorManagerImpl.configure(CollectorManagerImpl.java:170) at com.watch4net.apg.v2.collector.Bootstrap.serviceStart(Bootstrap.java:89) at com.watch4net.apg.v2.collector.Bootstrap.main(Bootstrap.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.watch4net.apg.module.plugin.service.Bootstrap.main(Bootstrap.java:59) at com.watch4net.apg.module.plugin.service.windows.ProcrunBootstrap.main(ProcrunBootstrap.java:82) Caused by: com.watch4net.component.loader.ComponentResolutionException: Unable to locate 'Socket-Connector' at 'conf/alertingconnector.xml' in [E:\Program Files\APG\Collecting, E:\Program Files\APG\Backends, E:\Program Files\APG\Collecting\Collector-Manager\Generic-SNMP] at com.watch4net.component.loader.impl.LocationResolver.getDescriptor(LocationResolver.java:125) at com.watch4net.apg.v2.collector.CollectorManagerImpl.getInstance(CollectorManagerImpl.java:236) ... 10 more
Environment
VMware Smart Assurance - Watch4Net/M&R
Cause
Some files were deleted (including alertingconnector.xml) when upgrading from Watch4net 6.2u4 to SRM 3.0 and updating all the required modules. This occurs if the user who completed the upgrade did not select [no] during the upgrade process when asked if the files should be deleted or not.
Resolution
This issue can be prevented by selecting [no] when prompted during the migration, to specify that files such as alertingconnector.xml are not deleted by the migration process. If you encounter the above issue, you have the following options to address this issue, depending on whether you have a back-up of your Watch4net installation:
Watch4net back-up exists: If you have a recent back-up of your Watch4net installation, you can do the migration procedure again using the back-up, being sure to select [no] when prompted about deleting files.
No Watch4net back-up exists: If you do not have a good back-up of your Watch4net installation, you must install a new SRM 3.0 installation and then re-build your old Watch4net configuration in your new SRM installation environment.
Additional Information
EMC Customer Service strongly recommends that you make regular backups of your product environment.