An administrate in your organization says you do not need to back up the domain files on a
machine which only managed servers run.
Select the best explanation for this statement.
A.
This Is truebecause the domain files can be re created with the pack and unpack utilities.
B.
This is true (with an exception) because the domain files can be re-created with the pack and
unpack utilities. The exception is if your security realm uses the embedded ldap system. Which is
not included in the JAR file created by the pack utility.
C.
This is true (with an exception) because the domain files can be re-created with the pack and
unpack utilities. The exception is for applications thatare deployed to the managed server.Those
files are not included in the JAR file created by the pack utility.If you back those up manually, then
pack and unpack can be used.
D.
This is not true. You need to back up the domain files on a machine on which only managed
servers run by using operatingsystem commands (such as tar or zip).
Answer B is correct.
A is the correct answer. Managed server will copies the embedded ldap files from admin server. if the managed server is started for the first time.
Answer : C
Explanation : in the question : ONLY managed servers, so the ldap file is preserved for the domain.
The following files and directories are not included in a Managed Server template by default:
§ Applications and certain application initialization files
§ Temporary files that are created when you start a server
§ The servers directory
§ Files in the security directory that are created automatically when you create the domain, such as DefaultAuthenticatorInit.ldift andXACMLRoleMapperInit.ldift.
A is wrong : because pack/unpack don’t included all files, there are exceptions
B is wrong : is valid only for a domain, i think the ldap is preserved from admin server because it’s isolated on another server.
D is wrong : No need to use backup system tools
why not B — ldap not included with domain, question is about domain files
Answer is A !!!
You can also use the pack utility. The advantage of using pack is that it results in a
portable JAR file and it also automatically saves all the deployed applications (in a
directory in the JAR file called _apps_ ).
Answer is C
Explanation: By default, application files are not included in a Managed Server template created by using the “pack” command …
Answer B is more correct
“The pack command does not export security provider data, such as embedded LDAP data”
Reference since 10.3.6 up to 12.1.3:
https://docs.oracle.com/middleware/11119/wls/WLDPU/commands.htm#WLDPU139
https://docs.oracle.com/middleware/11119/wls/WLDPU/commands.htm#WLDPU141
Wrong C:
Explanation:
“For applications that are deployed in stage mode, the Administration server copies the application bits to the staged directories on the Managed Server hosts”
Reference:
https://docs.oracle.com/middleware/1212/core/ASADM/br_rec.htm#BCGFEJIB
Answer A and B may be correct
B is correct: https://docs.oracle.com/middleware/1212/wls/WLDPU/commands.htm#WLDPU168
“If you configured additional security data, such as for users, groups, or roles, through the Oracle WebLogic Server Administration Console or other online tools, the security data is stored in the LDAP server and is not included in the template. You must first export the data and then import it into the target WebLogic domain.”
IMHO, the only valid answer is C
You don’t need to backup server files on a managed server, the only files needed are the files used by the application itself. Weblogic files will be recreated from the Adminserver, inculding EmbeddedLdap. Try to expand your cluster with already configured apps on it on a different machine, all you need to do is to provide files that are needed by your application (properties, ressources, …)
The only files you really need to backup is the domain directory of the admin server.
That said, you will probably recover faster your domains using an backup tool than to resinstall weblogic and reinstall all your files, including nodemanager configuration…
For applications that are deployed in nostage and external_stage mode, copy the application artifacts from the Administration Server host directory.
For applications that are deployed in stage mode, the Administration server copies the application bits to the staged directories on the Managed Server hosts.
https://docs.oracle.com/middleware/1212/core/ASADM/br_rec.htm#BCGFEJIB
Ensure that the application artifacts are accessible from the Managed Server host. That is, if the application artifacts are not on the same server as the Managed Server, they must be in a location accessible by the Managed Server.
Note:
For applications that are deployed in nostage and external_stage mode, copy the application artifacts from the Administration Server host directory.
For applications that are deployed in stage mode, the Administration server copies the application bits to the staged directories on the Managed Server hosts.