Wednesday, July 6, 2016

How to extend domain when servers are deleted from weblogic console

Recently there has been a issue where we have deleted one server from weblogic console.

Now when we want to extent the domain the options to extend are disable as below:


So to enable the option once again follow below points:

1)Go to below location:

<Your_domain>init-info

2)Edit the domain-info.xml and remove the entries for IBR server for example and now I am able to extend the domain for the server.




3) Also

Edit Config-groups.xml with any text editor and remove the following entries of issued server example for IBR shown below:

<group name="IBR-MAIN-APPS">
     <app-deployment name="IBR"/>
   </group>


<server-group name="IBR-MGD-SVRS" processed="true">
     <server-name>IBR_server1</server-name>
   </server-group>


<app-svc-group-mapping>
     <app-svc-group>IBR-MAIN-APPS</app-svc-group>
     <target-server-group>IBR-MGD-SVRS</target-server-group>
   </app-svc-group-mapping>


Issue is that once you delete the server from the console then entries to domain-info.xml is not deleted.

So,to enable the configuration wizard you need to remove the entries so that when you want to extent again it will not find the sever entries and thus allow you to extend.

Thanks


No comments:

Post a Comment