Thursday 28 May 2020

Target node/queue unavailable or Concurrent Manager


Target node/queue unavailable or Concurrent Manager


Solution 1 :

Take the CM bounce and check the status of managers , still you are facing the issue , you take the application full bounce and restart the CM , it will work ..  I tried this it will work on my R12 Exa instance .


Solution 2 :

R12 Concurrent Managers down – Status show “Target node/queue unavailable
Agenda:

To start concurrent manager.

Issue:


Concurrent Managers Status shows  ”Target node/queue unavailable” in Concurrent–>Manager–>Administer Screen form.





Solution 3:
1.                  Ensure Database is Running and Middle Tier Services are down.
2.                  Connect SQLPLUS as APPS user and run the following :
1.                  EXEC FND_CONC_CLONE.SETUP_CLEAN;
2.                  COMMIT;
3.                  EXIT;
3.                  Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers and webtier to repopulate the required systemtables
4.                  Run the CMCLEAN.SQL script from the referenced note below (don’t forget to commit).
5.                  Note.134007.1 – 'CMCLEAN.SQL – Non Destructive Script to Clean Concurrent  Manager Tables'
6.                  Start the middle tier services including your concurrent manager.
7.                  Retest the issue.


Solution 4 :
Concurrent Processing - After Cloning All the Concurrent Managers Do Not Start for the Clone [ID 555081.1]

Conflict Resolution Manager Shows Target Node/Queue Unavailable [ID 732709.1]

Concurrent Managers Do Not Start After Cloning Nodes Not Updated In Conc_queues [ID 466532.1]


EXEC FND_CONC_CLONE.TARGET_CLEAN;

Run autoconfig on dbtier then appsTier.

Run cmclean.sql script  Non destructive script this can also be tried-->>

Start all application services and check whether managers are up.

Apply this solution in last when the above one doesnt work.

select node_name,target_node,control_code from fnd_concurrent_queues;

update apps.fnd_concurrent_queues set node_name = 'Node NAME' where node_name='Existing Node Name'; 

select NODE_NAME,NODE_MODE,STATUS from fnd_nodes;

desc fnd_concurrent_queues

select control_code,target_node,node_name,CONCURRENT_QUEUE_NAME from fnd_concurrent_queues;

UPDATE fnd_concurrent_queues set control_code = null;

UPDATE fnd_concurrent_queues set target_node = 'Node Name';

UPDATE fnd_concurrent_queues set node_name = 'Node Name';

update FND_CONCURRENT_QUEUES set control_code = null where concurrent_queue_name = 'OAMGCS_NODENAME'; -- supply the node name..(Ur Existing Node Name)

Commit;

select control_code,target_node,node_name,CONCURRENT_QUEUE_NAME from fnd_concurrent_queues;




2. A. Most likely the node name still pointing to old name:

1. SQ> select NODE_NAME,NODE_MODE,STATUS from fnd_nodes;

If the node name not correct then please:

2. Run the following from SQL*Plus:  
EXEC FND_CONC_CLONE.SETUP_CLEAN;
COMMIT;
EXIT;

3. Run AutoConfig on all tiers, firstly on the DB tier and then all the APPS tiers to repopulate the required system tables.

B. If still same issue after above steps please perform steps from:
After Cloning all the Concurrent Managers do not start for the cloned Instance [ID 555081.1]


Wednesday 27 May 2020

VPC (Virtual Private Cloud) VPC - AWS

1. VPC (Virtual Private Cloud) VPC - AWS

Practical Scenario 1:
(i) I want to launch two ec2 instances one will used for application server and
It will be accessed over the Internet
(ii) Second instance will be used for Database server. Access from outside world is restricted.
(iii) My application instance will connect to Database instance internally using VPC subnet
(iv) DB instance need to get updates through internet

VPC stands for Virtual Private Cloud, it is virtual private network and is isolated from other virtual networks in your
AWS account. It's similar to on-premises Data centre.
It is logically isolated from other virtual networks in the AWS Cloud.

The VPC consists of
1) Subnets
a) Public Subnet
b) Private Subnet
2) Routing Table
3) Internet Gateway
4) NAT Gateway

Subnets: The practice of dividing a network into two or more networks is called subnetting.
AWS provides two types of subnetting one is Public which allow the internet to access the machine and another is private
which is hidden from the internet. Instance is a virtual server in the AWS cloud.

Routing Table:
A route table contains a set of rules, called routes that are used to determine where network traffic is directed.

Internet Gateway:
An Internet gateway is a network "node" that connects two different networks that use different protocols (rules) for
communicating. If you have a Wi-Fi connection at home, your Internet gateway is the modem or modem/router
combination that your ISP provides so that you connect to the Internet through their network.
An Internet Gateway (IGW) in AWS is a logical connection between an Amazon VPC and the Internet. If a VPC does
not have an Internet Gateway, then the resources in the VPC cannot be accessed from the Internet
You can only have 1 Internet Gateway per VPC.

An Internet Gateway allows resources within your VPC to access the internet, and vice versa. In order for this to happen, there
needs to be a routing table entry allowing a subnet to access the IGW.
IGW allows resources within your public subnet to access the internet

NAT Gateway:

It allows resources in a private subnet to access the internet (think yum updates, external database connections, wget calls
A NAT Gateway does something similar, but with two main differences:
1. OS patch, etc
2. It only works one way. The internet at large cannot get through your NAT to your private resources unless you explicitly
allow it.
 Security Groups cannot be associated with a NAT Gateway

 You’ll need one in each Availability zone(AZ) since they only operate in a single AZ