互联网服务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 f...显示全部
使用脚本安装的,在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

查看其它 20 个回答stephensun123的回答

stephensun123stephensun123软件开发工程师SAP China
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
浏览1022

回答者

stephensun123
软件开发工程师SAP China
擅长领域: 数据库

stephensun123 最近回答过的问题

回答状态

  • 发布时间:2013-12-25
  • 关注会员:1 人
  • 回答浏览:1022
  • X社区推广