1: 解压安装文件SolarWinds-DPA-11.0.373-64bit.tar.gz

[root@lnxmonitor tmp]# tar -xzvf SolarWinds-DPA-11.0.373-64bit.tar.gz 

DPAAdministratorGuide_11.0_RC.pdf

dpa_11_0_373_x64_installer/

dpa_11_0_373_x64_installer/dpa_11_0_373_x64_installer.sh

dpa_11_0_373_x64_installer/install.txt

dpa_11_0_373_x64_installer/readme.txt

 

2: 查看解压目录下的readme.txt,里面有升级DPA的处理步骤。

UPGRADE INSTRUCTIONS

---------------------------------------------------------------------------

 

Prerequisite: System has an existing installation.

 

1. Install the new version of SolarWinds DPA on your existing server.

 

2. Disable cron jobs set up for SolarWinds DPA.

 

3. Run the shutdown.sh command from the old installation directory.

 

4. Locate the directory created when you installed the new version:

    /home/dpa_10_1_xxx       <= old installation home (may be ignite_8_x_xxx or dpa_9_x_xxx)

    /home/dpa_10_2_xxx       <= new SolarWinds DPA home

 

5. Copy or move these directories from the old to the new installation directory:

 

    WARNING: Do not copy hotfix files.

 

    cp -fr <OLD_home>/iwc/tomcat/ignite_config/* <NEW_home>/iwc/tomcat/ignite_config/

    cp -fr <OLD_home>/iwc/tomcat/logs/* <NEW_home>/iwc/tomcat/logs/

    mv <OLD_home>/iwc/tomcat/licensing <NEW_home>/iwc/tomcat/

 

6. If you are:

    - using LDAPS,

    - using SSL, or

    - changed the default SolarWinds DPA ports,

 

    then also complete the following tasks:

 

    a. Copy the keystore to the new installation:

 

        cp -fr <OLD_home>/iwc/tomcat/conf/.keystore  <NEW_home>/iwc/tomcat/conf/

 

    b. Edit <NEW_home>/iwc/tomcat/ignite_config/idc/system.properties file as follows:

 

       If the "javax.net.ssl.trustStore" entry is present, make sure it refers

       to a key store file inside the new DPA installation directory structure

       if possible.

 

       If the "com.confio.security.trustStore" entry is present, make sure it

       refers to a trust store file inside the new DPA installation directory

       structure if possible.

       If the referenced trust store file is in the new DPA installation

       directory structure, make sure the path is relative to the

       <NEW_home>/iwc/tomcat directory. For example, the absolute path

       "/home/user/dpa_10_2_xxx/iwc/tomcat/conf/.keystore" should be represented

       as "conf/.keystore" in the "com.confio.security.trustStore" entry.

 

    c. If you changed default port values or if you are using SSL on DPA 9.1.x or

       earlier, open server.xml from the old and the new installation

       directories.

 

    d. Copy over the appropriate values. Make sure that ports on the HTTP and

       HTTPS connector do not conflict. The files are located at:

 

        - <OLD_home>/iwc/tomcat/conf/server.xml

        - <NEW_home>/iwc/tomcat/conf/server.xml

 

7. If you disabled a cron job, update the path in those scripts to the new directory

   name and re-enable the job.

 

8. The upgrade is complete. The next step is to start SolarWinds DPA (see

   the section on Startup Instructions).

3:授予dpa_11_0_373_x64_installer.sh执行权限,并执行脚本。

#chmod +x dpa_11_0_373_x64_installer.sh

 

#./dpa_11_0_373_x64_installer.sh

 

3: 禁用DPA相关的crontab作业。停止DPA服务(版本为DPA 10.0.352),

[root@lnxmonitor dpa_10_0_352]# ./shutdown.sh 

**************************************************************************

*

*  If this script fails you can manually stop the program by 

*  doing the following steps: 

*

*  1) Set the JAVA_HOME environment variable to your Java installation.

*  2) Add <JAVA_HOME>/bin to your PATH environment variable.

*  3) Go to the <DPA Home>/tomcat/bin directory. 

*  4) Run ./shutdown.sh 

*

*

***************************************************************************

Catalog exists...

Found java 1.6 or 1.7

JAVA HOME IS SET TO /home/solarwinds/dpa_10_0_352/iwc/jre_linux

PATH IS SET TO /home/solarwinds/dpa_10_0_352/iwc/jre_linux/bin:/usr/java/jdk1.7.0_25/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

IBM Jvm Is Set To NO

Setting the -server option for JVM

JAVA_OPTS is  -server -Xss264k -Xms256m -Xmx1024m -XX:MaxPermSize=192m -Dcom.sun.management.jmxremote -Djava.net.preferIPv4Stack=true -Dnet.sf.ehcache.skipUpdateCheck=true

Using CATALINA_BASE:   /home/solarwinds/dpa_10_0_352/iwc/tomcat

Using CATALINA_HOME:   /home/solarwinds/dpa_10_0_352/iwc/tomcat

Using CATALINA_TMPDIR: /home/solarwinds/dpa_10_0_352/iwc/tomcat/temp

Using JRE_HOME:        /home/solarwinds/dpa_10_0_352/iwc/jre_linux

Using CLASSPATH:       /home/solarwinds/dpa_10_0_352/iwc/tomcat/bin/bootstrap.jar:/home/solarwinds/dpa_10_0_352/iwc/tomcat/ignite_config

**************************************************************************

*

*  DPA is shutting down. 

*

***************************************************************************

Exiting script after webserver stopped.

4:拷贝相关文件,例如配置文件、日志文件、License文件

 

cp -fr <OLD_home>/iwc/tomcat/ignite_config/* <NEW_home>/iwc/tomcat/ignite_config/

cp -fr <OLD_home>/iwc/tomcat/logs/* <NEW_home>/iwc/tomcat/logs/

mv <OLD_home>/iwc/tomcat/licensing <NEW_home>/iwc/tomcat/

 

root@lnxmonitor solarwinds]# cp -fr /home/solarwinds/dpa_10_0_352/iwc/tomcat/ignite_config/* /home/solarwinds/dpa_11_0_373/iwc/tomcat/ignite_config/

[root@lnxmonitor solarwinds]# cp -fr /home/solarwinds/dpa_10_0_352/iwc/tomcat/logs/*  /home/solarwinds/dpa_11_0_373/iwc/tomcat/logs/

[root@lnxmonitor solarwinds]# mv /home/solarwinds/dpa_10_0_352/iwc/tomcat/licensing /home/solarwinds/dpa_11_0_373/iwc/tomcat/

[root@lnxmonitor solarwinds]# ls

dpa_10_0_352  dpa_11_0_373  dpa_9_1_85

[root@lnxmonitor solarwinds]# cd dpa_11_0_373/

[root@lnxmonitor dpa_11_0_373]# ls

iwc  license.txt  shutdown.sh  SolarWindsEula.rtf  startup.sh

5:如果你设置了SSL或修改了默认端口等,那么参考上面的第六条说明进行配置。此处由于不需要设置,那么略过。

6:启动DPA服务,访问页面,检查升级是否成功!

 

[root@lnxmonitor dpa_11_0_373]# ./startup.sh 

**************************************************************************

*

*  If this script fails you can manually start the program by 

*  doing the following steps: 

*

*  1) Set the JAVA_HOME environment variable to your Java installation.

*  2) Add <JAVA_HOME>/bin to your PATH environment variable.

*  3) Go to the <DPA Home>/tomcat/bin directory. 

*  4) Run ./startup.sh 

*  5) Bring up the link (http://machine Name:8123 

*     or http://machine IP:8123) in your browser.

*

*

***************************************************************************

Catalog exists...

Found java 1.8

JAVA HOME IS SET TO /home/solarwinds/dpa_11_0_373/iwc/jre_linux

PATH IS SET TO /home/solarwinds/dpa_11_0_373/iwc/jre_linux/bin:/usr/java/jdk1.7.0_25/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

The server port is 8127

The HTTP port is 8123

The HTTPS port is 8124

DPA is not running.

The port 8123 is open

The port 8124 is open

The port 8127 is open

Starting DPA

STACK_SIZE OVERRIDE = 

MIN_HEAP_MEMORY OVERRIDE = 

MAX_HEAP_MEMORY OVERRIDE = 

ADDITIONAL_JVM_OPTION = 

IBM Jvm Is Set To NO

Setting the -server option for JVM

JAVA_OPTS is  -server -Xss300k -Xms256m -Xmx1024m -Djava.net.preferIPv4Stack=true -Dnet.sf.ehcache.skipUpdateCheck=true

Tomcat started.

 

Waiting on initialization...please be patient

 

**************************************************************************

*

*  DPA has been launched, wait one minute then bring up 

*  one of the following links in your browser:

*

*  http://<Machine Name>:8123 or http://<Machine IP>:8123

*  https://<Machine Name>:8124 or https://<Machine IP>:8124

*

*  If the link does not work, check <iwc_dir>/tomcat/logs

*  and make sure a firewall is not running on this machine.

*

***************************************************************************

Exiting script after webserver launched.

如果监控了较多的数据库服务器,则打开DPA时有可能需要等待一小段时间,如下所示。另外,如果一个License Key被拆分到两个DPA服务器,则启动DPA的时候,需要激活License,如果你服务器可以访问外网,那么就可以在线激活License,如果不能访问外网,只能使用离线激活方式。如果不激活License,则Upgrade则会受阻,无法继续进行!

 

参考资料:

https://support.solarwinds.com/Success_Center/Database_Performance_Analyzer_(DPA)/DPA_Admin_Guide/060_Upgrade_DPA/020_Upgrade_DPA_on_Linux

DPA从DPA 10.0.352升级到DPA 11.0.373的更多相关文章

  1. hadoop2.3.0cdh5.0.2 升级到cdh5.7.0

    后儿就放假了,上班这心真心收不住,为了能充实的度过这难熬的两天,我决定搞个大工程.....ps:我为啥这么期待放假呢,在沙发上像死人一样躺一天真的有意义嘛....... 当然版本:hadoop2.3. ...

  2. CDH 版本 6.0.1 升级到 6.2.0 当前最新版本(CentOS 7.x)

    前文「CDH CM版本 6.0.1 升级到 CM 6.2.0 当前最新版本(CentOS 7.x)」 承接上文,当我们完成 CM 6.2.0 的升级之后,我们已经相当于完成了80% minor 的升级 ...

  3. Asp.Net Core 项目从 1.0.1 升级到 1.1.0 的小补丁

    还有 25 天就要交期末作业了,虽然还有好些功能没完成,但是前端同学还是建议先放到云上跑一跑,于是我轻车熟路的用 VS 2017 搞起了 FTP 发布,然而,发布失败了,错误信息如下: "D ...

  4. Oracle:oracle 12.1.0.2 升级到12.2.0.1 后,自动任务报错:ORA-20001: Statistics Advisor: Invalid task name for the current user

    具体错误如下:关键字:ORA-12012.ORA-20001 ORA-12012: error on auto execute of job "SYS"."ORA$AT_ ...

  5. Safari 11.0 已发布,新特性都在这儿了!

    Safari 11.0 兼容性 Safari 11.0 可运行于 iOS 11.0 和 macOS 10.1版本的系统环境,同时在macOS 10.12.6 和 10.11.6版本中也可以使用. Hi ...

  6. 试驾 Citus 11.0 beta

    https://www.citusdata.com/blog/2022/03/26/test-drive-citus-11-beta-for-postgres/ Citus 11.0 beta 的最大 ...

  7. Quartus II 11.0 开始使用

    一.Altera Quartus II 11.0套件介绍 所谓巧妇难为无米之炊,再强的软硬件功底,再多的思维创造力,没有软件的平台,也只是徒劳.因此,一切创造的平台——Quartus II 软件安装, ...

  8. 选择 Delphi 2007 ( CodeGear Delphi 2007 for Win32 Version 11.0.2837.9583 ) 的理由

    选择 Delphi 2007 ( CodeGear Delphi 2007 for Win32 Version 11.0.2837.9583 ) 的理由 我不喜欢用InstallRite的全自动安装包 ...

  9. FreeNAS 11.0 正式发布,提供 S3 兼容的对象存储服务

    FreeNAS 11.0 正式版已发布,该版本带来了新的虚拟化和对象存储功能.FreeNAS 11.0 将 bhyve 虚拟机添加到其受欢迎的 SAN / NAS.Jail 和插件中,让用户可以在 F ...

随机推荐

  1. springboot~让我习惯了TDD的开发模式

    TDD是什么 TDD就是测试驱动开发,以测试用例为主导,去开发项目,业务代码该怎么写还是怎么写,在实现UI之前,可以先实现Test用例,通过test来实现对业务场景的模拟,最终让你的代码更稳定. 大叔 ...

  2. 手把手使用Docker搭建SpringBoot微服务镜像

    一.环境准备 1.安装好Docker环境的Linux机器(安装教程) 2.准备好SpringBoot项目打包好的可运行jar包 二.编写Dockerfile 1.首先将SpringBoot打包好的ja ...

  3. 浅谈ASP.NET框架

       本篇文章更适合具有一定开发经验,一定功底,且对底层代码有所研究的朋友!!! 本篇文章稍微偏原理且底层,有一定难度和且比较晦涩,文章粒度稍微粗些,更细粒度的,会在后续的文章中,结合具体的Demo实 ...

  4. haproxy配置示例和需要考虑的问题

    HaProxy系列文章:http://www.cnblogs.com/f-ck-need-u/p/7576137.html haproxy是一个非常优秀的负载均衡工具,它的特性非常丰富,功能也非常非常 ...

  5. DRF之项目搭建

    DRF,全称Django Restful Framework,是一个基于Django的Restful接口框架,是主要用来做API接口的,为前端提供数据的接口.在前面一片博客中,我们构建了一个vue的项 ...

  6. [转]Rancher 快速上手指南操作(1)

    本文转自:http://www.cppblog.com/zhiyewang/archive/2016/03/17/213053.aspx Rancher 快速上手指南操作(1)该指南知道用户如何快速的 ...

  7. [转]laravel DB类SQL语句操作(CURD)

    本文转自:https://blog.csdn.net/woshihaiyong168/article/details/52992812 版权声明:本文为勇哥原创文章,转载请注明出处哦!!! https ...

  8. 推荐数据库、Web、Net、架构的PDF数据,书不在多,在看!

    先收藏,后看:千万不要做一个屯书的人,一定要坚持有选择性的看下去: 数据库类 SqlServer Oracle .NET  更多... Web  更多... 架构 不刮了,直接可以看到了. 链接: h ...

  9. [leetcode]1007. 行相等的最少多米诺旋转

    在一排多米诺骨牌中,A[i] 和 B[i] 分别代表第 i 个多米诺骨牌的上半部分和下半部分.(一个多米诺是两个从 1 到 6 的数字同列平铺形成的 —— 该平铺的每一半上都有一个数字.) 我们可以旋 ...

  10. Unix awk的流程控制BEGIN和END的讲解

    你可能对Unix比较熟悉,但你可能对Unix awk很陌生,这一点也不奇怪,的确,与其优秀的功能相比,awk还远没达到它应有的知名度. 流程控制语句是任何程序设计语言都不能缺少的部分.任何好的语言都有 ...