-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second server on second co-located domain always fails on first start #36
Comments
Strange, what I basically do when I create a managed server, I also add the boot.properties in the current domain on the adminserver machine When everything is configured, I do a pack domain and a copydomain to the other servers which does an unpack and enroll the domain to the nodemanager. So I don't know, what happened here maybe I should re-create the boot.properties. can you check the boot.properties, before you first start all the managed server, it's then all clear text. maybe there is error in the weblogic password( mix up ) and the WLST domain daemon process. |
Hi Edwin, can this issue be re-opened since the issue still exists with the version 1.0.17 we are using with WLS 10.3.6 and SOA 11.1.1.7. On the problem second node I have soa1_domain and soa2_domain both with a managed server 2 specific to the domain. The AdminServer and managed server 1 specific to the domain soa1_domain/soa2_domain is on the first node. The strange thing is that the issue is only for soa2_domain managed server 2 (MS2). The MS2 for the soa1_domain on the same host starts fine. After successful copy/unpack on the second node and before the soa2_domain MS2 is started, the Generated by Configuration Wizard on Wed Dec 03 13:27:31 GMT 2014 On first start of soa2_domain MS2, the error below prevents the server to start unless manually starting using the startManagedServer script, manually entering the username/password which results in the server starting up (resets boot.properties) and auto-stopps since it complains it was not started using node manager. After a restart of the node manager to pick up the new boot settings, the soa2_domain MS2 can be successfully started by Puppet. Please advise whether there's a fix to avoid the above manual steps! Thanks again. Jason |
Hi, If the server2 and the security folder inside exists on the adminserver domain then probably the pack jar was already there. In this case I won't override it, so with adding a new server you should delete the pack jar from the download dir ( on the adminserver ) If you do the delete now and do a puppet run it should create a new one |
Hi, the machine & server2 is added before pack domain. As suggested, I tried deleting the pack jar on the admin node, ran Puppet to re-created it then ran Puppet on on the second node (cleaned) but same issue. The server2 won't start for soa2_domain. On the admin server, server2 (and boot.properties) folder in soa1_domain doesn't exist and yet it starts fine on the second node. |
It should create it ( the last step of create.py ) not on a modify so also for server1 ( domainX/servers/server1/security/boot.properties ) there is no boot.properties . you don't need one when domain is in development mode. I will do some tests on a plain cluster domain |
FYI...both the co-located soa1_domain & soa2_domain on two shared machines (each with Admin, MS1 on Node1 and MS2 on Node2) have development_mode: false Thanks Jason |
Ok it works for me on a standard domain, there should be no difference between soa or standard wls domain . It generates boot.properties for both servers and packs it in Can you check when you add a new wls server to your config if is generates one ( don't have to be part of a cluster ) , and use ensure = absent to remove it later. Else it can only be an old orawls module |
Thanks Edwin. WIll try when i get a chance but the issue is reproducible when building from scratch and upgrading to a later version is not possible at the moment since we already went through an upgrade cycle recently. In the interim, the solution may be to automate the manual workaround as part of our build |
HI Edwin, I have a scenario where I have installed Admin + managed_1 on machine A , and managed_2 on machine B. I am able to start the admin server and managed_1 on A machine using weblogic admin console and through command prompt. I had created a domain and then pack domain on machine A and then unpack domain on machine B. I have started the nodeManager on machine B and my node manger is also reachable through weblogic console. I have also enrolled my nodemanager on machine B using wlst. But while starting the second managed server on machine B , it failed every time. it gives error as then I tried to start the second manged server from machine A (where Admin ) is installed. using startManaged command. the second managed server on machine B is started but at last failed with the error message as Emergency Security BEA-090087 Server failed to bind to the configured Admin port. The port may already be used by another process. Is there any mistake done during unpacking and starting nodeManager on machine B?? |
I think the pack command is executed too fast , should be the last command on A after that you can do machine B |
Hi Edwin,
We have two SOA Suite domains (e.g. soa1domain, soa2domain) co-located on two machines . During each auto build, the only repeatable issue is that every time the second managed server (soa2_ms2) in the second domain (soa2domain) fails on first start.
Machine 1: Admin(soa1), Admin(soa2), soa1_ms1, soa2_ms2
Machine 2: soa1_ms2, soa2_ms2
The current workaround is manually start at command line and enter credentials when prompted. The server will eventually stop automatically and request to restart via node manager (requirement for consensus migration basis). Restart Node Manager and then start the managed server from the Weblogic console.
<18-Jun-2014 05:56:07 o'clock BST> <Could not decrypt the username attribute value of {AES}246rovWvZxqSyhCS4XAWfoREUsX/DwWJO77hHfM8TMg= from the file /
u01/app/oracle/admin/domains/ipt_cdp_domain/servers/cdp_server2/data/nodemanager/boot.properties. If you have copied an encrypted attribute from boot.properties from another domain into
/u01/app/oracle/admin/domains/ipt_cdp_domain/servers/cdp_server2/data/nodemanager/boot.properties, change the encrypted attribute to its cleartext value then reboot the server. The attri
bute will be re-encrypted. Otherwise, change all encrypted attributes to their cleartext values, then reboot the server. All encryptable attributes will be re-encrypted. The decryption f
ailed with the exception weblogic.security.internal.encryption.EncryptionServiceException.>
Please advise. Many thanks, Jason
The text was updated successfully, but these errors were encountered: