Find us on Google+ Google+

November 27, 2013

omsca commands

omsca (Oracle Management Server Configuration Assistant) commands


omsca new -AS_USERNAME weblogic -EM_DOMAIN_NAME GCDOMAIN1 -NM_USER nodemanager -nostart
omsca new -lock_console -lock_upload -CONFIGURE_ REPEATER true -nostart [-RESPONSE_FILE absolute_location_to_response_file]

omsca add -nostart
omsca add -MSPORT 7202 -MS_HTTPS_PORT 7301 -EM_NODEMGR_PORT 7403 -EM_UPLOAD_PORT 4889 -EM_UPLOAD_HTTPS_PORT 4900 -EM_CONSOLE_PORT 7788 -EM_CONSOLE_HTTPS_PORT 7799 -nostart

omsca delete -full
omsca delete -OMSNAME OMS_Name
/u01/app/Oracle/Middleware/oms/bin/omsca delete -OMSNAME EMGC_OMS2

omsca recover –backup_file exportconfig_file
omsca recover –as –ms –backup_file exportconfig_file
omsca recover –as –ms nostart –backup_file exportconfig_file
omsca recover as ms nostart backup_file exportconfig_file -EM_INSTANCE_HOST new_hostname -AS_HOST new_hostname
omsca recover -ms -backup_file absolute_path_to_the_file_copied [-AS_HTTPS_PORT port -MSPORT port -MS_HTTPS_PORT port -EM_NODEMGR_PORT port -EM_UPLOAD_PORT port -EM_UPLOAD_HTTPS_PORT port -EM_CONSOLE_PORT port -EM_CONSOLE_HTTPS_PORT port -config_home absolute_path_to_instance_dir -EM_INSTANCE_HOST second_oms_host_name]
omsca recover -ms -backup_file /opt/oracle/product/backup/opf_ADMIN_20120504_031016.bka -AS_HTTPS_PORT 7101 -MSPORT 7202 -MS_HTTPS_PORT 7301 -EM_NODEMGR_PORT 7403 -EM_UPLOAD_PORT 4889 -EM_UPLOAD_HTTPS_PORT 4900 -EM_CONSOLE_PORT 7788 -EM_CONSOLE_HTTPS_PORT 7799 -config_home /opt/oracle/product/omsmdlwr/gc_inst -EM_INSTANCE_HOST oms_server.com

omsca standby –EM_DOMAIN_NAME GCDomainStby –NM_USER nodemanager -AS_USERNAME weblogic –nostart

Related Articles:  emcli commands  emctl commands  emca commands