ESB_Linux环境安装与迁移(五)

二、启停ESB接口应用的命令备注

[wbiadmin@SHQESBQAS02 bin]$ mqsistopmsgflow TD_IPOS_BROKER -e IPOS_SAP_TRENDY
BIP1188I: 正在停止执行组“IPOS_SAP_TRENDY”…
BIP1189I: 停止时报告执行组“IPOS_SAP_TRENDY”。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsilist TD_IPOS_BROKER -e IPOS_SAP_TRENDY
BIP1276I: 执行组“IPOS_SAP_TRENDY”上的应用程序“storetransfer”已停止。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsistartmsgflow TD_IPOS_BROKER -e IPOS_SAP_TRENDY
BIP1186I: 正在启动执行组“IPOS_SAP_TRENDY”…
BIP1187I: 报告执行组“IPOS_SAP_TRENDY”已启动。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsilist TD_IPOS_BROKER -e IPOS_SAP_TRENDY
BIP1275I: 执行组“IPOS_SAP_TRENDY”上的应用程序“storetransfer”正在运行。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsistopmsgflow TD_IPOS_BROKER -e IPOS_SAP_TRENDY -k storetransfer
BIP1193I: 正在对执行组“IPOS_SAP_TRENDY”停止应用程序“storetransfer”…
BIP1195I: 执行组“IPOS_SAP_TRENDY”的应用程序“storetransfer”报告为已停止。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsilist TD_IPOS_BROKER -e IPOS_SAP_TRENDY
BIP1276I: 执行组“IPOS_SAP_TRENDY”上的应用程序“storetransfer”已停止。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsistartmsgflow TD_IPOS_BROKER -e IPOS_SAP_TRENDY -k storetransfer
BIP1192I: 正在对执行组“IPOS_SAP_TRENDY”启动应用程序“storetransfer”…
BIP1194I: 执行组“IPOS_SAP_TRENDY”的应用程序“storetransfer”报告为已启动。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$ mqsilist TD_IPOS_BROKER -e IPOS_SAP_TRENDY
BIP1275I: 执行组“IPOS_SAP_TRENDY”上的应用程序“storetransfer”正在运行。
BIP8071I: 命令成功完成。
[wbiadmin@SHQESBQAS02 bin]$

三、查看httpconnector 端口
mqsireportproperties TD_IPOS_BROKER -e SAP_IPOS -o HTTPConnector -r

mqsireportproperties TD_IPOS_BROKER -e WMS_SAP -o HTTPConnector -n port

删除执行组

mqsideleteexecutiongroup TD_IPOS_BROKER -e IPOS_SAP_CG

mqsichangeproperties broker_name -b httplistener -o HTTPConnector -n port -v port_number
mqsireportproperties broker_name -b httplistener -o HTTPConnector -a

mqsichangeproperties WBRK -b httplistener -o HTTPListener -n enableSSLConnector -v true
mqsichangeproperties WBRK -b httplistener -o HTTPSConnector -n keystoreFile -v C:\wbrk.jks
mqsichangeproperties WBRK -b httplistener -o HTTPSConnector -n keystorePass -v 123456
mqsichangeproperties WBRK -b httplistener -o HTTPSConnector -n port -v 7081

mqsichangeproperties WBRK -e EC -0 ComIbmJVMManager -n jvmMaxHeapSize -v <newSize>

创建 IBM Integration Bus JDBC 可配置服务

需要配置接收您打算部署的消息流的运行时 IBM Integration Bus Node,以便能够通过 JDBC 连接到 Log 数据库。要创建这个可配置的服务,可以启动 IBM Integration Bus 命令控制台,然后使用以下命令:

mqsicreateconfigurableservice IB9NODE -c JDBCProviders -o LOGDB
-n databaseName,databaseType,databaseVersion,jarsURL,portNumber,
serverName,type4DatasourceClassName,type4DriverClassName
-v LOGDB,DB2,9.7,”C:\Program Files\IBM\SQLLIB\java”,50000,
localhost,com.ibm.db2.jcc.DB2XADataSource,com.ibm.db2.jcc.DB2Driver

如果您用于运行 IBM Integration Bus 节点的 id 没有访问该数据库的授权,那么还需要运行 mqsisetdbparms 命令来授权该流将数据插入数据库中。

su – wbiadmin
export LANG=zh_CN.UTF-8
export DISPLAY=172.17.39.20:0.0

解决办法: cat /dev/null > target.log 可以清空log文件,如果想保留原文件可以先copy一份。

Eclipse启动后,日志查看
(三)查找指定的文件 找到你所指定的工作空间 ->.metadata->.lo

Linux命令查看当前文件夹下面占用空间最大的文件夹.
du –max-depth=1 -h

ESB_Linux环境安装与迁移(三)

15、创建Broker下执行组

———————————–
mqsicreateexecutiongroup -b TD_BROKER -e IPOS_SAP
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e IPOS_SAP_M60

mqsicreateexecutiongroup -b TD_BROKER -e IPOS_SAP_10CC

mqsicreateexecutiongroup -b TD_BROKER -e SAP_IPOS
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e SAP_WMS
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e SAP_IPOS_DRP
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e SAP_IPOS_TEMP
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e SAP_WMS_TEMP
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e WMS_SAP
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e AFS_WMS
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e CMS_IPOS
———————————–
mqsicreateexecutiongroup -b TD_BROKER -e IPOS_SAP_TRENDY

mqsicreateexecutiongroup -b TD_BROKER -e IPOS_SAP_CG

———————————–
mqsicreateexecutiongroup -b TD_EC_BROKER -e EC_SAP

mqsicreateexecutiongroup -b TD_EC_BROKER -e EC_WMS_EC

mqsicreateexecutiongroup -b TD_EC_BROKER -e SAP_EC

mqsicreateexecutiongroup -b TD_EC_BROKER -e EC_SAP_TEMP

#####修改执行组的http listen 端口

mqsichangeproperties TD_BROKER -e IPOS_SAP -o HTTPConnector -n port -v 7800

mqsichangeproperties TD_BROKER -e IPOS_SAP_M60 -o HTTPConnector -n port -v 7801

mqsichangeproperties TD_BROKER -e IPOS_SAP_10CC -o HTTPConnector -n port -v 7802

mqsichangeproperties TD_BROKER -e IPOS_SAP_TRENDY -o HTTPConnector -n port -v 7812

mqsichangeproperties TD_BROKER -e WMS_SAP -o HTTPConnector -n port -v 7804

mqsichangeproperties TD_BROKER -e CMS_IPOS -o HTTPConnector -n port -v 7803

14、布署生产环境的应用接口。
———————————–######IPOS_SAP ######
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/DrpReturnOrder/DrpReturnOrder/drpreturnOrder.bar
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/OrderMeetOrderUpload/OrderMeetOrderUpload/ordermeetorderupload.bar
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/postsalesdataupload/possalesdataupload/possalseupload.bar
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/storeinventory/storeinventory/storeinventory.bar
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/StoreReciveConfirm/StoreReceiveConfirm/storeReceiveConfirm.bar
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/StoreReturnToSub/StoreReturnToSub/storereturntosub.bar
mqsideploy -b TD_BROKER -e IPOS_SAP -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP/storetransfer/storetransfer/storetransfer.bar

——————————–###########IPOS_SAP_M60 #########################
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/DrpReturnOrderM60/DrpReturnOrderM60/drpreturnOrder.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/OrderMeetOrderUploadM60/OrderMeetOrderUploadM60/ordermeetorderupload.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/PosSalesDataUploadM60/PosSalesDataUploadM60/possalseupload.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/StoreInventoryM60/StoreInventoryM60/storeinventory.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/StoreReciveConfirmM60/StoreReceiveConfirmM60/storeReceiveConfirm.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/StoreReturnToSubM60/StoreReturnToSubM60/storereturntosub.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_M60 -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_M60/StoreTransferM60/StoreTransferM60/storetransfer.bar

——————————#####IPOS_SAP_10CC####
mqsideploy -b TD_BROKER -e IPOS_SAP_10CC -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_10CC/PostSalesDataUpload10CC/PostSalesDataUpload10CC/possalseupload.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_10CC -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_10CC/StoreInventory10CC/StoreInventory10CC/ storeinventory.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_10CC -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_10CC/StoreReciveConfirm10CC/StoreReceiveConfirm10CC/storeReceiveConfirm.bar

mqsideploy -b TD_BROKER -e IPOS_SAP_10CC -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_10CC/StoreReturnToSub10CC/StoreReturnToSub10CC/storereturntosub.bar
mqsideploy -b TD_BROKER -e IPOS_SAP_10CC -a /home/ESBDATA/TestEnv/IPOS/IPOS_SAP_10CC/StoreTransfer10CC/StoreTransfer10CC/storetransfer.bar

—————————–#######SAP_IPOS#########################
mqsideploy -b TD_BROKER -e SAP_IPOS -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/CustomerMData/CustomerMData/customer.bar
mqsideploy -b TD_BROKER -e SAP_IPOS -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/GoodsMData/GoodsMData/goodsmdata.bar
mqsideploy -b TD_BROKER -e SAP_IPOS -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/SizeColorMData/SizeColorMData/sizecolor.bar
mqsideploy -b TD_BROKER -e SAP_IPOS -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/StoreMData/StoreMData/storemdata.bar
mqsideploy -b TD_BROKER -e SAP_IPOS -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/StoreReturnInfo/StoreReturnInfo/storereturninfo.bar
mqsideploy -b TD_BROKER -e SAP_IPOS -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/WarehoueSendToStore/WarehouseSendToStore/warehouseSendToStore.bar

———————————–###############SAP_WMS#########—————————————————————
mqsideploy -b TD_BROKER -e SAP_WMS -a /home/ESBDATA/TestEnv/WMS/SAP_WMS/orderCancel_WMS/’BAR 文件’/OrderCancelBAR.bar
mqsideploy -b TD_BROKER -e SAP_WMS -a /home/ESBDATA/TestEnv/WMS/SAP_WMS/order_WMS/’BAR 文件’/Order.bar
mqsideploy -b TD_BROKER -e SAP_WMS -a /home/ESBDATA/TestEnv/WMS/SAP_WMS/purchaseOrder_WMS/’BAR 文件’/purchaseOrderBAR.bar

mqsideploy -b TD_BROKER -e SAP_WMS -a /home/ESBDATA/TestEnv/WMS/SAP_WMS/RetailIssuNoteAndLendAndReturnGoods/’BAR 文件’/RetailIssueNoteLendAndReturnGoods.bar
mqsideploy -b TD_BROKER -e SAP_WMS -a /home/ESBDATA/TestEnv/WMS/SAP_WMS/StoreRecDiff/’BAR 文件’/StoreRecDiff.bar

mqsideploy -b TD_BROKER -e SAP_WMS -a /home/ESBDATA/TestEnv/WMS/SAP_WMS/TransferOut_WMS/’BAR 文件’/TransferOutBAR.bar

———————————–######SAP_IPOS_DRP#########——————————————————————-
mqsideploy -b TD_BROKER -e SAP_IPOS_DRP -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/SalesOrderReturnDrp/SalesOrderReturnDrp/salesorderreturndrp.bar
mqsideploy -b TD_BROKER -e SAP_IPOS_DRP -a /home/ESBDATA/TestEnv/IPOS/SAP_IPOS_TEMP/SendGoodsInfoReturnDrp/SendGoodsInfoReturnDrp/sendgoodsinforeturnDrp.bar

———————————–
mqsideploy -b TD_BROKER -e SAP_IPOS_TEMP -a
———————————–
mqsideploy -b TD_BROKER -e SAP_WMS_TEMP -a
———————————–#######WMS_SAP ###################
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/InventoryAdj_WMS/’BAR 文件’/InventoryAdjBAR.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/InventoryTran_WMS/’BAR 文件’/InventoryTranBAT.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/IssueNote_WMS/BARfiles/IssueNote.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/LendGood_WMS/’BAR 文件’/LendGoodBAR.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/OrderDeliveryConfirm_WMS/’BAR 文件’/OrderDeliveryConfirmBAT.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/OutOfStock_WMS/’BAR 文件’/OutOfStockBAR.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/purchaseOrderBuyConfirm_WMS/’BAR 文件’/WMSdiffToolBAT.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/purchaseOrderRtnConfirm_WMS/’BAR 文件’/purchaseOrderRtnConfirmBAT.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/ReturnGoodUnequal_WMS/’BAR 文件’/ReturnGoodUnequalBAR.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/ReturnGood_WMS/’BAR 文件’/ReturnGoodBAR.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/ReturnPurchaseInfoRtn_WMS/’BAR 文件’/ReturnPurchaseInforRtnBAT.bar
mqsideploy -b TD_BROKER -e WMS_SAP -a /home/ESBDATA/TestEnv/WMS/WMS_SAP/SwitchQueue_WMS/’BAR 文件’/SwitchQueueBAT.bar

阅读更多