CRS. Bootflash defragmentation
Hi,
I have to do a bootflash defragmentation on CRS-3. I already have a procedure but I have a question about the FP-140 cards. As I could see the RP, MSC and FP40 have a bootflash, but I´m not sure if FP-140 has a bootflash.
I ask this because when I apply the show command to check fragmentation state in each FP140 card I get the following error:
0/0/CPU0 FP-140G 14-10GbE IOS XR RUN PWR,NSHUT,MON
RP/0/RP0/CPU0:CRS#show filesystem bootflash: filesys location 0/0/CPU0 | include Stale
Mon Oct 1 16:56:10.115 SCHILE
Unable to open file : No such file or directory
But when I apply the command to another type of card I can see the % of fragmentation:
0/2/CPU0 MSC 8-10GbE IOS XR RUN PWR,NSHUT,MON
RP/0/RP0/CPU0:STGO-LACI-P1#show filesystem bootflash: filesys location 0/2/CPU0 | include Stale
Mon Oct 1 16:56:29.454 SCHILE
Stale : 25896652 Bytes 41%
I hope that somebody could help me.
Thanks,
Jaime.
Hi Jaime, Sam,
no more SP in the CRS-3 line cards (FP140...), all the environmental monitoring is done by an embedded board now.
The bootflash has been replaced by a eUSB of 4GB in the card (lcdisk0: and lcdisk0a:). You don't need to defrag it.
Cheers,
N.
Similar Messages
-
How can you identify when a RP has a bootflash failure on CRS-1?
Hi Everyone,
I am hoping someone can assist me in identifying when a RP has a bootflash issue and requires RMA. We have some CRS-1 running in our network with IOS XR 3.8.2 and some with 4.0.3. All the commands that I am aware of do not identify when a RP has a problem in bootflash. CCO recommends that if there is a problem with upgrade and you are moving to a code using filesystem fat 32 that you format the bootflash of the RP's. It was at this point we started having issues. We went into ROMMON and recieved the following error.
rommon B1 > dir bootflash:disk0/hfr-os-mbi-4.0.3 Checksum failed on hfr-fslib-m
Expected checksum: 6a53, calculated checksum: beba
open: file "hfr-fslib-m" not found
loadprog: error - on file open
cannot load the monitor library "bootflash:%hfr-fslib-m" from device
If someone has some insight on how we can validate the state of the RP outside of the typical command set:
show redundancy summary
show platform
etc
I'd appreciate it.
Cheers,
RashmiHi,
Provide some more information on your problem.
If you want to check the directory contect try
dir bootflash:
is it displaying any output?
In general above error doesn't indicate that there is any problem but it is not able to find particular directory or file.
Thanks
Parthiv -
CRS-1 boot failed problem ( REDFS-5-INIT_FAILED)
Hi expert ,
today I face new problem with one RP , :
Initializing DDR SDRAM...found 4096 MB
Initializing ECC on bank 0
Initializing ECC on bank 1
Initializing ECC on bank 2
Initializing ECC on bank 3
Turning off data cache, using DDR for first time
Initializing NVRAM...
Testing a portion of DDR SDRAM ...done
Reading ID EEPROMs ...
Initializing SQUID ...
Initializing PCI ...
PCI0 device[1]: Vendor ID 0x10ee
PCI0 device[1]: Device ID 0x300e
PCI1 device[1]: Device ID 0x1100
PCI1 device[1]: Vendor ID 0x1013
PCI1 device[2]: Device ID 0x680
PCI1 device[2]: Vendor ID 0x1095
PCI1 device[3]: Device ID 0x5618
PCI1 device[3]: Vendor ID 0x14e4
Configuring MPPs ...
Configuring PCMCIA slots ...
System Bootstrap, Version 1.53(20090311:225342) [CRS-1 ROMMON],
Copyright (c) 1994-2009 by Cisco Systems, Inc.
Acquiring backplane mastership ........failed
Board type is 0x100002 (1048578)
Switch 0 initialized
Backplane FE port Up... Enabling
Enabling watchdog
G4(7457-NonSMP-MV64360 Rev 4) platform with 4096 MB of main memory
Acquiring backplane mastership....failed.
Unable to access backplane ... invoking READ EEPROM protocol
Enabling only inter-RP port... successful
Sending backplane ID EEPROM read request
Our MAC address is 0249.4450.0008
Interface link changed state to UP.
Sending ID EEPROM read request.
HIT CTRL-C to abort
ID EEPROM read request successful.
Reconfiguring switches with default config ...
Chassis type: 484
CARD_RACK_NUMBER: 0
CARD_SLOT_NUMBER: 0
CPU_INSTANCE: 1
RACK_SERIAL_NUMBER: TBM13332678
MBI Validation starts ...Our MAC address is 001e.1392.84ee
Interface link changed state to UP.
Interface link state up.
MBI validation sending request.
HIT CTRL-C to abort
MBI validation sending request.
HIT CTRL-C to abort
mbi_val_process_packet: received response.
RACK_NUM = 0, RACK_TYPE=0
Local image to boot : bootflash:disk0/hfr-os-mbi-3.8.2/mbihfr-rp.vm
boot: booting from bootflash:disk0/hfr-os-mbi-3.8.2/mbihfr-rp.vm
tracelogger: starting tracing in background ring mode
tracelogger running with args: -startring -F 1 -F 2
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS XR Software for the Cisco XR HFR, Version 3.8.2
Copyright (c) 2009 by Cisco Systems, Inc.
This (D)RP Node is not ready or active for login /configuration
This (D)RP Node is not ready or active for login /configuration
RP/0/RP0/CPU0:Jan 15 09:28:36 : redfs_svr[83]: %OS-REDFS-5-INIT_FAILED : Failed to initialize no devices available: 0x13:No such device
and reboot again , I disabled WATCHDOG but nothing happen,?
this is the show platform from RP0
RP/0/RP1/CPU0:BGD-JAD-PGW1#sh plat
Wed Jan 15 12:08:50.549 Iraq
[KNode Type PLIM State Config State
0/0/CPU0 MSC Jacket Card IOS XR RUN PWR,NSHUT,MON
0/0/0 MSC(SPA) 10X1GE OK PWR,NSHUT,MON
0/0/1 MSC(SPA) 1x10GE OK PWR,NSHUT,MON
0/0/2 MSC(SPA) 10X1GE OK PWR,NSHUT,MON
0/0/4 MSC(SPA) 1x10GE OK PWR,NSHUT,MON
0/RP0/CPU0 RP(Standby) N/A MBI-BOOTING PWR,NSHUT,MON
0/RP1/CPU0 RP(Active) N/A IOS XR RUN PWR,NSHUT,MON
thanks alotDuplicate posts.
Go here: https://supportforums.cisco.com/thread/2260981 -
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 -
CRS-1/3 MSC/FP Fwd Scaling license
Hello guys,
When configuring a CRS router I found that the MSC-40/FP-40 linecards have two modes of BW operation(20/40Gbps), and you need a license to operate at 40Gbps
MSCs and CRS-FP40s can operate at 40-Gbps throughput when a license is enabled. You must use the hw-module linecard throughput command to enable 40-Mbps throughput once a license is available. The MSC includes this license, but it must be purchased separately to enable 40-Gbps throughput on the CRS-FP40.
http://www.cisco.com/en/US/docs/routers/crs/software/crs_r3.9/system_management/configuration/guide/yc39crs1_chapter4.html#task_1026098
So I checked on the price list and found this part number:
XC-LC20GTO40G-LIC=
Cisco CRS-1 Series MSC 20G to 40G upgrade License
N/A
$130,000
If the MSC includes the license but the FP-40 does not ... My CRS-1 with FP-40 linecards operate at 20Gbps by default, is this correct? Does the same apply for the MSC/FP-140 linecards?
Where can I get more information regarding this issue?
Thanks in advance
Regards!
AlexHi Jaime, Sam,
no more SP in the CRS-3 line cards (FP140...), all the environmental monitoring is done by an embedded board now.
The bootflash has been replaced by a eUSB of 4GB in the card (lcdisk0: and lcdisk0a:). You don't need to defrag it.
Cheers,
N. -
[crs-1] LC install error message
hi, all:
Recently we installed an MSC-B on a CRS-3. The card keeps rebooting and generating the crash files. at the top of the log in the crash file, I have the following:
LC/0/2/CPU0:Jan 1 00:00:00.000 : init[65540]: %OS-INIT-7-MBI_STARTED : total time 3.335 seconds
LC/0/2/CPU0:Jan 1 00:00:00.000 : devf-scrp[53]: Corrupt file system detected on /bootflash:: f3s_recover_reclaim -- 841
LC/0/2/CPU0:Jan 1 00:00:00.000 : devf-scrp[53]: No file system detected on /bootflash: -- Please format
When I try to format the LC bootflash I get the following:
RP/0/RP0/CPU0:XXXXXXX(admin)#format bootflash: location 0/2/CPU0
Mon Dec 15 10:06:35.804 CST
No such node node0_2_CPU0 or permission denied
RP/0/RP0/CPU0:XXXXXXX(admin)#
Any ideas on how to solve it?
Thanks in advance!
c.Ahh, you meant CRS-1, that makes a lot more sense to me now.
Since this is a new board it likely has an SP/B chip instead of SP, and is using a new vendor. This is not supported until 4.0.0. There was also a small change in the bootflash so either are possible. I would recommend opening a TAC SR to verify. Email me the case number when you do.
Sam -
MULTIPLE USERS 10G RAC ORACLE_HOME INSTALL WITH ASM/CRS
Hi,
We need to install multiple 10g RAC databases on a two node Sun servers. Below is our configuration:
1) Sun Solaris (ver 10) with Sun Cluster 3.2
2) One ASM/CRS install (by 1 OS account)
3) Four ORACLE_HOME 10g database install (by 4 different OS user accounts)
We would like to use one ASM instance for all four databases with appropriate privileges.
OS User: OS Group
======== =========
oraasm dbaasm - (ASM and CRS install owner)
ora1 dbaora1 - first db owner
ora2 dbaora2 - second db owner
ora3 dbaora3 - third db owner
ora4 dbaora4 - fourth db owner
I understand that certain privileges need to be shared between ASM/CRS and DB owners. Please let me know the steps to be followed to complete this install.
Thanks in advance.Hi
Please read that: Documentation http://download.oracle.com/docs/html/B10766_08/intro.htm
- You can install and operate multiple Oracle homes and different versions of Oracle cluster database software on the same computer as described in the following points:
-You can install multiple Oracle Database 10g RAC homes on the same node. The multiple homes feature enables you to install one or more releases on the same machine in multiple Oracle home directories. However, each node can have only one CRS home.
-In addition, you cannot install Oracle Database 10g RAC into an existing single-instance Oracle home. If you have an Oracle home for Oracle Database 10g, then use a different Oracle home, and one that is available across the entire cluster for your new installation. Similarly, if you have an Oracle home for an earlier Oracle cluster database software release, then you must also use a different home for the new installation.
If the OUI detects an earlier version of a database, then the OUI asks you about your upgrade preferences. You have the option to upgrade one of the previous-version databases with DBUA or to create a new database using DBCA. The information collected during this dialog is passed to DBUA or DBCA after the software is installed.
- You can use the OUI to complete some of the de-install and re-install steps for Oracle Database 10g Real Application Clusters if needed.
Note:
Do not move Oracle binaries from one Oracle home to another because this causes dynamic link failures.
. If you are using ASM with Oracle database instances from multiple database homes on the same node, then Oracle recommends that you run the ASM instance from an Oracle home that is distinct from the database homes. In addition, the ASM home should be installed on every cluster node. This prevents the accidental removal of ASM instances that are in use by databases from other homes during the de-installation of a database's Oracle home. -
Issue in bringing up CRS on ATG 10.1.1 with MySQL and Weblogic 10.3
Hello,
I am trying to bring up Commerce Reference Store as part of my evaluation using MySQL (bundled with ATG) and WebLogic 10.3.
I followed the ATG Documentation on CRS with WebLogic and MySQL and I could not proceed because of the below error log. I keep getting error in OnlineCreateServerInstanceTask of CIM. I believe it should be some configuration problem, but could not think of any.
As part of the installation, I use C:\jdk1.6.0_25. I verified my weblogic server is up through the admin console. I started MySQL before running the eval batch. Apart from starting MySQL server, I did not make any datasource/database configuration changes for ATG. I have not run any other scripts to configure MySQL too.
Please guide me to resolve the problem.
C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval>configureEval.bat
Do you wish to run the CRS evaluation installation? [Y/N]: y
Do you wish to use an existing database for the CRS evaluation? [Y/N]: n
The CRS evaluation install will attempt to create the database. Press [Return] t
o continue or any other key to quit:
Enter mysql database connection details
Enter user name: admin
Enter user password: admin
Enter database name: crsprod
Enter 'root' user password:
Creating database...
Finished database creation
Enter weblogic admin server URL: http://localhost:7001
Enter weblogic admin server username: weblogic
Enter weblogic admin server password: weblogic123
Buildfile: C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval\evalbuild.xml
all:
[copy] Copying 1 file to C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval
[delete] Deleting: C:\ATG\ATG10.1.1\CommerceReferenceStore\Store\eval\cimOut.
cim.tmp
BUILD SUCCESSFUL
Total time: 0 seconds
Application Server: weblogic
The following installed ATG components are being used to launch:
ATGPlatform version 10.1.1 installed at C:\ATG\ATG10.1.1
Created "C:\ATG\ATG10.1.1\home\CIM\startDynamo.jar" in 15,273ms.
Nucleus running
atg.cim.productconfig.productselector.ProductSelectionContextTask starting...
(Searching for products... done.)
atg.cim.productconfig.productselector.ProductSelectionContextTask finished.
atg.cim.productconfig.appserver.AppServerSelectTask starting...
atg.cim.productconfig.appserver.AppServerSelectTask finished.
atg.cim.productconfig.appserver.AppServerPathTask starting...
atg.cim.productconfig.appserver.AppServerPathTask finished.
atg.cim.productconfig.appserver.DomainPathTask starting...
atg.cim.productconfig.appserver.DomainPathTask finished.
atg.cim.productconfig.appserver.UrlTask starting...
atg.cim.productconfig.appserver.UrlTask finished.
atg.cim.productconfig.appserver.UsernameTask starting...
atg.cim.productconfig.appserver.UsernameTask finished.
atg.cim.productconfig.appserver.PasswordTask starting...
atg.cim.productconfig.appserver.PasswordTask finished.
atg.cim.productconfig.appserver.AppServerSelectionPersistenceTask starting...
atg.cim.productconfig.appserver.AppServerSelectionPersistenceTask finished.
atg.cim.database.CreateSchemaTask starting...
atg.cim.database.CreateSchemaTask finished.
atg.cim.database.ImportDataTask starting...
Combining template tasks...Success
Importing (1 of 1) /CIM/tmp/import/nonswitchingCore-import1.xml:
/CommerceReferenceStore/Store/Storefront/data/pricelists.xml to /atg/commerce/pr
icing/priceLists/PriceLists
/CommerceReferenceStore/Store/Storefront/data/stores.xml to /atg/store/stores/St
oreRepository
/CommerceReferenceStore/Store/Storefront/data/catalog-i18n.xml to /atg/commerce/
catalog/ProductCatalog
/CommerceReferenceStore/Store/Storefront/data/pricelists-i18n.xml to /atg/commer
ce/pricing/priceLists/PriceLists
/CommerceReferenceStore/Store/Storefront/data/sites.xml to /atg/multisite/SiteRe
pository
/CommerceReferenceStore/Store/Storefront/data/sites-i18n.xml to /atg/multisite/S
iteRepository
/CommerceReferenceStore/Store/Storefront/data/promos-i18n.xml to /atg/commerce/c
atalog/ProductCatalog
/CommerceReferenceStore/Store/Storefront/data/seotags-i18n.xml to /atg/seo/SEORe
pository
/CommerceReferenceStore/Store/Storefront/data/wishlists.xml to /atg/commerce/gif
ts/Giftlists
/CommerceReferenceStore/Store/Storefront/data/inventory.xml to /atg/commerce/inv
entory/InventoryRepository
/CommerceReferenceStore/Store/Storefront/data/users.xml to /atg/userprofiling/Pr
ofileAdapterRepository
/CommerceReferenceStore/Store/Storefront/data/orders.xml to /atg/commerce/order/
OrderRepository
/CommerceReferenceStore/Store/Storefront/data/orders-i18n.xml to /atg/commerce/o
rder/OrderRepository
/CommerceReferenceStore/Store/Storefront/data/storetext-i18n.xml to /atg/store/s
tores/StoreRepository
/CommerceReferenceStore/Store/Storefront/data/claimable-i18n.xml to /atg/commerc
e/claimable/ClaimableRepository
... > Success
All Imports Completed Successfully
atg.cim.database.ImportDataTask finished.
atg.cim.worker.common.PropertyFileClearPersistanceTask starting...
atg.cim.worker.common.PropertyFileClearPersistanceTask finished.
atg.cim.productconfig.serverinstance.ServerInstanceNameTask starting...
atg.cim.productconfig.serverinstance.ServerInstanceNameTask finished.
atg.cim.productconfig.serverinstance.PortBindingsSelectTask starting...
atg.cim.productconfig.serverinstance.PortBindingsSelectTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.worker.common.MapPropertyFileCreatorTask starting...
atg.cim.worker.common.MapPropertyFileCreatorTask finished.
atg.cim.productconfig.serverinstance.MakeServerInstanceFromPatternTask starting.
atg.cim.productconfig.serverinstance.MakeServerInstanceFromPatternTask finished.
atg.cim.productconfig.appassembly.EarFileNameTask starting...
atg.cim.productconfig.appassembly.EarFileNameTask finished.
atg.cim.productconfig.deploy.weblogic.OnlineCreateServerInstanceTask starting...
Error Executing Batch File
atg.cim.worker.TaskException: Error deploying to weblogic
atg.cim.worker.TaskException: Error exececuting batch file
at atg.cim.flow.CimFlowCreator.startHeadlessCimFlow(CimFlowCreator.java:
130)
at atg.cim.Launcher.startCimFlow(Launcher.java:278)
at atg.cim.Launcher.main(Launcher.java:99)
Caused by: atg.cim.worker.TaskException: Error deploying to weblogic
at atg.cim.worker.Task.handleException(Task.java:72)
at atg.cim.productconfig.deploy.weblogic.OnlineCreateServerInstanceTask.
execute(OnlineCreateServerInstanceTask.java:159)
at atg.cim.headless.HeadlessExecutorImpl.executeTasks(HeadlessExecutorIm
pl.java:150)
at atg.cim.headless.HeadlessExecutorImpl.populateAndExecuteHeadlessTasks
(HeadlessExecutorImpl.java:140)
at atg.cim.batch.BatchChooserExecutor.populateAndExecuteHeadlessTasks(Ba
tchChooserExecutor.java:169)
at atg.cim.flow.CimFlow.headlessFlow(CimFlow.java:116)
at atg.cim.flow.CimFlowCreator.startHeadlessCimFlow(CimFlowCreator.java:
120)
... 2 more
Caused by: C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:348: The following
error occurred while executing this line:
C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:254: The following error occur
red while executing this line:
C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:214: exec returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:541)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at atg.cim.task.ant.utility.AntExecutionWrapper.executeAntTarget(AntExec
utionWrapper.java:167)
at atg.cim.worker.AntTask.executeAntTarget(AntTask.java:115)
at atg.cim.productconfig.deploy.weblogic.OnlineCreateServerInstanceTask.
execute(OnlineCreateServerInstanceTask.java:155)
... 7 more
Caused by: C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:254: The following
error occurred while executing this line:
C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:214: exec returned: 1
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:541)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:391)
... 20 more
Caused by: C:\ATG\ATG10.1.1\CIM\plugins\Base\ant\cim-ant.xml:214: exec returned:
1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:391)
... 34 more
Nucleus shutting down
Nucleus shutdown complete
Thanks.This error is resolved after following the logs in C:\ATG\ATG10.1.1\CIM\log\cim.log. The root cause is I used http as protocol instead of t3 while specifying weblogic admin url.
http://localhost:7001 instead of t3://localhost:7001
Thanks. -
Gns is getting failed with error CRS-2632 during RAC installation
hello guys i am new to oracle RAC and i am trying to configure two node ORACLE 11G R2 RAC setup on OEL 5.4 using GNS Every things works great till I execute
root.sh script on the first node
It gives me error
CRS-2674: Start of 'ora.gns' on 'host01' failed
CRS-2632: There are no more servers to try to place resource 'ora.gns' on that would satisfy its placement policy
start gns ... failed
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... failed
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
When i check status of cluster recourse i get this as output
[root@host01 ~]# crs_stat -t
Name Type Target State Host
ora.DATA.dg ora....up.type ONLINE ONLINE host01
ora....N1.lsnr ora....er.type OFFLINE OFFLINE
ora....N2.lsnr ora....er.type OFFLINE OFFLINE
ora....N3.lsnr ora....er.type OFFLINE OFFLINE
ora.asm ora.asm.type ONLINE ONLINE host01
ora.eons ora.eons.type ONLINE ONLINE host01
ora.gns ora.gns.type ONLINE OFFLINE
ora.gns.vip ora....ip.type ONLINE OFFLINE
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....SM1.asm application ONLINE ONLINE host01
ora.host01.gsd application OFFLINE OFFLINE
ora.host01.ons application ONLINE ONLINE host01
ora.host01.vip ora....t1.type ONLINE ONLINE host01
ora....network ora....rk.type ONLINE ONLINE host01
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE host01
ora....ry.acfs ora....fs.type OFFLINE OFFLINE
ora.scan1.vip ora....ip.type OFFLINE OFFLINE
ora.scan2.vip ora....ip.type OFFLINE OFFLINE
ora.scan3.vip ora....ip.type OFFLINE OFFLINE
These are my GNS configuration file entries
vi /var/named/chroot/etc/named.conf
options {
listen-on port 53 { 192.9.201.59; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
allow-query-cache { any; };
zone "." IN {
type hint;
file "named.ca";
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
zone "example.com" IN {
type master;
file "forward.zone";
allow-transfer { 192.9.201.180; };
zone "201.9.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
zone "0.0.10.in-addr.arpa" IN {
type master;
file "reverse1.zone";
vi /var/named/chroot/var/named/forward.zone
$TTL 86400
@ IN SOA server1.example.com. root.server1.example.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS server1
IN A 192.9.201.59
server1 IN A 192.9.201.59
host01 IN A 192.9.201.181
host02 IN A 192.9.201.182
host03 IN A 192.9.201.183
openfiler IN A 192.9.201.184
host01-priv IN A 10.0.0.2
host02-priv IN A 10.0.0.3
host03-priv IN A 10.0.0.4
vi /var/named/chroot/var/named/reverse.zone
$ORIGIN cluster01.example.com.
@ IN NS cluster01-gns.cluster01.example.com.
cluster01-gns IN A 192.9.201.180
$TTL 86400
@ IN SOA server1.example.com. root.server1.example.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS server1.example.com.
59 IN PTR server1.example.com.
184 IN PTR openfiler.example.com.
181 IN PTR host01.example.com.
182 IN PTR host02.example.com.
183 IN PTR host03.example.com.
vi /var/named/chroot/var/named/reverse1.zone
$TTL 86400
@ IN SOA server1.example.com. root.server1.example.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS server1.example.com.
2 IN PTR host01-priv.example.com.
3 IN PTR host02-priv.example.com.
4 IN PTR host03-priv.example.com.
Please suggest me what i am doing wrong
Edited by: 1001408 on Apr 21, 2013 9:17 AM
Edited by: 1001408 on Apr 21, 2013 9:22 AMHello guys finally i find mistake i was doing
while configuring Public Ip for the nodes i was not giving Default Gateway .I was assuming as all these machine is in same network with same Ip range so they would not be needing Gateway but here my assumption mismatch with oracle well finally happy to see 11G r2 with GNS running on my personal laptop.
cheers
Rahul -
CRS issue after upgrade of CRS to 10.2.0.5.0
we have 3 node cluster HP -UX 10.2.0.3.0. We have upgraded the CRS to 10.2.0.5.0 on all the 3 nodes. 2 of the nodes are up and running. But on the 3rd node the CRS does not startup.
Below is the error we see in the log file:
2010-11-28 08:10:33.806: [ EVMD][1] Initializing OCR
2010-11-28 08:10:34.668: [ EVMD][1] Active Version from OCR:10.2.0.5.0
2010-11-28 08:10:34.668: [ EVMD][1] Exiting, Active Version greater than Software Version
2010-11-28 08:10:34.668: [ EVMD][1][PANIC] EVMD exiting; Version Compatibility check failed
2010-11-28 08:10:34.669: [ EVMD][1] Done.
But the query software version gives the right one:
$ crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.5.0]
$ crsctl query crs softwareversion
CRS software version on node [xxxxx] is [10.2.0.5.0]
Can anyone please help me in solving this issue.
ThanksHi,
post the output of
crsctl query crs activeversion
crsctl query crs releaseversion
crsctl query crs softwareversion -
ATG Endeca CRS Integration baseline_update.bat fails
Hi,
I have deployed the CRS through cim.bat and after that I am trying to run the following scripts and fails with the below errors.
I am able to deploy the dicsover application that comes with the Endeca.
Here are the steps I am trying to do after deploying through CIM.
F:\Endeca\apps\CRS\control>load_baseline_test_data.bat
F:\Endeca\apps\CRS\control>baseline_update.bat
F:\Endeca\apps\CRS\control>load_baseline_test_data.bat
F:\Endeca\apps\CRS\config\script\..\..\test_data\baseline\data.txt
1 file(s) copied.
Setting flag 'baseline_data_ready' in the EAC.
F:\Endeca\apps\CRS\control>baseline_update.bat
[03.27.13 10:55:13] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
[03.27.13 10:55:14] INFO: Definition has not changed.
[03.27.13 10:55:14] INFO: Starting baseline update script.
[03.27.13 10:55:14] INFO: Acquired lock 'update_lock'.
[03.27.13 10:55:14] INFO: [ITLHost] Starting shell utility 'move_-toprocessing'.
[03.27.13 10:55:15] INFO: [ITLHost] Starting copy utility 'fetch_config_to_input_for_forge_Forge'.
[03.27.13 10:55:16] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_ConfigurationGeneratorForge'.
[03.27.13 10:55:17] INFO: [ITLHost] Starting component 'ConfigurationGeneratorForge'.
[03.27.13 10:55:35] INFO: [ITLHost] Starting copy utility 'CopyRecsearchConfig'.
[03.27.13 10:55:35] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_Forge'.
[03.27.13 10:55:36] INFO: [ITLHost] Starting component 'Forge'.
[03.27.13 10:55:41] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_Dgidx'.
[03.27.13 10:55:42] INFO: [ITLHost] Starting component 'Dgidx'.
[03.27.13 10:55:43] SEVERE: Batch component 'Dgidx' failed. Refer to component logs in F:\Endeca\apps\CRS\config\script\..\..\.\logs\dgidxs\Dgidx on host ITLHost.
Occurred while executing line 53 of valid BeanShell script:
50|
51| Dgidx.archiveLogDir();
52|
53| Dgidx.run();
54|
55|
56|
[03.27.13 10:55:43] SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
Caused by java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl invoke0 - null
Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
Caused by com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.component.BatchComponent run - Batch component 'Dgidx' failed. Refer to component logs in F:\Endeca\apps\CRS\config\script\..\..\.\logs\dgidxs\Dgidx on host ITLHost.
[03.27.13 10:55:43] INFO: Released lock 'update_lock'.
Error in the Log file Dgidx.log
============================================================================
=== DGIDX: Version = "6.4.0.692722"
=== Start Time : Wed Mar 27 10:55:42 2013
=== Arguments : "F:\Endeca\MDEX\6.4.0\bin\dgidx.exe -v --compoundDimSearch --lang en --out F:\Endeca\apps\CRS\logs\dgidxs\Dgidx\Dgidx.log --dtddir F:\Endeca\MDEX\6.4.0\conf\dtd --tmpdir F:\Endeca\apps\CRS\data\temp F:\Endeca\apps\CRS\data\forge_output\CRS F:\Endeca\apps\CRS\data\dgidx_output\CRS"
=== Current Directory : F:\Endeca\apps\CRS
=== Host : ABONDALA-US2
=== Exec Path : F:\Endeca\MDEX\6.4.0\bin\dgidx.exe
============================================================================
Language/collation in use is English (collation=endeca)
WARN 03/27/13 15:55:42.950 UTC (1364399742949) DGIDX {dgidx,baseline} Lexer/OLT log: level=-1: 2013/03/27 10:55:42 | INFO | Enabling log callback
No application configuration specified. Using "F:\Endeca\apps\CRS\data\forge_output\CRS" as the application configuration prefix.
============================================================================
=== DGIDX: Starting phase "Read raw dimensions, properties, and records"
=== Current Time : Wed Mar 27 10:55:42 2013
=== Total Elapsed : 0.0110 seconds
=== User CPU Time : 0.0156 seconds
=== System CPU Time : 0.0468 seconds
=== Memory Usage : 18.23 MB
============================================================================
Parsing XML dimensions data with validation turned on
Parsing project file "F:\Endeca\apps\CRS\data\forge_output\CRS.xml" (project="CRS")
XMLParser: Reading dimensions, dvals, and synonyms from file "F:\Endeca\apps\CRS\data\forge_output\\CRS.dimensions.xml"
ERROR 03/27/13 15:55:42.958 UTC (1364399742957) DGIDX {dgidx,baseline} Internal error while decompressing input stream: null
FATAL 03/27/13 15:55:42.958 UTC (1364399742957) DGIDX {dgidx,baseline} Fatal error at file , line 0, char 0; Message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=F:\Endeca\apps\CRS\data\forge_output\\CRS.dimensions.xml
WARN 03/27/13 15:55:42.958 UTC (1364399742957) DGIDX {dgidx,baseline} Lexer/OLT log: level=-1: 2013/03/27 10:55:42 | INFO | Disabling log callback
Is this issue ""F:\Endeca\apps\CRS\data\forge_output\\CRS.dimensions.xml" file path. I am running on windows 7 and even tried giving the paths with back slash instead of forward slash. Not sure where to debug this issue. Please let me know if anyone has encountered this error.
environment.properties
LANGUAGE_ID=en
EAC_PORT=8888
HOSTNAME=localhost
#CAS settings
CAS_ROOT=F:/Endeca/CAS/3.1.1
CAS_HOST=localhost
CAS_PORT=8500
CAS_CLIENT_ID=FORGE
# PATH_SEP_VARNAME: for platform-independence, determine at runtime instead of build time:
PATH_SEP_VARNAME=${path.separator}
# CAS library directory for loading the jars to use in the record store commandline util into the class path
RS_JAVA_LIB_DIR=F:/Endeca/CAS/3.1.1/lib/recordstore-cmd/
# CAS recordstore-forge-adapter jar loads all necessary record store client dependencies through manifest file
CAS_RS_CLASSPATH=F:/Endeca/CAS/3.1.1/lib/recordstore-forge-adapter/recordstore-forge-adapter-3.1.1.jar
# Forge needs record store libraries as well as Spring to load record store adapter configuration files
FORGE_CLASSPATH=${CAS_RS_CLASSPATH}${PATH_SEP_VARNAME}./config/lib/java/spring-2.5.6.jar${PATH_SEP_VARNAME}./config/lib/java/eacToolkit-3.1.1.jar${PATH_SEP_VARNAME}./config/lib/java/spring-delegate-adapter-1.0.1.jar${PATH_SEP_VARNAME}./config/script${PATH_SEP_VARNAME}.
# Forges running FCM need to both read from record stores and run the FCM, ifdi-fcm.jar includes dependencies via manifest
FORGE_FCM_CLASSPATH=${FORGE_CLASSPATH}${PATH_SEP_VARNAME}./config/lib/java/ifdi-fcm-1.0.0.20121016.jar
Thanks for the help.
Thanks
Anil.
Edited by: user552512 on Mar 27, 2013 9:08 AMThat definitely doesn't look right - by default it would be reading the file data\forge_output\dimensions.xml, but you are getting a carriage return and CRS.dimensions.xml? Have you modified the Dimension Adapter and/or Indexer Adapter in your pipeline? The default settings are:
-- Dimension Adapter --
Format = XML - Internal
URL = dimensions.xml (so relative to the pipeline.epx)
Custom Compression Level = unchecked (if this is checked then URL will become dimensions.xml.gz)
-- Indexer Adapter --
URL = ../../data/forge_output/
Regards
Michael -
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 ClustersTo 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 -
Unable to load catalog in CRS application. Indexing is failed
Unable to load catalog in CRS application, Indexation failed: Below is the error msg
**** Error /atg/dynamo/service/jdbc/JTDataSource Unable to connect to data source because of SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on resource 'ATGProductionDS_base_domain': XAER_RMERR : A resource manager error has occured in the transaction branch
**** Error Mon Apr 21 10:35:29 IST 2014 1398056729516 /atg/dynamo/service/jdbc/JTDataSource weblogic.transaction.internal.ResourceAccessException: Transaction has timed out when making request to XAResource 'ATGProductionDS_base_domain'.
**** Error /atg/dynamo/service/jdbc/JTDataSource at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResourceDescriptor.java:670)
**** Error /atg/dynamo/service/jdbc/JTDataSource at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1230)
**** Error /atg/dynamo/service/jdbc/JTDataSource at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1164)
Caused by: weblogic.transaction.internal.TimedOutException: Transaction has timed out when making request to XAResource 'ATGProductionDS_base_domain'.
**** Error /atg/dynamo/service/jdbc/JTDataSource at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResourceDescriptor.java:673)
**** Error /atg/dynamo/service/jdbc/JTDataSource
In Dyn Admin "atg/commerce/search/ProductCatalogOutputConfig" is failed
"atg/commerce/endeca/index/CategoryToDimensionOutputConfig" is failedThis issue is related to weblogic transaction timeout.
Can you increase the weblogic domain transaction timeout?
By default it is 30 sec, increase to 600
Refer Domain --&gt; Configuration --&gt; JTA to increase timeout.
Peace
Shaik -
Issue with CRS Historical report scheduler
Hello guys,
I have a customer with ipccx 5.02 .
THe customer could execute manual reports but the scheduler reports doesnt work.
I follow the IPCCX troubleshooting guide :
1.Stop and start scheduler service.
2. Connectivity is fine.
I dont receivce any error from CRS client , i need little help im new in IPCC world?
Any suggestions please?
Thanks,
CarlosHi Anubhati,
PC is logged during the time that scheduled is programming and also is not in sleep mode.
I have download the CiscoSch log from CRS Historical report and i found i issue with license :
INFORMATIONAL Jan 19 2011|17:00:45 Authenticate [email protected]@default user on Application Server 10.181.55.247
104 ERROR Jan 19 2011|17:00:45 Getting of total available license info failed
105 ERROR Jan 19 2011|17:00:45 Historical Reporting Licenses Available(=0); Report cannot be generated.
I have the following license :
UCCX enhanced
IVR ports 150
Enhanced seat 22
CCX Maximum agents 300.
I generated a report for see how many agents is logged in = 15 .
Regards,
Carlos -
CRS 2008 - Failed to open the connection.
I just recently installed the evaluation of CRS 2008 onto my server. I can access every function in CMC and can see all reports that were published in InfoView. However, when I attempt to view a report, I get an error that states "Failed to open the connection. <<Report_Name.rpt>> "
The server is a Windows 2003 R2 machine, with IIS 6.0 installed.
During installation, I had checked both IIS & Java (along with the installation of Tomcat 5.5)
I also installed Crystal Reports 2008, and all reports work perfectly in the developer. The database that the reports pulls data from is a Progress 9.1D database. Could the database be an issue even though I am connecting through an ODBC?Yes, the DSN is a system DSN and is located on the server that Crystal Reports Server 2008 is installed on. The Progress driver is also loaded. That driver is the MERANT 3.60 32-bit Progress SQL92 v9.1D.
When I run the diagnostics, Web Intelligence Tier fails with the following error:
"Error creating Dataproviders. null - Error viewing Web Intelligence Document. Cannot initialize Report Engine server. (Error: RWI 00226) - Scheduling Web Intelligence Report failed. --Document: " Diagnostic Web Intelligence Document Test" not found."
I'm hoping this can shed some light on what is wrong.
Maybe you are looking for
-
What is a cube? how we store data in that? how we fetch data from cube?
Hi, What is a cube? how we store data in that? how we fetch data from cube? Regards. venkat
-
ISE CWA Redirect URL customization
Hi, Just wanted to know if we can change the redirect url. By default it starts with the hostname of ISE. I will have four PSN nodes and want that url is actually the Load Balancer Url rather than ISE node. Since ISE isintegrated with AD domain.loca
-
Hello! I have a problem with OwnCloud. I have installed it form AUR, done everything recommended in .install: Add the following lines into /etc/httpd/conf/httpd.conf: Include /etc/httpd/conf/extra/owncloud.conf LoadModule php5_module modules/libphp5.
-
Where can find the files upgrade to forms 6i patch 9.
Where can find the files upgrade to forms 6i patch 9. thanks.
-
Problems - Update Record/Conditional regions
Hi, I am building an admin interface in ASP VBScript, and have built an 'edit' page which has a load of text fields, with initial values bound to the data in a database, and which are hidden or shown depending on whether there is data in those fields