OEM 2.2/Failsafe/NT Clusters

Ok, I have NT Clusters set up with Oracle and Oracle FailSafe (don't ask why I did it this way, when the government says jump, we contractors say how high) with a single database. I can connect to this database via OEM no problem. However, I cannot perform any jobs as the virtual server (ie, the cluster node) is not running an Oracle Intelligent Agent.
Is there a way to configure OEM to run jobs against this clustered database?

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by hennaux ():
Hi
I have a probleme with OEM (2.1.0 on NT simple client) and Oracle 8i (8.1.5 on RedHat Linux 6.0 the server)
My Agent run with no probleme and when I search this agent via my Enterprise Manager Console I have no probleme (the agent is find).
But via the console if I try to connect to my database I have a message ORA-12545 Connect failed because target host or object does not exist ! Why ?
If I try to connect via Sqlplus or DBA Studio Standalone I have no probleme.
Serge <HR></BLOCKQUOTE>
Hello Serge,
You need to check your tnsnames.ora file. You need to very that the service name you are using on the NT client is really connecting you to the linux server.
The Oracle docs cover how to set it up.
it goes something like this
Also do a search for Jesus M. Salvo's how to on setting it all up. He is on the OTN check back about 2 months or so.
I would send you a copy of my tnsnames.ora file, but I cannot get it (not on server now)
null

Similar Messages

  • Configure OEM on Oracle Failsafe 3.4.2 (11g R2) on windows 2008

    Hi Friends,
    Please let me know how to configure Oracle Enterprise Manager(OEM) On Oracle Failsafe 3.4.2 (11g R2 Database) on windows 2008.
    I found a Metalink Note : 396659.1 but i am unable to open the Note.
    Please provide the Proper Note.
    Regards,
    DB

    I have the same problem.
    My solution is:
    1.add OFS group name mapping VIP in DNS
    2.add VIP in MSCS manager
    3.delete VIP in OFS manager
    4.add VIP in OFS manager

  • Installing the OEM Agent on an AIX Clustered Environment

    I have installed the OEM 10.2.0.5 agent on a server (sgramchdd50) that is part of an AIX HACMP cluster configuration. The other node of this cluster is sgramchdd51 and the cluster name is sgramchdd52. After installing the agent the server name sgramchdd50 is hard-coded into the the $AGENT_HOME/sysman/config/emd.properties file as follows....
    EMD_URL=https://sgramchdd50:3872/emd/main/
    The problem is that when we failover to the other node (sgramchdd51) the agent no longer works because the inactive node is hard-coded in certain places. I need to hardcode the cluster name as it is always pointing at the active node in the cluster. I have tried the following (with no success)...
    -Stopped the agent
    -Modified the EMD_URL parameter of the emd.properties file as follows
    -EMD_URL=https://sgramchdd52:3872/emd/main/
    -Started the agent
    However, starting the agent fails.
    sagramihqchdd50<orabss:orurebss> $ ./emctl start agent
    Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    Starting agent ........................................................................................................................... failed.
    Here are the last several lines of the emagent.trc file...
    *2010-07-14 16:02:38,799 Thread-1 WARN collector: MESSAGE_NLSID "Successful Name Registration Request Sent By Identity Provider(%)" is too long, truncating to "Successful Name Registration Request Sent By Identity Provider(%"*
    *2010-07-14 16:02:38,864 Thread-1 WARN collector: the column name DiskActivityavwait in this condition does not exist in metric DiskActivity*
    *2010-07-14 16:02:38,934 Thread-1 WARN collector: the column name DiskActivityavwait in this condition does not exist in metric DiskActivity*
    *2010-07-14 16:03:22,988 Thread-1071 ERROR fetchlets.oslinetok: Process exitcode = 0, stderr = Error connecting to https://sgramchdd52:3872/emd/main/*
    emctl status agent returned agent not running.
    *2010-07-14 16:03:22,988 Thread-1071 ERROR engine: [oracle_emd,sagramihqchdd52:3872,ProcessInfo] : nmeegd_GetMetricData failed : Error connecting to https://sgramchdd52:3872/emd/main/*
    emctl status agent returned agent not running.
    *2010-07-14 16:03:22,988 Thread-1071 WARN collector: <nmecmc.c> Error exit. Error message: Error connecting to https://sgramchdd52:3872/emd/main/*
    emctl status agent returned agent not running.
    Can anyone help with the necessary steps to take to accomplish what I'm trying to do.
    Any help would be very much appreciated.
    Thanks.
    Edited by: user11171364 on Jul 15, 2010 7:09 AM

    I think you should try to find the solution in your DNS.
    So lets say you name your node "MyActiveNode", your DNS only need to be modified to point to a different IP when failing over. The for the Agent it is still "logically" running on the same node.
    Same thing if you should use a Server Load Balancer, use the name of the SLB to configure the Agent.
    OK?
    Regards
    Rob
    http://oemgc.wordpress.com

  • Target operation is unavailable: cleanup of previous target with the same n

    Greetings,
    In OEM 12c I have several clusters. For one, from the console I deleted the cluster and then manually added the cluster target back. The operation was successful but for one of the high availability (has) services a metric collection error is displayed. For that particular target the EMDIAG output reports -
    Target operation is unavailable: cleanup of previous target with the same name is still pending
    I have not been able to find an explanation of that nor how to resolve it. Can anyone assist me?
    Thank you.
    Bill Wagman

    Hi,
    You can remove the target from monitoring and add it again, that can solve the problem.
    Regards,
    Venkat

  • Problem with starting OEM-agent on NT (clustered)

    We have problem with starting the OEM-agent (9i) on Windows 2000. The Nt-server is clustered.
    I have started the OracleAgent by the service screen. Everyting looks ok.
    But, from the server where the OEM-console is installed I can't contact the
    agent.
    I stopped then the agent and started it by typing;
    d:\oracle\ora92\bin\agntsrvc.exe
    Than i get the error:
    StartServiceCtrlDispatcher Failed with err 1063
    Anyone an idea?
    Thanks.
    Klaas

    Increate the virtual memory and try to start the service here:
    SELECT START > CONTROL PANEL > ADMINISTRATIVE TOOLS > SERVICES
    Joel Pérez

  • CRS 와 10G REAL APPLICATION CLUSTERS

    제품 : ORACLE SERVER
    작성날짜 : 2004-11-30
    CRS 와 10G REAL APPLICATION CLUSTERS
    ===================================
    PURPOSE
    이 문서는, 10g Real Application Cluster의 CRS (Cluster Ready Services)에 대한 추가적인
    정보를 제공하는 것을 목적으로 한다.
    Explanation
    1. CRS 와 10g REAL APPLICATION CLUSTERS
    CRS (Cluster Ready Services)는 10g Real Application Cluster의 새로운 기능으로,
    모든 플랫폼에 대해 표준화된 클러스터 인터페이스를 제공 해 주고, 이전 버전에서는 없었던
    새로운 고가용 서비스를 제공해 준다.
    2. CRS 핵심 기능
    CRS와 10g RAC를 설치하기 전에, CRS및 10g RAC에 대해 사전에 알아 두어야 할 사항이 있다 :
    - 10g RAC를 설치를 위해서는 CRS는 사전에 설치 되고 실행되어야 한다.
    - CRS는 하드웨어 공급 업체에서 제공하는 클러스터 제품 (예 : Sun Cluster,
    HP Serviceguard, IBM HACMP, TruCluster, Veritas Cluster, Fujitsu Primecluster,
    기타 ...) 위에서 실행 될 수도 있고, 하드웨어 공급 업체에서 제공하는 클러스터 제품
    없이도 실행될 수 있다. 하드웨어 업체에서 공급하는 클러스터 제품은 9i RAC까지는 반드시
    필요했지만, 10g RAC에서는 선택 사항이다.
    - CRS HOME 과 ORACLE_HOME 은 반드시 다른 디렉토리에 설치 되어야 한다.
    - CRS를 설치하기 전에, voting 파일 또는 OCR (Oracle Configuration Repository) 파일을
    설치 할 수 있는 공유된 디렉토리 또는 디바이스가 셋업되어야 한다. voting file은 최소 20MB 정도
    크기이며, OCR 파일은, 최소 100MB 크기가 되어야 한다.
    - CRS 및 RAC를 설치하기 위해서는 다음과 같은 네트워크 인터페이스가 구성되어야 한다 :
    - Public Interface
    - Private Interface
    - Virtual (Public) Interface
    관련된 추가적인 정보는 <Bulletin No: 22345> 참조.
    - CRS 설치 후 root.sh를 실행시키면 CRS 서비스를 구동시킨다. 만약 CRS가 정상적으로
    구동되지 않는다면, Note 240001.1 참조.
    - RAC 노드당 1개의 CRS 데모만 실행 가능.
    - 유닉스 시스템의 경우, CRS 서비스는 /etc/inittab 상의 ‘respawn’ entry로 등록되어 있다.
    - 네트워크 split이 있을 경우 (노드간 통신 두절) data corruption을 방지 하기 위해 하나
    또는 그 이상의 노드에서 리부팅이 발생할 수 있다.
    - CRS 서비스를 구동시키는 올바른 방법은 장비를 부팅시키는 것이다.
    - 서비스를 중단시키는 올바른 방법은, 장비를 shutdown 시키거나, "init.crs stop" 명령을
    실행시키는 것이다.
    - CRS 데몬을 kill 시키는 것은 올바른 방법이 아니며, 오직 설치된 CRS를 제거한 경우에만
    적용해도 되는 방법이다. (Bulletin No: 22343 참조) 이것은 , 플래그 파일에 불일치가 발생 할
    수 있기 때문이다.
    - 시스템 유지 보수를 위해서는, OS를 단일 사용자 모드 (single user mode)로 전환한다.
    서비스 스택이 구동되면, ps -ef 명령으로 관련된 데몬 프로세스를 확인 할 수 있다 :
    [rac1]/u01/home/beta> ps -ef | grep crs
    oracle 1363 999 0 11:23:21 ? 0:00 /u01/crs_home/bin/evmlogger.bin -o /u01
    oracle 999 1 0 11:21:39 ? 0:01 /u01/crs_home/bin/evmd.bin
    root 1003 1 0 11:21:39 ? 0:01 /u01/crs_home/bin/crsd.bin
    oracle 1002 1 0 11:21:39 ? 0:01 /u01/crs_home/bin/ocssd.bin
    3. CRS DAEMON 기능
    다음은 각각의 CRS 데몬 프로세스에 대한 간략한 설명이다 :
    CRSD:
    - HA 작업을 위한 엔진
    - '애플리케이션 자원'관리
    - '애플리케이션 자원'을 구동, 정지, fail over 처리
    - 애플리케이션 자원 구동/정지/점검 하기 위한 별도의 'actions'을 spawn
    - OCR(Oracle Configuration Repository)의 구성 프로파일 관리
    - OCR의 현재 알려진 상태를 저장
    - root 권한으로 실행
    - 장애 발생시 자동으로 재 구동됨
    OCSSD:
    - OCSSD는 RAC의 일부로, ASM과 함께 단일 인스턴스를 구성함
    - 노드 멤버쉽에 대한 액세스를 제공
    - 그룹 서비스 제공
    - 기본적인 클러스터 lock 기능 제공
    - 하드웨어 공급 업체에서 제공하는 클러스터 소프트웨어가 설치되어 있을 경우, 통합을 실시
    - 하드웨어 공급 업체에서 제공하는 클러스터 소프트웨어 없이도 실행 가능
    - 오라클 계정으로 실행
    - 장애로 인한 종료시 시스템 리부팅됨
    --- 리부팅은 split brain 현상 발생시, 데이터 corruption 방지를 목적으로 함.
    EVMD:
    - 특정한 사건 발생 시 이벤트 생성
    - 자식 프로세스로 evmlogger를 spawn 시킴
    - Evmlogger는 필요시 자식 프로세스를 spawn 시킴
    - callout directory를 스캔하고 callout을 호출
    - 오라클 계정으로 실행.
    - 장애로 인한 종료시 자동으로 재 구동됨
    4. CRS 로그 디렉토리
    CRS 문제의 원인을 추적할 때는, CRS 홈 디렉토리 아래 디렉토리를 살펴보는 것이
    중요하다.
    $ORA_CRS_HOME/crs/log - 이 디렉토리는, CRS 자원들에 대한 트레이스를 포함하며,
    CRS에 의해 식별된 가입(joining), 탈퇴(leaving), 재구동(restarting), 재배치(relocating)와
    관련된 정보들이 기록된다.
    $ORA_CRS_HOME/crs/init - crsd.bin 데몬과 관련된 모든 core dump가 기록된다.
    $ORA_CRS_HOME/css/log - css 로그는, 재구성(reconfiguration)이나, 성공하지
    못한 체크인 (missed checkin), 클라이언트의 css listener로 부터 발생한 연결(connect) 및
    연결해제(disconnect)와 관련된 모든 액션을 기록한다. 때에 따라서는 로거에서는 (auth.crit)
    유형의 메시지를 남기는데 이것은 오라클에 의해 리부팅이 발생할 때 남는다. 이 정보는
    리부팅이 정확히 언제 발생했는지를 확인하는데 사용될 수 있다.
    $ORA_CRS_HOME/css/init - 기본적으로는 ocssd로 부터의 core dump 파일을 저장하며, 프로세스의
    종료가 심각한 문제로 간주되는 css 데몬의 pid 정보 또한 기록된다. css의 비정상 재 구동이 발생할
    경우, core 파일은, core.<pid> 형태로 기록된다.
    $ORA_CRS_HOME/evm/log - evn과 evmlogger 데몬의 로그 파일이 기록된다. CRS 또는 CSS 관련 디렉토리
    처럼 디버깅 용도로 자주 사용되지는 않는다.
    $ORA_CRS_HOME/evm/init - EVM의 pid와 lock 파일이 저장된다. EVM으로 부터 발생한 core 파일 또한
    이 디렉토리에 저장된다. 디버깅을 위해서는 Note 1812.1 참조.
    $ORA_CRS_HOME/srvm/log - OCR을 위한 로그 파일.
    5. CRS 자원의 상태
    RAC를 설치하고, RAC root.sh을 실행시키면 VIPCA (Virtual IP Configuration Assistant)가
    구동된다. crs_stat 명령을 이용하여 모든 CRS 자원을 확인할 수 있다. 예 :
    cd $ORA_CRS_HOME/bin
    ./crs_stat
    NAME=ora.rac1.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac1.oem
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac1.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac1.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac2.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac2.oem
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac2.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    NAME=ora.rac2.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE
    CRS 자원을 읽기 쉬운 형태로 확인하기 위한 스크립트 또한 사용할 수 있다.
    다음은 shell script의 예이다 :
    --------------------------- Begin Shell Script -------------------------------
    #!/usr/bin/ksh
    # Sample 10g CRS resource status query script
    # Description:
    # - Returns formatted version of crs_stat -t, in tabular
    # format, with the complete rsc names and filtering keywords
    # - The argument, $RSC_KEY, is optional and if passed to the script, will
    # limit the output to HA resources whose names match $RSC_KEY.
    # Requirements:
    # - $ORA_CRS_HOME should be set in your environment
    RSC_KEY=$1
    QSTAT=-u
    AWK=/usr/xpg4/bin/awk # if not available use /usr/bin/awk
    # Table header:echo ""
    $AWK \
    'BEGIN {printf "%-45s %-10s %-18s\n", "HA Resource", "Target", "State";
              printf "%-45s %-10s %-18s\n", "-----------", "------", "-----";}'
    # Table body:
    $ORA_CRS_HOME/bin/crs_stat $QSTAT | $AWK \
    'BEGIN { FS="="; state = 0; }
    $1~/NAME/ && $2~/'$RSC_KEY'/ {appname = $2; state=1};
    state == 0 {next;}
    $1~/TARGET/ && state == 1 {apptarget = $2; state=2;}
    $1~/STATE/ && state == 2 {appstate = $2; state=3;}
    state == 3 {printf "%-45s %-10s %-18s\n", appname, apptarget, appstate; state=0;}'
    --------------------------- End Shell Script -------------------------------
    실행 결과 예시 :
    [opcbsol1]/u01/home/usupport> ./crsstat
    HA Resource Target State
    ora.V10SN.V10SN1.inst ONLINE ONLINE on opcbsol1
    ora.V10SN.V10SN2.inst ONLINE ONLINE on opcbsol2
    ora.V10SN.db ONLINE ONLINE on opcbsol2
    ora.opcbsol1.ASM1.asm ONLINE ONLINE on opcbsol1
    ora.opcbsol1.LISTENER_OPCBSOL1.lsnr ONLINE ONLINE on opcbsol1
    ora.opcbsol1.gsd ONLINE ONLINE on opcbsol1
    ora.opcbsol1.ons ONLINE ONLINE on opcbsol1
    ora.opcbsol1.vip ONLINE ONLINE on opcbsol1
    ora.opcbsol2.ASM2.asm ONLINE ONLINE on opcbsol2
    ora.opcbsol2.LISTENER_OPCBSOL2.lsnr ONLINE ONLINE on opcbsol2
    ora.opcbsol2.gsd ONLINE ONLINE on opcbsol2
    ora.opcbsol2.ons ONLINE ONLINE on opcbsol2
    ora.opcbsol2.vip ONLINE ONLINE on opcbsol2
    6. CRS 자원 관리
    자원을 관리하기 위해서는, srvctl 명령을 사용한다. 다음은 명령어 문법 예제이다.
    1) CRS 자원 상태
    srvctl status database -d <database-name> [-f] [-v] [-S <level>]
    srvctl status instance -d <database-name> -i <instance-name> >[,<instance-name-list>]
    [-f] [-v] [-S <level>]
    srvctl status service -d <database-name> -s <service-name>[,<service-name-list>]
    [-f] [-v] [-S <level>]
    srvctl status nodeapps [-n <node-name>]
    srvctl status asm -n <node_name>
    예제:
    데이터베이스의 상태, 모든 인스턴스와 모든 서비스
    srvctl status database -d ORACLE -v
    이름이 부여된 인스턴스의 상태와 현재 서비스
    srvctl status instance -d ORACLE -i RAC01, RAC02 -v
    이름이 부여된 서비스의 상태.
    srvctl status service -d ORACLE -s ERP -v
    데이터베이스 애플리케이션을 지원하는 모든 노드의 상태.
    srvctl status node
    2) CRS 자원의 구동
    srvctl start database -d <database-name> [-o < start-options>]
    [-c <connect-string> | -q]
    srvctl start instance -d <database-name> -i <instance-name>
    [,<instance-name-list>] [-o <start-options>] [-c <connect-string> | -q]
    srvctl start service -d <database-name> [-s <service-name>[,<service-name-list>]]
    [-i <instance-name>] [-o <start-options>] [-c <connect-string> | -q]
    srvctl start nodeapps -n <node-name>
    srvctl start asm -n <node_name> [-i <asm_inst_name>] [-o <start_options>]
    예제:
    데이터베이스를 모든 활성화된 인스턴스와 함께 구동.
    srvctl start database -d ORACLE
    이름이 부여된 인스턴스의 구동.
    srvctl start instance -d ORACLE -i RAC03, RAC04
    이름이 부여된 서비스의 구동. 연관된 인스턴스는 필요시 구동됨.
    srvctl start service -d ORACLE -s CRM
    이름이 부여된 인스턴스의 서비스의 구동.
    srvctl start service -d ORACLE -s CRM -i RAC04
    노드 애플리케이션의 구동.
    srvctl start nodeapps -n myclust-4
    3) CRS 자원의 정지
    srvctl stop database -d <database-name> [-o <stop-options>]
    [-c <connect-string> | -q]
    srvctl stop instance -d <database-name> -i <instance-name> [,<instance-name-list>]
    [-o <stop-options>][-c <connect-string> | -q]
    srvctl stop service -d <database-name> [-s <service-name>[,<service-name-list>]]
    [-i <instance-name>][-c <connect-string> | -q] [-f]
    srvctl stop nodeapps -n <node-name>
    srvctl stop asm -n <node_name> [-i <asm_inst_name>] [-o <start_options>]
    예제:
    데이터베이스, 모든 인스턴스, 모든 서비스를 정지 시킴.
    srvctl stop database -d ORACLE
    이름이 부여된 인스턴스를 정지 시킴. 그 전에 우선 존재하는 모든 서비스를 재배치 함.
    srvctl stop instance -d ORACLE -i RAC03,RAC04
    서비스를 정지시킴.
    srvctl stop service -d ORACLE -s CRM
    이름이 부여된 인스턴스의 서비스를 정지 시킴.
    srvctl stop service -d ORACLE -s CRM -i RAC04
    노드 애플리케이션을 정지 시킴. 인스턴스와 서비스 역시 정지됨.
    srvctl stop nodeapps -n myclust-4
    4) CRS 자원의 추가
    srvctl add database -d <name> -o <oracle_home> [-m <domain_name>] [-p <spfile>]
    [-A <name|ip>/netmask] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}]
    [-s <start_options>] [-n <db_name>]
    srvctl add instance -d <name> -i <inst_name> -n <node_name>
    srvctl add service -d <name> -s <service_name> -r <preferred_list>
    [-a <available_list>] [-P <TAF_policy>] [-u]
    srvctl add nodeapps -n <node_name> -o <oracle_home>
    [-A <name|ip>/netmask[/if1[|if2|...]]]
    srvctl add asm -n <node_name> -i <asm_inst_name> -o <oracle_home>
    OPTIONS:
    -A vip range, node, and database, address specification. The format of
    address string is:
    [<logical host name>]/<VIP address>/<net mask>[/<host interface1[ |
    host interface2 |..]>] [,] [<logical host name>]/<VIP address>/<net mask>
    [<host interface1[ | host interface2 |..]>]
    -a for services, list of available instances, this list cannot include
    preferred instances
    -m domain name with the format “us.mydomain.com”
    -n node name that will support one or more instances
    -o $ORACLE_HOME to locate Oracle binaries
    -P for services, TAF preconnect policy - NONE, PRECONNECT
    -r for services, list of preferred instances, this list cannot include
    available instances.
    -s spfile name
    -u updates the preferred or available list for the service to support the
    specified instance. Only one instance may be specified with the -u
    switch. Instances that already support the service should not be
    included.
    예제:
    새로운 노드의 추가.
    srvctl add nodeapps -n myclust-1 -o $ORACLE_HOME ?A
    139.184.201.1/255.255.255.0/hme0
    새로운 데이터 베이스의 추가.
    srvctl add database -d ORACLE -o $ORACLE_HOME
    이미 존제하는 데이터베이스에 이름이 부여된 인스턴스 추가.
    srvctl add instance -d ORACLE -i RAC01 -n myclust-1
    srvctl add instance -d ORACLE -i RAC02 -n myclust-2
    srvctl add instance -d ORACLE -i RAC03 -n myclust-3
    서비스를 이미 존재하는 데이터베이스에 추가하며, 선호되는 인스턴스를 지정 (-r)하고,
    가용한 인스턴스를 지정함(-a). 가용 인스턴스에 대해서는 기본 failover를 사용함.
    srvctl add service -d ORACLE -s STD_BATCH -r RAC01,RAC02 -a RAC03,RAC04
    이미 존재하는 데이터베이스에 선호되는 인스턴스를 list 1, 가용한 인스턴스를 list 2에
    추가함. 가용 인스턴스에 대해서는 사전연결 (preconnect) 방식을 사용함.
    srvctl add service -d ORACLE -s STD_BATCH -r RAC01,RAC02 -a RAC03,RAC04 -P PRECONNECT
    5) CRS RE자원의 제거
    srvctl remove database -d <database-name>
    srvctl remove instance -d <database-name> [-i <instance-name>]
    srvctl remove service -d <database-name> -s <service-name> [-i <instance-name>]
    srvctl remove nodeapps -n <node-name>
    예제:
    데이터베이스에 대한 애플리케이션의 제거.
    srvctl remove database -d ORACLE
    이미 존재하는 데이터베이스의 이름이 부여된 인스턴스에 대한 애플리케이션 제거.
    srvctl remove instance -d ORACLE -i RAC03
    srvctl remove instance -d ORACLE -i RAC04
    서비스 제거.
    srvctl remove service -d ORACLE -s STD_BATCH
    인스턴스로부터 서비스 제거.
    srvctl remove service -d ORACLE -s STD_BATCH -i RAC03,RAC04
    노드로 부터 모든 노드 애플리케이션 제거.
    srvctl remove nodeapps -n myclust-4
    6) CRS 자원의 변경
    srvctl modify database -d <name> [-n <db_name] [-o <ohome>] [-m <domain>]
    [-p <spfile>] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}]
    [-s <start_options>]
    srvctl modify instance -d <database-name> -i <instance-name> -n <node-name>
    srvctl modify instance -d <name> -i <inst_name> {-s <asm_inst_name> | -r}
    srvctl modify service -d <database-name> -s <service_name> -i <instance-name>
    -t <instance-name> [-f]
    srvctl modify service -d <database-name> -s <service_name> -i <instance-name>
    -r [-f]
    srvctl modify nodeapps -n <node-name> [-A <address-description> ] [-x]
    OPTIONS:
    -i <instance-name> -t <instance-name> the instance name (-i) is replaced by the
    instance name (-t)
    -i <instance-name> -r the named instance is modified to be a preferred instance
    -A address-list for VIP application, at node level
    -s <asm_inst_name> add or remove ASM dependency
    예제:
    인스턴스가 다른 노드에서 실행되도록 변경.
    srvctl moinstance -d ORACLE -n myclust-4
    서비스가 다른 노드에서 실행되도록 변경.
    srvctl modify service -d ORACLE -s HOT_BATCH -i RAC01 -t RAC02
    인스턴스가 서비스의 선호되는 인스턴스가 되도록 변경.
    srvctl modify service -d ORACLE -s HOT_BATCH -i RAC02 ?r
    7) SERVICE의 재 배치
    srvctl relocate service -d <database-name> -s <service-name> [-i <instance-name >]-t<instance-name > [-f]
    예제:
    서비스를 한 인스턴스에서 다른 인스턴스로 재 배치
    srvctl relocate service -d ORACLE -s CRM -i RAC04 -t RAC01
    8) CRS 자원을 활성화 (자원은 이 기능을 사용할 당시 실행중이거나, 정지된 상태일 수 있음)
    srvctl enable database -d <database-name>
    srvctl enable instance -d <database-name> -i <instance-name> [,<instance-name-list>]
    srvctl enable service -d <database-name> -s <service-name>] [, <service-name-list>] [-i <instance-name>]
    예제:
    데이터베이스를 활성화.
    srvctl enable database -d ORACLE
    이름이 부여된 인스턴스의 활성화.
    srvctl enable instance -d ORACLE -i RAC01, RAC02
    서비스의 활성화.
    srvctl enable service -d ORACLE -s ERP,CRM
    이름이 부여된 인스턴스에서 서비스의 활성화.
    srvctl enable service -d ORACLE -s CRM -i RAC03
    9) CRS 자원의 비활성화 (자원은 이 기능을 사용할 당시 정지된 상태 이어야만 함)
    srvctl disable database -d <database-name>
    srvctl disable instance -d <database-name> -i <instance-name> [,<instance-name-list>]
    srvctl disable service -d <database-name> -s <service-name>] [,<service-name-list>] [-i <instance-name>]
    예제:
    데이터베이스를 전역(global) 비활성화 시킴.
    srvctl disable database -d ORACLE
    이름이 부여된 인스턴스의 비활성화.
    srvctl disable instance -d ORACLE -i RAC01, RAC02
    서비스를 전역(global) 비활성화.
    srvctl disable service -d ORACLE -s ERP,CRM
    이름이 부여된 인스턴스상의 서비스를 비 활성화.
    srvctl disable service -d ORACLE -s CRM -i RAC03,RAC04
    추가 정보는 Oracle10g Real Application Clusters Administrator's Guide - Appendix B 참조
    Example
    Reference Documents
    <Note:259301.1> CRS and 10g Real Application Clusters

    To download the registered logos by Oracle for OCP, OCA, OCE, & OCM Certifications.
    You have to request to Oracle Exam Support Team to provide the link and the credentials (User Name/Password) to download the same.
    Mail to the following E-Mail: [email protected]
    Note 1: To get the response on time, you may need to provide your prometric information details i.e. Exam Passed Date, Prometric ID, Full Name, and Corresponding Address.
    Note 2: You will never have to disclose your credentials (User Name/Password) to anybody, as Oracle is going to give this for you especially.
    Regards,
    Sabdar Syed,
    http://sabdarsyed.blogspot.com

  • OEM 10.2.0.5 Errors Monitoring Oracle 11g on RHEL 5.3 64-bit

    Hi,
    I am trying to setup a grid control box to monitor two 11gR1 databases on a RAC cluster. We have Oracle CRS for the clustering software and we are using OEM GC 10.2.0.5. I have cloned 10.2.0.5 agents from the OMS install and the hosts show up in OEM.
    The listener shows as down in the EM console. The database shows down too with "Agent Connection to Instance" failed with ORA-12545. Connect failed because target host or object does not exist (DBD ERROR: OCIServerAttach).
    My emagemt_perl.trc has the following:
    has_metrics.pl: Wed Jan 27 23:38:01 2010: WARN: WARN:has::Common:: has::Common::hasGetSQLResults: Could not
    connect.
    I discovered the targets with the agent, when it was added to EM. I also set the dbsnmp password but I am still getting the error.
    Thanks for any ideas,
    Pedro B. Morales

    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 28-JAN-2010 00:36:10
    Uptime 0 days 17 hr. 11 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/oracle/product/11.1.0/db/network/admin/listener.ora
    Listener Log File /oracle/app/oracle/diag/tnslsnr/corp1052/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=corp1052)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Service "dex.example.com" has 2 instance(s).
    Instance "dex1", status READY, has 1 handler(s) for this service...
    Instance "dex2", status READY, has 2 handler(s) for this service...
    Service "dexXDB.example.com" has 2 instance(s).
    Instance "dex1", status READY, has 1 handler(s) for this service...
    Instance "dex2", status READY, has 1 handler(s) for this service...
    Service "dex_XPT.example.com" has 2 instance(s).
    Instance "dex1", status READY, has 1 handler(s) for this service...
    Instance "dex2", status READY, has 2 handler(s) for this service...
    The command completed successfully
    The output of SQLPlus:
    [oracle@dbhost: db]$ bin/sqlplus dex@DEX
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 28 18:40:11 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options

  • Windows Storage Server 2008 R2 Essentials Clustering

    Dear,
    I would like to know the features of Window Storage Server 2008 R2 Essentials. I also want to know if this OS supports Clustering. I checked on Microsoft Website but there is no information regarding this OS.
    I have WD Sentinel 4100 RX boxes.. Can I use these 2 boxes as a cluster? And if yes, can I configure it as Failover Cluster?
    I appreciate any responses. Thank you in advance. 
    Best Regards,

    This OS can only be purchased as an OEM pre-installed 'device', so customisation options are minimal.
    There is no clustering support for the Essentials feature set itself, even if you could cluster the underlying OS.
    Without knowing your game plan, it is difficult to speculate, but you may be looking for a full storage server solution.
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Oracle Clusterware and Oracle Real Application Clusters Install Guide

    I've downloaded the latest "Oracle Database - Oracle Clusterware and Oracle Real Application Clusters Install Guide - 10g Release 2 (10.2) for HP-UX PA-RISC" (part no. B14202-01) dated August 2005 from OTN. I'm getting the following error when opening the pdf file in Adobe Reader:
    "Cannot extract the embedded font 'PEPPLC+Palatino-Italic'. Some characters may not display or print properly."
    When I print the manual, I get blank pages throughout the document which, in my opinion, should contain text and don't. Specifically pages 1-11, 2-5, 2-19, 2-24, 2-33, 3-5, 3-19 to name a few. When I go to those pages within the pdf file in Adobe Reader, I get the error: "There was a problem reading this document (114)."
    Can you verify this problem on your end. Also, how do I get a good copy of this document?

    Hi!
    Apologies for the delay in responding to you. Please try the documentation library, part B19306-01 at URL: http://www.oracle.com/technology/documentation/database10gR2.html. Search for the part B14202-01 and click: pdf at top right. Part B14202-01 documentation pdf is currently displaying and printing on this end. The blank pages at the end of each main topic are inserted on purpose.
    Another link to part B14202-01, on OTN is under the OEM, Oracle Enterprise Manager 10g Release 2 (10.2): http://www.oracle.com/pls/db102/portal.portal_db?selected=21
    Thank you for your comments and feedbacks. Its much appreciated.
    Main OTN, documentation URL: http://www.oracle.com/technology/documentation/index.html
    Regards,
    Chao

  • Cluster Database Connect Works Only in stand-alone OEM

    When I connect to OEM standalone, I can connect to the cluster database with no problem. When I try to connect with the management server, it gives me the ORA-12514 error. The service name works both in SQLplus and in stand-alone mode.
    My console is running on a windows XP machine, the management server and OEM catalog are on a machine running 9.2, the cluster resides on two other machines running 9.2.
    What do I need to change to get OEM to let me open the cluster database using the management server?

    Try to create a service like this one and try:
    joel.us.acme.com=
    (description=
    (load_balance=on)
    (failover=on)
    (address=(protocol=tcp)(host=host1)(port=1521))
    (address=(protocol=tcp)(host=host2)(port=1521))
    (address=(protocol=tcp)(host=host3)(port=1521))
    (connect_data=
    (service_name=joel.us.acme.com)))
    for more information about it you can check these
    documents:
    Real Application Clusters Administration Contents / Search / Index / PDF
    Real Application Clusters Concepts Contents / Search / Index / PDF
    Real Application Clusters Deployment and Performance Contents / Search / Index / PDF
    Real Application Clusters Documentation Online Roadmap Contents / Search / /
    Real Application Clusters Real Application Clusters Guard I - Concepts and Administration Contents / Search / Index / PDF
    Real Application Clusters Real Applications Clusters Guard I Configuration Guide Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, and Sun Solaris Contents / Search / Index / PDF
    Real Application Clusters Setup and Configuration Contents / Search / Index / PDF
    http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
    Joel Pérez

  • Add Standby Server in OEM Grid.

    Hi,
    I need to add Standby Database in Oracle EM Grid.. it is 11g Emgrid.. Standby database 11.2.0.3 is one server another one server is in 10g.. i need to add both server to EM Grid... We didn't configure Dataguard Broker.. is there any way to configure without dataguard broker. i have tried in Primary server on emgrid on availability page for add standby link.. but it's not accepting sys password for standby.... Please Give me solution.. We need Sync alert between Primary and Standby through EM Grid
    Regards,
    Madhan

    From your description I do not understand what you have (provide full version numbers not marketing labels for each one) and their operating systems. Also the full version of OEM Grid.
    What edition do you have Standard or Enterprise?
    Is the source database RAC or stand-alone?
    Did you read any docs telling you how to configure the standby? Post a link so we know what you were trying to do.
    And finally "it's not accepting" means what? That the server reboots? That it gives you an error message you didn't think important enough to post?
    Here's what your post reads like to me:
    I need to add a second car for my family .. it is a 2009 Honda. Standby car is a Subaru wagon. I need to have both. I didn't do anything with my insurance policy. I have tried to start the car but it doesn't start. Please give me a solution."
    {code}
    Which car? Is it out of gas or did you use the wrong key? How can we know if you don't tell us.
    Please provide all of the information and we should be able to answer your question ... but for starters. Data Guard broker is only "required" for RAC clusters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Configuring multiple web sites in a single OC4J instance with 10g OEM

    Hi There,
    there doesn't seem to be a way of configuring multiple web sites within a single OC4J instance using the 10g Enterprise Manager Website, so can i assume that there's some performance related issues with doing this, or is it just a case of if you want multiple web sites, configure it manually?
    We currently use 9iAS release 1 (which has been configured to use multiple web sites - with normally 1 j2ee app in each website - in a single OC4J clustered instance, using mod_proxy to forward the http requests onto oc4j), but we are looking to migrate to 10g very soon...
    The initial configuration was done by an external company, so i'm not entirely sure of the reasons why it was chosen (perhaps so that if there was a problem with a single website, it wouldn't impact all our applications)..
    Does anybody else currently use multiple *-web-site.xml's in a 9iAS release 2 or 10g in a production environment, and if so did you encounter any problems with the OEM website (assuming you configured them manually)?
    Thanks in advance,
    Andy

    Hello,
    Something like this:
    New-OWAVirtualDirectory -WebSiteName "FBA"
    Enable the Basic authentication via running the following command:
    Set-OWAVirtualDirectory -Identity "yourservername\owa (FBA)" -BasicAuthentication $true
    Restart the IIS admin service in services.msc
    Thanks,
    Simon Wu
    TechNet Community Support

  • How to activate OEM in oracle 10G

    Hi, I want to know how to activate oracle enterprise manager, not grid control. This is and old database in oracle 10g,
    running in IBM server with OS AIX 5.3. It was unused, but now we need to execute some process in it, and I need a tool
    to help with this process.
    I got other databases in other server, but they are in clusters (RAC), with these DBs I don't have any problems,
    when I go to ORACLE_HOME/bin I see emctl, but in the old db when I go to ORACLE_HOME/bin
    I don't see emctl. My doubt is, how can I activate OEM in this DB? Do I need to download something?
    Thanks for your help.
    ANG

    Hi mnazim;
    I executed the command and I got this:
    INFO: Repository successfully created
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /home/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log
    for more details.
    I verified the aforementioned log and these are the last lines:
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing /home/oracle/product/10.2.0/sysman/admin/scripts/emca/emcaDbUtil
    /home/oracle/product/10.2.0/perl/lib:/home/oracle/product/10.2.0/perl/lib/site_perl:/home/oracle/product/10.2.0/sysman/admin/scripts:/home/oracle/product/10.2.0/bin:
    %s_perlBin%/perl /home/oracle/product/10.2.0/sysman/admin/scripts/emca/emcaDbUtil.pl /home/oracle/product/10.2.0 IPTVLAB SYS SYSDBA declare repos_pwd varchar2(30);
    view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user);
    select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN
    execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Failed to unlock mgmt_view account
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log for more details.
    Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:253)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
    This is the line in emca_2009-10-28_11-26-52-AM.log (another log) in same dir as previous.
    SP2-0310: unable to open file "/home/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"
    Thanks for your help.

  • Installing OEM in Rac

    Hi,
    RHEL 5.8
    11gr2
    I have two node RAC on a test server. I have installed database software but it failed with an error that OEM could not be installed. Now I need help in installing Enterprise manager. I will be thankful if someone can assist me with the steps.
    Thanks,

    the link helps you if you read it carefully: why its called "Using EMCA With Oracle Real Application Clusters" then?
    From the link:
    1) to add a cluster instance:
    For configuring Enterprise Manager for a new cluster instance of a database or ASM storage, use the following command:
    emca -addInst db
    1 node --> emca emca -config dbcontrol db -repos create
    RAC --> emca emca -config dbcontrol db -repos create -cluster

  • OEM 12c unable ot discover Weblogic 10.0.1.0

    I have OEM 12c grid installed and Agent 12c running on the remote host. I have weblogic 10.0.1.0 installed in the remote host. The agent is unable to discover the domain. It is failing with below error...
    "Failed to discover WebLogic. Check host,port,credentials,protocol and be sure the server is running and the same farm is not already added. This UI can not be used to discover WebLogic version 7.x to 8.x. Exception: No targets discovered"
    I can login to the console appication with the ip:port and credentials.. but failing while trying to discover thru the Grid Control.
    I get below error in the OMS log...
    2012-06-25T05:52:09.376-04:00] [EMGC_OMS1] [ERROR:32] [] [oracle.sysman.emas.model.discovery.AddWLStep1Model] [tid: Thread-38498] [userId: SYSMAN] [ecid: 0000DUEGUt_ADSqlcKU4V_0005hD0004kK,1:32596] [APP: emgc] [URI: /em/faces/as/discovery/addWeblogicStep1] Disocvery failed[[
    java.lang.Exception: No targets discovered.
    at oracle.sysman.emInternalSDK.sdkas.general.pojo.model.discovery.FMWDiscoveryBase.discoverTargets(FMWDiscoveryBase.java:588)
    at oracle.sysman.emas.model.discovery.AddWLStep2Model.discoverTargets(AddWLStep2Model.java:1101)
    at oracle.sysman.emas.model.discovery.AddWLStep1Model.discover(AddWLStep1Model.java:464)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.sysman.emInternalSDK.sdkas.general.pojo.progress.WorkWrapper.run(WorkWrapper.java:113)
    at java.lang.Thread.run(Thread.java:662)
    I then created a empty doman on the same remote host for the same weblogic version. I was able to attch this one and not the other domain.
    I am ruling out OM Grid Server - Agent connectivity issues, since the new empty domain I created can communicate to server.
    I tried to check what is different between domains...
    The WLD that has the issue is a clustered Domain , and has:
    - 9 Managed Servers
    - Not SSL enabled
    - Many Application deployed
    - JDBC connections
    - has a custom build authentication provider for Authentication. But i made sure the user id is valid and even can login to the console.
    ** The new Domain is an empty one - no applications deployed.
    Can you please help understand why I am not able to attach the domain?

    Hi,
    It is the problem in prasing the DTD of config.xml file
    It look like this
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://www.bea.com/ns/weblogic/920/domain" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/security/xacml http://www.bea.com/
    ns/weblogic/90/security/xacml.xsd http://www.bea.com/ns/weblogic/90/security http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/92
    0/domain http://www.bea.com/ns/weblogic/920/domain.xsd http://www.bea.com/ns/weblogic/90/security/wls http://www.bea.com/ns/weblogic/90/security/wls.xsd">
    Please change your DTD to this lines and start the server.
    Regards
    Ravi D

Maybe you are looking for