MonitorModelMigration.py 脚本是 Python 脚本,可以从源环境中截取监控模型应用程序,以便将其迁移到目标环境中。
MonitorModelMigration.py 脚本位于 V8.5.6_monitor_root/scripts.wbm/migration/ModelMigration
迁移日志保存在 source_monitor_root/logs/migration/MonitorModelMigrationtimestamp_out.log
deployment_manager_profile_root/bin/wsadmin -conntype none -wsadmin_classpath source_monitor_install/lib/wbminstall_log.jar -f MonitorModelMigration.py -extract folder_for_extracted_monitor_models cluster_name
stand-alone_profile_root/bin/wsadmin -conntype none -wsadmin_classpath source_monitor_install/lib/wbminstall_log.jar -f MonitorModelMigration.py -extract folder_for_extracted_monitor_models node_name server_name

以下示例显示网络部署环境:/opt/IBM/WebSphere/MonitorV7/profiles/Dmgr01/bin/wsadmin.sh -conntype none -wsadmin_classpath /opt/IBM/WebSphere/MonitorV7/lib/wbminstall_log.jar -f /home/MonitorModelMigration.py -extract /home/extractedModels monAppCluster
以下示例显示网络部署环境:C:\IBM\WebSphere\MonitorV7\profiles\Dmgr01\bin\wsadmin.bat -conntype none -wsadmin_classpath C:/IBM/WebSphere/MonitorV7/lib/wbminstall_log.jar -f C:/tmp/MonitorModelMigration.py -extract C:/tmp/extractedModels monAppCluster

以下示例显示独立环境:/opt/IBM/WebSphere/MonitorV7/profiles/WBMon01/bin/wsadmin.sh -conntype none -wsadmin_classpath /opt/IBM/WebSphere/MonitorV7/lib/wbminstall_log.jar -f /home/MonitorModelMigration.py -extract /home/extractedModels monNode01 server1
以下示例显示独立环境:C:\IBM\WebSphere\MonitorV7\profiles\WBMon01\bin\wsadmin.bat -conntype none -wsadmin_classpath C:/IBM/WebSphere/MonitorV7/lib/wbminstall_log.jar -f C:/tmp/MonitorModelMigration.py -extract C:/tmp/extractedModels monNode01 server1