Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Watch4net APG 5: Installing Watch4net APG 5 on Unix/Linux (374544)

Last Updated: 3/22/2024Categories: TroubleshootingTotal Views: 4144Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Watch4net APG 5: Installing Watch4net APG 5 on Unix/Linux
How to install Watch4net APG 5 on Unix/Linux?

Resolution

This procedure will guide you through the process of installing Watch4net APG 5 on Unix/Linux.

Change the permissions of the installer:

chmod 740 setup-linux-x86-v50.sh ./setup-linux-x86-v50.sh

Read and accept the license conditions:

Do you accept EULA [y/N] ? y

Unless you want to install APG in a different directory, just press enter:

Enter the installation directory [/opt/APG]:

Unless you have special requirements, just type "y":

Install in /opt/APG [Y/n] ? y

Unless have special requirements, just press "Enter":

Enter the user account we should create and use [apg]:

Unless you have special requirements, just press "d":

Proceed with [D]efault or [m]anual installation? d

Installing APG licenses
Copy the APG licenses to a temporary directory, decompress the zip file:

cp Licenses.zip /tmp/ unzip /tmp/Licenses.zip

Run manage-licenses.sh with the option "install" to install all the licenses you want:

cd /tmp/ for e in `ls *.lic`; do /opt/APG/bin/manage-licenses.sh install $e; done

Configuring APG
This step will show you the basic configuration for SMART using smartsDiscovery. The configuration of SNMP will be done in the Front-end:

Make a backup copy of the SMARTS configuration file:

cp /opt/APG/Collecting/Smarts-Collector/Default/conf/sm-discovery.xml /opt/APG/Collecting/Smarts-Collector/Default/conf/sm-discovery.xml.backup

Edit the file sm-discovery.xml:

vi /opt/APG/Collecting/Smarts-Collector/Default/conf/sm-discovery.xml

In the following section change the values "IP_Address_or_Hostname", "username" (if you wish so) and "password":

<authentication>
<broker>IP_Address_or_Hostname:426</broker>
<domains refresh-period="240">
<default-username>admin</default-username>
<default-password>changeme</default-password>
</domains>
</authentication>

Starting APG
/opt/APG/bin/manage-modules.sh service start all

You should see a serie of messages as:

* Starting 'mysql Default'...
[ OK ] * Starting 'backend Default'...
[ OK ] * Starting 'outage-manager Default'...
[ OK ] * Starting 'collector-manager Default'...
[ OK ] * Starting 'tomcat Default'...
[ OK ]

Verifying the logs
Review the content of the log cache-0-0.log to verify if the backend is running correctly:

tail -f /opt/APG/Backends/APG-Backend/Default/logs/cache-0-0.log

INFO -- [2009-12-17 18:03:11 EST] -- CommitTask::run(): Launching Commit task (120)...
INFO -- [2009-12-17 18:03:11 EST] -- Cache::commit(): committing group group...
INFO -- [2009-12-17 18:07:11 EST] -- CommitTask::run(): Launching Commit task (120)...
INFO -- [2009-12-17 18:07:11 EST] -- Cache::commit(): committing group group...
INFO -- [2009-12-17 18:09:11 EST] -- FlushTask::run(): Launching Flush task (2000, 31536000)...
INFO -- [2009-12-17 18:09:11 EST] -- Cache::flush(): flushing group group...
INFO -- [2009-12-17 18:11:11 EST] -- CommitTask::run(): Launching Commit task (120)...
INFO -- [2009-12-17 18:11:11 EST] -- Cache::commit(): committing group group...
INFO -- [2009-12-17 18:15:11 EST] -- CommitTask::run(): Launching Commit task (120)...
INFO -- [2009-12-17 18:15:11 EST] -- Cache::commit(): committing group group...

Review the content of the log collector-0-0.log to verify if the collectors are polling data correctly:

tail -f /opt/APG/Collecting/Collector-Manager/Default/logs/collecting-0-0.log

INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_CISCO Start Timestamp(ms): 1261089879006
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_CISCO: Completed in 45ms. 299949ms until next polling, at timestamp: 1261090179000
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_HP Start Timestamp(ms): 1261089879013
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_HP: Completed in 38ms. 299949ms until next polling, at timestamp: 1261090179000
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_SERVER Start Timestamp(ms): 1261089879014
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_SERVER: Completed in 37ms. 299949ms until next polling, at timestamp: 1261090179000
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_GENERIC Start Timestamp(ms): 1261089879014
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_GENERIC: Completed in 39ms. 299947ms until next polling, at timestamp: 1261090179000
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_FOUNDRY Start Timestamp(ms): 1261089879014
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_FOUNDRY: Completed in 103ms. 299883ms until next polling, at timestamp: 1261090179000
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_NORTEL Start Timestamp(ms): 1261089879013
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_NORTEL: Completed in 104ms. 299883ms until next polling, at timestamp: 1261090179000
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::run(): Started polling group PG_JUNIPER Start Timestamp(ms): 1261089879013
INFO -- [2009-12-17 17:44:39 EST] -- PollingUnitPollingGroup::waitAtEndOfPollingCycle():
Polling group PG_JUNIPER: Completed in 105ms. 299882ms until next polling, at timestamp: 1261090179000 SEVERE
-- [2009-12-17 17:47:39 EST] -- SmCollectorDiscovery::rediscover(): error refreshing domain list java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at com.watch4net.smarts.SmUtils.tryAttach(SmUtils.java:312)
at com.watch4net.smarts.SmUtils.attach(SmUtils.java:165)
at com.watch4net.smarts.SmSafeRemoteBroker.attach(SmSafeRemoteBroker.java:86)
at com.watch4net.apg.v2.collector.plugins.SmCollectorConfigurationProvider.rediscoverTemplates(SmCollectorConfigurationProvider.java:366)
at com.watch4net.apg.v2.collector.plugins.SmCollectorDiscovery.rediscover(SmCollectorDiscovery.java:255)
at com.watch4net.apg.v2.collector.plugins.SmCollectorDiscovery$1.run(SmCollectorDiscovery.java:132)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

Review the content of the log apg-tomcat-default.out to verify if Tomcat is working correctly:

tail -f /opt/APG/Web-Servers/Tomcat/Default/logs/apg-tomcat-default.out

INFO: Global settings configured. Dec 17, 2009 3:39:51 PM com.watch4net.apg.mibbrowser.servlet.listener.ApplicationContextListener contextInitialized
INFO: MIB tree loaded. Dec 17, 2009 3:39:51 PM com.watch4net.apg.mibbrowser.servlet.listener.ApplicationContextListener contextInitialized
INFO: MIB browser initialized. Dec 17, 2009 3:39:51 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-58080 Dec 17, 2009 3:39:52 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 35242 ms Dec 17, 2009 3:40:02 PM com.watch4net.apg.v2.gui.database.master.MasterUtils cleanup
INFO: Launching global master cleanup... Dec 17, 2009 3:53:40 PM org.displaytag.export.ExportViewFactory <init>
INFO: Initializing ExportViewFactory with type={} Dec 17, 2009 3:53:40 PM org.displaytag.properties.TableProperties getLocaleResolverInstance
INFO: LocaleResolver initialized to org.displaytag.properties.locale.Resolver. Dec 17, 2009 4:00:01 PM com.watch4net.apg.v2.gui.cx run
INFO: 0 scheduled reports have been queued for Thu Dec 17 16:00:00 EST 2009...

Review the content of the log <SERVER_NAME>.err to verify if the database is working correctly:

tail -f /opt/APG/Databases/MySQL/Default/data/APG-5.err

091217 15:39:03 mysqld started 091217 15:39:03
[Warning] option 'thread_stack': unsigned value q126976 adjusted to 131072 091217 15:39:03
[Warning] Changed limits: max_open_files: 1024 max_connections: 100 table_cache: 457 091217 15:39:04
[Note] /opt/APG/Databases/MySQL/Default/bin/mysqld: ready for connections.
Version: '5.0.67' socket: 'mysql.sock' port: 53306 MySQL Community Server (GPL)

Logging into the front end
You can then access the URL as : http://Your_Server_Name_Or_IP_Address:58080/APG/ . The default pasword for the "admin" user is "changeme". Please make sure to change it using mysql-client.sh.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Related Versions:

VMware Smart Assurance - Watch4Net/M&R

Take Our Survey

Support Assistant