{"id":173,"date":"2008-12-15T17:47:40","date_gmt":"2008-12-15T21:47:40","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=173"},"modified":"2009-11-13T13:55:36","modified_gmt":"2009-11-13T18:55:36","slug":"soasoft-service-manager-admin","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=173","title":{"rendered":"SOA Software Service Manager Administration"},"content":{"rendered":"<span id=\"Perform_Update\"><h5>Perform Update<\/h5><\/span>\n<p>-Run appropriate db scripts (e.g. for sm52-update-2.0: Aggregate-SingleTablespace.sql, Aggregate-Data.sql; for sm52-ttc-activation-1.0.zip: activation.sql; for sm52-repository-manager-integration-1.1.0.zip: setup.sql)<br \/>\n-Stop all processes (subsystems, management console, wizards, management points, sample apps etc)<br \/>\n-Copy zip files to be updated to the \/update_repository folder<br \/>\n-Open update tool: Administration Tools -&gt; Perform Updates<br \/>\n-Check the zip file to be updated<br \/>\n-Click Apply Update button<br \/>\n-Run post update scripts if needed (e.g. sm52-update-2.0: update52ModelToUpdate2State.bat, sm52-update-2.14.zip: update52ModelToUpdate214State.bat)<br \/>\n-Modify property files if needed (e.g. sm52-content-type-override-update:add to mp_config.properties: mime.writer.override.content.type=text\/xml)<br \/>\n-Reinstall NT services (mandatory for sm52-update-2.0)<br \/>\n-May need to physically remove the &#8220;work&#8221; directory under sm52\/console.<\/p>\n<span id=\"Integrate_with_OpenLDAP\"><h5>Integrate with OpenLDAP<\/h5><\/span>\n<p>-Login as administrator<br \/>\n-Open Configure Security page: Configure -&gt; Security -&gt; Identity Systems<br \/>\n-Click &#8220;Add Identity System&#8221; button and follow the wizard.<br \/>\nIdentity System Type: Directory Server<br \/>\nDomain Name: OpenLDAP<br \/>\nDirectory Type: Other<br \/>\nURL: ldap:\/\/localhost:389<br \/>\n<em>Users<\/em><br \/>\nBaseDN: ou=Users,dc=example,dc=com<br \/>\nSearch Scope: Onelevel<br \/>\nObject Category: organizationalUnit<br \/>\nUsername Attribute: uid<br \/>\nFull Name Attribute: cn<br \/>\nEmail Attribute (optional): mail<br \/>\nMemberof Attribute (optional):<br \/>\n<em>Groups<\/em><br \/>\nBaseDN: ou=Groups,dc=example,dc=com<br \/>\nSearch Scope: Subtree<br \/>\nObject Category: organizationalUnit<br \/>\nUsername Attribute: uid<br \/>\nFull Name Attribute: cn<br \/>\nDescription Attribute: description<br \/>\nMember Attribute: uniqueMember<br \/>\nMap with Search<br \/>\nLDAP search filter when searching user based on user name: (&amp;(objectclass=person)(uid=$USERNAME))<br \/>\nLDAP search filter when searching user based on full name: (&amp;(objectclass=person)(cn=$FULLNAME))<br \/>\nLDAP search filter when searching group based on group name: (&amp;(objectclass=groupOfUniqueNames)(cn=$GROUPNAME))<br \/>\nLDAP search filter when searching groups based on member DN: (&amp;(objectclass=groupOfUniqueNames)(uniqueMember=$USERDN))<br \/>\nProxy User Name: cn=Manager,dc=example,dc=com<br \/>\nProxy User Password: secret<\/p>\n<span id=\"Setup_Subsystems_As_Windows_Services\"><h5>Setup Subsystems As Windows Services<\/h5><\/span>\n<pre> Directory of C:\\Program Files\\SOA Software\\sm52\\bin\r\n\r\n01\/14\/2009  01:37 PM             4,045 installAMEngineService.bat\r\n01\/14\/2009  01:37 PM             4,653 installMPService.bat\r\n01\/14\/2009  01:37 PM             4,499 installMSConsoleService.bat\r\n01\/14\/2009  01:37 PM             4,114 installMSEngineService.bat\r\n01\/14\/2009  01:37 PM             3,971 installPMEngineService.bat\r\n01\/14\/2009  01:37 PM             3,977 installRMEngineService.bat\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installAMEngineService.bat\r\nEnter Alert Manager Server Instance Name: AlertManager1\r\nEnter the HTTP Port Number for AlertManager1: 9902\r\nThe service was successfully installed.\r\nPress any key to continue . . .\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installPMEngineService.bat\r\nEnter Policy Manager Server Instance Name: PolicyManager1\r\nEnter the HTTP Port Number for PolicyManager1: 9903\r\nThe service was successfully installed.\r\nPress any key to continue . . .\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installRMEngineService.bat\r\nEnter Registry Manager Server Instance Name: RegistryManager1\r\nEnter the HTTP Port Number for RegistryManager1: 9901\r\nThe service was successfully installed.\r\nPress any key to continue . . .\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installMSConsoleService.bat\r\nEnter Management Console Instance Name: ManagementConsole1\r\nEnter the HTTP Port Number for ManagementConsole1: 9900\r\nThe service was successfully installed.\r\nPress any key to continue . . .\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installMSEngineService.bat\r\nEnter Management Server Engine Instance Name: ManagementServer1\r\nEnter the HTTP Port Number for ManagementServer1: 9904\r\nThe service was successfully installed.\r\nPress any key to continue . . .\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installMPService.bat\r\nEnter Management Point Container Key: MP1_Container\r\nEnter Management Point Instance Name: MP1\r\nEnter the HTTP Port Number for MP1: 9905\r\nThe service was successfully installed.\r\nPress any key to continue . . .\r\n\r\nC:\\Program Files\\SOA Software\\sm52\\bin&gt;installMPService.bat\r\nEnter Management Point Container Key: MP_HTTPS\r\nEnter Management Point Instance Name: MP_HTTPS\r\nEnter the HTTP Port Number for MP_HTTPS: 9943\r\nThe service was successfully installed.\r\nPress any key to continue . . .<\/pre>\n<span id=\"Uninstall\"><h5>Uninstall<\/h5><\/span>\n<pre>cd UninstallerData\r\n.\/Uninstall_Service_Manager<\/pre>\n<span id=\"Use_Built-in_PKI_Utility\"><h5>Use Built-in PKI Utility<\/h5><\/span>\n<p>MP1 HTTPS Listener:<br \/>\nGenerate PKI keys<br \/>\nGenerate CSR<\/p>\n<p>CA:<br \/>\nIssue\/sign certificate<\/p>\n<p>MP1 HTTPS Listener:<br \/>\nImport signed cert<br \/>\nImport CA cert<\/p>\n<p>SM52:<br \/>\nAdd trusted cert<br \/>\nImport signed cert<\/p>\n<span id=\"Using_VeriSign_Certificate\"><h5>Using VeriSign Certificate<\/h5><\/span>\n<p>MP1 HTTPS Listener:<br \/>\nGenerate PKI keys<br \/>\nGenerate CSR<\/p>\n<p>VeriSign:<br \/>\nIssue\/sign certificate<\/p>\n<p>MP1 HTTPS Listener:<br \/>\n* Use base 64 encoded certificate<br \/>\n* If signed by VeriSign intermediate G2, you need to <strong>manually<\/strong> concatenate the base64 encoded versions of signed certificate and intermediate G2 certificate into one &#8220;chained&#8221; certificate file<br \/>\n* Import the &#8220;chained&#8221; certificate file into MP PKI.<\/p>\n<span id=\"Enable_Various_Portlets\"><h5>Enable Various Portlets<\/h5><\/span>\n<pre lang=\"txt\">ADDITIONS TO MSCONSOLE.PROPERTIES:\r\n\r\n#Set enabled to 'true' to enable the collaboration portlet\r\n#Set targeturl to the location of the Jive server\r\n#portlet.desm.forum.enabled=true\r\n#portlet.desm.forum.targeturl=http:\/\/localhost:9980\/jiveforums\r\n\r\n#Set enabled to 'true' to enable the policy attachments portlet\r\nportlet.desm.policyattachments.enabled=true\r\n\r\n#Set enabled to 'true' to enable the policy results portlet\r\nportlet.desm.complianceresults.enabled=true\r\n\r\n#Set enable to 'true' to enable the Test Client\r\nTestClient.enabled=true\r\n\r\n#This will hide quick-search if set to false\r\nQuickSearch.enabled=true\r\n\r\nADDITIONS TO MSENGINE.PROPERTIES:\r\n\r\n#Set enable to 'true' to enable the discovery of runtime dependencies based on transaction tracking\r\nscheduler.job.correlate.activities.enabled=true<\/pre>\n<span id=\"Disable_CRL\"><h5>Disable CRL<\/h5><\/span>\n<p>Add to dems.properties and pm_config.properties<\/p>\n<pre lang=\"txt\">com.soa.crl.disabled=true<\/pre>\n<span id=\"Remove_Management_Point_MP1\"><h5>Remove Management Point MP1<\/h5><\/span>\n<p>* Stop MP1 (.\/stopMP.sh -sk MP1)<br \/>\n* Delete container from management console<br \/>\n* .\/startOnlineAdmin.sh<br \/>\n&#8211; Remove Management Point Configuration<br \/>\n&#8211; Select MP1(MP1)<\/p>\n<span id=\"Clone_Service_Manager\"><h5>Clone Service Manager<\/h5><\/span>\n<p>* Shutdown SM. Make sure no state files in the sm52\/state directory.<br \/>\n* Shutdown MP. Make sure no state files in the sm52\/state directory.<br \/>\n* Export\/Import soasm, soamp user schema;<br \/>\n&#8211; Grant CREATE SESSION to soasm;<br \/>\n&#8211; Grant CREATE SESSION to soamp;<br \/>\n* Copy sm52 directory to the <strong>same location<\/strong> on a different machine<br \/>\n&#8211; Remove logs directory conent<br \/>\n* Edit bootstrap.properties<br \/>\n&#8211; Replace all machine domain names<br \/>\n&#8211; Replace database machine domain name<\/p>\n<pre lang=\"bash\">vi config\/bootstrap.properties\r\n:%s\/old_host\/new_host\/g\r\n:%s\/old_db_host\/new_db_host\/g<\/pre>\n<p>* Edit dems.properties<br \/>\n&#8211; Comment out installation.name property<\/p>\n<pre lang=\"bash\">#installation.name=old_host<\/pre>\n<p>* Run offline admin wizard (startOfflineAdmin.sh)<br \/>\n&#8211; Update Database Settings<br \/>\n&#8211; Update ALL Subsystem Listener Information<br \/>\n&#8211; Synchronize Bootstrap Configuration<br \/>\n* Modify Container Listener URLs<br \/>\n&#8211; Start SM but <strong>NOT<\/strong> Management Point<br \/>\n&#8211; Login SM<br \/>\n&#8211; Select Container MP<br \/>\n&#8211; Select HTTP Modify Container Listener<br \/>\n&#8211; Change Host name to new host name<br \/>\n&#8211; Click Apply<br \/>\n&#8211; Select HTTPS Modify Container Listener<br \/>\n&#8211; Change Host name to new host name<br \/>\n&#8211; Click Apply<br \/>\n* Run update tool (startUpdateTool.sh) to recreate installation.name property<br \/>\n* Configure MP (.configMP.sh)<br \/>\n* Start MP<\/p>\n<span id=\"Redirect_logs\"><h5>Redirect logs<\/h5><\/span>\n<p>* Append to bootstrap.properties<\/p>\n<pre>#Logs directory\r\nlogs.redirect.dir=c:\/sm52\/logs<\/pre>\n<p>* Modify LOG.HANDLERS.File.Filename property in following property file:<br \/>\n&#8211; amengine.properties<br \/>\n&#8211; msconsole.properties<br \/>\n&#8211; msengine.properties<br \/>\n&#8211; rmengine.properties<br \/>\n&#8211; pmengine.properties<br \/>\n&#8211; mp_config.properties<\/p>\n<pre>LOG.HANDLERS.File.Filename=%logs.redirect.dir%\/alert_manager\/amengine.log<\/pre>\n<span id=\"Redirect_state_directory\"><h5>Redirect state directory<\/h5><\/span>\n<p>* Set state.dir.path property in dems.properties:<\/p>\n<pre>state.dir.path=c:\/sm52\/state<\/pre>\n<span id=\"Batch_Update_DB_Properties\"><h5>Batch Update DB Properties<\/h5><\/span>\n<p>* Generate template file<\/p>\n<pre>\r\n.\/updateDatabaseConfigurationCmdl.sh -t \/tmp\/updateDB.properties\r\n<\/pre>\n<p>* Modify template file<\/p>\n<pre>\r\n## Username, Password and PM Seed\r\n## ---------------------------\r\n## Enter your Service Manager login information (Username\r\n## and Password), and specify the Policy Manager (PM) Seed\r\n## assigned during the initial Service Manager configuration\r\n## process.\r\n##\r\ncmdl_updatedbconfiguration_smusername=administrator\r\ncmdl_updatedbconfiguration_smpassword=secret\r\ncmdl_updatedbconfiguration_pmseed=pmseed\r\n\r\n## Modify Database Information\r\n## ---------------------------\r\n## Specify the database type you would like to modify. DBType valid \r\n## values are mssql, db2, oracle, UserDefinedJDBCDriver, \r\n## mysql(not officially supported as of 08\/06).\r\n## \r\ncmdl_updatedbconfiguration_dbtype=oracle\r\n\r\n## Specify Host Name and Port Number\r\n## ---------------------------------\r\n## Specify the Host Name and Port Number of the database you would\r\n## like to modify. Configure the database configuration options\r\n## below based on the database type specified.\r\ncmdl_updatedbconfiguration_host=192.168.0.10\r\ncmdl_updatedbconfiguration_port=1521\r\n\r\n## Oracle Only\r\ncmdl_updatedbconfiguration_instancename=xe\r\ncmdl_updatedbconfiguration_dbuser_name=soasm\r\ncmdl_updatedbconfiguration_dbuser_password=secret\r\n\r\n## Modify Management Point (yes\/no default yes)\r\n## --------------------------------------------\r\n## You can optionally modify the Management Point database user password\r\n## by enabling the dbmpuser update by specifying \"yes,\" entering the dbmpuser, \r\n## and dbmpuser password.\r\n##\r\ncmdl_updatedbconfiguration_dbmpuser_update=yes\r\ncmdl_updatedbconfiguration_dbmpuser_name=soamp\r\ncmdl_updatedbconfiguration_dbmpuser_password=secret\r\n<\/pre>\n<p>* Update config\/bootstrap.properties with new database connection strings<br \/>\n* Shutdown SM<br \/>\n* Run command line in batch mode with parameter file:<\/p>\n<pre>\r\n.\/updateDatabaseConfigurationCmdl.sh -p \/tmp\/updateDB.properties \r\n<\/pre>\n<p>* Start SM<br \/>\n* Restart MP<\/p>\n<span id=\"Archive_Usage_Data\"><h5>Archive Usage Data<\/h5><\/span>\n<p>Tables that include monitoring data are:<\/p>\n<span id=\"Realtime_data\"><h6>Realtime data<\/h6><\/span>\n<p>MO_ROLLUPDATA<\/p>\n<span id=\"Historical_charts\"><h6>Historical charts<\/h6><\/span>\n<p>MO_ROLLUP15<br \/>\nMO_ROLL_ORG15<br \/>\nMO_ROLLUP_HOUR<br \/>\nMO_ROLL_ORG_H<br \/>\nMO_ROLLUP_DAY<br \/>\nMO_ROLL_ORG_D<\/p>\n<span id=\"Usage_logs\"><h6>Usage logs<\/h6><\/span>\n<p>MO_USAGEDATA<\/p>\n<span id=\"Record_Messages\"><h6>Record Messages<\/h6><\/span>\n<p>MO_USAGEMSGS<\/p>\n<span id=\"Alerts\"><h6>Alerts<\/h6><\/span>\n<p>AM_ALERTS<br \/>\nAM_COMMENTS<br \/>\nAM_ALERTCOMMENTS<\/p>\n<span id=\"Alert_Audit_trails\"><h6>Alert Audit trails<\/h6><\/span>\n<p>AM_AUDITTRAIL<\/p>\n<span id=\"Security_Audit_trails\"><h6>Security Audit trails<\/h6><\/span>\n<p>PM_AUDITTRAIL<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perform Update -Run appropriate db scripts (e.g. for sm52-update-2.0: Aggregate-SingleTablespace.sql, Aggregate-Data.sql; for sm52-ttc-activation-1.0.zip: activation.sql; for sm52-repository-manager-integration-1.1.0.zip: setup.sql) -Stop all processes (subsystems, management console, wizards, management points, sample apps etc) -Copy zip files to be updated to the \/update_repository folder -Open &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=173\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[35,39,22],"tags":[],"class_list":["post-173","post","type-post","status-publish","format-standard","hentry","category-oracle","category-rr","category-soa"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-2N","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":39,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":213,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/213"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}