To get the active spectroSERVER name from vnmsh: seek attr=0x10000,val=VNM (Mname will be the active spectroSERVER)
To get the active spectroSERVER name from notifer\setscript\clearscript: Value of variable called $SERVER has the name of active spectroSEREVR I believe that spectrum web server polls spectroservers in every 10 seconds and connect to secondary if found primary unavailable (oneclick got the spectroServer address and its precedence from location server) --Lalit Tyagi From: Jason Hebron [mailto:[email protected]] Sent: Tuesday, July 19, 2011 5:09 PM To: spectrum Cc: spectrum Subject: Re: [spectrum] How OC knows wich SS in active in Fault Tolerance The returned value shows the curently active spectroserver so if you have primary 10 secondary1 20 secondary2 30 and you query the attribute and it returns 20 - then that means secondary2 is currently active. Be careful of running like this as when it goes back to primary changes made on secondary2 will be lost on next replication On 20 July 2011 08:59, Diego Pereyra <[email protected]<mailto:[email protected]>> wrote: You dont misunderstood, if i do the query thought CLI i will get the value of precedence of each spectro server, but how i know wich one is active? I think if i cannot get the value of the primary, is because the secondary is on, is correct ? On 07/19/2011 05:42 PM, Jason Hebron wrote: If each server is assigned a different precedence then a simple CLI query against any model will show the current active precedence, thereby letting you know which SpectroSERVER is active - or have I misunderstood the question? The attribute for precedence is 0X12C0A On 20 July 2011 08:20, Diego Pereyra <[email protected]<mailto:[email protected]>> wrote: Hi list! Im doing some works with scripts... and i need to get the information of how Oneclick know wich spectrum server is active in a Fault Tolerance mode... i cannot find some attribute that inform me that, not even the precedences... The only i get is an alarm then the swich is maded (the yellow state) Thanks for All !!! -- [cid:[email protected]]<http://www.netsol-international.com/> Pereyra Diego System Engineer Esmeralda 684, Piso 10(C1007ABF) Ciudad de Buenos Aires Argentina Web: E-mail: Voice: http://www.netsol-international.com<http://netsol-international.com/> [email protected]<mailto:[email protected]> +54 11 5031 1162 [cid:[email protected]] * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> -- [cid:[email protected]]<http://www.netsol-international.com/> Pereyra Diego System Engineer Esmeralda 684, Piso 10(C1007ABF) Ciudad de Buenos Aires Argentina Web: E-mail: Voice: http://www.netsol-international.com<http://netsol-international.com/> [email protected]<mailto:[email protected]> +54 11 5031 1162 [cid:[email protected]] * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected] ---------------------------------------- This message is intended exclusively for the individual(s) or entity to which it is addressed. It may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
<<inline: image001.jpg>>
<<inline: image002.jpg>>
