DataGuard broker 11 GR 2 - StaticConnectIdentifier
OK, I read that in 11 GR 2 you do have more to put in a static in your listener.ora with < SID > _DGMGRL file entry if you use the Dataguard Broker: StaticConnectIdentifier. I used this new setting, and it was automatically created to be:StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=DB1) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = prod_sb_DGMGRL) (INSTANCE_NAME = prod_sb)(SERVER=DEDICATED)))'
My question is that there is no entry anywhere that specifies the SERVICE_NAME as prod_sb_DGMGRL. My passage to the work without SERVICE_NAME is not defined any where? Am I missing a step? Thank you people.
Hello;
I think that the digital switchover will fail with an ORA-12514. Without the listener.ora entry DGMGRL won't be able to connect to the databases once that they were arrested.
You must therefore always the _DGMGRL or at least a static entry in the listener.ora. In any State to cause the static entry will not cause a problem.
* Passage failed with ORA-12521 using Dataguard broker [1380949.1 ID] *.
For more information, see - 8.3.40 StaticConnectIdentifier in "broker Data Guard 11 g Release 2 (11.2) E17023-04.
"A connect identifier that refers to a service that is registered statically.
Best regards
mseberg
Published by: mseberg on Sep 20, 2012 04:04
Tags: Database
Similar Questions
-
addition of relief in dataguard broker database fails
When adding of Eve in dataguard broker database, I get the following error
DGMGRL > add database as uat login is uat maintained as physical;
Error: ORA-16698: parameter LOG_ARCHIVE_DEST_n defined for the object to add
Failed.
DGMGRL > output
I deleted the log_archive_dest_2 parameter in the primary database and null value
SQL > sho parameter log_archive_dest_1;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
DEST = VALID_FOR (ALL_LOGFILES, A).
LL_ROLES) DB_UNIQUE_NAME = prod
SQL > sho parameter log_archive_dest_2;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
LOG_ARCHIVE_DEST_2 string
log_archive_dest_20 string
Can someone help me please
vmkumar wrote:
When adding of Eve in dataguard broker database, I get the following error
DGMGRL > add database as uat login is uat maintained as physical;
Error: ORA-16698: parameter LOG_ARCHIVE_DEST_n defined for the object to add
Failed.
DGMGRL > output
I deleted the log_archive_dest_2 parameter in the primary database and null value
SQL > sho parameter log_archive_dest_1;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
DEST = VALID_FOR (ALL_LOGFILES, A).
LL_ROLES) DB_UNIQUE_NAME = prod
SQL > sho parameter log_archive_dest_2;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
LOG_ARCHIVE_DEST_2 string
log_archive_dest_20 string
Can someone help me please
What you have shown here is the log_archive_dest_2 of the primary database. You must clear the log_archive_dest_2 of the standby database too.
The error is speaking on the parameter log_archive_dest_2 of the database pending. 12 c, then the broker configuration, you must clear the log_archive_dest_2 (destinations archive remote) on the primary and standby databases. DG broker would take care of her.
On autonomy in standby:
SQL > alter system set log_archive_dest_2 = ";
And then try to add the standby database to the broker configuration.
HTH
-Jonathan Rolland
-
DataGuard broker WARNING: ORA-16610
Hello
Oracle 10g.
I just configured dataguard broker and followed all the steps:
http://apunhiran.blogspot.com/2009/09/how-to-configure-Data-Guard-Broker.html
However, I am constantly with ORA-16610.
no idea how to solve this problem?
DGMGRL > see CONFIGURING
Configuration
Name: CatalogDR
Activated: YES
Protection mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
orclprd_wlg - primary database
orclprd_akl - physical of the standby database
Current situation for 'CatalogDR ':
WARNING: ORA-16610: ' health check auto broker ' on orderAh broker!
My friend calls it "broken data.
I have my installation notes that I can post if you wish. I got this job and I love his speed, but I find it a pain and returned to SQL for all my orders.
My offer to publish my broker note stands Setup
mseberg
Subsequently
John;
I checked my setup note and here is what I have on your common error:
ORA-16607 on SHOW CONFIGURATION Problem: After creating your configuration and adding the standby database, you issued a SHOW CONFIGURATION as suggested. Instead of the expected SUCCESS, the report ends up with Warning: ORA-16607: one or more databases have failed . Checking with oerr ora 16607 was not very helpful (see above), and you neither can find anything in your alert.log nor any trace files. Cause: Probably at least one of your databases is not using an SPFILE. Solution: Check whether your databases have an SPFILE associated. It is usually located in $ORACLE_HOME/dbs/spfile$ORACLE_SID.ora. If it does not exist, create it: Login to your database as SYSDBA, and issue the command CREATE SPFILE FROM PFILE;. Even if it exists, to make the database using it you need to restart the instance - it must be used already at startup.
Published by: mseberg on August 11, 2011 20:12
-
Hello
Dataguard automated recovery is dataguard broker is necessary?
I disabled DGbroker but always mrp is underway.
SQL > select OPEN_MODE, DATABASE_ROLE, DATAGUARD_BROKER, GUARD_STATUS from v$ database;
OPEN_MODE DATABASE_ROLE DATAGUAR GUARD_S
---------- ---------------- -------- -------
MOUNTED ON STANDBY PHYSICS DISABLED NO
SQL > select PROCESS, STATUS, DELAY_MINS from v$ MANAGED_STANDBY;
DELAY_MINS PROCESS STATUS
--------- ------------ ----------
CONNECTED ARCH 0
CONNECTED ARCH 0
CONNECTED ARCH 0
CONNECTED ARCH 0
CONNECTED ARCH 0
MRP0 WAIT_FOR_LOG 0
RFS RECEIVING 0
RFS 0 HOME
RFS 0 HOME
RFS RECEIVING 0
Can you please help understand this?
Published by: 873341 on July 21, 2011 16:10If the DG broker is not enabled then the switch on doesnot take place.
You must perform the failover manually.
Another question.
IS the DG and DR are the same.
I have head that DR archives logs doesnot recovery takes place automatically. We must manually push .is this true?If it is ENTERPRISE Edition, so no need to copy archives manually, if you have configured properly everything is automated.
DR - disaster recovery, how do you plan to recover from the loss of data and methods.
DG - Dataguard (method) -
DataGuard broker not starting not not instances after passage in the
I've implemented dataguard broker.
Primary (Server1)
instance name: test
dbname: sf_test
Standby (Server2)
instance name: test
DB: test
I want to do the test from server2 as main and server1 sf_test as before.
DGMGRL > switchover to test
Continue to pass, please wait...
Operation requires the stop of the instance 'test' on database 'sf_test '.
Instance closing 'test '...
ORA-01109: database is not open
The database is dismounted.
ORACLE instance stops.
Operation requires the judgment of the instance 'test' on the 'test' database
Instance closing 'test '...
ORA-01109: database is not open
The database is dismounted.
ORACLE instance stops.
Operation requires the start the instance 'test' on database 'sf_test '.
Start the instance 'test '...
Unable to connect to the database
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
failed. You are no longer connected to ORACLE
Please log in again.
Could not start the instance 'test '.
You must start the instance 'test' manually
Operation requires the start the instance 'test' on the 'test' database
You must start the instance 'test' manually
Successful, the new principal is 'test '.
DGMGRL > outputHello..
Refer to Metalink Doc ID: Note: 308943.1 -automatic restart of databases over the failure of the transition to digital with ORA-12514 in DGMGRL
>
Cause:-the cause of this problem is that without the necessary entry listener.ora, DGMGRL is unable to connect to the databases once they were arrested during the failover operation.
>
[http://blogs.oracle.com/AlejandroVargas/gems/DataGuardBrokerandobserverst.pdf]
HTH
AnandPublished by: Anand... on November 1st, 2008 04:17:-added 2 links
-
Gurus,
My first CAR is "orcl_prim" n RAC Eve is "orcl_stdby" then
connection to primary and running the commands below.
for the stop
DGMGRL > STATE of MODIFICATION of DATABASE ORCL_STDBY SET = offline.
above dg takes command off mode of recovery and shutsdown the relief RAC database or just out of recovery mode takes and then I shall he sleep RAC srvctl stop?
the same with the primary with primary
DGMGRL > STATE of MODIFICATION of DATABASE ORCL_PRIM SET = offline.
and to start
DB primary CARS start with srvctl or the command, below is the Pb of cars?
DGMRL > ALTER DATABASE ORCL_PRIM SET STATE = online;
the startup (mount) command DG broker configuration ensures in phy below and put it into recovery mode?
DGMGRL > ALTER DATABASE ORCL_STDBY SET STATE = online;
The above steps are not? His confusion can someone let me know the exact steps to stop the primary and standby with dg broker.
fact below command shutsdown the RAC database?
elementary school:
DGMGRL > SHUTDOWN
standby:
DGMGRL > stop
What commands can I use to stop primary and standby in broker configuration gracefully.While you can use the broker to start and stop instances but with CARS, it is preferable to use srvctl.
You don't need to change the sleep state or the primary before stopping, either. Account assignment is blocked on the standby srvctl stop this instance without any damage.
Larry
-
Implementation of DataGuard broker errors
Hello
I'm creating Data Guard Broker and get these errors, hope you can help.
My first (orcl) is opened up and watch (orcldg) is to read only State open air.
I ran these on both of my primary node 2 RAC
Thendgmgrl connect sys create configuration dg_tst as primary database is orcl connect identifier is orcl; add database orcldg as connect identifier is orcldg maintained as physical; exit;
and now get after errors:enable configuration;
DGMGRL> show database orcl; Database Name: orcl Role: PRIMARY Enabled: YES Intended State: ONLINE Instance(s): orcl1 Current status for "orcl": Error: ORA-16810: multiple errors or warnings detected for the database DGMGRL> show database orcl statusreport; STATUS REPORT INSTANCE_NAME SEVERITY ERROR_TEXT orcl1 ERROR ORA-16736: unable to find the destination entry of standby database "orcldg" in V$ARCHIVE_DEST orcl1 WARNING ORA-16714: the value of property ArchiveLagTarget is inconsistent with the database setting orcl1 WARNING ORA-16714: the value of property LogArchiveTrace is inconsistent with the database setting orcl1 WARNING ORA-16714: the value of property LogArchiveFormat is inconsistent with the database setting orcl2 ERROR ORA-16532: Data Guard broker configuration does not exist DGMGRL> show database orcl LogXptStatus; Error: ORA-16777: unable to find the destination entry of a standby database in V$ARCHIVE_DEST DGMGRL>
Hello
I think that the main issue is due to the location of the configuration files broker is not set to the same common place at the primary level.
Note: in the case of CCR, you must have broker configuration files on the shared location and definition of the DG_BROKER_CONFIG_FILE1 and DG_BROKER_CONFIG_FILE2 to the same values in all the nodes.
Reference:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14230/configure.htm#i1021661
Action plan
=====
++ Disable broker on primary and standby
++ Configuration files drop existing broker on primary and standby
++ The value of DG_BROKER_CONFIG_FILE1 and DG_BROKER_CONFIG_FILE2 properly defined in the primary and standby
++ Select broker in the primary and standby
++ Create a broker again
++ Add Eve in configuration
++ Activate configurationConcerning
Nathalie -
Database broker and dataguard Creaton of Eve
Hi Experts,
I use Linux with Oracle version 11 GR 2. We have plans to create a database of physical intelligence and also configure dataguard broker for the standby database.
Also, I read the documents that active dataguard is a feature on 11g. It is not possible on 10g?
Can someone give me please the steps to create the standby database and configure the dataguard broker.Hello
Check this thread DR synchronize with primary
Also, to check whether or not the managed recovery is underway on the standby database, run the following query:
SQL > select process, status, sequence # from v$ managed_standby;
If process columns is a value such as MRP, then the managed recovery is underway on the standby database.
Hope this is clear.
-
Small questions about Dataguard
Hello
I have a few questions about Dataguard. I'm new to DG, carry me so for the display of these fundamental questions:
We plan to install Oracle 12 c to Win 2012 R2 with primary and physical intelligence on different physical servers. We are looking for HA solution, but cannot afford to license CARS. The two primary & Eve are going to be in the same data center connected via a 1 gigabit network. So I have a few questions related to it.
(a) since both of our primary & Eve is going to be in the same data center with good connectivity. Can I assume that although Data guard is more DR solution, in our case it would be HA solution since we have no network latency.
(b) is it safe to assume that where primary fails, then the day before can automatically take the role of primary education without any manual intervention, possibly using Dataguard broker?
(c) so I understand that where primary breaks down, the existing connections transfer automatically from primary to standby db (most recent primary), but how my web based java application will know that more recent connections must be sent to the standby db Server (more recent primary)? I guess net Oracle has a provision to handle this? Who can be automated?
(d) given that I have only 2 physical servers, can I deploy broker Dataguard on a normal PC (since it is a thin client) assuming the PC is kept in the data center and is online 24/7?
(e) I was reading about the modes of Protection, account required to our current situation & infrastructure, I choose 'Maximum availability Mode' instead of 'maximum Performance '.
(f) what is your point of view about Oracle integrated security? I hear too much on Oracle failsafe, because people generally go to a combination of CARS & dataguard for HA? We have a few additional storage that can be shared between the two servers, but I feel with literally no DG network latency can provide us HA.
Concerning
Learner
(a) since both of our main & secondary is going to be in the same data center with good connectivity. Can I assume that although Data guard is more DR solution, in our case it would be HA solution since we have no network latency.
Well it will not provide the level of HA that is RAC. RAC is a Transparent Application failover. With a physical standby, you need to apply some delay for a failover operation. You can implement the observer that can automate the failover and reduce the time.
(b) is it safe to assume that where primary fails, then the day before can automatically take the role of primary education without any manual intervention, possibly using Dataguard broker?
This isn't really the DG broker, but rather the observer you will need to implement. The DG broker automate failover. It will be the observer who "sees" (where its name) that the principal is down and initiate the failover process. To do this, the observer will use the DG broker, so it will be necessary.
(c) so I understand that where primary breaks down, the existing connections transfer automatically from primary to standby db (most recent primary), but how my web based java application will know that more recent connections must be sent to the standby db Server (more recent primary)? I guess net Oracle has a provision to handle this? Who can be automated?
You'll want to read on the QuickStart failover. http://www.Oracle.com/technetwork/articles/smiley-fsfo-084973.html
(d) given that I have only 2 physical servers, can I deploy broker Dataguard on a normal PC (since it is a thin client) assuming the PC is kept in the data center and is online 24/7?
The DG broker is required to run on the database server. The DG broker will run on the primary and standby. I think that what you're asking really anything is if the observer can run on a PC. Yes it can. However, it is probably not a good idea. A PC will not have the internal hardware redundancy, a server can have. If the PC can fail more often than to a server. And if the gods are bad, it will fail when you most need.
(e) I was reading about the modes of Protection, account required to our current scenario & infrastructure, I choose 'Maximum availability Mode' instead of 'maximum Performance '.
Your choice should depend on the amount of data loss is acceptable.
(f) what is your point of view about Oracle integrated security? I hear too much on Oracle failsafe, because people generally go to a combination of CARS & dataguard for HA? We have a few additional storage that can be shared between the two servers, but I feel with literally no DG network latency can provide us HA.
Oracle integrated security only works on Windows with a MS Failover Cluster. Real DBAs do not have Oracle on MSFC.
See you soon,.
Brian -
DataGuard failover data global or normal service?
Hello
I'll put up two rac clusters of 2 nodes using linix and Oracle 12.1.0.2 rh6.
Clus-1 is the primary db dnt5a and clus-2 it is standby dnt5astdby. between them is a DataGuard broker.
It is an active-passive cluster.What I want is an automatic failover from the primary database to standby db - transperant to the client application.
This will be possible when it is an active cluster / liabilities?
The Global Data Service will do or is the Fast-Start-switch function in the best DataGuard soluition?
Kind regards
Jan
Global data service is not running transition real role. Once the transition from role was made manually or by using DGBROKER, the SERVICE is redirected to the specific instance. In the previous version, had to use a combination of GRID infrastructure, DATAGUARD BROKER service to perform this operation. Now using GDS should the Service must be defined and GDS to install.
This is a good doc http://www.oracle.com/technetwork/database/availability/global-data-services-12c-wp-1964780.pdf
-
Most of DG broker commonly used functions
DB version: 11.2.0.4
Platform OS: RHEL 6.5
Most of our DBs in Dataguard is in 3 CARS (Both primary and Standby) physical node
Although I worked with dataguard for awhile I never used DataGuard broker. I know you use DG broker to have accelerated failover functionality. But we do not use it in our shop.
I just want to know what the most common uses of DG broker (other than Fast Start Fail over). I guess it varies from store to store
Hello
In my opinion, DG broker is very useful in failover and failover operations.
It is easier to do from a console one and only command (database failover to XXXX)
other then connect to primary and standby and run command by command.
I use also broker set up DataGuard when I have my database ready to go standby. It is even easier for the manual or the execution of the script.
Kind regards
Marcin Przepiorowski
-
Configure the broker - 12514 error
HelloI'm trying to configure the Dataguard broker, but I have a problem.
In the v$ dataguard_status, I got the following error:"PING [ARC1] 12514: Heartbeat cannot connect to standby mode ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp)(HOST=oradr) (PORT = 1521)))
((CONNECT_DATA = (SERVICE_NAME = orcl_pstby_XPT)(INSTANCE_NAME=orcl_pstby) (SERVER = dedicated)))'. The error is 12514.I know that the orcl_pstby_XPT of service name does not exist on the standby server.
Why broker always create the configuration by adding '_XPT' to service_name? Above the error result.service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS
_LIST = (Address = (Protocol = TCP)(Host=oradr) (port = 1521))) (CONNECT_DATA = (SERV
ICE_NAME = orcl_pstby_XPT)(instance_name=ORCL_PSTBY) (Server = dedica
Ted)))', delay LGWR ASYNC NOAFFIRM = 0 max_failure option
= 0 max_connections = 1 reopen = 300 db_unique_name = "orcl_pstby".
Register for net_timeout = 180 valid_for = (online_logfile, primary_role)
When I configure the broker I do:-main and backup:
ALTER SYSTEM SET DG_BROKER_START = TRUE;-waiting:
ALTER database recover managed standby database cancel;-primary:
DGMGRL > Connect sys/pwd
DGMGRL > create the primary orcl_cfg as database configuration is orcl connect identifier is "orcl".
DGMGRL > add the 'orcl_pstby' as database login is "orcl_pstby", continued as the physical;
DGMGRL > activate configuration;What should I do?
Thank you!!!
"Do I need to run the configuration 'create' on the standby database too?"
Lol but you can use it from there.
Best regards
mseberg
-
Passage of Oracle Dataguard and DNS
Hi, a few days ago, we planned a passage in a configuration of 10g dataguard (dataguard pasive) between the 2 servers.
primary: Europe.com APP
secondary: APP1 in Asia.com
The two databases was Oracle 10.2.0.3 in Redhat (single instance)
Everything is going well with databases and the digital switchover but what happened with the web-based applications?
I have a lot of web PHP applicattion provided with a string of connection with OIC and oracle customer, all have the connection as user/pass@dbname where dbname is defined in the local tnsnames.ora with DNS host names.
(All have xxx/xxx@APP), and was APP (host:europe.com and SID = APP)
Europe.com was ip 1.1.1.1
Asia.com has been ip 2.2.2.2
My primary instance was APP (name sid) and the standby APP1 (name sid) but what happened when I pass the dataguard?
Yes, because we have a lot of requests and we don t change the connection string, each of them tries to connect to the new basis of Eve physics APP which is in Europe.com. (and the main news is APP1 in Asia.com)
Well, first of all, I must change the SID in the database (same as the primary database) waiting for the connection string, for which I have: (thus development are don't want to change the string of connection...)
(1) immediate stop aid database
(2) remove the dataguard broker configuration,
(3) change the instance name in the spfile APP1 to APP.
(4) change the name of db in the spfile APP1 to APP.
(5) change the setting fal_client (INSTANCE_NAME = APP1) to (INSTANCE_NAME = APP)
(6) change the app APP1 orapwd file
(7) Exchange configuration bash_profile APP and re start the database pending.
(8) check the listener.ora, so that the new listening service is APP and no APP1
(8) with respect to the dataguard broker configuration config
OK, everything works very well and we have the main and the database pending with the same SID.
But what happened with the dns servers? because the web-based applications will try to connect to APP but APP has been defined as Europe.com and I want to redirect Asia.com as primary database.
Well, first of all, I changed all my settings and broker dataguard over IP and not dns configuration files, so I made a guide to procedure for the passage to the then when we said that, first we must transition to digital, data bases and then the surface NET must change the DNS for new Europe.com dns point to 2.2.2.2 ip
After that, everything works great!
So in conclusion, to forward a permutation with dataguard (which was an excellent feature) check the connection of the chain of applications and take care of them) and if necessary, use the same SID for the two (databases) and emergency
(In Oracle 12 c, we have a lot of thing to use as a continuation of the app for that)
Kind regards
Hernan
Hi Herman,.
Maybe I'm mistaken, please correct me if this is the case.
Assuming you are using oracle customer why not just use the construction in the mechanism for this purpose? DNS has nothing to do with it, but I see people using it yet for this - it is not only suitable for failovers, I do not have my TTL of 60 seconds or less to my recordings of A.
I had a project for banking HA where after permutation is launched the application (Tomcat) could in a minute to connect automatically to the database of watch on the Internet. First, you must use the database instead of SID service, so you can have the same service on the previous day. What more have a service, you can be sure that it will run the day before until it becomes primary, otherwise you can find yourself in a funny situation. Secondly, why not using built in failover of the connection string parameter, this way you can queue db (s) and in the case where your primary does not that the oracle client will simply try to connect to the waiting (to search for the same service). To ensure that the standby database does not have the service at any time, you can deploy trigger (AFTER startup) to check the role of database, if it is 'primary' it starts just the database service.
Kind regards
EVS
-
Real as for again time doubt REALITY apply to the Dataguard
Friends, how to check if "TIME REAL REDO APPLY" is set in my configuration of dataguard. If it is not "active", how do I activate the "TIME REAL REDO APPLY" on the use of dataguard broker.
Thanks in advance.This will help you
http://aprakash.WordPress.com/2012/03/14/how-to-check-real-time-apply-is-enabled-on-standby-database/
http://easyoradba.com/2011/01/10/real-time-apply-in-Oracle-Data-Guard-10G/
-
How to test the failover of dataguard environment?
I would like to test failover (no pass) in dataguard environment.
How to get there?
Thank you.Hello;
Happy to share my test notes:
http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF
These oracle notes can also help:
Can I use manual SQL * PLUS measures for (passage, failover, etc...), if DataGuard broker has already activated and GridControl is also used? [744396.1 ID]
Oracle10g: Passage to the custody of data and failover best practices [ID 387266.1]
Step by step guide on how to restore doesn't have a primary database standby physics [ID 738642.1]
Best regards
mseberg
Maybe you are looking for
-
Hi, I can update my processor on a Pavilion Entertainment PC dv7-3007tx windows 7 64 bit and 8Gbs of RAM. The processor at the moment is a 1.60 Gigahertz Intel Core 17 Q 720.
-
error: QML overview compatibility check failed, overview QML is disable!
Hi, everyone, I have installed blackberry 10 native SDK (gold) and I opened a sample porject blackberry, then the error appeared. How can I fix the error? Thank you very much.
-
Since today, I get a build error in all of my projects: Error occurred during the build. Errors under builder "App descriptor Validator" of the project "MNKit". java.lang.NullPointerException Google gives no guidance on this. Restarting Momentics, or
-
Hello I am developing a revision update for my app BB10 stunts and I use a data model to pull in the elements of the application do not forget; the only problem I encounter is that I can't get the data model of the group work so that I can arrange th
-
How to dynamically set the containers/component
Hello I want to put on if containers of other condition.i.e condition if - set another container2 container1. How can I do? Any reference?