互联网服务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同行回答

爱如潮水爱如潮水研发工程师四川农信
问题解决了么?我在V10.1 GA里安装的时候,也碰到这个问题The shared file system cluster option 'usePe ...stephensun123 发表于 2013-12-25 15:51 修改VMWARE的配置文件,实现虚拟磁盘共享应该是可以解决楼主的问题。...显示全部
问题解决了么?
我在V10.1 GA里安装的时候,也碰到这个问题
The shared file system cluster option 'usePe ...
stephensun123 发表于 2013-12-25 15:51


修改VMWARE的配置文件,实现虚拟磁盘共享应该是可以解决楼主的问题。收起
金融其它 · 2013-12-31
浏览547
kuailelvtu128kuailelvtu128软件开发工程师dsg
嗯  好的,找时间试下 谢谢共享 一直没有时间显示全部
嗯  好的,找时间试下 谢谢共享 一直没有时间收起
互联网服务 · 2013-12-27
浏览843
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
浏览1028
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
浏览1082
kuailelvtu128kuailelvtu128软件开发工程师dsg
找到原因了,目前有个想法可以解决这个 正在测试中。周末看能不能过去显示全部
找到原因了,目前有个想法可以解决这个 正在测试中。周末看能不能过去收起
互联网服务 · 2013-05-17
浏览819
kuailelvtu128kuailelvtu128软件开发工程师dsg
看到老外 用笔记本think pad W520做写的文档是成功的,http://www.zinox.com/node/156 大家可以看看显示全部
看到老外 用笔记本think pad W520做写的文档是成功的,http://www.zinox.com/node/156 大家可以看看收起
互联网服务 · 2013-05-15
浏览768
drdb2drdb2系统工程师se
我半年前试过一次(vm+suse),没成功。记不清错在哪了。显示全部
我半年前试过一次(vm+suse),没成功。
记不清错在哪了。收起
互联网服务 · 2013-05-15
浏览777
kuailelvtu128kuailelvtu128软件开发工程师dsg
suse1:/db2/bin #  ./db2cluster -cfs -verify -configurationThe 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 i...显示全部
suse1:/db2/bin #  ./db2cluster -cfs -verify -configuration
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.95QCRG'.
suse1:/db2/bin #收起
互联网服务 · 2013-05-15
浏览816
kuailelvtu128kuailelvtu128软件开发工程师dsg
不会是没戏吧,PC机虚拟机就没法搭建起来啊显示全部
不会是没戏吧,PC机虚拟机就没法搭建起来啊收起
互联网服务 · 2013-05-15
浏览817
kuailelvtu128kuailelvtu128软件开发工程师dsg
哪位大哥有自己的电脑成功安装purescale 的经验啊显示全部
哪位大哥有自己的电脑成功安装purescale 的经验啊收起
互联网服务 · 2013-05-14
浏览824

提问者

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

相关问题

问题状态

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