`
Yiwu_zh
  • 浏览: 22005 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
前提: 1.安装TSM Server文件集 2.建好tsminst1用户及/db2home/tsminst1用户目录 使用DSMSERV FORMAT工具格式化或初始化数据库和恢复日志。 /opt/tivoli/tsm/server/bin/dsmserv format \ dbdir=/tsmdb/tsmdb_yw \ activelogsize=16384 \ activelogdir=/tsmlog/log_yw/act \ archlogdir=/tsmlog/log_yw/arch #dbdir-数据库容器目录,activelogsize-活动日志容量单位MB,ac ...
在学习数据库时候,经常需要查询DB2 Information Center,IBM的网站在国内的访问速度也非常不稳定,特别是在家庭网络中。本文将主要介绍如何在本地安装一个DB2的InformationCenter,方便用户在自己的本地电脑中查询问题。 1、DB2 Information Center介绍 [url http=https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-dm-db2info&S_PKG=dm&lang=en_US&cp=UTF-8]DB2 v10.5 In ...
1. 收集完整的数据信息   参考链接 - MustGather: Performance, hang, or high CPU issues with WebSphere Application Server on AIX 2. 脚本运行结果和日志文件有 aixperf_RESULTS.tar.gz(本地目录生成) three javacores ($WebSphere/profiles/AppSrv01/) server logs (SystemOut.log, native_stderr.log,..../logs/server/) 3. 解压aixperf_RESULTS.t ...
db2diag命令及db2diag.log文件的作用和其在诊断DB2问题时候的重要性,这里就不再多说。以下内容均摘自DB2 inforcenter 一、与在实例配置参数中与db2diag相关的参数有 db2 get dbm cfg | grep -i diag Diagnostic error capture level ...

搭建DB2 HADR

    博客分类:
  • DB2
两台数据库服务器 主A:96.0.43.61 备B:96.0.43.62 实例用户/密码:: 准备环境 1、在A中创建样本数据库sampl db2sampl 2、修改A日志方式为归档日志,并作备份 db2 get db cfg for sample | grep -i log mkdir -p sample/redo mkdir -p sample/archive db2 update db cfg for sample using NEWLOGPATH /home/db2inst2/sample/redo db2 update db cfg for sample using LO ...
1、确定本地os版本及服务级别:oslevel  -s 2、下载需要安装的db2镜像及db2 license到本地文件系统,具体/backup/v9.7fp6_aix64_server.tar和/backup/db2_iwebe_v9.7.lic 3、确认/opt文件系统空间,因为安装路径默认为/opt/IBM/db2/V9.7路径下,所以确保有足够的安装空间。解压tar包 4、在tar包解压的路径./backup/server/db2_install,即可开始脚本安装 #./db2_install # ./db2_install Default directory for inst ...
#在AIX系统中,每个账户可以建立一个或者多个实例,但是在同一时间,只能够对这其中的一个实例进行操作。 1、db2icrt      db2icrt instance_name 在AIX服务器上创建实例时,必须提供受防护的用户标识,例如:DB2DIR/instance/db2icrt -u db2inst1 instance_name 可选参数有:      -h 或 -? 显示此命令的帮助菜单      -d 设置在问题确定期间要使用的调试方式      -a AuthType 指定实例的认证类型 2、db2iupdt      db2iupdt InstName InstName是实例名 ...
使用教程参考链接 IBM Thread and Monitor Dump Analyzer for Java https://www.ibm.com/developerworks/community/alphaworks/tech/jca java -Xmx200M -jar jca450.jar
由于某种原因,需要删除重建WAS7的profiles,并重新按照模板建立新profiles 1、删除原来的/usr/IBM/WebSphere/AppServer/profiles下的概要信息      A. 使用manageprofiles.sh命令删除概要           查看当前的profiles           /usr/IBM/WebSphere/AppServer/bin/manageprofiles.sh -listProfiles           默认是Dmgr01和AppSrv01,删除profiles           /usr/IBM/WebSphere/Ap ...
1、查看版本信息 $oslevel -s 查看AIX系统版本,发布号及技术级别 $oslevel -s 6100-06-05-1115 $db2level查看db2的版本信息以及补丁信息 $db2level DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09076" with level identifier "08070107". Informational tokens are "DB2 v9.7.0 ...
1、安装CDE,放入AIX安装光盘1,运行smit install smit install -> Install and Update Software -> Install Software Bundle 选择CDE安装即可 2、在AIX中启动时自动开启CDE /usr/dt/bin/dtconfig -e 3、在命令行中启动CDE /etc/rc.dt;exit 4、确认CDE已经启动 ps -ef | grep dtlogin netstat -an | grep 177 5、安装Xmanager 3.0,打开Xbrowser,创建XDN Query,填上IP地址 ...
1、检查源服务器 lspv lsdev -Cc disk lsvg rootvg lsvg -l rootvg 2、划分存储LUN到源服务器 cfgmgr -v lspv 3、克隆rootvg到新LUN中 chdev -l hdisk1 -a pv=yes lspv alt_disk_copy -d hdisk1 4、拆除hdisk1,并重置引导盘 rmdev -dl hdisk1 bootlist -m normal -o hdisk0 bootlist -m normal -o 5、把新LUN挂载到新分区中,启动分区进入SMS,设置新LUN为第一分区,即可进入系统 ...
Global site tag (gtag.js) - Google Analytics