IBM WAS8.5 节点创建-节点加入DMGR管理-节点删除与确认 操作命令

=========================确认主机名hostname========
[root@ibmtest ~]# vi /etc/hostnsme
[root@ibmtest ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.217.131 ibmtest
“/etc/hosts” 3L, 182C written
[root@ibmtest ~]# ping ibmtest
PING ibmtest (192.168.217.131) 56(84) bytes of data.
64 bytes from ibmtest (192.168.217.131): icmp_seq=1 ttl=64 time=0.020 ms
64 bytes from ibmtest (192.168.217.131): icmp_seq=2 ttl=64 time=0.035 ms
64 bytes from ibmtest (192.168.217.131): icmp_seq=3 ttl=64 time=0.037 ms
64 bytes from ibmtest (192.168.217.131): icmp_seq=4 ttl=64 time=0.043 ms
^C
— ibmtest ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 0.020/0.033/0.043/0.011 ms
[root@ibmtest ~]# hostname
ibmtest
===========================创建 Dmgr profile===========
[root@ibmtest ~]# cd /opt/IBM/WebSphere/AppServer/bin
[root@ibmtest bin]# ./manageprofiles.sh -create -profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -samplesPassword wasadmin
CWMBU0002I: 建议不要使用 Deployment Manager 概要文件模板,它已替换为带有 Deployment Manager 服务器的管理概要文件模板。
INSTCONFSUCCESS: 成功:概要文件 Dmgr01 现在存在。有关此概要文件的更多信息,请查阅 /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt。
[root@ibmtest bin]# ls /opt/IBM/WebSphere/AppServer/profileTemplates
cell default dmgr managed management secureproxy

阅读更多

ibm cics regions 导出与导入-备份与恢复-迁移与重建

IBM CICS的命令就是强大,两个命令就可以完全满足cics region 的定义属性与文件的 导出、导入、备份、恢复、迁移、重建。

如下所示:

###导出region 属性定义文件

[root@ibmtest cics]# cicsexport -r ‘test01’ -o ‘test01bak’
ERZ046338I/0420: Successfully exported region ‘test01’

###导入region 属性定义文件

[root@ibmtest cics]# cicsimport -r ‘test02’ -i ‘test01bak’
ERZ046348I/0427: Creating region ‘test02’ from archive ‘/opt/ibm/cics/test01bak’
ERZ010114I/0728: Creating subsystem ‘cics.test02’ for region ‘test02’
ERZ046339I/0421: Successfully imported region ‘test02’

####冷启动Test02 Region
[root@ibmtest ~]# cicscp -v start region test02 StartType=cold
ERZ058504I/0107: Starting RPC daemon.
ERZ058502I/0101: RPC daemon is already running.
ERZ096122I/0264: Processing the ‘start region’ command.
ERZ096158I/0264: The region ‘test02’ is starting.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/ibmtest’.
ERZ038214I/0168: Authorization for server ‘/.:/cics/sfs/ibmtest’ has been set to ‘none’
ERZ105102I/0029: Restart files located for server ‘/.:/cics/sfs/ibmtest’
ERZ105107I/0034: Archives directory located for server ‘/.:/cics/sfs/ibmtest’
ERZ038216I/0175: Subsystem ‘cicssfs.Sibmtest’ has been initialized.
ERZ038272I/0157: Waiting for server ‘/.:/cics/sfs/ibmtest’ to initialise.
ERZ038219I/0179: Server ‘/.:/cics/sfs/ibmtest’ is responding to RPCs.
ERZ038228I/0189: Server ‘/.:/cics/sfs/ibmtest’ has been enabled.
ERZ038182I/0182: Server ‘/.:/cics/sfs/ibmtest’ started successfully.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/ibmtest’ successfully started.
ERZ038216I/0382: Subsystem ‘test02’ has been initialized.
ERZ038219I/0390: Server ‘test02’ is responding to RPCs.
ERZ096126I/0276: Region ‘test02’ has successfully started.
ERZ096002I/0003: The cicscp command has completed successfully.
[root@ibmtest ~]#

因服务器硬件故障而系统重启后,MQ 无法传输信息?

现在我就让一个奇怪的MQ问题干扰着,百思不得其解。。。

事情是这样的:

a,b机装有mq7 For aix. 没传信息前,发送通道显示正常运行状态,b机往a机一传信息,发送通道就显示retrying状态,信息就堵在传输队列,但将传输队列的信息清除,隔一会儿发送通道就自动显示正常状态,a->b传,b->a机都一样情况,做了a<->b机之间的通道重置操作,情况还是一样,还是只要发送信息,通道就显示retreing状态,清除传输队队列信息,就显示正常。重建发送/接收通道,情况也一样,但在一台win10和linux之间的测试环境,一样的队列名,一样的通道名,一样的MQ7,一样的监听端口,就是操作系统不一样。但win10和linux之间就一切正常,传输信息正常。通道也正常。也不会显示retreing.
只知道两台AIX机器。B机之前因为硬件故障崩溃过而重启过,之后MQ就不能正常传输信息。B机没因硬件故障重启过之前,MQ之间的通信一切正常。故障重启后就不正常。
win10与Linux之间的MQ的测试环境,是我在本机搭建的虚拟机测试环境。在这个测试环境WIN10与LINUX之间是完全可以正常传输信息的。
A,B机是AIX6.1,MQ是MQ7. 现在A-B机之间可以PING通。

我怀疑是不是A,B机之间的网络仍然有限制,致使A,B机之间不能正常传输信息。在国内某著名的中间件论坛发贴,询问,有回复说,建议重MQ,我知道重建MQ是一个办法,但不清楚这MQ还是否其它中间件和数据库关联,不清楚应用环境情况,不敢冒然重建

那现在应该怎样查问题?那位朋友路过,看到这个问题,能否分享一下经验与方法?