{"id":439,"date":"2009-02-13T11:02:20","date_gmt":"2009-02-13T16:02:20","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=439"},"modified":"2009-09-21T10:11:11","modified_gmt":"2009-09-21T15:11:11","slug":"oracle-9i-as-management","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=439","title":{"rendered":"Oracle 9i AS Management"},"content":{"rendered":"<p>Oracle 9i AS Management<\/p>\n<p>\u2022Installation<br \/>\nInstance: ksd1\/go2ksd1<br \/>\nDefault Http ports<br \/>\n7777<br \/>\n4443<br \/>\nConsols port<br \/>\n1810<br \/>\ndefault user ias_admin\/go2ksd1<\/p>\n<p>\u2022Test oc4j<br \/>\nhttp:\/\/localhost:7777\/j2ee\/<br \/>\nhttp:\/\/localhost:7777\/j2ee\/servlet\/HelloWorldServlet<\/p>\n<p>\u00a7em<br \/>\nemctl start<br \/>\nemctl stop<br \/>\nemctl status<br \/>\n\u2022Active em entry<br \/>\n\/var\/opt\/oracle\/emtab<\/p>\n<p>\u2022Deinstall ias<br \/>\ndelete<br \/>\n\t\/tmp\/emtab<br \/>\n\tentry in \/etc\/oratab<br \/>\n\t\/etc\/oratab<br \/>\n\tsome loc file<\/p>\n<p>\u2022Create oc4j instance<br \/>\nFrom console<br \/>\nCreate oc4j Instance<br \/>\n->enter name<br \/>\n->click Create<\/p>\n<p>\u2022Need to restart server<br \/>\n-modified<br \/>\n\trmi<br \/>\n\tdata source<br \/>\n\tsecurity configuration<\/p>\n<p>\u2022Reload xml file<br \/>\ndcmctl updateconfig -ct oc4j<\/p>\n<p>\u2022dcmctl<\/p>\n<p>Target Option<br \/>\n-cluster (cl)<br \/>\n-instance (-i)<br \/>\n-application (-a)<br \/>\n-component (-co)<br \/>\n-componentType (-ct) [ohs|oc4j]<\/p>\n<p>Universal Option<br \/>\n-debug (-d)<br \/>\n-logdir (-l)<br \/>\n-oraclehome (-o)<br \/>\n-timeout (-t)<br \/>\n-verbose (-v)<\/p>\n<p>Passing Params to JVM<br \/>\nORACLE_DCM_JVM_ARGS=&#8221;-DhttpProxy.host=me.com -DhttpProxy.port=myport&#8221;<\/p>\n<p>Instance<br \/>\n>dcmctl [listInstances|which instanes ]<br \/>\n>dcmctl whichInstance<br \/>\n>dcmctl destroyInstance -i ksd1<br \/>\n>dcmctl resyncInstance [-force] [-i ksd1]<\/p>\n<p>Component<br \/>\n>dcmctl listComponents<br \/>\n>dcmctl getComponentType -co oc4j_jml2 -i ksd1<br \/>\n>dcmctl createComponent -ct oc4j -co oc4j_jml2<br \/>\n>dcmctl removeComponent -co oc4j_jml2<br \/>\n>dcmctl updateConfig -ct [oc4j [, ohs]<\/p>\n<p>Start\/Stop<br \/>\n>dcmctl [start | stop | restart | getState] -i \\<br \/>\napp1.my.com<br \/>\n-ct oc4j -v<\/p>\n<p>>dcmctl shutdown<\/p>\n<p>Deploy App<br \/>\n>dcmctl [deployApplication | redeployApplication] -file name -a app_name [-co comp_name] [-rc root_context]<br \/>\n\u2022Deploy war<br \/>\ndcmctl deployApplication -f olcrpt.war -a olcrpt -rc \/olcrpt -d -v<\/p>\n<p>>dcmctl undeployApplication -a name [-co name]<br \/>\n>dcmctl listApplications -co name [-i name | -cl name]<br \/>\n>dcmctl validateEarFile -file name <\/p>\n<p>Backup<br \/>\n>dcmctl saveInstance -dir dest_dir<br \/>\n>dcmctl restoreInstance -dir save_dir<br \/>\n>dcmctl resetFileTransaction<\/p>\n<p>>!!\trepeat command<\/p>\n<p>Use Command File<br \/>\n>dcmctl shell -f file_name<\/p>\n<p>\u2022Oracle tab files<br \/>\n\/var\/opt\/oracle\/emtab<br \/>\n\/var\/opt\/oracle\/oratab<\/p>\n<p>Opmnctl<br \/>\nStatus<br \/>\n\topmnctl status<br \/>\nRestart<br \/>\nopmnctl restartproc gid=web_elmsgold<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle 9i AS Management \u2022Installation Instance: ksd1\/go2ksd1 Default Http ports 7777 4443 Consols port 1810 default user ias_admin\/go2ksd1 \u2022Test oc4j http:\/\/localhost:7777\/j2ee\/ http:\/\/localhost:7777\/j2ee\/servlet\/HelloWorldServlet \u00a7em emctl start emctl stop emctl status \u2022Active em entry \/var\/opt\/oracle\/emtab \u2022Deinstall ias delete \/tmp\/emtab entry in \/etc\/oratab &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=439\">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],"tags":[],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-oracle"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-75","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/439","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=439"}],"version-history":[{"count":2,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions"}],"predecessor-version":[{"id":1185,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions\/1185"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}