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.
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.
DreamHost is definitely the best website hosting company for any hosting services you might require.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi,
ReplyDeleteIf 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
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
ReplyDeleteAmazingly 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
ReplyDeleteBut 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
ReplyDeleteIt 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
ReplyDeleteAcknowledges 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