Standby remains "IDLE" after creating Active-Standby pair
hi gurus
After creating an active stand by pair,the standby node can not step in "standby" role.
On the standby:
Command> call ttrepstateget;
+< IDLE >+
+1 row found.+
On the active:
Command> call ttrepstateget;
+< ACTIVE >+
+1 row found.+
ttrepadmin -showstatus command on the active shows:
tt01@njzapp1:/oracle/app/tt01/TimesTen/tt01/info$ttrepadmin -showstatus ocs01
Replication Agent Status as of: 2010-04-21 09:24:48
DSN : ocs01
Process ID : 225840 (Started)
Replication Agent Policy : manual
Host : NJZAPP1
RepListener Port : 17015
Last write LSN : 0.9662520
Last LSN forced to disk : 0.9662520
Replication hold LSN : 0.9583928
Replication Peers:
Name : OCS01
Host : PJZAPP1
Port : 18011 (Connected)
Replication State : STARTED
Communication Protocol : 24
TRANSMITTER thread(s):
For : OCS01
Start/Restart count : 97
Send LSN : 0.9583928
Transactions sent : 0
Total packets sent : 97
Tick packets sent : 0
MIN sent packet size : 139
MAX sent packet size : 139
AVG sent packet size : 139
Last packet sent at : 09:24:31
Total Packets received: 0
Most recent errors (max 5):
TT16060 in transmitter.c (line 6605) at 08:44:16 on 04-21-2010
TT16060 in transmitter.c (line 6605) at 08:54:19 on 04-21-2010
TT16060 in transmitter.c (line 6605) at 09:04:22 on 04-21-2010
TT16060 in transmitter.c (line 6605) at 09:14:25 on 04-21-2010
TT16060 in transmitter.c (line 6605) at 09:24:28 on 04-21-2010
RECEIVER thread(s):
For : OCS01
Start/Restart count : 1
Transactions received : 0
Total packets sent : 1
Tick packets sent : 0
MIN sent packet size : 80
MAX sent packet size : 80
AVG sent packet size : 80
Last packet sent at : 09:24:45
Total Packets received: 1
MIN rcvd packet size : 139
MAX rcvd packet size : 139
AVG rcvd packet size : 139
Last packet rcvd'd at : 09:24:45
Most recent errors (max 5):
TT16060 in receiver.c (line 2044) at 09:24:45 on 04-21-2010
ttrepadmin -showstatus command on the standby shows:
ttrepadmin -showstatus ocs01
Replication Agent Status as of: 2010-04-21 09:38:25
DSN : ocs01
Process ID : 184590 (Started)
Replication Agent Policy : manual
WARNING: Replication Agent has not finished initialization yet.
And ttdaemonlog -r shows lots of this message:
+2010-04-21 09:25:49.43 Warn: REP: 225840: OCS01:receiver.c(2044): TT16060: Failed to read data from the network. select() timed out+
How to handle this problem?
Thank you very much.
Edited by: KevinMao on Apr 20, 2010 6:39 PM
Hi Kevin
the obvious culprits: did you create the standby with the 'duplicate' command? Did you start the replication agents for both active and standby?
Can you share the 'create active standby ...' command you used and the steps you followed to set this up?
Adam
Similar Messages
-
8127: Cannot create ACTIVE STANDBY PAIR scheme because another replication
Hi All,
I am trying to define ACTIVE STANDBY PAIR replication scheme on the Datastore which have already bidirectional replication is defined on few tables ,
Datastore1 ,Datastore2 are with Bidirectional replication defined on few tables , i want to have Active/stand by replication scheme between datastore1 and Datastore3, while trying to define ACTIVE STANDBY PAIR replication scheme on Datastore1 , i am facing below error
8127: Cannot create ACTIVE STANDBY PAIR scheme because another replication
Could you please is this how to achieve this ConfigurationThis configuration is not possible. You cannot mix classic replication (CREATE REPLICATION) with active/standby pair replication (CREATE ACTIVE STANDBY PAIR). They are mutually exclusive.
Chris -
8130: CREATE ACTIVE STANDBY PAIR must only be run on one of the MASTER node
CkptFrequency=600
CkptLogVolume=128
OracleNetServiceName=abmsrv1
PassThrough=1
plz give me some help~~thx
帖子经 user11036969编辑过Here's the original post (the forum seems to have truncated it for some reason):
Content of the new Post:
Command> CREATE ACTIVE STANDBY PAIR abmmd ON "node1",abmmd ON "node2"
> RETURN RECEIPT
> STORE abmmd ON "node1" PORT 21000 TIMEOUT 30
> STORE abmmd ON "node2" PORT 20000 TIMEOUT 30;
8130: CREATE ACTIVE STANDBY PAIR must only be run on one of the MASTER nodes.
[ABMMD]
Driver=/abm/tt02/tt/TimesTen/tt1121/lib/libtten.so
DataStore=/abm/tt02/tt/tt11g/data/abm
LogDir=/abm/tt02/tt/tt11g/data/logs
SMPOptLevel=1
TypeMode =0
DurableCommits=0
ExclAccess=0
Connections=1000
Isolation=1
LockLevel=0
PermSize=50000
TempSize=1000
ThreadSafe=1
WaitForConnect=0
Logging=1
LogFileSize=256
LogPurge=1
CkptFrequency=600
CkptLogVolume=128
OracleNetServiceName=abmsrv1
PassThrough=1
plz give me some help~~thx
This error means that when TimesTen is processing this statement and asks the operating sysstem for the official hostname of the local node the O/S is returning somethign different to 'node1' or 'node2'.
it may be that you have incorrectly set the hostname to inculue a DNS domain (e.g. node1.xxx.yy.zzz).
Chris -
DBhanging in open stage after creating physical standby database
alter database open read only hanging after creating the standby database using rman.
hi,
when i starts the database in restricted mode it is asking resetlogs;
when i openthe database using the
alter database open resetlogs;
it is showing following errors
alter database open RESETLOGS
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
ORA-00367: checksum error in log file header
ORA-00338: log 1 of thread 1 is more recent than control file
ORA-00312: online log 1 thread 1: '/dev/stage/oradev/db/apps_st/data/group_1.314.731945051'
RESETLOGS after complete recovery through change 28393568059
Resetting resetlogs activation ID 3821641494 (0xe3c99f16)
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
ORA-00367: checksum error in log file header
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1: '/dev/stage/oradev/db/apps_st/data/group_1.314.731945051'
Thu Feb 24 20:05:42 2011
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
ORA-00316: log 1 of thread 1, type 0 in header is not log file
ORA-00312: online log 1 thread 1: '/dev/stage/oradev/db/apps_st/data/group_1.314.731945051'
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
ORA-00322: log 2 of thread 1 is not current copy
ORA-00312: online log 2 thread 1: '/dev/stage/oradev/db/apps_st/data/group_2.313.731945057'
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
ORA-00322: log 3 of thread 2 is not current copy
ORA-00312: online log 3 thread 2: '/dev/stage/oradev/db/apps_st/data/group_3.316.731945065'
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_m000_348380.trc:
ORA-00322: log 4 of thread 2 is not current copy
ORA-00312: online log 4 thread 2: '/dev/stage/oradev/db/apps_st/data/group_4.315.731945069'
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
ORA-00367: checksum error in log file header
ORA-00322: log 2 of thread 1 is not current copy
ORA-00312: online log 2 thread 1: '/dev/stage/oradev/db/apps_st/data/group_2.313.731945057'
Thu Feb 24 20:05:58 2011
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
ORA-00367: checksum error in log file header
ORA-00322: log 3 of thread 2 is not current copy
ORA-00312: online log 3 thread 2: '/dev/stage/oradev/db/apps_st/data/group_3.316.731945065'
Errors in file /oracle/app/oradev/db/tech_st/11.2.0/admin/stdby_developmentDR/diag/rdbms/stdby/stdby/trace/stdby_ora_442500.trc:
ORA-00367: checksum error in log file header
ORA-00322: log 4 of thread 2 is not current copy
ORA-00312: online log 4 thread 2: '/dev/stage/oradev/db/apps_st/data/group_4.315.731945069'
thanks in advance -
Active Standby Pair Clustering.
Hi Chris, I had created ActiveStandby Pair as follows:
Server 1 => DSN: TTCluster1
Server 2 => DSN: TTCluster2.
Then I created ActiveStandby Pair in Server1, Started RepAgent and then Duplicated the DSN on Server 2 with name TTCluster 2. It worked fine.
Now to access it from the client server mode, I created Client DSN on Client machine using Virtual IP. (Using Linux Cluster Manager).
But inthis case I had to create two client DSN. TTCluster1Client and TTCluster2client. Since Application can connect to only one DSN and shifting to other while failover is very difficult.
So I am trying following model now, Let me know your views on this.
Server 1 and Server 2, both will have same DSN name "TTCluster".
Client Machin will have only one DSN "TTClusterClient" using VIP.
When the Server1 failes, Server 2 will take over and there is no need of shifting client DSN. Application will be routed to Server 2 after switch over.
Step1: created server DSN "TTCluster" on Server 1 and Server 2.
Step2: created user 'ttcluster' on Server 1 and Server 2.
Step3: Create DataStore TTCluster on Server 1. (By connecting to TTCluster).
Step4: Create Cache Groups (AWT) on Server1.
Step5: Started Cache Agent on Server1.
Step6: Created ActiveStandby Pair on Server1 as follows:
CREATE ACTIVE STANDBY PAIR
TTCluster ON "wabtectimesten.patni.com",
TTCluster ON "wabtectimesten2.patni.com"
RETURN TWOSAFE
STORE TTCluster PORT 20000 TIMEOUT 120;
Step8: executed ttrepstateset('ACTIVE') on server1.
Step9: Started Replication Agent on Server1.
Step10: Duplicated DataStore on Server2.
Issues:
Server2 is not coming up as Standby. The log on Server1 shows following messages:
15:19:33.83 Warn: REP: 8671: TTCLUSTER:receiver.c(1723): TT16060: Failed to read data from the network. select() timed out
15:19:37.09 Err : REP: 8671: TTCLUSTER:receiver.c(3428): TT16142: Failed to retrieve peer information. No peers found
15:19:37.09 Err : REP: 8671: TTCLUSTER:transmitter.c(5523): TT16229: Transmitter thread failure due to lack of state consistency at subscriber store _ORACLE
Question:
While creating replication scheme I have mentioned.
STORE TTCluster PORT 20000 TIMEOUT 120;
I need to define the timeout for both DataStores. How will I do that?
The above timeout will be applicable for which datastore??
Can you please let me know if I am going in the right direction???Hi Tanweer,
When designing a monitoring scheme for TimesTen one has to bear a few things in mind (though not all will be relevant in every case):
1. There could be multiple 'instances' of TimesTen installed on a machine. Each instance is completely independent and must be monitoried separately.
2. Each instance has a 'main daemon' (timestend) that is the instance master supervisor. If this daemon is running and healthy then the 'instance' is considered to be 'up' and 'healthy'.
3. Each instance can manage multiple datastores. Each datastore is independent from the others and so each datastore must be monitored separately.
4. Each datastore may be using replication and/or cache connect. If so, these must also be monitored as well as the datastore since it is perfectly possible e.g. for the datastore to be healthy but for replication to be 'down'.
Depending on your requirements, your monitoring mechanism must 'model' this structure and relationships...
- If the instance main daemon is not running, or is not responding, then the entire instance is 'down' and all datastores managed by the instance should also be considered as 'down'
- If a datastore goes down (e.g. call invalidate), other stores in the instance are not affected and neither is the main daemon for the instance. They will continue to operate normally.
- A datastore may be healthy in itself but maybe replication or cache connect for the datastore is not healthy. Do you then consider the datastore as down? That depends on your applications requirements!
Hopefully this helps to clarify the interrelationship of components. Crashing a datastore by calling 'invalidate' does not crash the daemon (if it does then that is a bug!).
For monitoring the instance (main daemon) there are a few options:
1. ps -ef | grep timestend. This can detect if the daemon process is running but not if it is healthy...
2. Connect to a datastore. Every connect/disconnect request is processed via the main daemon so if the daemon is not healthy this will result in some error (usually a 'cannot communicate with the daemon' error). However, connect/disconnect are relatively expensive so you don't want to do this too often.
3. Have a monitoring process that maintains an open connection to the instance level datastore (DSN=TT_<instancename>). Periodically (as often as required within reason) it can execute the built in procedure ttDataStoreStatus() passing it the pathname of the instaance datastore checkpoint files (obtainable from the built in procedure ttConfiguration). This procedure communicates with the main daemon so will either return success (meaning daemon is okay) or an error (daemon is in big trouble).
If you have to do the test from a script then I would suggest that (2) is best but if you can do it from a continually running monitoring process then (3) is better.
For monitoring a datastore the best way to ascertain overall health is as follows:
1. Have a dummy table in the datastore. And as part of the check update a row in th dummy and commit the transaction. If this returns success then this shows that the datastore is up and able to service update requests (which means it is also okay for read requests).
2. You should also monitor the available space in the datastore and warn someone or something if the free space gets too low. You can query space allocation, current usage and high watermark usage from the SYS.MONITOR table. You can also configure TimesTen to generate SNMP traps and/or return warnings to applications if space usage exceeds some configured threshold. The objective is to take proactive action to prevent the datastore becoming full since that will require more disruptive corrective action.
For monitoring replication you should periodically:
1. Check that the datastore's repagent is running (you can do this using ttDatastoreStatus)
2. Check the status of each replication peer by calling ttReplicationStatus and checking the values of pstate (should be 'start') logs (if this value increases over time then the peer is in some kind of trouble) and lastMsg (if there is no message from the peer for a long time then it may be in some kind of trouble).
3. Sometimes an easier way is to have a dummy table set up for synchronous replication and do an update+commit for a row in that table. if replicatioin is working the commit will return within a few ms at most. If you get a timeout error returned that tells you that replication is in trouble,
To monitor cache connect is not so easy at present.
For AWT cache groups, the same monitoring as is used for replication is okay).
For SWT cache groups, if the sync to Oracle is not working every commit will get an error (so that's kind of obvious).
For AUTOREFRESH cache groups it's a bit harder. There is currenyly no supported way to determine when the last successful autorefresh occurred. I am hoping this capability will be added in a future release.
Sorry if that is a bit long winded - I hope it helps...
Chris -
Problem with Active Standby Pair
Hi ALL!
I have a problem with Active Standby Pair replication.
I have 2 instance TT on host1 and host2
On host1 i created 2 data store rep1 and rep2
On host2 i created 1 data store t1
ALL data stores identical, and have one table REP_TAB.
AFter this i work with rep1 ds:
Creating active standby pair:
create active standby pair rep1 on "host1",
t1 on "host2"
subscriber rep2 on "host1"
store rep1 on "host1" port 18000 timeout 30
store t1 on "host2" port 18000 timeout 30and starting repagent
call ttrepstart;After this i try using ttrepadmin utility and ALWAYS GET this error
C:\Documents and Settings\user1>ttrepadmin -duplicate -from rep1 -host "host1" rep4
Enter password for 'tt':
TT12048: Error performing backup at source. More information can be found in th
e source's message log
TT7001: REP1:receiver.c(4979): TT7001: User authentication failedPasswort right. I dont know what i am doing wrong? Please Help!Did you enable Access Control in this instance when you installed? If so, have you created the relevant users in the TimesTen instance?
If you have access to Metalink you may find Note 421220.1 useful in clarifying this process, and also for avoiding other problems you may encounter after performing a successful duplicate. -
Can I replicate new tables using the ACTIVE STANDBY PAIR replication scheme
Hi,
I have created myself a simple setup using an active/standby pair with a single subscriber like so:
CREATE ACTIVE STANDBY PAIR cie ON "tt-test1", cie ON "tt-test2" RETURN RECEIPT SUBSCRIBER cie on "tt-test3";
I have then added some tables on the master, they did not replicate automatically. I find this:
Command> repschemes;
Replication Scheme Active Standby:
Master Store: CIE on TT-TEST1
Master Store: CIE on TT-TEST2
Master Return Service: Return Receipt
Subscriber Store: CIE on TT-TEST3
Excluded Tables:
ROOT.EXTRACTOR_
ROOT.PROMPT_
ROOT.PREFERABLE_
Included Tables:
List too long (59 items), use verbosity 4 to display
<snip>
My question is ... how do I include these tables in replication?
Do I need to trash and clone the secondary master store and the subscriber again? Even doing that won't add the tables to the replication scheme so I don't think that is a solution.
I couldn't find much documentation on the ALTER REPLICATION statement but from what I could find it requires me to know the 'name' of the replication scheme and the examples in the documentation didn't work when I used 'Active Standby' as the scheme name in the statement.
Am I being retarded here? Is this a limitation of using the ACTIVE STANDBY PAIR replication model?
Thanks in advance.
HuwWhen you setup and rollout the ACTIVE/STANDBY pair (or indeed legacy replication) it only includes tables that already exist. The normal deployment process is:
1. Create the first datastore (the one which will initially be the 'active').
2. Create (and populate) all necessary tables.
3. Create the active/standby pair replication scheme.
4. Start the repagent
5. Make the datastore active by calling ttRepStateSet('ACTIVE')
6. Use ttRepAdmin -duplicate to create the standby store from the active
7. Start repagent at standby
8. Use ttRepAdmin -duplicate to create the subscriber store from the standby
7. Start repagent at subscriber
If you need to add/remove tables later you must do the following:
At active node:
1. Create any new tables (and populate them) as needed
2. Stop repagent
3. Execute ALTER ACTIVE STANDBY PAIR with INCLUDE and/or EXCLUDE clauses as required
4. Start repagent
Then you need to redeploy the other stores:
At standby:
5. Stop repagent
6. Drop datastore (ttDestroy)
7. Re-create datastore from active using ttRepAdmin -duplicate
8. Start repagent
At subscriber:
9. Stop repagent
10. Drop datastore (ttDestroy)
11. Re-create datastore from standby using ttRepAdmin -duplicate
12. Start repagent
This is documented in the TimesTen Replication Guide in the section on administering an active/standby pair.
Chris -
I have active standby on my screen
I want to remove the "WALN SCANNING OFF" below the short cut icons, how do i do this10-Oct-200707:34 AM
shippo63 wrote:
I have active standby on my screen
I want to remove the "WALN SCANNING OFF" below the short cut icons, how do i do this
Hi shippo63
If you select Settings > General > Personalise > Standby mode - you can turn active standby off which removes all the icons from the screen.
You can also change the applications that are displayed on the screen.
Happy to have helped forum in a small way with a Support Ratio = 37.0 -
Text box tool remains "on" after use
Adobe Reader 11.0.09 on Mac OSX 10.6.8 (antique)
QUESTION: How to resolve failure of text-box tool to inactivate after use. Instead, creates numerous undesired text boxes.
I am using Adobe Reader 11.0.09 on a Mac with OS 10.6.8 (ancient). Under the Comment tab, the second set of tools has eleven "Drawing Markups." Typically, when a user has completed the use of one of the markup tools, the tool is no longer highlighted. In the recent past, the "Text Box" tool remains highlighted after creating a text box with keyed in text. The next click anywhere on the document creates ANOTHER undesired text box. Sometimes, when clicking within an existing text box to supplement/edit the text, two or more NEW text boxes are created within the original (i.e., because of a click at the location of desired text editing). Simply as a test, I examined the behavior of each of the eleven markup tools, and found that all but the pencil tool "inactivate" (un-highlight) after the drawing (e.g. a circle/oval or square/rectangle or arrow) is complete. QUESTION: Has anyone else observed that one or more "Drawing Markup" icons remain in the "active" status AFTER the mark-up drawing has been completed? If YES, did you find a fix for the annoying problem?https://discussions.apple.com/message/25495158#25495158
-
Getting error message after creating project ess~org from ESS track
Hi All,
Our basis team just now implemented the track for ESS and MSS.So we need to sync all application from DTR.
We are facing problem with one Dc essOrg.I have created project essOrg from ESS track in inactive DC of development configuration.Build of DC is successful,where as in the Task tab its showing below error message:
" Tree TreeCont [dataSource]: Context element and property are not compatible Orgchart.wdview NWI_HR1_Dessorg~sap.com/src/packages/com/sap/xss/hr/org/chart "
I have done the follwing steps :
1.I have close the project.Then remove it from client.Then close the NWDs and reopen it.Still the same error we are getting after creatig project from the track.
2.Even we tried to repair the DC.Its asking for check out.Then after creating activity its showing an error pop up message "org.eclipse.jdt.core.JavaModelException: Classpath contains duplicate entry: D:Documents and settings/susmita.panigrahi/.dtc/2/DCs/sap.com/pcui_gp/xssfpm/_comp/gen/default/public/FloorplanManager/lib/java/sap.compcui_gpxssfpm~FloorplanManager.jar "
3.I have open the OrgChart view of VcOrgChart Component in NWDs.I have found that the data source property of Tree node is showing red cross mark with name OrgTab(name of context node).I have tried to select another node also other than the context node OrgTab , getting message "Select an attribute of Type"
Can any body tell me how to solve the error"Context element and property are not compatible " coming for DC ess~Org?
Thanks
SusmitaIf you have created other projects and they are working fine? Standard application should work without any modifications, so you may like to revert all the changes(before they cause further problem).
Well you may like to clean up your directory , unless you have loads of application checked out.. Remove all applications from this particular Track, ensure that everytime you delete project from Studio , select to remove code from directory.
This is likely that you are working on applications from two tracks, where version of FPM component is not the same. I always prefer to work one at a time, and i remove other track if i am done with application(This is lame way of handling it, but i prefer this.. saves loads of time to clean/repair)
Also hope you are using compatible version of Studio.
Rgds -
Getting error after creating project of DC ess~Org from ESS Track
Hi All,
Our basis team just now implemented the track for ESS and MSS.So we need to sync all application from DTR.
We are facing problem with one Dc essOrg.I have created project essOrg from ESS track in inactive DC of development configuration.Build of DC is successful,where as in the Task tab its showing below error message:
" Tree TreeCont dataSource: Context element and property are not compatible Orgchart.wdview NWI_HR1_Dessorg~sap.com/src/packages/com/sap/xss/hr/org/chart "
I have done the follwing steps :
1.I have close the project.Then remove it from client.Then close the NWDs and reopen it.Still the same error we are getting after creatig project from the track.
2.Even we tried to repair the DC.Its asking for check out.Then after creating activity its showing an error pop up message "org.eclipse.jdt.core.JavaModelException: Classpath contains duplicate entry: D:Documents and settings/susmita.panigrahi/.dtc/2/DCs/sap.com/pcui_gp/xssfpm/_comp/gen/default/public/FloorplanManager/lib/java/sap.compcui_gpxssfpm~FloorplanManager.jar "
3.I have open the OrgChart view of VcOrgChart Component in NWDs.I have found that the data source property of Tree node is showing red cross mark with name OrgTab(name of context node).I have tried to select another node also other than the context node OrgTab , getting message "Select an attribute of Type"
Can any body tell me how to solve the error"Context element and property are not compatible " coming for DC ess~Org?
Thanks
SusmitaHi,
after creating the project, dont build it, close the project and close you NWDS then open the NWDS ,open the project and build, it will work ithink,
i faced the same problem, try this may be it weill work.
dont remove from client, only close the project.,
Cheers,
Apparao -
How to set opportunity under more option after saving activity.
Hi,
After creating activity i want to make opportunity under more option in over view page button. but we have here follow up one facility is there under this opportunity transaction is there but i need to show opportunity in more option it self not in under follow up. i need to create for this Action profile first then i need to show in web ui. how can i show in web ui under more option.
please guide me.
rose.Hi,
to get the button in the button list you have to redefine the method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS in the implementation class of your overview view.
example for a new button:
CLEAR ls_button.
ls_button-type = cl_thtmlb_util=>gc_separator.
ls_button-enabled = abap_true.
APPEND ls_button TO rt_buttons.
CLEAR ls_button.
ls_button-type = cl_thtmlb_util=>gc_icon_nav_forward.
ls_button-text = '60 Tage verschieben'(001).
ls_button-tooltip = 'Fälligkeitstermine um 60 Tage verschieben'(002).
ls_button-on_click = 'SHIFT60'. "#EC NOTEXT
ls_button-page_id = me->component_id.
ls_button-enabled = abap_true.
APPEND ls_button TO rt_buttons.
CLEAR ls_button.
The first part is the separator, the second part is the button itself. Here the ls_button-on_click is important. This is the name of the eventhandler you call by clicking the button. Just create the eventhanlder with the same name for your view. Inside the eventhanlder you could code whatever is required.
I hope this helps.
Kind regards
Manfred -
Issue in creating the standby database from Active database using RMAN
Hi All,
I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
Version of Database:11g(11.2.0.1.0)
Operating System:Linux 5
Error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
RMAN-03015: error occurred in stored script Memory Script
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Primary Database Entries:
Tnsentry:
SONYPRD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprd.localdomain)(UR=A)
SONYPRDSTBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprdstby)(UR=A)
Listner Entry:
SID_LIST_SONYPRD =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtproc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SONYPRD)
(GLOBAL_DBNAME = SONYPRD)
Auxiliary Details:
Tns Entry:
SONYPRD =
(DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprd.localdomain)
SONYPRDSTBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprdstby)(UR=A)
Listener Entry in auxiliary:
SID_LIST_SONYPRDSTBY =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = SONYPRDSTBY)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = SONYPRDSTBY)
TNSPING from Primary DB:
[oracle@oracle11g ~]$ tnsping sonyprdstby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
OK (0 msec)
TNSPING from Auxuliary server
[oracle@oracle11gstby ~]$ tnsping sonyprd
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
OK (10 msec)
Script Used for duplicate:
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database for standby from active database
spfile
parameter_value_convert 'sonyprd','sonyprdstby'
set db_unique_name='sonyprdstby'
set db_file_name_convert='/sonyprd/','/sonyprdstby/'
set log_file_name_convert='/sonyprd/','/sonyprdstby/'
set control_files='/u01/app/oracle/oradata/control01.ctl'
set log_archive_max_processes='5'
set fal_client='sonyprdstby'
set fal_server='sonyprd'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
Tried the script from both Primary and auxiliary but no luck
[oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SONYPRD (DBID=3131093559)
connected to auxiliary database: SONYPRD (not mounted)
Listener Status from primary:
[oracle@oracle11g ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 20-DEC-2012 17:42:17
Uptime 1 days 0 hr. 26 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "sonyprd.localdomain" has 1 instance(s).
Instance "sonyprd", status READY, has 1 handler(s) for this service...
Service "sonyprdXDB.localdomain" has 1 instance(s).
Instance "sonyprd", status READY, has 1 handler(s) for this service...
The command completed successfully
Listener Status from Standby when database bring to Nomount state:
[oracle@oracle11gstby admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 21-DEC-2012 16:13:47
Uptime 0 days 1 hr. 58 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
Services Summary...
Service "sonyprdstby" has 1 instance(s).
Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
Please provide any work arounds to proceed further in creating the standby database.
Thanks,
Ram.Pl do not post duplicates - Issue in configuring Standby Database from Active database in 11g by RMAN
-
Active/standby pair + Oracle db parameter FAILTHRESHOLD
Assume we have 3 databases
TT_A - timesten Active
TT_S - timesten Standby
O - oracle db.
SETURN MODE twosafe
Storage atributes
RETURN SERVICES OFF WHEN REPLICATION STOPPED;
FAILTHRESHOLD set to 10 value.
Two timesten databases are in consistent state.
Aplication update TT_A.
TT_S replication data to ORACLE.
Assume we stop replication.
So application can run on TT_A.
After 10 log switch TT_S will be marked as failed.
All logs waiting for TT_S will be delete.
So how oracle receiv the data ?In active standby pair replication, cache operations are tightly coupled with replication. In normal operation of AWT cache group within an A/S pair, updates occur at the active which replicates them to the standby and then the standby pushes them to Oracle. The active and standby continually exchange housekeeping information about what transactions have been committed at the standby and which have been committed, via AWT, at Oracle. The active and the standby will only purge transaction logs for transactions that they know are safely stored in all 3 places. If the standby fails then, as long as you tell the active that it has failed (via a call to ttRepStateSave()), the active will take over the AWT push from the last transaction that it knows was safely committed in Oracle. No data will be lost.
If you are using oracle Clusterware to manage your A/S pair then you don't need to do anything as Clusterware will perform the necessary notification to the active that the standby has failed.
Chris -
Active standby pair Replication scheme
Hi
I just want to know that is this possible to have "Active Active pair".
Actually i want to create pair in which both Masters are in Active mode.None master is in standby mode.
Please ....
Regards
Muh.UsmanCould you please elaborate why you need active/active? Active/active configurations are potentially dangerous with any replication technology and are discouraged. TimesTen Active/Standby pair replication does nto support active/active (the clue is in he name :-)). TimesTen legacy replication does support active/active in some scenarios but if you use that then you cannot use Oracle caching. If you want to use both replication and Oracle caching then realistically you must use Active/Standby pair replication.
Chris
Maybe you are looking for
-
Dunning phases and blockades not visible for archived invoices in FPL9
Hi experts, I am not able to see the dunning phases and blockades for archived invoices when i am opening FPL9 with archive. My requirement is that it should be visible and donot so any error message. Can you please provide me with the solution ? Tha
-
I just got my macbook pro today and tried to connect to the internet. When I select linksys and enter my password it says 'error connecting to selected network.' What can I do to connect to the internet?
-
do i need to use a power converter to recharge my MAc in England? can a regular power coverter damage my laptop?
-
HT1933 Paid for NY Times in iTunes but app not updated
I regularly use the free NYTimes app. I decided to upgrade to the full paid service so I could view the other sections of the newspaper instead of just the free section. I clicked on the subscribe button in the NYTimes app itself and it purchased t
-
Ge4Ti4200 VTD8X 128 -video capture..audio pickup?
I am setting up my Ge4Ti4200 card for video capture using my VCR as the video input. I want to put VCR video onto CDs. I need to know how to set it up so that the audio is captured along with the video. There is nothing in the manual or that I can f