CRS-1/8 upgrade from 3.9.2 to 4.3.0
Hi everybody!
I'm trying to upgrade a CRS-1/8 from 3.9.2 to 4.3.0
1) It's a CRS-1 with redundant RPs, I think it's not a problem.
http://www.cisco.com/en/US/partner/prod/collateral/routers/ps5763/product_bulletin_c25-663499.html
2) Current rommon version is 1.54. Also looks fine.
http://www.cisco.com/en/US/partner/docs/routers/crs/software/crs_r4.3/rommon/configuration/guide/b_rommon_cg_43xcrs_chapter_0110.html
3) Procedure:
To minimize downtime I used a PCMCIA card with 4.3.0 previously installed in a LAB router.
Without powering down the router I removed both RPs.
I inserted my disk0: with 4.3.0 in RP0 and inserted RP0.
The router started to boot up, but it went into a boot up loop. It didn't show any errors or failures.
I broke the loop with Ctrl+c, and in rommon could't see disk0:.
To recover, I used this procedure, but didn't try the upgrade again.
https://supportforums.cisco.com/message/4045146#4045146
Bootflash was corrupted. I assume I did it myself, but what should I do to prevent this from happening again?
Any advice?
Thanks, Diego.
Hi Diego,
to run 4.3.0 on CRS you need to upgrade rommonA and B with a version ≥ 2.01 beforehand.
Please note we officially support a PIE upgrade N+2. I.e. A direct upgrade from 3.9.2 to 4.3.0 is not supported officially.
It may work, though.
The alternatives you have is either Turboboot or an interim step e.g. 3.9.2 to 4.1.2, then 4.1.2 to 4.3.0.
But nevertheless you have to upgrade rommon first.
Regards
Frank
Similar Messages
-
Plese check command upgrade from crs 10.1.0.4 to 10.2.0.4
Is it right?
# Upgrade from 10.1.0.4 to 10.2.0.1
- Keep my old $CRS_HOME
- DO not change .profile file
Step1 : node 2
1) copy "CRS 10.2.0.1 install files" to on node1
2) log on my node1 as root user
3) cd "CRS 10.2.0.1 install files" folders
4) [run] sh preupdate.sh
5) [type] ./runInstaller
6) check "t o per f or m a r olling upgr a de by ins t a lling Or a cle Da t a ba s e 10g Relea s e 2 (10.2) Or a cle Clus t er wa r e on a s ubs et of clus t er member nodes ." option
7) run $ CRS_home/install/root upgrade.sh
Step2 : nodo2
1) copy "CRS 10.2.0.1 install files" to on node2
2) log on my node1 as root user
3) cd "CRS 10.2.0.1 install files" folders
4) [run] sh preupdate.sh
5) [type] ./runInstaller
6) check "t o per f or m a r olling upgr a de by ins t a lling Or a cle Da t a ba s e 10g Relea s e 2 (10.2) Or a cle Clus t er wa r e on a s ubs et of clus t er member nodes ." option
7) run $ CRS_home/install/root upgrade.sh
# Upgrade from 10.2.0.1 to 10.2.0.4
Step1 : node1
1) copy "CRS 10.2.0.4 patchset files" to on node1
2) log on my node1 as root user
3) cd "CRS 10.2.0.4 patchset files" folders
4) [type] ./runInstaller
- Welcome Screen
Click Next
- Specify File Locations
choose the CRS_home and click Next (selection the CRS_home will automatically select and upgrade the CRS software)
- Selected Nodes
All nodes should be automatica lly selected click Next
- Summary
Click Next
- Inst ll
- End of Installation
(in a new window the final patch install insructions will displayed)
5) Shutdown the CRS daemons by issuing t he following comma nd:
crsctl stop crs
6) sh root102.sh
Step1 : node2
1) Shutdown the CRS daemons by issuing t he following comma nd:
crsctl stop crs
2) sh root102.shHello Marc,
i think you are mixing up two things
10.1.0.4 = 10g R1 with Patchset 4
10.2.0.2 = 10g R2 with Patchset 2
10.2.0.4 = 10g R2 with Patchset 4
So you always upgrade from 10g R1 to 10g R2 .. and then is the question which Patchset for 10g R2.
I would use 10gR2 with Patchset 4, because there are some nice features and not so many bug fixes to apply.
Regards
Stefan -
LDAP Change in Upgrade from CRS XI to CRS 2008
We are in the process of upgrading from Crystal Reports Server XI R1 to Crystal Reports Server 2008 R1. Both systems are up and operational on separate Windows virtual servers. The old XI installation was using LDAP authentication from a SUN server. The new 2008 installation is using LDAP authentication from an IBM Directory Server.
The question that I have is related to using the Import Wizard. Since we have different third party LDAP authentication vendors and both are operating correctly right now, can we export all of the users, groups, folders, objects, instances, etc from the XI box to the 2008 box? I know we have to import everything together in order to preserve security, but will it work with different types of LDAP users? The LDAP group is different and I wasn't sure if CRS 2008 would recognize the users from the other LDAP group. I cannot find any documentation on changing LDAP server types for an import.Sorry for the confusion, I did not state that question very clearly. That is exactly what I meant. There is only one group for LDAP that we are not using for security. We have Enterprise groups that we have created that we are using for the bulk of our security setup. I'd like to import the Enterprise groups then assign the new users to imported Enterprise groups.
Thanks so much for your response. It was very helpful! -
Upgrade from CRS 3.5(2) to 7.0
Hi,
I have two questions about upgrading CRS (IPCC and IVR) from 3.5(2) to 7.0:
(1)Is it possible to reuse all the old scripts? Can we just upload all the scripts to the new system?
(2) Is it possible to let UCCX7.0 and IP IVR 7.0 co-exist on one server?
Thanks a lots.The first thing to understand is the upgrade path for CCM (now UCM). Each version of CCX has specific versions of CCM/UCM it is compatible with. Generally speaking, an upgrade of one requires an upgrade to the other.
Software and Hardware Compatibility Guide for Cisco Unified CCX and Cisco Unified IP IVR
The only actual upgrade path is to get to version 4.0(5)a. From there you can upgrade to 7.0 using a migration tool. A full server format is required between 4.x and 7.x for CCX. Also during this migration you will need to migrate UCM to the Linux appliance based model. Plan carefully.
Cisco CRS Installation Guide, 4.0(5)
UCCX Data Migration Tool Guide 4.0.5x to 7.0.1
Installation Guide for Cisco Unified CCX and Cisco Unified IP IVR, Release 7.0(1)
In some scenarios there is such a significant amount of work to get from the 3.x train to a current release it is easier to backup the data manually and start over. -
Cisco CRS-1/8 to CRS-3/8 upgrade
Hi Folks,
has any body done CRS-1/8 to CRS-3/8 upgrade smoothly ? from the CCO I could find only that it needs IOS-XR 4.0 and Fabric Upgrade.
just want to make sure these are the only two actions to perform to make CRS-1 to CRS-3,
my upgrading procedure will be as follows
1. Upgrade the code to IOS-XR 4.0 with CRS-1 fabric.
2. once the router is loaded with 4.0, replace Fabric cards one by one.
Need your comments.
Rgds
HarinHello Harin,
your procedure looks like reasonable, various rommon firmware upgrades should be part of first step as necessary.
Hope to help
Giuseppe -
I recently upgraded from 3Gs to Iphone4 and want to use my old 3Gs as an ipod. how can i update
the user ID on the 3gs to a new one that I have as it is still showing a previous user ID?Settings>Store...tap the ID shown...sign out...sign back in with the ID you want to use.
-
Is it really possible to upgrade from a Treo 650 to a Treo 750?
I am not a very happy customer at the moment, but any help would be greatly appreciated. I upgraded from my old Palm Tungsten to a Zire, then to a Cingular Treo 650, combining three devices into one. I have since discovered that the Treo 650 seems to have a faulty transmission mode, as I can rarely be clearly understood by whomever I call. Am on the second (or third, I have lost track) and continue to have the same problem. I get five bars of reception but can't be understood on the other end. A bit of a problem when one is trying to call 911. Am constantly told I am "breaking up". The repair shop says it "Can't duplicate the problem". OK, then I do not want to give up all the info I have stored in the fool thing, and the 750 seems to have a different system, so I thought I would try that. All the stuff I could find seemed to indicate it wouldn't be a problem to upgrade. When the 750 arrived, I tried to install the software from the CD on my Windows XP computer. No dice. Setup encounters an error and closes. Can't even look at the files, because setup tries to run any time I access the CD. From any drive. Gave it to my girlfiend to check on her computer, and the CD seemed to run fine. Other CDs work just fine on my computer. Must be some kind of conflict, but what? Tried calling the AT&T number that suggested they could help with setup, and was first connected to the business center, they routed me to the laptop center, who routed me to the network center, who said they would have to bring in the Palm customer service and connected me to a Mac guy that dumped me back to a menu that took me to someone for whom English is a second language with whom I was trying to communicate over a very poor satellite connection. They made no sense anyway. telling me first that I couldn't have two desktops running (wrong, my girlfriend has my old Zire and the CD worked fine) and then insisting that the serial number on my device had to start with a P, when it clearly does not have any alpha characters in it. Gave up on that route of assistance. Managed to get the new ActiveSync installed from my girlfriends computer over the network. Great. Now let's get my 650 synced with Outlook (which I have not used at home) and see if we can move on. Nope. First I have to update Outlook 2000 from the old Win98 to my current XP. Find the old CD, and square that away. OK, now sync to Outlook. Nope. The sync program gives an error, saying it will only sync with Outlook 98, 2000, and XP(2002). Good grief. I have Outlook 2000, and the software apparently does not recognize it. If the Palm doesn't work, there is no reason for me to keep this phone, and I am very close to returning it and abandoning the Palm entirely when I upgrade to something that works, although I dread re-entering all that information.
Post relates to: Treo 750 (AT&T)
This question was solved.
View Solution.Thanks for the feedback. Today I installed an Enterprise version of Office 2007 I purchased a while back, but had not yet installed. Microsoft presented a few challenges, but they were quickly resolved. I then downloaded the appropriate conduit from Palm, and synced the 650 with the handheld overwriting the computer. Then used Active Destop to sync the 750. Satisfied I had moved as much info as possible, I called AT&T and had them move the phone number to the new Treo.
Bonus! When the guy at AT&T called me on the new phone to verify it, he said it sounded better than my landline.
Sorry for the streaming paragraph. When it is late I tend to write like I think.
Dave
Post relates to: Treo 750 (AT&T) -
I upgraded from iPhone 3GS to iPhone 6. Everything converted fine. Yesterday I deleted an app in error. When I downloaded the software it from iTunes ( did this many times on the old 3GS), my account is no longer recognized by the app's host servers (Playtika), even though it did after the initial conversion. Can I go back and re-sync just one app from my old phone?
Try deleting what is called the iPod Photo Cache.
http://support.apple.com/kb/TS1314 -
I Have downloaded the upgrade from Mountain Lion to Yosemite. In thee process of so doing I have lost access to iTunes.
The app on desktop no longer opens the program and having downloaded and installed as per Apple instructions, can not make a connection.Hi, drjbuchanan.
Thank you for visiting Apple Support Communities.
Here are some troubleshooting steps that I would recommend going through when experiencing this issue.
iTunes: Troubleshooting issues with third-party iTunes plug-ins
http://support.apple.com/en-us/ts3430
Troubleshooting iTunes installation on Mac OS X
http://support.apple.com/en-us/ht2311
Cheers,
Jason H. -
Can't print from IE 8 after upgrading from Vista to Windows 7
My laptop (HP Elitebook 8530w) uses two HP printers: Color LaserJet CP3525x (at work) and Deskjet 6940 (at home). Both printers are accessed across a local network.
I recently upgraded from Vista Enterprise to Windows 7 Enterprise.
Everything still prints fine (from Word, Adobe Reader, Windows Photo Viewer, etc.), except for IE 8! When I try to print a web page from IE, it prints only the page header, and otherwise the sheet is empty. This symptom occurs on both printers. (And of course this worked fine before the upgrade.)
Any ideas? Thanks for any help.
Jeff
This question was solved.
View Solution.(same poster)
If anyone else is having this problem, I found the solution on another forum (http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/920588e5-ccc4-4e24-83d6-606...).
Specifically, the following steps solved the problem:
1. If it doesn't already exist, create a directory named "Low" in your directory "C:\Users\<your_user_name>\AppData\Local\Temp\".
2. From a command prompt, issue this command: ICACLS C:\Users\<your_user_name>\AppData\Local\Temp\Low /setintegritylevel (OI)(CI)low
Jeff -
Fields in read-only mode for BP transaction in upgrade from 4.72 to ECC6.0
Hello,
This is regarding the query for BP transaction in upgrade from 4.72 to ECC 6.0.
While creating BP / Changing BP system is disabling the fields in compnay code & sales area option. There is a SAP not provided 907860; and specified that the proplem is because of the delta customizing.
All the customization settings are as per the note. And the Synchronization Control is also activated. But still the fields are disabled only.
I have checked the field settings also in Cross-Application-Components & Logistic-Genral.
But these are not working for compnay code & sales area data.
please let me know if anyone has faced this type of problem / found any solution on this.
Best Regards,
ShubhadaSAP IMG -> Cross Application Components -> Master Data Synchronization  Synchronization Control -> Synchronization Control -> Activate Synchronization options
This setting allows you to activate synchronization of BP with R/3. Not maintaining the values may result in certain fields being read-only in BP.
Suggested Values:
Source Object: BP | Target Object: CUSTOMER | Active Indicator : X
Source Object: BP | Target Object: VENDOR | Active Indicator : X
Source Object: CUSTOMER | Target Object: BP | Active Indicator : X
Source Object: VENDOR | Target Object: BP | Active Indicator : X
Have you set all of the above settings??
BHARATH -
Error in Access VBA Application when upgrading from Acrobat 8.0 to 9.0
Hello.
The company that I work for recently upgraded from Adobe Acrobat 8.0 to 9.0 and I`m experiencing some problems with my Access 2003 VBA Application that extracts text from PDF-files and insert it into a table. I have tried adding references to Adobe 9.0 Type Library, but still no luck. Anyone having any ideas for a workaround? See attatched image for error-message. Any help will be greatly appreciated!
Regards,
SteffanPublic Function lesPDF()
'On Error Resume Next
Dim MyDB As Database, EplanSet As DAO.Recordset, ResultSet As DAO.Recordset, SideSet As DAO.Recordset, TekstSet As DAO.Recordset
Dim AcroApp As CAcroApp
Dim AcroAVDoc As CAcroAVDoc
Dim AcroPDDoc As CAcroPDDoc
Dim AcroHiliteList As CAcroHiliteList
Dim AcroTextSelect As CAcroPDTextSelect
Dim PageNumber, PageContent, i, j
Dim Ferdig As Boolean
Dim StartPos, Length As Double
Dim PartSyntax() As String
Dim DocType() As String
Dim Content, strFileName, Temp As String
Dim k, Lengde As Integer
Plant = Form_Autoexec.cmbPlant.Value
Set AcroApp = CreateObject("AcroExch.App")
Set AcroAVDoc = CreateObject("AcroExch.AVDoc")
Set MyDB = DBEngine.Workspaces(0).Databases(0)
EplanSet.MoveLast
EplanSet.MoveFirst
Do Until EplanSet.EOF
strFileName = EplanSet!path & EplanSet!File
If AcroAVDoc.Open(strFileName, vbNull) <> True Then
Exit Function
End If
Set AcroAVDoc = AcroApp.GetActiveDoc
Set AcroPDDoc = AcroAVDoc.GetPDDoc
Here is some of the code, where the program stops is marked in red. This worked perfectly with Adobe 8.0. Thaks for any help or suggestions! -
Upgrade from R/3 4.6C to ECC 6.00 : languages
Hi,
We're trying to upgrade from SAP R/3 4.6C to ECC 6.00 under NT environment, having Oracle as database. During the preparation phase, we got the following error, and in our current SAP system R/3 we have 2 additional languages NL and FR (EN and DE are already in), can you please explain why this phase is blocking in this step, and if I continue I've to do a full language import, thanks in advance.
The following language(s) could not be updated yet:
- French for component EA-APPL
- French for component EA-DFPS
- French for component EA-FINSERV
- French for component EA-GLTRADE
- French for component EA-HR
- French for component EA-IPPE
- French for component EA-PS
- French for component EA-RETAIL
- French for component ECC-DIMP
- French for component ERECRUIT
- French for component FI-CA
- French for component FI-CAX
- French for component FINBASIS
- French for component INSURANCE
- French for component IS-CWM
- French for component IS-H
- French for component IS-M
- French for component IS-OIL
- French for component IS-PS-CA
- French for component IS-UT
- French for component LSOFE
- French for component PI_BASIS
- French for component SAP_ABA
- French for component SAP_AP
- French for component SAP_APPL
- French for component SAP_BASIS
- French for component SAP_BW
- French for component SAP_HR
- French for component SEM-BW
- French for component ST-PI
- Dutch for component EA-APPL
- Dutch for component EA-DFPS
- Dutch for component EA-FINSERV
- Dutch for component EA-GLTRADE
- Dutch for component EA-HR
- Dutch for component EA-IPPE
- Dutch for component EA-PS
- Dutch for component EA-RETAIL
- Dutch for component ECC-DIMP
- Dutch for component ERECRUIT
- Dutch for component FI-CA
- Dutch for component FI-CAX
- Dutch for component FINBASIS
- Dutch for component INSURANCE
- Dutch for component IS-CWM
- Dutch for component IS-H
- Dutch for component IS-M
- Dutch for component IS-OIL
- Dutch for component IS-PS-CA
- Dutch for component IS-UT
- Dutch for component LSOFE
- Dutch for component PI_BASIS
- Dutch for component SAP_ABA
- Dutch for component SAP_AP
- Dutch for component SAP_APPL
- Dutch for component SAP_BASIS
- Dutch for component SAP_BW
- Dutch for component SAP_HR
- Dutch for component SEM-BW
- Dutch for component ST-PI
Please mount another Language Disk for these language(s).
If you do not have further Language Disk(s), you may
continue, but the languages mentioned above will be lost
after the upgrade. A full language import has to be
performed after the upgrade to reinstall the language(s).
? continue
? cancelHi Markus,
I've introduce the following information:
> MOUNT POINT 07 = S:\export\Data\CDLAN2
> MOUNT POINT 01 = S:\export\Data\KN_WINDOWS_X86_64_AUPG
> MOUNT POINT 06 = S:\export\Data\CDLAN1
> MOUNT POINT 05 = S:\export\Data\CD3
> MOUNT POINT 03 = S:\export\Data\CD1
> MOUNT POINT 08 = S:\export\Data\UMN_WINDOWS_X86_64
> MOUNT POINT 02 = S:\export\Data\KN_WINDOWS_X86_64
> MOUNT POINT 04 = S:\export\Data\CD2
And in mount point 06/07 we have the languages.
The content of the trace file is:
here's the complete trace:
2007/07/05 16:35:01 *****************************
2007/07/05 16:35:01 Checking directories ...
2007/07/05 16:35:01 Searching for Data Carrier labeled AOXUPGR
Adding path: S:\export\Data\KN_WINDOWS_X86_64_AUPG
2007/07/05 16:35:01 Working on S:\export\Data\KN_WINDOWS_X86_64_AUPG ... no matching label
Adding path: S:\export\Data\KN_WINDOWS_X86_64
2007/07/05 16:35:01 Working on S:\export\Data\KN_WINDOWS_X86_64 ... no matching label
Adding path: S:\export\Data\CD1
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CD1
Adding path: S:\export\Data\CD1\UPG1
Adding path: S:\export\Data\CD1\UPG2
Adding path: S:\export\Data\CD1\UPG3
Adding path: S:\export\Data\CD1\UPG4
Adding path: S:\export\Data\CD1\UPG5
Adding path: S:\export\Data\CD1\UPG6
2007/07/05 16:35:01 Directory structure below S:\export\Data\CD1 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CD1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG3 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG4 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG5 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD1\UPG6 ... no matching label
Adding path: S:\export\Data\CD2
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CD2
Adding path: S:\export\Data\CD2\UPG7
Adding path: S:\export\Data\CD2\UPG8
Adding path: S:\export\Data\CD2\UPG9
Adding path: S:\export\Data\CD2\UPG10
Adding path: S:\export\Data\CD2\UPG11
Adding path: S:\export\Data\CD2\UPG12
2007/07/05 16:35:01 Directory structure below S:\export\Data\CD2 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CD2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG7 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG8 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG9 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG10 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG11 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD2\UPG12 ... no matching label
Adding path: S:\export\Data\CD3
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CD3
Adding path: S:\export\Data\CD3\UPG13
Adding path: S:\export\Data\CD3\UPG14
Adding path: S:\export\Data\CD3\UPG15
Adding path: S:\export\Data\CD3\UPG16
2007/07/05 16:35:01 Directory structure below S:\export\Data\CD3 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CD3 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG13 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG14 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG15 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CD3\UPG16 ... no matching label
Adding path: S:\export\Data\CDLAN1
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CDLAN1
Adding path: S:\export\Data\CDLAN1\LANG1
Adding path: S:\export\Data\CDLAN1\LANG2
Adding path: S:\export\Data\CDLAN1\LANG3
Adding path: S:\export\Data\CDLAN1\LANG4
2007/07/05 16:35:01 Directory structure below S:\export\Data\CDLAN1 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG1 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG3 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN1\LANG4 ... no matching label
Adding path: S:\export\Data\CDLAN2
2007/07/05 16:35:01 Resolving directory structure below S:\export\Data\CDLAN2
Adding path: S:\export\Data\CDLAN2\LANG5
Adding path: S:\export\Data\CDLAN2\LANG6
2007/07/05 16:35:01 Directory structure below S:\export\Data\CDLAN2 resolved
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN2 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN2\LANG5 ... no matching label
2007/07/05 16:35:01 Working on S:\export\Data\CDLAN2\LANG6 ... no matching label
Adding path: S:\export\Data\UMN_WINDOWS_X86_64
2007/07/05 16:35:01 Working on S:\export\Data\UMN_WINDOWS_X86_64 ... no matching label
Regards,
A.Kamel -
I've recently completed a database upgrade from 10.2.0.3 to 11.2.0.1 using the DBUA.
I've since encountered a slowdown when running a script which drops and recreates a series of ~250 tables. The script normally runs in around 19 seconds. After the upgrade, the script requires ~2 minutes to run.
By chance has anyone encountered something similar?
The problem may be related to the behavior of an "after CREATE on schema" trigger which grants select privileges to a role through the use of a dbms_job call; between 10g and the database that was upgraded from 10G to 11g. Currently researching this angle.
I will be using the following table creation DDL for this abbreviated test case:
create table ALLIANCE (
ALLIANCEID NUMBER(10) not null,
NAME VARCHAR2(40) not null,
CREATION_DATE DATE,
constraint PK_ALLIANCE primary key (ALLIANCEID)
using index
tablespace LIVE_INDEX
tablespace LIVE_DATA;When calling the above DDL, an "after CREATE on schema" trigger is fired which schedules a job to immediately run to grant select privilege to a role for the table which was just created:
create or replace
trigger select_grant
after CREATE on schema
declare
l_str varchar2(255);
l_job number;
begin
if ( ora_dict_obj_type = 'TABLE' ) then
l_str := 'execute immediate "grant select on ' ||
ora_dict_obj_name ||
' to select_role";';
dbms_job.submit( l_job, replace(l_str,'"','''') );
end if;
end;
{code}
Below I've included data on two separate test runs. The first is on the upgraded database and includes optimizer parameters and an abbreviated TKPROF. I've also, included the offending sys generate SQL which is not issued when the same test is run on a 10g environment that has been set up with a similar test case. The 10g test run's TKPROF is also included below.
The version of the database is 11.2.0.1.
These are the parameters relevant to the optimizer for the test run on the upgraded 11g SID:
{code}
SQL> show parameter optimizer
NAME TYPE VALUE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.2.0.1
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 8
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACT
SQL> column sname format a20
SQL> column pname format a20
SQL> column pval2 format a20
SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 03-11-2010 16:33
SYSSTATS_INFO DSTOP 03-11-2010 17:03
SYSSTATS_INFO FLAGS 0
SYSSTATS_MAIN CPUSPEEDNW 713.978495
SYSSTATS_MAIN IOSEEKTIM 10
SYSSTATS_MAIN IOTFRSPEED 4096
SYSSTATS_MAIN SREADTIM 1565.746
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED 2310
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selected.
{code}
Output from TKPROF on the 11g SID:
{code}
create table ALLIANCE (
ALLIANCEID NUMBER(10) not null,
NAME VARCHAR2(40) not null,
CREATION_DATE DATE,
constraint PK_ALLIANCE primary key (ALLIANCEID)
using index
tablespace LIVE_INDEX
tablespace LIVE_DATA
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 4 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 0 4 0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 324
{code}
... large section omitted ...
Here is the performance hit portion of the TKPROF on the 11g SID:
{code}
SQL ID: fsbqktj5vw6n9
Plan Hash: 1443566277
select next_run_date, obj#, run_job, sch_job
from
(select decode(bitand(a.flags, 16384), 0, a.next_run_date,
a.last_enabled_time) next_run_date, a.obj# obj#,
decode(bitand(a.flags, 16384), 0, 0, 1) run_job, a.sch_job sch_job from
(select p.obj# obj#, p.flags flags, p.next_run_date next_run_date,
p.job_status job_status, p.class_oid class_oid, p.last_enabled_time
last_enabled_time, p.instance_id instance_id, 1 sch_job from
sys.scheduler$_job p where bitand(p.job_status, 3) = 1 and
((bitand(p.flags, 134217728 + 268435456) = 0) or
(bitand(p.job_status, 1024) <> 0)) and bitand(p.flags, 4096) = 0 and
p.instance_id is NULL and (p.class_oid is null or (p.class_oid is
not null and p.class_oid in (select b.obj# from sys.scheduler$_class b
where b.affinity is null))) UNION ALL select
q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid,
q.last_enabled_time, q.instance_id, 1 from sys.scheduler$_lightweight_job
q where bitand(q.job_status, 3) = 1 and ((bitand(q.flags, 134217728 +
268435456) = 0) or (bitand(q.job_status, 1024) <> 0)) and
bitand(q.flags, 4096) = 0 and q.instance_id is NULL and (q.class_oid
is null or (q.class_oid is not null and q.class_oid in (select
c.obj# from sys.scheduler$_class c where
c.affinity is null))) UNION ALL select j.job, 0,
from_tz(cast(j.next_date as timestamp), to_char(systimestamp,'TZH:TZM')
), 1, NULL, from_tz(cast(j.next_date as timestamp),
to_char(systimestamp,'TZH:TZM')), NULL, 0 from sys.job$ j where
(j.field1 is null or j.field1 = 0) and j.this_date is null) a order by
1) where rownum = 1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.47 0.47 0 9384 0 1
total 3 0.48 0.48 0 9384 0 1
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Rows Row Source Operation
1 COUNT STOPKEY (cr=9384 pr=0 pw=0 time=0 us)
1 VIEW (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=6615380 card=194570)
1 SORT ORDER BY STOPKEY (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=11479630 card=194570)
194790 VIEW (cr=9384 pr=0 pw=0 time=537269 us cost=2563 size=11479630 card=194570)
194790 UNION-ALL (cr=9384 pr=0 pw=0 time=439235 us)
231 FILTER (cr=68 pr=0 pw=0 time=920 us)
231 TABLE ACCESS FULL SCHEDULER$_JOB (cr=66 pr=0 pw=0 time=690 us cost=19 size=13157 card=223)
1 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=2 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
1 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
0 FILTER (cr=3 pr=0 pw=0 time=0 us)
0 TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB (cr=3 pr=0 pw=0 time=0 us cost=2 size=95 card=1)
0 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
0 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
194559 TABLE ACCESS FULL JOB$ (cr=9313 pr=0 pw=0 time=167294 us cost=2542 size=2529254 card=194558)
{code}
and the totals at the end of the TKPROF on the 11g SID:
{code}
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 4 0
Fetch 0 0.00 0.00 0 0 0 0
total 3 0.00 0.00 0 0 4 0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 70 0.00 0.00 0 0 0 0
Execute 85 0.01 0.01 0 62 208 37
Fetch 49 0.48 0.49 0 9490 0 35
total 204 0.51 0.51 0 9552 208 72
Misses in library cache during parse: 5
Misses in library cache during execute: 3
35 user SQL statements in session.
53 internal SQL statements in session.
88 SQL statements in session.
Trace file: 11gSID_ora_17721.trc
Trace file compatibility: 11.1.0.7
Sort options: default
1 session in tracefile.
35 user SQL statements in trace file.
53 internal SQL statements in trace file.
88 SQL statements in trace file.
51 unique SQL statements in trace file.
1590 lines in trace file.
18 elapsed seconds in trace file.
{code}
The version of the database is 10.2.0.3.0.
These are the parameters relevant to the optimizer for the test run on the 10g SID:
{code}
SQL> show parameter optimizer
NAME TYPE VALUE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 10.2.0.3
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
db_file_multiblock_read_count integer 8
SQL> show parameter db_block_size
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACT
SQL> column sname format a20
SQL> column pname format a20
SQL> column pval2 format a20
SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
SNAME PNAME PVAL1 PVAL2
SYSSTATS_INFO STATUS COMPLETED
SYSSTATS_INFO DSTART 09-24-2007 11:09
SYSSTATS_INFO DSTOP 09-24-2007 11:09
SYSSTATS_INFO FLAGS 1
SYSSTATS_MAIN CPUSPEEDNW 2110.16949
SYSSTATS_MAIN IOSEEKTIM 10
SYSSTATS_MAIN IOTFRSPEED 4096
SYSSTATS_MAIN SREADTIM
SYSSTATS_MAIN MREADTIM
SYSSTATS_MAIN CPUSPEED
SYSSTATS_MAIN MBRC
SYSSTATS_MAIN MAXTHR
SYSSTATS_MAIN SLAVETHR
13 rows selected.
{code}
Now for the TKPROF of a mirrored test environment running on a 10G SID:
{code}
create table ALLIANCE (
ALLIANCEID NUMBER(10) not null,
NAME VARCHAR2(40) not null,
CREATION_DATE DATE,
constraint PK_ALLIANCE primary key (ALLIANCEID)
using index
tablespace LIVE_INDEX
tablespace LIVE_DATA
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.01 0 2 16 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.01 0.01 0 2 16 0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 113
{code}
... large section omitted ...
Totals for the TKPROF on the 10g SID:
{code}
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 1 0.00 0.02 0 0 0 0
Execute 1 0.00 0.00 0 2 16 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.02 0 2 16 0
Misses in library cache during parse: 1
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 65 0.01 0.01 0 1 32 0
Execute 84 0.04 0.09 20 90 272 35
Fetch 88 0.00 0.10 30 281 0 64
total 237 0.07 0.21 50 372 304 99
Misses in library cache during parse: 38
Misses in library cache during execute: 32
10 user SQL statements in session.
76 internal SQL statements in session.
86 SQL statements in session.
Trace file: 10gSID_ora_32003.trc
Trace file compatibility: 10.01.00
Sort options: default
1 session in tracefile.
10 user SQL statements in trace file.
76 internal SQL statements in trace file.
86 SQL statements in trace file.
43 unique SQL statements in trace file.
949 lines in trace file.
0 elapsed seconds in trace file.
{code}
Edited by: user8598842 on Mar 11, 2010 5:08 PMSo while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
"Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table." -
Hi Microsoft,
Since we have upgraded from Exchange 2007 to 2013 users complain their conversations in Outlook are no longer grouped based on the subject of an e-mail. I looks like Outlook uses other message properties for grouping e-mails in a conversation.
I have investigated all the forum topics and see that with exchange 2010 there is support added for the use of conversation-ID's. However the functionality to automatically group e-mails with the same subject in one conversation in Outlook is gone!
I would like to know if there is a fix to implement so that some our users get this functionality back. For Example: Let the exchange server not generate conversation-ID's and message-ID's for certain users.
Your help is greatly appreciated!Totally correct!
If you don't plan to maintain Outlook then you plan to fail :(
Additional links etc are in here:
http://blogs.technet.com/b/rmilne/archive/2013/07/18/patching-exchange-don-t-overlook-outlook.aspx
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Maybe you are looking for
-
HI I have already installed OEM Grid control 10g R2 (10.2.0.1) on Oracle Enterprise Linux Server. I have already purchased and using licence for management packs. Now I want to install new OEM Grid Control 11g R1 on the same Server. Do I have to purc
-
Aperture JPEG export observations
I exported 3 jpegs full-size with the following compression quality number (1-12): 10 resulted in a file of ~ 2.5 MB 11 resulted in a file of ~ 3.5 MB 12 resulted in a file of (incredibly!) 10.5 MB !! Why is there such a big jump from 11 to 12? And y
-
Aperture on a 4 years old Mac book.
Hi, A would like to open my *.NEF files of my camera (D5100 Canon). For this I have seen that I need the last updates of Apreture but I only have the 10.5.8 update of Mac OS X, and I have seen that I need the Mac OS X Lion update so the Mac OS X Snow
-
Hi I hit the following error during the data load through sqlldr ORA-39776: fatal Direct Path API error loading table and i hit the following error and sqlldr job terminated and internal error code ORA-00600: internal error code, arguments: [kohdtf04
-
why does it take iMovie longer to import video than the length of the video? For example- it took 2 mins and 15 secs to import 2 mins and 4 secs of video...