1Z0-058 · Question #35
Your Apache-based application resource called MyApp has a VIP application resource definition and an application resource definition. The application is administrator managed and is currently active…
The correct answer is A. Run crsctl relocate resource MyApp - n RACNODE4 - f. Relocating Applications and Application Resources Use the crsctl relocate resource command to relocate applications and application resources. For example, to relocate the Apache Web server application to a server named rac2, run the following # crsctl relocate resource…
Question
Your Apache-based application resource called MyApp has a VIP application resource definition and an application resource definition. The application is administrator managed and is currently active on nodeRACNODE3. You want to move it to host RACNODE4, which is one of the HOSTING_MEMBERS in the resource definition. What is the most efficient method to move the application and the VIP?
Options
- ARun crsctl relocate resource MyApp - n RACNODE4 - f.
- BRun crsctl stop resource MyApp -n RACNODE3 -f followed by crsctl start MyApp -n RACNODE4
- CRun crsctl stop resource MyApp -n RACNODE3 -f followed by crsctl relocate resource MyApp -n
- DRun crsctl relocate resource MyApp -n RACNODE4.
How the community answered
(45 responses)- A73% (33)
- B4% (2)
- C9% (4)
- D13% (6)
Explanation
Relocating Applications and Application Resources Use the crsctl relocate resource command to relocate applications and application resources. For example, to relocate the Apache Web server application to a server named rac2, run the following # crsctl relocate resource myApache -n rac2 Each time that the action program is called, the crsctl relocate resource command waits for the duration specified by the value of the SCRIPT_TIMEOUT resource attribute to receive notification of success or failure from the action program. A relocation attempt fails if: The application has required resources that run on the initial server Applications that require the specified resource run on the initial server To relocate an application and its required resources, use the -f option with the crsctl relocate resource command. Oracle Clusterware relocates or starts all resources that are required by the application regardless of their state. Oracle® Clusterware Administration and Deployment Guide 11g Release 2 (11.2)
Topics
Community Discussion
No community discussion yet for this question.