Tuesday 23 August 2016

How to delete Managed Servers in R12.2

The procedure to increase/decrease the number of oacore/oafm servers in R12.2.X is different from R12.1.x.
Because in R12.2.x OPMN is replaced by Weblogic Server.


Steps to delete a managed Server in R12.2.x

1. Ensure there is no active adop cycle.

2. Shut down the managed server which needs to be deleted from the cluster/domain.

 $ADMIN_SCRIPTS_HOME/admanagedsrvctl.sh stop <MANAGED SERVER NAME>

Example:

$ADMIN_SCRIPTS_HOME/admanagedsrvctl.sh stop oacore_server5


3. Execute the script adProvisionEBS.pl  on the host where the managed server was created.

Source the RUN filesystem before running the command.

 perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
ebs-delete-managedserver \
-contextfile=<CONTEXT_FILE> -managedsrvname=<MANAGED_SERVER_NAME> \
-servicetype=<SERVICE_TYPE> -logfile=<LOGFILE>

Sample Output:

bash-4.1$ perl $AD_TOP/patch/115/bin/adProvisionEBS.pl \
> ebs-delete-managedserver \
> -contextfile=$CONTEXT_FILE -managedsrvname=oacore_server6 \
> -servicetype=oacore -logfile=$APPLRGF/TXK/delMS_oacoreserver6.log

Enter the APPS Schema password:
Enter the WebLogic AdminServer password:

ManagedServer oacore_server5 deleted successfully.


The above command deletes the managed server and also updates related parameters in context file


To Verify the entries are deleted in Context File,check the output of below command

grep -i oacore_server6 $CONTEXT_FILE


4.Execute the following command to delete details of the managed server from the OHS configuration files mod_wl_ohs.conf and apps.conf


$ perl <FND_TOP>/patch/115/bin/txkSetAppsConf.pl \
-contextfile=<CONTEXT_FILE> \
-configoption=removeMS \
-oacore=<host>.<domain>:<port> \
-oafm=<host>.<domain>:<port> \
-forms=<host>.<domain>:<port> \
-formsc4ws=<host>.<domain>:<port> \
-ekanban=<host>.<domain>:<port> \
-accessgate=<host>.<domain>:<port> \
-yms=<host>.<domain>:<port>




Sample Output:

bash-4.1$ perl $FND_TOP/patch/115/bin/txkSetAppsConf.pl \
 -contextfile=$CONTEXT_FILE \
-configoption=removeMS -oacore=localhost.localdomain.com:7205


*** LOG FILE:
/test12/applmgr/fs1/inst/apps/test12_localhost/logs/appl/rgf/TXK/txkSetAppsConf_08009354.log


5. Restart HTTP Server

cd $ADMIN_SCRIPTS_HOME

adapcctl.sh stop

adapcctl.sh start


6. Repeat the above steps on PATCH filesystem.

26 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi,
    If this procedure is same to add oacore , and i believe we specify port while running adprovisionEbs.pl , once completed on patch file system we will run fs_clone to Sync , how will fs_clone will determine the port number for the new oacore that is being added to the patch file system.
    and also in earlier release we need to do run adprovisionebs.pl manually on patch file system to sync Patch wit run .If fs_clone is taking care of the same in new version . Could you please let me know from e-bs release / AD-TXK release it is applicable.
    Appreciate your help.

    Thanks,
    Jampani

    ReplyDelete
  3. Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that. managed it services

    ReplyDelete
  4. Amazingly accommodating post. This is my first time i visit here. I found such an extensive number of captivating stuff in your blog especially its trade. Genuinely its unprecedented article. Keep it up. Arinda Managed IT

    ReplyDelete
  5. But because server virtualization abstracts away the underlying hardware and replaces it with virtual hardware, data center managers and owners gain a lot more flexibility when it comes to the server equipment they can choose from.minecraft server hosting

    ReplyDelete
  6. It was contemplating whether I could use this audit on my other site, I will associate it back to your site though.Great Thanks. buy windows vps

    ReplyDelete
  7. Acknowledges for penmanship such a worthy column, I stumbled beside your blog besides predict a handful advise. I want your tone of manuscript... Managed Websites

    ReplyDelete
  8. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks ddos mitigated dedicated servers

    ReplyDelete
  9. IT Support Toronto This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs…

    ReplyDelete
  10. Great Article
    Cyber Security Projects

    projects for cse

    Networking Projects

    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete
  11. I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. Security Guard Training Toronto

    ReplyDelete
  12. That was a great blog. You covered all the points and necessary information. It showed your interest in the topic and all the related topics. I just came across your blog while I was browsing various sites. Also, here is a referred link same as yours oracle fusion hcm training.

    ReplyDelete
  13. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. writing software

    ReplyDelete
  14. Awesome blog. I enjoyed reading your articles. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!tableau automation

    ReplyDelete
  15. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also Capcut for pc

    ReplyDelete
  16. This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. best spy apps

    ReplyDelete
  17. If you are looking for more information about flat rate locksmith Las Vegas check that right away. spy phone app

    ReplyDelete
  18. Basically, today there are many facilitating arrangements organizations, and large numbers of them offer comparable facilitating highlights at comparative costs too. https://onohosting.com/

    ReplyDelete
  19. The App Store is an interesting and fun place to visit because you will always find something that will improve your iPhone experience, which improves the quality of your daily life. AFK Arena Codes

    ReplyDelete
  20. Cheap web hosting seems very attractive but often the price of cheap hosting is far costlier than you could ever imagine! Then there's that little thing about the difference between budget hosting and cheap web hosting. https://hostinglelo.in/

    ReplyDelete
  21. Prime Accounts are relatively new and introduced by the gaming company itself. The Prime Account is different from other accounts in that players have to link the account with their phone number csgo prime account buy valorant accounts

    ReplyDelete
  22. Portable apps make certain to help you to remember their easy to use and memory-proficient highlights. https://www.blackmartappdownloads.com/

    ReplyDelete
  23. While searching, you will get millions of results on any search engine. it support

    ReplyDelete
  24. Preferably, you ought to include the information modeler in plan surveys and code audits to guarantee that the applications being planned use the database appropriately. https://onohosting.com/

    ReplyDelete

Was this Post Helpful?

Feel free to suggest your opinions in the comments section!