solarwinds  |  thwack
in
Search 44,679 posts and 621 resources contributed by 21,524 members or post a topic.

Already Joined? Sign in
Orion 9.1 & Application Monitor

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 15 Replies | 5 Followers


895 Posts
Points 2,445
aLTeReGo posted on 10-10-2008 9:48 AM
rated by 0 users

I've run into a snag trying to upgrade my Orion 9.0 to Orion 9.1. I still had Application Monitor installed on my Orion server and it seems I can neither install Orion 9.1 with AM installed, nor can I uninstall AM. So I guess you could say I'm stuck. I'm happy to get rid of AM, but there doesn't appear to be any method of uninstalling it. What's the recommended method of uninstalling AM if there's no "Uninstall" showing up in Add/Remove Programs?

 


  • | Post Points: 5

All Replies


22 Posts
Points 60
juliandaniel replied on 10-10-2008 11:17 AM
rated by 0 users

HI

Had the same issue yesterday with my old AM but I had it in Add/Remove. Once done it installed fine

 

Julian

Julian Daniel
  • | Post Points: 1

577 Posts
Points 1,471
SolarWinds Employee
Answered (Not Verified) tdanner replied on 10-10-2008 1:54 PM
rated by 0 users
Suggested by JasonKV

To trick the Orion 9.1 installer into thinking AppMon is not installed, delete this registry key:

HKLM\SOFTWARE\SolarWinds\Orion\Application Monitor

Now you need to manually remove AppMon. This set of steps should do an adequate job of that:

  1. Delete the AppMon poller service: "sc delete OrionAppPoller"
  2. Delete the Add/Remove Programs entry: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_{CDC35801-8701-4D76-BAD7-F5B7F9E39827} and HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CDC35801-8701-4D76-BAD7-F5B7F9E39827}.
  3. Delete the OrionApplicationMonitor directory under Program Files\SolarWinds\Orion.
  4. Delete the website directories: \Inetpub\SolarWinds\ApplicationMonitor and \Inetpub\SolarWinds\Orion\AppMon.
  5. Delete a bunch of files in the Program Files\SolarWinds\Orion directory:
    1. Application Monitor Initial Configuration.NPMWebBackup
    2. ApplicationMonitor.DBStructure
    3. ApplicationMonitor-WebSite.zip
    4. Applications-NetPerfMon.Charts
    5. AppPollerService.exe
    6. SolarWinds.ConfigurationWizard.Plugin.AppMon.dll
Now you should be all set to upgrade to 9.1.

Tim Danner
SolarWinds Development Team

  • Post Points: 7

895 Posts
Points 2,445
aLTeReGo replied on 10-10-2008 7:13 PM
rated by 0 users

That worked like a charm! Thanks for all your help.

  • | Post Points: 3

230 Posts
Points 4,532
savell replied on 10-10-2008 8:07 PM
rated by 0 users

I have the same issue - thanks for the instructions Tim!

Dave.

  • | Post Points: 3

895 Posts
Points 2,445
aLTeReGo replied on 10-11-2008 9:03 PM
rated by 0 users

Quick follow-up. Do you know what tables need to be dropped from the database for AM? Also, instructions on how to drop those tables would be great too. Thanks.

  • | Post Points: 3

577 Posts
Points 1,471
SolarWinds Employee
tdanner replied on 10-13-2008 1:41 PM
rated by 0 users

Dropping tables is easy - just use your db management tool of choice (SQL Management Studio, Orion's Database Manager, sqlcmd, etc.) to run "DROP TABLE tablename", where tablename is the name of the table. AppMon adds the following tables:

  • Applications
  • ApplicationStatistics_Daily
  • ApplicationStatistics_Detail
  • ApplicationStatistics_Hourly
There's also the ApplicationStatistics view. You can drop that with "DROP VIEW ApplicationStatistics". And don't worry about confusing these tables with APM's - those all start with APM_ so they are easy to spot.

Tim Danner
SolarWinds Development Team

  • | Post Points: 3

895 Posts
Points 2,445
aLTeReGo replied on 10-13-2008 5:16 PM
rated by 0 users

Hmm.. I might be doing something wrong. I was able to drop the table "Applications" and I also dropped a table (not a view) called "ApplicationStatistics". There doesn't seem to be any trace of a table called "ApplicationStatistics_Daily", ApplicationStatistics_Detail", or "ApplicationStatistics_Hourly"

I'm still pretty sure I'm missing some residue left over from AM because "Application" is still available in the Advanced Alert "Property to Monitor" pull-down.

On the bright side I just trimmed 3.2GB from my database when I dropped the ApplicationStatistics" table.

  • | Post Points: 3

577 Posts
Points 1,471
SolarWinds Employee
tdanner replied on 10-14-2008 9:57 AM
rated by 0 users

Ok, it looks like you had the version of the AppMon schema where all of the statistics were in one table instead of being split into three and joined up with a view.

To get rid of the residue in advanced alerts (and reports), delete the Applications.* files in the Schemas subdirectory of Program Files\SolarWinds\Orion.

Tim Danner
SolarWinds Development Team

  • | Post Points: 10

895 Posts
Points 2,445
aLTeReGo replied on 10-14-2008 10:13 AM
rated by 0 users

Ahh, much better. Thanks again Tim!

  • | Post Points: 1

280 Posts
Points 728
SamuelB replied on 10-17-2008 9:19 AM
rated by 0 users

 Tim,

 I would just like to say that the information that you provided helped me as well. I was in the same boat as aLTeReGo and this allowed me to install Orion 9.1 and fixed any residual effects of AppMon. I appreciate all of the technical information that you continue to post to Thwack.

Thanks,

Samuel

  • | Post Points: 1

43 Posts
Points 100
JasonKV replied on 11-06-2008 6:32 AM
rated by 0 users

I had a number of issues/questions.

Would these instructions be the same for uninstalling from a HSB system? I was testing this uninstall on the HSB before doing it to the running production machine. There seems to be a few missing files.

1. Deleting the AppMon poller service using the command mentioned returned an error that there was no such service.
2. There was not an OrionApplicationMonitor directory in the Orion Folder
3. Both Folders mentioned in step 4 were not present
4. All the files in step 5 were not present.

Its confusing to me as the registry keys mentioned were present and the program was listed in the Add/Remove programs window prior to preforming any steps. I belive this could be because the machine is a HSB system or it had previously been uninstalled?

Thanks in advance.

Jason

--------------------- Jason ----------------------


577 Posts
Points 1,471
SolarWinds Employee
tdanner replied on 11-06-2008 6:49 AM
rated by 0 users

Strange - so you had the registry keys for AppMon but none of the files?

Are you able to upgrade to 9.1 now?

Tim Danner
SolarWinds Development Team

  • | Post Points: 3

43 Posts
Points 100
JasonKV replied on 11-06-2008 7:15 AM
rated by 0 users

I have been unable to test 9.1 install yet as this will require an off hours scheduled time frame to install. If files are not present and reg files are deleted this should be a clean manual uninstall ? I will perform this on main pollers over the next few days and get back to you on if the same issues were present.

--------------------- Jason ----------------------

  • | Post Points: 3

577 Posts
Points 1,471
SolarWinds Employee
tdanner replied on 11-06-2008 7:25 AM
rated by 0 users

If the files and reg keys are gone, it should go fine. Don't forget 9.1 SP1.

Tim Danner
SolarWinds Development Team

  • | Post Points: 1
Page 1 of 2 (16 items) 1 2 Next > | RSS