So the straight answer to your question is :

1) Find the master node in your cluster.

vxclustadm -c mode

2) Assuming node1 is the master then, set that node as primary for vol1
fsclustadm setprimary vol1. (This should be run on the node that you 
want to set as primary. In this case node1)

Please note that this will set node1 as primary for only vol1. For 
different volumes you can set different nodes as primary.

Hope this helps even better.

-Amit



Amit Chaurasia wrote:
> The node that is master or slave can be found out by the command vxdctl 
> -c mode. To find the primary node after the a volume is mounted the 
> command is fsclustadm.
> For Eg: I have node1,node2 and node3 and a vol1 is mounted across all 
> the nodes. There will be 1 node which will be primary. To find out which 
> one, the command is fsclustadm.
>
> Hope this helps.
>
> -Amit
>
>
> Shrikant Tapse wrote:
>   
>> Hi All,
>>
>>  
>>
>> I am quite new to the VxFS.
>>
>>  
>>
>> Does anyone know what is mean by setting master as CFS primary or 
>> secondary?
>>
>>  
>>
>> Would you please provide me some steps to setup such configuration?
>>
>>  
>>
>> Kindly update me.
>>
>>  
>>
>>  
>>
>> Thanks & Regards,
>>
>> Shrikant Tapse.
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
>>   
>>     
>
> _______________________________________________
> Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
>   

_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to