Examine the output of the asmcmd and srvctl commands:
$ asmcmd showclustermode
ASM cluster : Flex mode enabled
$ srvctl status asm –detail
ASM is running on host01, host03
ASM is enabled.
$ srvctl config asm
ASM home: /u01/app/12.1.0/grid
Password file: +DATA/orapwASM
ASM listener: LISTENER
ASM instance count: 2
Cluster ASM listener: ASMNET1LSNR_ASM
Then you execute this command:
$ srvctl relocate asm – currentnode host03 –targetnode host02
Which three statements are true regarding the execution of this command based on the output shown?
A.
It fails because an ASM instance is not configured to run on HOST02.
B.
It succeeds and starts an ASM instance on HOST02 and shuts down the ASM instance on HOST03.
C.
It succeeds and 12c database instances connected to the ASM instance on HOST03 can be reconnected to the ASM instance on HOST02.
D.
It fails because the ASM instance has not been shut down first on HOST03.
E.
It succeeds and starts an ASM instance on HOST02 but the ASM instance on HOST03 is not shut down until all connected clients disconnected.
F.
It succeeds and 12c database instances connected to the ASM instance on HOST03 can be reconnected to the ASM instance on HOST01.
Explanation:
Temporarily relocates a service member to run on another instance.
Use the srvctl relocate service command with the following syntax:
srvctl relocate service -d db_unique_name -s service_name -i old_inst_name -t new_inst_name [-f] use -f to Disconnect all sessions during stop or relocate service operations.
I think C,E & F correct.
I think that the correct answer is B, C & F
$ srvctl status asm -detail
ASM is running on hostO3,hostO2
ASM is enabled.
$ srvctl stop asm -node hostO3 -f
$ srvctl start asm -node hostOl
$ srvctl status asm -detail
ASM is running on hostOl,hostO2
ASM is enabled.
$ srvctl relocate asm -currentnode hostOl -targetnode hostO3
$ srvctl status asm -detail
ASM is running on hostO3,hostO2
ASM is enabled.
the client connections will be transparently terminated and “failed over” to other available instance…
E. It succeeds and starts an ASM instance on HOST02 but the ASM instance on HOST03 is not shut down “until all connected clients disconnected”.
??
Yes I think you are right
the correct answers B, C, F
ASM instance can be relocated manually to other nodes in a cluster – the client connections will be transparently terminated and failed over to other available instance.
$ srvctl relocate asm -currentnode host03 -targetnode host02
$ srvctl status asm -detail
ASM is running on host02,host01
ASM is enabled.