Rename Job in Grid Control 12c
I have a backup job that I created and I would like to rename the job name to make it more identifiable. Is there a way to make this change in em12c or by making the change in a particular table? Or is this something that can't be done and I basically have to kill the job and recreate it?
thanks,
~Edward
Edward,
While i am glad this worked out for you, I do not recommend modifying tables directly. A job could have references in other parts of our schema and could cause failures elsewhere. We have an ER to allow rename of jobs and this should be addressed in a future release.
Currently, the easiest option is to do a create like on the job.
Edited by: afulay on Feb 7, 2013 10:06 AM
Similar Messages
-
Problem in deleting backup job in Grid Control
Hi,
The topology and versions are as follows:
1 windows 2003 server with Oracle Grid Control 10.2.0.4.0.
1 windows 2003 server with Oracle Databases 10.2.0.3.
1 windows 2003 server with Oracle Databases 10.2.0.3 - Data Guard setup
I have tried to stop (and delete) some scheduled fullbackup jobs from Grid Control.
The job has now status SUSPEND. I have tried to stop and delete the job, but I get the message:
All executions of the job were stopped successfully. Currently running steps will not be stopped.
I cannot delete the job and the job is not running.
I have run this procedure in order to delete the job:
DECLARE
jguid RAW;
BEGIN
SELECT job_id
INTO jguid
FROM mgmt_job
WHERE job_name = '<name of your job>'
AND job_owner = '<owner of your job>';
mgmt_job_engine.stop_all_executions_with_id(jguid,TRUE);
COMMIT;
END;
With no effect. The job is still shown in Grid Control with status SUSPEND.
I have restarted all servers and all the components in Grid Control, but the jobs will not disappear from Grid Control although they have been deleted.
I am struggling with this for about 2 days now.
I have search in Metalink and the internet, but I have not found anything that provides a solution.
Any help will be very much appreciated.hi,
I have in the past used the following from metalink
Do you have a metalink account?
SET verify OFF
SET linesize 255
SET pagesize 128
SET trimout ON
SET trimspool ON
SPOOL jobdump.log
ALTER SESSION SET nls_date_format='MON-DD-YYYY hh:mi:ss pm';
COLUMN status format a15
COLUMN job_name FORMAT a64
COLUMN job_type FORMAT a32
COLUMN job_owner FORMAT a32
COLUMN job_status format 99
COLUMN target_type format a64
COLUMN frequency_code format a20
COLUMN interval format 99999999
VARIABLE JOBID VARCHAR2(64);
PROMPT *********************** JOB INFO ********************************
REM Get the job id
SET serveroutput on
BEGIN
SELECT job_id INTO :JOBID
FROM MGMT_JOB
WHERE job_name='&&jobName'
AND job_owner='&&jobOwner'
AND nested=0;
EXCEPTION
WHEN NO_DATA_FOUND THEN
BEGIN
DBMS_OUTPUT.put_line('JOB NOT FOUND, TRYING NAME ONLY');
SELECT job_id INTO :JOBID
FROM MGMT_JOB
WHERE job_name='&&jobName'
AND nested=0
AND ROWNUM=1;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.put_line('JOB NOT FOUND');
END;
END;
SELECT job_name, job_owner, job_type, system_job, job_status, target_type
FROM MGMT_JOB
WHERE job_id=HEXTORAW(:JOBID);
PROMPT *********************** JOB SCHEDULE ****************************
SELECT DECODE(frequency_code,
1, 'Once',
2, 'Interval',
3, 'Daily',
4, 'Day of Week',
5, 'Day of Month',
6, 'Day of Year', frequency_code) "FREQUENCY_CODE",
start_time, end_time, execution_hours, execution_minutes,
interval, months, days, timezone_info, timezone_target_index,
timezone_offset, timezone_region
FROM MGMT_JOB_SCHEDULE s, MGMT_JOB j
WHERE s.schedule_id=j.schedule_id
AND j.job_id=HEXTORAW(:JOBID);
PROMPT ********************** PARAMETERS ********************************
SELECT parameter_name,
decode(parameter_type,
0, 'Scalar',
1, 'Vector',
2, 'Large', parameter_type) "PARAMETER_TYPE",
scalar_value, vector_value
FROM MGMT_JOB_PARAMETER
WHERE job_id=HEXTORAW(:JOBID)
AND execution_id=HEXTORAW('0000000000000000')
ORDER BY parameter_name;
PROMPT ********************** TARGETS ********************************
SELECT target_name, target_type
FROM MGMT_JOB_TARGET jt, MGMT_TARGETS t
WHERE job_id=HEXTORAW(:JOBID)
AND execution_id=HEXTORAW('0000000000000000')
AND jt.target_guid=t.target_guid
ORDER BY target_type, target_name;
PROMPT ********************** FLAT TARGETS ********************************
SELECT target_name, target_type
FROM MGMT_JOB_FLAT_TARGETS jft, MGMT_TARGETS t
WHERE job_id=HEXTORAW(:JOBID)
AND jft.target_guid=t.target_guid
ORDER BY target_type, target_name;
PROMPT ************************ EXECUTIONS *******************************
SELECT execution_id,
DECODE(status,
1, 'SCHEDULED',
2, 'RUNNING',
3, 'FAILED INIT',
4, 'FAILED',
5, 'SUCCEEDED',
6, 'SUSPENDED',
7, 'AGENT DOWN',
8, 'STOPPED',
9, 'SUSPENDED/LOCK',
10, 'SUSPENDED/EVENT',
11, 'SUSPENDED/BLACKOUT',
12, 'STOP PENDING',
13, 'SUSPEND PENDING',
14, 'INACTIVE',
15, 'QUEUED',
16, 'FAILED/RETRIED',
17, 'WAITING',
18, 'SKIPPED', status) "STATUS",
scheduled_time, start_time, end_time
FROM MGMT_JOB_EXEC_SUMMARY e
WHERE job_id=HEXTORAW(:JOBID)
ORDER BY scheduled_time;
UNDEFINE jobName
UNDEFINE jobOwner
UNDEFINE JOBID
SPOOL OFFAlan -
Hi all,
OS: OEL 6.3 64 bits
DB: 11.2.0.3
Grid: 12.1
While installing Grid Control 12c, the following error appears to me:
INFO: SaveInvWCCE JRE files in Scratch
INFO: oracle.installer.mandatorySetup property is set to false, so skipping the execution of additional tools
INFO: oracle.installer.installUpdates property is set to false, so skipping the checking of updates
INFO: Config Initialize JRE files in Scratch
INFO: no env vars set, no envVars.properties file is generated
INFO: none of the components are configurable
INFO: This is a shared oracle home or remote nodes are null. No copy required.
INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
INFO: Updating the global context
INFO: Path To 'globalcontext.xml' = /gridControl/WLS/jdk16/install/chainedInstall/globalcontext
INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
INFO: Install Finished at: 2013-07-04_11-12-49-PM
INFO: The ARU ID found in shiphomeproperties.xml file is 226
INFO: ARUId present in shiphomeproperties.xml matches with the 64 bit OMS Platforms ARU ID 226, so -d64 is passed for wls install.
INFO: Executing the command /gridControl/WLS/jdk16/jdk/bin/java -d64 -Djava.io.tmpdir=/gridControl/WLS/.wlsinstall_temp -Xms128m -Xmx1024m -jar /u01/binaries//wls/wls1035_generic.jar -mode=silent -silent_xml=/gridControl/WLS/.wlsinstall_temp/wls.xml -log=/u01/oraInventory/logs/installActions2013-07-04_11-07-45PM.log.wls -log_priority=debug
INFO: Extracting 0%....................................................................................................100%
INFO: ERROR STREAM: *sys-package-mgr*: skipping bad jar, '/u01/binaries/wls/wls1035_generic.jar'
INFO: #
INFO: # A fatal error has been detected by the Java Runtime Environment:
INFO: #
INFO: # SIGSEGV (0xb) at pc=0x0000003a23689cdc, pid=24834, tid=139710737405696
INFO: #
INFO: # JRE version: 6.0_24-b50
INFO: # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
INFO: # Problematic frame:
INFO: # C [libc.so.6+0x89cdc]
INFO: #
INFO: # An error report file with more information is saved as:
INFO: # /tmp/hs_err_pid24834.log
INFO: #
INFO: # If you would like to submit a bug report, please visit:
INFO: # http://java.sun.com/webapps/bugreport/crash.jsp
INFO: #
INFO: Return value is 134
INFO: POPUP ERROR:Installation of Oracle WebLogic Server has failed, check log files for more details.
The line "skipping bad jar, '/u01/binaries/wls/wls1035_generic.jar'" is the one that's worring me. Can it be corrupt? Or it is something else?
Thanks in advance.Its too early to conclude the issue is a bug with out looking into the logs. For the same reason i requested you to open an SR so that we can have a look at the logs and identify the cause. If you are Oracle employee then you can share the VM details else we need logs to debug this further. If any one from your company can open an sr and share logs then that will be helpful. Can you also check if the shiphome that you downloaded is all correct and checksum/byte matches to what is mentioned on OTN.
-
How to monitory Siebel and E-business with Oracle Grid Control 12c
Hi All,
Please i need any documents for Monitoring Siebel and E-business with Oracle Grid Control 12c.
Thanks in advance,
MostafaI would think this is indeed the only way to monitor the URL.
Perhaps you could try a solution in creating your own plug-in.
Check http://www.oracle.com/technetwork/oem/extensions/index.html for this.
Regards
Rob
http://oemgc.wordpress.com -
Is grid control 12c certified from Oracle?
From oracle reading, Grid Control 11g will be upgraded to Cloud Control 12c. But is Cloud Control 12c Oracle certified?
On metalink, certification tab, I can find Grid control 11g certification, but cannot find 12c certification, there are misc messages on that Enterprise Manager group.
Can someone shed some lights? I will really appreciate it.
Thanks
S.For 12c forget Grid Control and use the term Cloud Control. How do you know Enterprise Manager Base Platform - OMS is Cloud Control? Good question... it just is.
If you enter Enterprise Manager Base Platform - OMS, Release:12.1.0.2.0, Linux x86-64 Oracle Linux
And follow the link:Certification Details for Notes and Support information you will see "Enterprise Manager Base Platform - OMS 12.1.0.2.0 is certified on Linux x86-64 Oracle Linux 6"
Eric -
Scheduling an Export Job Using Grid Control
Hi,
I got a requirement to schedule export jobs in Oracle Grid Control 10.2.0.5 (Windows). Is this possible and have any one done this? If so please share the steps. The idea is to get alerts if the job fails.
Thanks.
GBHere is the easy steps (There might be slight differences as I am posting it based on 11g screen)
1. On grid control console, click on the relevant database
2. click on 'Data Movement' tab
3. Click on 'Export to Export Files'
4. chose the Export type (Database / Schema / Tables/ Tablespace)
5. Provide Host credentials (OS username and Password) and click on 'Continue'. You will get a new screen called 'Export: Options'
6. Click the checkbox called 'Generate Log File' and select the Directory object where you wants to create the dump files. (You need to create a directory object in database, if you don't have one)
7. Chose the contents option as you required, and click '*Next*'. You will get a new page called 'Export: Files'
8. Select the directory object from the drop-down box and provide a name format for file name, and click 'Next'
9. Here you provide the Job name and description, and chose repeat options (daily, weekly etc), and click 'Next'
10. You will get a summary screen called 'Export: Schedule'. review your job details and click on 'Submit'.
This is the solution, and it works well. -
Oracle PeopleSoft Enterprise Manager Plugin Installation on oem grid control 12c facing error
Hi Friends,
I am planning to monitor Peoplesoft 8.52 HRMS application through oem 12c grid control. First I have installed 12c grid control successfully. Followed by I am installing the Oracle PeopleSoft Enterprise Manager Plugin in 12c oem repository containing 11g database. I am facing configuration assistant error message as below
OUI-25031 some of configuration assistance failed.
Configuration assistant "PeopleSoft Environment Management Repository Plug-in" failed
The "/u01/oracle/cloudcontrol/middleware/oms/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
Please assist me how shall I proceed further...
Regards,
Rajesh PachiyappanHi,
I just came across the same problem.
In my case, I hit this issue while trying to reinstall Oracle EMCC 12g.
Since previous installation failed, I decided to start from the beginning again but I am now hitting this.
Before trying to reinstal, I dropped SYSMAN and a few other users created on the provided DB.
Did you solve this issue?
I believe I may have not "clean up" the database properly. Which would be the right way of wiping out the DB without actually rebuild it again?
Thanks
Angel -
Can OEM Grid Control(12c) can provide the KPIs trend reports/analysis?
Hi experts:
Can EM cloud Control(12c) can provide the following trend reports/analysis for Report Servers(11gFMW report service)?
average response times
current job load
job load
failed job ratio
current jobs
etc.
If EM cloud control (12c) have not the indicators , Can we progmram to realize the above indicators and save the indicators to EM cloud control database?
If we can do programming to monitor the indicatiors, Is there any development documents to reference?
Thanks
Regards
EdwardAny update?
Thanks -
Grid Control 12c and high availability databases
Hello,
In the context of high availability databses, my configuration is as follow:
2 AIX servers on 2 sites with shared storage -> Site1 and site2.
During normal operations databases are on site1. In case of disaster, databases can fallover on site2.
On my Grid Control, 2 agents are installed: One for AIX on site1 and one for AIX on site2.
Databases have been discovered on AIX:site1
Listener is a virtual address and can also fallover.
What are the possibility on the grid side ?
Do I have to discover also the databases on site2 ?
Actually, Listener is seen down on the site who has not the databases.
Is there a way to only configure the Listener virtual address on the Grid ?
RegardsHi,
Basically you have to relocate the targets to the new agent (the one installed on site2). I haven't done that, but I expect to work fairly easy and smooth. Refer to the following section of Cloud Control 12c manual:
Configuring Targets for Failover in Active/Passive Environments
Regards,
Sve -
Creation of reports from Grid control 12c
Hi All,
I wish to create some reports from Grid Control and push to mail especially looking for Daily Health Check report like Tablespace,Locks,Alertlog file errors,File systems,Archivelog files sync information in to one report.
Thanks in advance.The native reporting application i.e. Information Publisher does not support such a feature, but in you are using BI Publisher integrated with EM, then BIP allows you to control when to email reports. for example, on completion, on failure, etc ..
-
Datapump through grid control 12C
hi,
I have created a schema in database which has exp_full_database privilege to run datapump jobs (verified by running a datapump API job too). I have a os user(non dba group) which has ability to run expdp command.
I also created an administrator in grid 12C which has connect to target privilege on database target and execute any command privilege on host. However when I submit a datapump job using these credentails, the submission of job fails with error message as "user doesn't have privilege for this operation".
I am able to execute datapump API successfully from within database schema; using the on dba group os user, I am able to execute expdp command too successfully..
What am i missing? please help.It sounds like your Data Pump command is referencing the EM user instead of the schema owner. Look at the output log of the job; if you see "ORA-01031: insufficient privileges" then this is likely the case. The EM admin only needs sufficient privileges to exec the job; Data Pump is responsible for the database access and privileges.
Edited by: pschwart on Mar 14, 2013 5:59 PM -
Grid Control 12c - Rediscover a Weblogic-Reports target
Hello,
I am wondering on how to rediscover targets on previously discovered Weblogic Domain ?
In my case, some reports Servers are missing under the folder "Reports"
If I try to promote the domaine again, I have an error as it already exists ...
RegardsHello,
I have found how to it following the doc: Cloud Control_Getting_Started_Oracle Fusion Middleware_e24215
page 2-13/ Chapter : 2.3 Discovering New or Modified Domain Members.
Regards -
Removing incidents in grid control from backend repos database.
hi,
Like we remove alerts sometimes by deleting from mgmt_severity, is there any table which can help me remove some incidents which are not clearing in grid control 12C?
I really need it please.What kinds of incidents are not clearing?
For stateless incidents (such as logfile based incidents) you will need to manually clear the incident. You can remove the underlying alert using emcli clear_stateless_alerts.
http://docs.oracle.com/cd/E24628_01/em.121/e17786/cli_verb_ref.htm#CACGAEDI
The other alerts should be cleared by fixing the root cause after which the Incident should clear automatically.
Mark. -
GRID Control and management hostname
With a HA deployment you have to set :
emd.properties:#AgentListenOnAllNICs=FALSE
This is ok for me but the servers have 3 differents IP adresses (3 differents hostname), one is foucuss for management tasks and this is not the name registered by the Agent.
Do you know if it is possible to run host scripts (external jobs) with Grid Control and to specify the hostname where these jobs have to run by default the jobs will run on the hostname registered by the Agent.Hello,
There is currently no support for CEP in Grid Control.
andy -
Monitoring oracle database from OEM 12c grid control
Hi,
I am using OEM 12c grid control to analysis various server's performance. The application database in oracle database v11g. Is there any problem if i add database on oem to monitor? To be more clear, If it creates any conflict between database's em and oem's em when i want to deploy em agent on database ? Is it necessary to remove database's EM before installing oem agent on it?Rakesh,
Please refer to the following links:
SOA and Middleware Management
http://www.oracle.com/technology/products/oem/prod_focus/soa_mgmt.html
New Oracle Enterprise Manager Management Pack for SOA and Middleware Management
http://blogs.oracle.com/oem/2009/06/new_oracle_enterprise_manager_1.html
ORACLE ENTERPRISE MANAGER 10g: ORACLE MANAGEMENT PACK PLUS FOR SOA
http://www.oracle.com/technology/products/oem/pdf/ds_soa_mgmt_pack.pdf
Regards,
Hussein
Maybe you are looking for
-
Redetermination of condition table for a condition type
Hai Friends, I have a quiery regarding condition table redetermination from order to delivery.I have pricing procedure in which "ZMRP" is the mrp price for calculating other condition types.Here i have scenario While raising sales order ZMRP conditio
-
Deleting DB table contents using internal table
Hi Gurus, I have a requirement of deleting DB table contents. Requirement is as follows, User will select the DB table description in the seletion screen using drop down list. Whichever description he selects,the corresponding table contents should b
-
My airport express has a blinking yellow light and is not working. I have tried resetting it a few times, to no avail. My airport utility on my desktop detects it and will attempt to connect. However, after a few moments it says "An unexpected error
-
OBIEE - Calculated Measure and Row values.
Date Dimension = Dim Date Location Dimension = Dim Unit Fact Table = Fact Unit Svc Capacity The image linked below illustrates my problem. Combined screenshots The top screenshot is from MS Excel and shows the expected data for May 2012. Columns: Civ
-
Invoking the Java VM from a DLL
Hi, I'm trying to invoke the JVM from a Windows DLL using JNI -- my aim is to create the JVM when the DLL loads and destroy it when it unloads. Unfortunately, execution hangs when JNI_CreateJavaVM(...) is executed. The exact same JVM initialization c