(1) The first time you start the managed server in MSI, should the Admin Server be in Running Mode?
(2) The Managed Server can be started in MSI mode (first time) with out having Admin Server in RUNNING MODE.
Which is true?
I think (1) is correct as the managed server directory wont be available under <DOMAIN_HOME>/Servers directory until you start the Managed Server. So only once you start the Managed Server, then only you can copy the config folder under Managed Server to start it in MSI mode (Having ADMIIN SERVER in SHUTDOWN state).
Is that correct?
So you can never ever start the Managed Server in MSI mode for the first time (with out having Admin Server in RUNNING MODE) after you create the managed server.
Is that correct?
Edited by: user734247 on Apr 18, 2012 2:58 PM
Your understanding is right.
The first time you are trying to start a managed server, you need admin server in RUNNING state.
From the next time onwards you can start managed server in MSI mode.
Although, as a workaround you can probably create certain files and directories to try and start managed server in MSI mode the first time itself:
1. Ensure that the entire domain directory is present in the machine where managed server is started.
2. Create directory <DOMAIN_HOME>/Servers/<ManagedServerName>/security
3. Create boot.properties file in <DOMAIN_HOME>/Servers/<ManagedServerName>/security/boot.properties with username and password
4. Create config-msi.xml copying from the config.xml in config directory
This list is not exclusive, it might need some more additional files.
You will have to create additional files like startServer.properties etc if we use node manager to start a managed server in MSI mode.
ORACLE strongly recommends to start the managed server through admin server the first time.
But I think we cant start Managed Server in MSI mode using Node Manager. We can restart the managed server in MSI mode using Node Manager. If we want to start using Node Manager, then Admin Server should be available.
Regarding starting Managed Server in MSI mode using Node Manager, again you would not be successful the first time you start a managed server. But, you should be able to the second time you start the server.
Check the below documentation:
Also check this forum for a detailed explanation on nmStart behavior Re: Nodemanager Issue: Unable to start Managed Server using nmStart()