互联网服务pureScale安装部署

在虚拟机上搭建purescale出现问题。哪位大哥帮忙看看啊

使用脚本安装的,在1节点安装实例:
./db2icrt -d -cf suse1.mydb.com:suse1.mydb.com -m suse1.mydb.com:suse1.mydb.com  -instance_shared_dir /db2fs/ -tbdev 192.168.1.1 -u db2psc db2psc  



You need DB2 HA scripts to use SA MP with the DB2 HA feature.

These DB2 HA scripts are located at /usr/sbin/rsct/sapolicies/db2. The
DB2 installer detects whether these DB2 HA scripts need to be installed
or updated.

User response:

No action is required.


Installing or updating DB2 HA scripts for Tivoli SA MP :.......Success
Installing or updating DB2 Cluster Scripts for GPFS :.......Success
Setting default global profile registry variables :.......Success
Register NTP :.......Success
ERROR: The shared file system cluster option 'usePersistentReserve' has not been set to the optimal value of 'yes'.  See the DB2 Information Center for more details.
There was an internal db2cluster error. Refer to the diagnostic logs (db2diag.log or /tmp/ibm.db2.cluster.*) and the DB2 Information Center for details.
A diagnostic log has been saved to '/tmp/ibm.db2.cluster.qxLGpY'.
ERROR: The existing GPFS cluster, "suse1.mydb.com", does not meet the
requirement for setting up a DB2 pureScale instance. Failed command:
"/db2/bin/db2cluster -cfs -verify -configuration". For more prerequisite
information, see the DB2 Information Center.

Verify User Managed File System :.......Failure

Post Install Recommendations
-----------------------------

Required steps:
There were some errors detected during DB2 installation. To collect the information files from the system, run the "db2support -install" command with the proper options before reporting the problem to IBM service. For information regarding the usage of the db2support tool, check the DB2 Information Center.


DB2 Setup log file finished at:  Tue May 14 15:44:46 2013 EDT
============================================================
使用gpfs命令修改:


/usr/lpp/mmfs/bin/mmchconfig usePersistentReserve=yes

suse1:/db2/instance # /usr/lpp/mmfs/bin/mmchconfig usePersistentReserve=yes
Verifying GPFS is stopped on all nodes ...
mmchconfig: Processing disk gpfs1nsd
mmchconfig: Device sdb does not support PR_shared reserve policy.
mmchconfig: Unable to set reserve policy PR_shared on disk gpfs1nsd on node suse1.mydb.com.
mmchconfig: Unable to enable Persistent Reserve on the following disks:
        gpfs1nsd
mmchconfig: The usePersistentReserve parameter will remain unchanged.
mmchconfig: Command failed.  Examine previous error messages to determine cause.
suse1:/db2/instance #
suse1:/db2/instance #
suse1:/db2/instance #


共享存储时使用虚拟机管理的 我尝试了ISCSI的共享存储 也是修改不了
/mmchconfig usePersistentReserve=yes

安装方式参照:http://www.ibm.com/developerworks/cn/data/library/techarticle/dm-1207maoq/
哪位大侠 能帮忙回答下吗 卡这上面一直解决不了
参与22

21同行回答

kuailelvtu128kuailelvtu128软件开发工程师dsg
哪天有时间做个step by step 给大家把,不过涛哥的文档照着做下去也不会有很大问题,感谢涛哥付出的努力!显示全部
哪天有时间做个step by step 给大家把,不过涛哥的文档照着做下去也不会有很大问题,感谢涛哥付出的努力!收起
互联网服务 · 2014-05-04
浏览1530
kuailelvtu128kuailelvtu128软件开发工程师dsg
安装完成了,确实需要更改这个/var/ct/cfg/netmon.cf文件才能启动显示全部
安装完成了,确实需要更改这个/var/ct/cfg/netmon.cf文件才能启动收起
互联网服务 · 2014-05-04
浏览1561
kuailelvtu128kuailelvtu128软件开发工程师dsg
大家知道10.5  purescale  这个文件 /var/ct/cfg/netmon.cf 是怎么配置的吗显示全部
大家知道10.5  purescale  这个文件 /var/ct/cfg/netmon.cf 是怎么配置的吗收起
互联网服务 · 2014-05-04
浏览1522
stephensun123stephensun123软件开发工程师SAP China
春节后,将环境升级到了DB2 pureScale V10.5 FP1,中间还是碰到了usePersistentReserve的问题,将instance删掉重建解决问题。显示全部
春节后,将环境升级到了DB2 pureScale V10.5 FP1,中间还是碰到了usePersistentReserve的问题,将instance删掉重建解决问题。收起
互联网服务 · 2014-02-17
浏览1563
uc804uc804数据库运维工程师企业
不知道当时用的哪个版本,部分该类问题,必须升级补丁才能进一步进行的。显示全部
不知道当时用的哪个版本,部分该类问题,必须升级补丁才能进一步进行的。收起
互联网服务 · 2014-01-23
浏览1494
kuailelvtu128kuailelvtu128软件开发工程师dsg
OK  等有时间闲下来了 做这个实验 谢谢大家显示全部
OK  等有时间闲下来了 做这个实验 谢谢大家收起
互联网服务 · 2014-01-03
浏览1538
kuailelvtu128kuailelvtu128软件开发工程师dsg
嗯  好的,找时间试下 谢谢共享 一直没有时间显示全部
嗯  好的,找时间试下 谢谢共享 一直没有时间收起
互联网服务 · 2013-12-27
浏览861
stephensun123stephensun123软件开发工程师SAP China
N4S pureScale cluster on VMware Workstation 10 on Windows 7, follows SAP naming conventionWindows 7 64 bitVMware Workstation 10SLES 11 SP1DB2 10.1 GAn4shost1:~ # lsscsi[0:0:0:0]    disk    VMware,  VMware Virtual S 1.0&n...显示全部
N4S pureScale cluster on VMware Workstation 10 on Windows 7, follows SAP naming convention

Windows 7 64 bit
VMware Workstation 10
SLES 11 SP1
DB2 10.1 GA

n4shost1:~ # lsscsi
[0:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda
[1:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sdb
[1:0:1:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sdc
[1:0:2:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sdd
[1:0:3:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sde
[1:0:4:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sdf
[1:0:5:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sdg
[3:0:0:0]    cd/dvd  NECVMWar VMware SATA CD01 1.00  /dev/sr0


n4shost1:~ # /opt/IBM/dsf101/bin/db2cluster -cfs -list -filesystem
FILE SYSTEM NAME                       MOUNT_POINT
---------------------------------      -------------------------
db2data                                /db2/N4S/sapdata
db2dbdir                               /db2/N4S/db2n4s
db2dump                                /db2/N4S/db2dump
db2fs1                                 /db2/instance_shared
db2log                                 /db2/N4S/log_dir

n4shost1:~ # /opt/IBM/dsf101/bin/db2cluster -cfs -list -domain
Domain Name: db2cluster_20131225114148.pvgl.sap.corp

n4shost1:~ # df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             25806300  10636428  13858968  44% /
devtmpfs               8388608       128   8388480   1% /dev
tmpfs                  1472412         0   1472412   0% /dev/shm
/dev/db2fs1            4194304    617472   3576832  15% /db2/instance_shared
/dev/db2data          31457280    628736  30828544   2% /db2/N4S/sapdata
/dev/db2log           10485760    627712   9858048   6% /db2/N4S/log_dir
/dev/db2dump           5242880    609280   4633600  12% /db2/N4S/db2dump
/dev/db2dbdir          2097152    574464   1522688  28% /db2/N4S/db2n4s

n4shost2 /db2/db2n4s> db2start
12/25/2013 13:57:00     0   0   SQL1063N  DB2START processing was successful.
12/25/2013 13:57:00     1   0   SQL1063N  DB2START processing was successful.
SQL1063N  DB2START processing was successful.

n4shost2 /db2/db2n4s> db2instance -list
ID        TYPE             STATE                HOME_HOST               CURRENT_HOST            ALERT   PARTITION_NUMBER        LOGICAL_PORT    NETNAME
--        ----             -----                ---------               ------------            -----   ----------------        ------------    -------
0       MEMBER           STARTED                 n4shost2                   n4shost2               NO                  0                   0    n4shost2-nn
1       MEMBER           STARTED                 n4shost3                   n4shost3               NO                  0                   0    n4shost3-nn
128     CF               PRIMARY                 n4shost1                   n4shost1               NO                  -                   0    n4shost1-nn

HOSTNAME                   STATE                INSTANCE_STOPPED        ALERT
--------                   -----                ----------------        -----
n4shost1                  ACTIVE                              NO           NO
n4shost3                  ACTIVE                              NO           NO
n4shost2                  ACTIVE                              NO           NO收起
互联网服务 · 2013-12-25
浏览1043
stephensun123stephensun123软件开发工程师SAP China
问题解决了么?我在V10.1 GA里安装的时候,也碰到这个问题The shared file system cluster option 'usePersistentReserve' has not been set to the optimal value of 'yes'.  See the DB2 Information Center for more detailsDB2安装的时候,使用了db2_install的...显示全部
问题解决了么?
我在V10.1 GA里安装的时候,也碰到这个问题
The shared file system cluster option 'usePersistentReserve' has not been set to the optimal value of 'yes'.  See the DB2 Information Center for more details

DB2安装的时候,使用了db2_install的命令。但注意到了这个命令已经deprecated
DBI1324W Support of the db2_install command is deprecated. For more information, see the DB2 Information Center.

改用db2setup,并在安装的时候,创建instance,之后instance创建成功。

另外,我不是使用ISCSI 共享存储,而是直接使用VMware的虚拟磁盘,进行共享,在VMware的VMX文件中,包含如下参数
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
scsix.sharedBus = "virtual"
scsix:x.shared = "TRUE"
scsix:x.mode = "independent-persistent"

在VMware Workstation 10,和VMware ESX 4.1中,均成功创建三个节点的pureScale cluster。在VWare Workstation 10是直接安装的DB2 10.1 GA,在ESX 4.1上的cluster是先装V9.7,然后转换到V9.8,最后升级到10.1 GA的。在从V9.8升级到10.1的时候,db2iupgrade同样报了usePersistentReserve的问题,后使用db2iupgrade_local 在每个节点上单独进行升级。从V9.8升级到10.1后,需要注意/var/ct/cfg/netmon.cf的配置。
Good luck收起
互联网服务 · 2013-12-25
浏览1097
kuailelvtu128kuailelvtu128软件开发工程师dsg
找到原因了,目前有个想法可以解决这个 正在测试中。周末看能不能过去显示全部
找到原因了,目前有个想法可以解决这个 正在测试中。周末看能不能过去收起
互联网服务 · 2013-05-17
浏览833

提问者

kuailelvtu128
软件开发工程师dsg
擅长领域: 数据库

问题状态

  • 发布时间:2013-05-14
  • 关注会员:1 人
  • 问题浏览:23830
  • 最近回答:2014-05-04
  • X社区推广