What is the most efficient method to move the application and the VIP?

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?

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?

A.
Run crsctl relocate resource MyApp – n RACNODE4 – f.

B.
Run crsctl stop resource MyApp -n RACNODE3 -f followed by crsctl start MyApp -n
RACNODE4 -f.

C.
Run crsctl stop resource MyApp -n RACNODE3 -f followed by crsctl relocate resource MyApp
�n RACNODE4.

D.
Run crsctl relocate resource MyApp -n RACNODE4.

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
command:
# 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)



Leave a Reply 1

Your email address will not be published. Required fields are marked *


L. Zhu

L. Zhu

A is right. -f is required to relocate VIP resource together
B is wrong. no need 2 steps
C is wrong
D is wrong. no -f option

So A is correct