<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3449424599374393100</id><updated>2026-09-29T15:57:33.537+10:00</updated><category term="windows"/><category term="Kerala"/><category term="india"/><category term="mysql"/><category term="google"/><category term="log"/><category term="STAR"/><category term="US"/><category term="how"/><category term="interview"/><category term="1236"/><category term="Australia"/><category term="Last_IO_Errno"/><category term="USA"/><category term="address"/><category term="behavioral"/><category term="canada"/><category term="file"/><category term="master"/><category term="melbourne"/><category term="replication"/><category term="situation"/><category term="thrissur"/><category term="3G"/><category term="BSNL"/><category term="Facebook"/><category term="Florida"/><category term="GPS"/><category term="GTID"/><category term="IIS"/><category term="IUSR"/><category term="Victoria"/><category term="VirtualBox"/><category term="WIFI"/><category term="West"/><category term="access"/><category term="anonymous"/><category term="ansible"/><category term="answer"/><category term="approach"/><category term="auto"/><category term="binary"/><category term="binlog"/><category term="car"/><category term="care"/><category term="certificate"/><category term="conflict"/><category term="copy"/><category term="create"/><category term="data"/><category term="encryption"/><category term="error"/><category term="files"/><category term="form"/><category term="free"/><category term="freeipa"/><category term="internet"/><category term="ipa"/><category term="life"/><category term="linux"/><category term="market"/><category term="online"/><category term="password"/><category term="personal"/><category term="phone"/><category term="proxy"/><category term="questions"/><category term="quit"/><category term="result"/><category term="sample"/><category term="service"/><category term="software"/><category term="ssh"/><category term="sync"/><category term="system"/><category term="voice"/><category term="work"/><category term="&quot;You might also like&quot;"/><category term="/var/lib/filebeat/registry"/><category term="1396"/><category term="1512"/><category term="193"/><category term="2"/><category term="2005"/><category term="6.0"/><category term="80070422"/><category term="80244019"/><category term="8DDD001"/><category term="AUTO_POSITION"/><category term="AWS"/><category term="Adaminte"/><category term="American Public Media"/><category term="Android"/><category term="Ants"/><category term="Ask"/><category term="Australian"/><category term="BIS"/><category term="Background"/><category term="Bali"/><category term="Banda"/><category term="Bank"/><category term="Bing"/><category term="Bombay"/><category term="Book"/><category term="Broward"/><category term="Bureau of Indian Standards"/><category term="Burke-Baker"/><category term="Burn"/><category term="CDMA"/><category term="Calorie"/><category term="CentOS 7"/><category term="Clearance"/><category term="CloudTrail"/><category term="Cockrell"/><category term="Convention"/><category term="Conversion"/><category term="Crawl"/><category term="Crowd"/><category term="Cuyuni"/><category term="DECT"/><category term="DNS"/><category term="Davie"/><category term="Devassy"/><category term="Drive"/><category term="ELB"/><category term="Energy"/><category term="Engines"/><category term="Equipment"/><category term="Event"/><category term="Exercise"/><category term="Expired"/><category term="Explorer"/><category term="FBI"/><category term="FD-258"/><category term="Fingerprint"/><category term="GSM"/><category term="George Bush International Airport"/><category term="Gods"/><category term="Grenada"/><category term="Gym"/><category term="Gymnasium"/><category term="HDMI"/><category term="HOU"/><category term="Hajj"/><category term="Hermann park"/><category term="Highway"/><category term="Highways"/><category term="Hindu"/><category term="Hobby Airport"/><category term="Houston"/><category term="Houstonians"/><category term="I-5"/><category term="I-95"/><category term="I94"/><category term="IAH"/><category term="IIT"/><category term="IP"/><category term="IPKall"/><category term="IRS"/><category term="IWA M"/><category term="IWAM"/><category term="Immigration"/><category term="Indian Browser"/><category term="Indiapay"/><category term="IsSecureProperty"/><category term="Ivor Madom"/><category term="Japanese garden"/><category term="Jose"/><category term="KSRTC"/><category term="Kumar"/><category term="Last_Errno"/><category term="License"/><category term="Limca"/><category term="LinkedIn"/><category term="Lion"/><category term="Lyndon"/><category term="MSN"/><category term="Maluku"/><category term="MasterCard"/><category term="Metabase.xml"/><category term="Microsoft"/><category term="Mini"/><category term="Mobile"/><category term="Myspace"/><category term="NPR"/><category term="Naming"/><category term="Nationality"/><category term="Nature Trail"/><category term="Nginx"/><category term="Nutmeg"/><category term="OS"/><category term="PBS"/><category term="POSITION"/><category term="PRI"/><category term="Palm"/><category term="Park"/><category term="Passport"/><category term="Payment"/><category term="Penang"/><category term="Pierre Poivre"/><category term="Pine Island Ridge"/><category term="Preston"/><category term="Public  Radio International"/><category term="Public Media Platform"/><category term="RHEL 7"/><category term="Records"/><category term="Recreation"/><category term="Reserver"/><category term="Rupee"/><category term="SIP"/><category term="SMS"/><category term="SSL"/><category term="Safari"/><category term="Salimkumar"/><category term="Samaritan"/><category term="Screen"/><category term="Search"/><category term="Seville"/><category term="Sitemap"/><category term="Social media"/><category term="Spice islands"/><category term="Subst"/><category term="TLS"/><category term="Tarpanas"/><category term="Tequesta Trace Indians"/><category term="Texas"/><category term="The Diane Rehm shown"/><category term="Tree Tops Park"/><category term="Twitter"/><category term="URLs"/><category term="US 1"/><category term="US 101"/><category term="USB"/><category term="Udaya"/><category term="Uniden"/><category term="VBoxManage.exe"/><category term="VISA"/><category term="Vacation"/><category term="Vasco de Gama"/><category term="VicRoads"/><category term="Victorian"/><category term="Visual"/><category term="W2"/><category term="W4"/><category term="Wahab"/><category term="Wortham"/><category term="Yahoo"/><category term="Zoo"/><category term="aborting"/><category term="abu"/><category term="ad"/><category term="ad-hoc"/><category term="adminscripts"/><category term="advantages"/><category term="advertisers"/><category term="allowance"/><category term="anonymoususerpass."/><category term="ansible.log"/><category term="atala"/><category term="authority"/><category term="auto-mate"/><category term="baby"/><category term="backup"/><category term="base"/><category term="behavior"/><category term="blog"/><category term="blogger"/><category term="bluetooth"/><category term="boot"/><category term="bootstrap"/><category term="branch"/><category term="bus"/><category term="butterfly garden"/><category term="buying"/><category term="call"/><category term="cannot"/><category term="canoes"/><category term="cd"/><category term="changed"/><category term="check"/><category term="checklist"/><category term="checkout"/><category term="child"/><category term="client"/><category term="cloud"/><category term="cluster"/><category term="clutch"/><category term="coconut"/><category term="college students"/><category term="command"/><category term="commands"/><category term="computer"/><category term="connection"/><category term="consulate"/><category term="convert"/><category term="corrupted"/><category term="could"/><category term="country"/><category term="crashed"/><category term="cremation"/><category term="crowded"/><category term="crowdsourcing"/><category term="cryptomator"/><category term="cucumber"/><category term="culture"/><category term="customer"/><category term="default"/><category term="dependency"/><category term="design"/><category term="development"/><category term="device"/><category term="disadvantages"/><category term="display"/><category term="documents"/><category term="dregister"/><category term="drive-thru"/><category term="dump"/><category term="e-cigarette"/><category term="east"/><category term="efficiency"/><category term="electronic cigarette"/><category term="employee"/><category term="employer"/><category term="enough"/><category term="envelope"/><category term="even"/><category term="example"/><category term="expense"/><category term="expiry"/><category term="extract"/><category term="failure"/><category term="fatal"/><category term="fee"/><category term="fees"/><category term="filebeat"/><category term="find"/><category term="finger"/><category term="first"/><category term="fish"/><category term="fishGuyana"/><category term="flag"/><category term="freerice.com"/><category term="friends"/><category term="game"/><category term="git"/><category term="give"/><category term="gmail"/><category term="good"/><category term="government"/><category term="gprs"/><category term="grastate.dat"/><category term="grep"/><category term="groups"/><category term="handset"/><category term="history"/><category term="hitech"/><category term="hoc"/><category term="home"/><category term="horse ride"/><category term="huge"/><category term="hunk"/><category term="hzoo"/><category term="ichthyologist"/><category term="ichthyology"/><category term="id_rsa.pub"/><category term="identification"/><category term="identity"/><category term="ifcfg-enp0s3"/><category term="iisreset"/><category term="immunization"/><category term="index"/><category term="individual"/><category term="inetpub"/><category term="installer"/><category term="intelligent"/><category term="job candidates"/><category term="key"/><category term="keyboard"/><category term="knoppix"/><category term="ladyfinger"/><category term="lazybeggers"/><category term="lazybeggers.com"/><category term="leg"/><category term="less"/><category term="lessons"/><category term="licensing"/><category term="liner"/><category term="linkwithin"/><category term="list"/><category term="local"/><category term="location"/><category term="login"/><category term="logs"/><category term="mace"/><category term="machine"/><category term="made"/><category term="main"/><category term="makan"/><category term="make"/><category term="management"/><category term="maps"/><category term="merge"/><category term="milk"/><category term="module"/><category term="modules"/><category term="multitasking"/><category term="museum district"/><category term="navigation"/><category term="network"/><category term="never"/><category term="nicotine"/><category term="node"/><category term="non-root"/><category term="north"/><category term="not"/><category term="notary"/><category term="number"/><category term="odd"/><category term="oil"/><category term="on-line"/><category term="onboot"/><category term="one"/><category term="opensource"/><category term="opensuse"/><category term="operating"/><category term="ostrich"/><category term="overseas"/><category term="own"/><category term="package"/><category term="paddle boats"/><category term="paella"/><category term="patch"/><category term="pay"/><category term="pedal"/><category term="percona"/><category term="permission"/><category term="perspective"/><category term="photocopy"/><category term="platform"/><category term="playbook"/><category term="police"/><category term="possibly"/><category term="posts"/><category term="prepaid"/><category term="pressure"/><category term="print"/><category term="processing"/><category term="proof"/><category term="public"/><category term="purge"/><category term="realtime"/><category term="reboot"/><category term="refund"/><category term="register"/><category term="reinstall"/><category term="reissue"/><category term="related"/><category term="related posts"/><category term="remote"/><category term="rename"/><category term="renewal"/><category term="research"/><category term="residence"/><category term="resolution"/><category term="resolves"/><category term="resume"/><category term="reverse"/><category term="ridemetro.org"/><category term="rituals"/><category term="river"/><category term="robots.txt"/><category term="rpm"/><category term="safe"/><category term="safe_to_bootstrap"/><category term="safety town"/><category term="school"/><category term="seafood"/><category term="searching"/><category term="sed"/><category term="seed"/><category term="seeds"/><category term="selective"/><category term="sensitivity"/><category term="sensor"/><category term="shakthan"/><category term="shows"/><category term="shutdown"/><category term="simultaneous"/><category term="slave"/><category term="smoking"/><category term="south"/><category term="spice"/><category term="spinach"/><category term="sponsors"/><category term="squeeze"/><category term="ssh-add"/><category term="ssh-agent"/><category term="ssh-copy-id"/><category term="ssh-keygen"/><category term="ssh/authorized_key"/><category term="sss"/><category term="state"/><category term="statement"/><category term="subsystem"/><category term="success"/><category term="summer"/><category term="switch"/><category term="symbol"/><category term="table"/><category term="tablet"/><category term="tail"/><category term="tax"/><category term="teaching"/><category term="technique"/><category term="technology"/><category term="think"/><category term="to"/><category term="tools"/><category term="tracking"/><category term="transfer"/><category term="tutoring"/><category term="ubuntu"/><category term="unavailable"/><category term="unix"/><category term="unlocked"/><category term="up"/><category term="update"/><category term="users"/><category term="uuid"/><category term="vagrant"/><category term="validity"/><category term="value"/><category term="var"/><category term="vending"/><category term="virgin"/><category term="virtual"/><category term="vocabulary"/><category term="wamuserpass"/><category term="warning"/><category term="widgets"/><category term="winter"/><category term="with"/><category term="without"/><category term="writeable"/><category term="wsrep"/><category term="xtradb"/><category term="years"/><category term="yum"/><category term="zareena"/><category term="zone"/><title type='text'>Sudeep&#39;s BLOG</title><subtitle type='html'>Thoughts, musings and commentary</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>71</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-7041932234041461474</id><published>2020-10-02T13:52:00.005+10:00</published><updated>2020-10-02T13:52:54.329+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="client"/><category scheme="http://www.blogger.com/atom/ns#" term="connection"/><category scheme="http://www.blogger.com/atom/ns#" term="encryption"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="replication"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><category scheme="http://www.blogger.com/atom/ns#" term="TLS"/><title type='text'>Tech Notes:- How to verify if your connection to MySQL is using encryption or not </title><content type='html'>&lt;p&gt;&amp;nbsp;It is often a confusion whether the client connection or the replication slave is using encryption while connecting to the MySQL server. The below query can tell you whether your connection is using encryption or not&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;SELECT sbt.variable_value AS tls_version, t2.variable_value AS cipher, processlist_user AS user, processlist_host AS host FROM performance_schema.status_by_thread&amp;nbsp; AS sbt JOIN performance_schema.threads AS t ON t.thread_id = sbt.thread_id&amp;nbsp; JOIN performance_schema.status_by_thread AS t2 ON t2.thread_id = t.thread_id&amp;nbsp; WHERE sbt.variable_name = &#39;Ssl_version&#39; and t2.variable_name = &#39;Ssl_cipher&#39; ORDER BY tls_version;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Of course, there are other options to find out. But this one will list all the connections which use or do not use encryption. This worked for me on MySQL 5.7. I have not tried this on other versions and for sure this does not work on some of the older versions of MySQL where we do not have&amp;nbsp;performance_schema.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/7041932234041461474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/7041932234041461474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/7041932234041461474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/7041932234041461474'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/10/tech-notes-how-to-verify-if-your.html' title='Tech Notes:- How to verify if your connection to MySQL is using encryption or not '/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-9001384953685841168</id><published>2020-08-24T08:03:00.005+10:00</published><updated>2020-08-24T08:03:45.196+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="changed"/><category scheme="http://www.blogger.com/atom/ns#" term="freeipa"/><category scheme="http://www.blogger.com/atom/ns#" term="identification"/><category scheme="http://www.blogger.com/atom/ns#" term="ipa"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="sss"/><category scheme="http://www.blogger.com/atom/ns#" term="warning"/><title type='text'>Tech Notes :-  ssh failure Offending RSA key in /var/lib/sss/pubconf/known_hosts</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style=&quot;color: #2b00fe; font-size: small;&quot;&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @&lt;br /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!&lt;br /&gt;Someone could be eavesdropping on you right now (man-in-the-middle attack)!&lt;br /&gt;It is also possible that a host key has just been changed.&lt;br /&gt;The fingerprint for the ECDSA key sent by the remote host is&lt;br /&gt;SHA256:gEFs4gmKdgDsV2n3UhB/lNhZ/sLSM8q+5VIbl+D1S3c.&lt;br /&gt;Please contact your system administrator.&lt;br /&gt;Add correct host key in /dev/null to get rid of this message.&lt;br /&gt;Offending RSA key in /var/lib/sss/pubconf/known_hosts:8&lt;br /&gt;Password authentication is disabled to avoid man-in-the-middle attacks.&lt;br /&gt;Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;color: #2b00fe; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;This is not a normal ssh error that can be fixed by editing ~/.ssh/known_hosts and removing the relevant key entries or by using the command ssh-keygen -f ~/.ssh/known_hosts -R &amp;lt;host&amp;gt;. If you try to do it, the key will come back and ends up with the same error.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Another option that we are tempted to try is to remove the offending key from /var/lib/sss/pubconf/known_hosts. This also will end in failure&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Most probably this error occurs when the server&amp;nbsp;was part of&amp;nbsp; IPA setup and you just re-installed the server without removing the relevant configuration from the IPA server.In this case IPA server will still have the keys associated with the server before it got re-installed and we have to first remove the keys from the IPA server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can do that from the IPA Identity Management Web UI by browsing to Hosts--&amp;gt; &amp;lt;yourhostname&amp;gt; --&amp;gt;Settings. Now scroll down to the SSH Public keys section and then remove the keys and save it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now you should be able to login to your server using ssh as usual.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/9001384953685841168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/9001384953685841168' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9001384953685841168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9001384953685841168'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/08/tech-notes-ssh-failure-offending-rsa.html' title='Tech Notes :-  ssh failure Offending RSA key in /var/lib/sss/pubconf/known_hosts'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-8761845043588115823</id><published>2020-07-06T18:15:00.000+10:00</published><updated>2020-07-06T18:27:44.671+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="1236"/><category scheme="http://www.blogger.com/atom/ns#" term="anonymous"/><category scheme="http://www.blogger.com/atom/ns#" term="AUTO_POSITION"/><category scheme="http://www.blogger.com/atom/ns#" term="binary"/><category scheme="http://www.blogger.com/atom/ns#" term="binlog"/><category scheme="http://www.blogger.com/atom/ns#" term="GTID"/><category scheme="http://www.blogger.com/atom/ns#" term="Last_IO_Errno"/><category scheme="http://www.blogger.com/atom/ns#" term="log"/><category scheme="http://www.blogger.com/atom/ns#" term="replication"/><title type='text'>Tech Notes:- Got fatal error 1236 from master when reading data from binary log: &#39;Cannot replicate anonymous transaction when AUTO_POSITION = 1</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp;Last_IO_Errno: 1236&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: &#39;Cannot replicate anonymous transaction when AUTO_POSITION = 1, at file ../binlogs/mysql-bin.000006, position 194.; the first event &#39;&#39; at 4, the last event read from &#39;../binlogs/mysql-bin.000006&#39; at 259, the last byte read from &#39;../binlogs/mysql-bin.000006&#39; at 259.&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Errno: 1396&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp;Master_UUID: ab7c6739-be64-11ea-b478-080027fd2c56&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Retrieved_Gtid_Set: ab7c6739-be64-11ea-b478-080027fd2c56:1-29&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Executed_Gtid_Set: 846dc749-bf34-11ea-852d-08002749f9b4:1-1032,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ab7c6739-be64-11ea-b478-080027fd2c56:1-4:30-114202&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
On master check the binary log &#39;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql-bin.000006&#39;&amp;nbsp;&lt;/span&gt;at position&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp;194&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show binlog events in &#39;mysql-bin.000006&#39; from 4 limit 5;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+---------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Pos | Event_type&amp;nbsp; &amp;nbsp; &amp;nbsp;| Server_id | End_log_pos | Info&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+---------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 |&amp;nbsp; &amp;nbsp;4 | Format_desc&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123 | Server ver: 5.7.30-33-log, Binlog ver: 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 123 | Previous_gtids |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194 | ab7c6739-be64-11ea-b478-080027fd2c56:1-29&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+---------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
The solution is to skip the transactions associated with GTID&amp;nbsp;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ab7c6739-be64-11ea-b478-080027fd2c56:1-29&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
after making sure that this has been replicated already if not, we need to find and apply the transactions manually.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:1&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:2&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:3&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:4&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:5&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:6&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:7&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:8&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:9&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:10&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:11&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:12&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:13&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:14&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:15&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:16&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:17&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:18&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:19&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:20&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:21&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:22&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:23&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:24&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:25&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:26&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:27&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:28&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;ab7c6739-be64-11ea-b478-080027fd2c56:29&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;BEGIN;COMMIT;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SET GTID_NEXT=&#39;AUTOMATIC&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
A script may be programmed to generate the above statements&lt;br /&gt;
Now we should be able to start the slave&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;start slave;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/8761845043588115823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/8761845043588115823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/8761845043588115823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/8761845043588115823'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/07/tech-notes-got-fatal-error-1236-from.html' title='Tech Notes:- Got fatal error 1236 from master when reading data from binary log: &#39;Cannot replicate anonymous transaction when AUTO_POSITION = 1'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-4216069377621189840</id><published>2020-07-06T14:33:00.000+10:00</published><updated>2020-07-06T15:13:24.159+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="1236"/><category scheme="http://www.blogger.com/atom/ns#" term="1396"/><category scheme="http://www.blogger.com/atom/ns#" term="auto"/><category scheme="http://www.blogger.com/atom/ns#" term="binlog"/><category scheme="http://www.blogger.com/atom/ns#" term="GTID"/><category scheme="http://www.blogger.com/atom/ns#" term="Last_Errno"/><category scheme="http://www.blogger.com/atom/ns#" term="Last_IO_Errno"/><category scheme="http://www.blogger.com/atom/ns#" term="logs"/><category scheme="http://www.blogger.com/atom/ns#" term="master"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="on-line"/><category scheme="http://www.blogger.com/atom/ns#" term="online"/><category scheme="http://www.blogger.com/atom/ns#" term="POSITION"/><category scheme="http://www.blogger.com/atom/ns#" term="purge"/><category scheme="http://www.blogger.com/atom/ns#" term="slave"/><title type='text'>Tech Notes:- Enabling back GTID based replication on-line on a server which was started with GTID mode on , did some transactions and then switched it to GTID mode off</title><content type='html'>This is a special scenario were two&amp;nbsp; MySQL 5.7 servers were started with GTID_MODE=ON, executed some transactions like creating users and granting privileges, and then the GTID_MODE was switched off on both.&lt;br /&gt;
&lt;br /&gt;
Now we want to configure these servers as master-slave, enable the traditional method of replication and then later switch to GTID based replication.&lt;br /&gt;
&lt;br /&gt;
Here are the challenges.&lt;br /&gt;
&lt;br /&gt;
1. We already created some transactions(creating users) on the master which means we have some GTID based transactions already logged in the binary logs as you can see below from the master binary logs&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show binary logs;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----------+&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| File_size |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----------+&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000001 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;177 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; &amp;nbsp; &amp;nbsp; 1037 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; &amp;nbsp; &amp;nbsp; 6798 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000004 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;217 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000005 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;217 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;825 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000007 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;217 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000008 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;378 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000009 |&amp;nbsp; 11592653 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000010 |&amp;nbsp; 36338956 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000011 |&amp;nbsp; 68473681 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000012 | 198652424 |&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----------+&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;12 rows in set (0.04 sec)&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show binlog events in &#39;mysql-bin.000001&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Pos | Event_type&amp;nbsp; &amp;nbsp; &amp;nbsp;| Server_id | End_log_pos | Info&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000001 |&amp;nbsp; &amp;nbsp;4 | Format_desc&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123 | Server ver: 5.7.30-33-log, Binlog ver: 4 |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000001 | 123 | Previous_gtids |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;154 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000001 | 154 | Stop&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;177 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;3 rows in set (0.02 sec)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show binlog events in &#39;mysql-bin.000002&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+------+----------------+-----------+-------------+-------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Pos&amp;nbsp; | Event_type&amp;nbsp; &amp;nbsp; &amp;nbsp;| Server_id | End_log_pos | Info&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+------+----------------+-----------+-------------+-------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; &amp;nbsp; 4 | Format_desc&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123 | Server ver: 5.7.30-33-log, Binlog ver: 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 123 | Previous_gtids |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;154 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 154 | Gtid&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;219 | SET @@SESSION.GTID_NEXT= &#39;ab7c6739-be64-11ea-b478-080027fd2c56:1&#39; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 219 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;287 | BEGIN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 287 | Table_map&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;459 | table_id: 99 (mysql.user)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 459 | Update_rows&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;793 | table_id: 99 flags: STMT_END_F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 793 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;862 | COMMIT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 862 | Gtid&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;927 | SET @@SESSION.GTID_NEXT= &#39;ab7c6739-be64-11ea-b478-080027fd2c56:2&#39; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 |&amp;nbsp; 927 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1014 | FLUSH PRIVILEGES&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000002 | 1014 | Stop&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1037 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+------+----------------+-----------+-------------+-------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;10 rows in set (0.00 sec)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show binlog events in &#39;mysql-bin.000003&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+------+----------------+-----------+-------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Pos&amp;nbsp; | Event_type&amp;nbsp; &amp;nbsp; &amp;nbsp;| Server_id | End_log_pos | Info&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+------+----------------+-----------+-------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; &amp;nbsp; 4 | Format_desc&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123 | Server ver: 5.7.30-33-log, Binlog ver: 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; 123 | Previous_gtids |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194 | ab7c6739-be64-11ea-b478-080027fd2c56:1-2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; 194 | Gtid&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;259 | SET @@SESSION.GTID_NEXT= &#39;ab7c6739-be64-11ea-b478-080027fd2c56:3&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; 259 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;464 | CREATE USER &#39;slave&#39;@&#39;db-%.example.com&#39; IDENTIFIED WITH &#39;mysql_native_password&#39; AS &#39;*B60C3C82CCEBA73F2BDC69601B65DFBAB435A2DA&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; 464 | Gtid&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;529 | SET @@SESSION.GTID_NEXT= &#39;ab7c6739-be64-11ea-b478-080027fd2c56:4&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000003 |&amp;nbsp; 529 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;685 | GRANT REPLICATION SLAVE ON *.* TO &#39;slave&#39;@&#39;db-%.example.com&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. After we switched the GTID mode to off, we have anonymous transactions in the binlogs on master&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show binlog events in &#39;mysql-bin.000006&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+---------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Pos | Event_type&amp;nbsp; &amp;nbsp; &amp;nbsp;| Server_id | End_log_pos | Info&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+---------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 |&amp;nbsp; &amp;nbsp;4 | Format_desc&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;123 | Server ver: 5.7.30-33-log, Binlog ver: 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 123 | Previous_gtids |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;194 | ab7c6739-be64-11ea-b478-080027fd2c56:1-29&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 194 | Anonymous_Gtid |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;259 | SET @@SESSION.GTID_NEXT= &#39;ANONYMOUS&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 259 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;444 | CREATE USER &#39;repl&#39;@&#39;%&#39; IDENTIFIED WITH &#39;mysql_native_password&#39; AS &#39;*0E840B1E4D3B2DDE222EA13524CA92099785A3E4&#39; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 444 | Anonymous_Gtid |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;509 | SET @@SESSION.GTID_NEXT= &#39;ANONYMOUS&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 509 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;645 | GRANT REPLICATION SLAVE ON *.* TO &#39;repl&#39;@&#39;%&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 645 | Anonymous_Gtid |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;710 | SET @@SESSION.GTID_NEXT= &#39;ANONYMOUS&#39;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 710 | Query&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;802 | flush privileges&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| mysql-bin.000006 | 802 | Stop&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;825 |&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+------------------+-----+----------------+-----------+-------------+---------------------------------------------------------------------------------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;9 rows in set (0.00 sec)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. At this point, we are adding a slave which will connect and replicate using the traditional approach (MASTER_AUTO_POSITION = 0)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Now on both master and slave, we enable GTID mode&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show slave status\G&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;*************************** 1. row ***************************&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_State: Waiting for master to send event&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Host: db-55.example.com&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_User: repl&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Port: 3306&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connect_Retry: 60&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Log_File: mysql-bin.000011&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Read_Master_Log_Pos: 16689209&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relay_Log_File: mysqld-relay-bin.000001&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Pos: 4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Master_Log_File: mysql-bin.000011&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_Running: Yes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running: Yes&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Please note that the slave is now at mysql-bin.000011&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5.Switch the method of replication to use GTID(MASTER_AUTO_POSITION = 1)&lt;/div&gt;
&lt;div&gt;
At this stage, we get an error in the slave&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Last_IO_Errno: 1236&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: &#39;Cannot replicate anonymous transaction when AUTO_POSITION = 1, at file ../binlogs/mysql-bin.000006, position 194.; the first event &#39;&#39; at 4, the last event read from &#39;../binlogs/mysql-bin.000006&#39; at 259, the last byte read from &#39;../binlogs/mysql-bin.000006&#39; at 259.&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Errno: 1396&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Error: Error &#39;Operation CREATE USER failed for &#39;test@&#39;127.0.0.1&#39;&#39; on query. Default database: &#39;&#39;. Query: &#39;CREATE USER &#39;test&#39;@&#39;127.0.0.1&#39; IDENTIFIED WITH &#39;mysql_native_password&#39; AS &#39;*47FFA1D679CD8C02395ED76C3640A48AA3C3411C&#39;&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
The reason for this error is that when we tried to switch to GTID based replication, the slave started reading all the binlogs and started with the transactions from binlogs which were already replicated using the traditional method(note that the slave was at&amp;nbsp;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql-bin.000011&amp;nbsp;&lt;/span&gt;before switching.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now, how do we fix this?&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
First find out the UUID of the master by issuing the below command on the master which should match the master UUID in show slave status&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show variables like &#39;%uuid%&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+---------------+--------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| Variable_name | Value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+---------------+--------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;| server_uuid&amp;nbsp; &amp;nbsp;| ab7c6739-be64-11ea-b478-080027fd2c56 |&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;+---------------+--------------------------------------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;1 row in set (0.01 sec)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now, look at the show slave status&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show slave status\G&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;*************************** 1. row ***************************&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_State:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Host: db-55.example.com&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_User: repl&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Port: 3306&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connect_Retry: 60&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Log_File: mysql-bin.000006&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Read_Master_Log_Pos: 194&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relay_Log_File: mysqld-relay-bin.000003&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Pos: 898&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Master_Log_File: mysql-bin.000003&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_Running: No&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running: No&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Do_DB:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Ignore_DB: mysql,information_schema&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Do_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Ignore_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Wild_Do_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; Replicate_Wild_Ignore_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_Errno: 1396&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_Error: Error &#39;Operation CREATE USER failed for &#39;test&#39;@&#39;127.0.0.1&#39;&#39; on query. Default database: &#39;&#39;. Query: &#39;CREATE USER &#39;test&#39;@&#39;127.0.0.1&#39; IDENTIFIED WITH &#39;mysql_native_password&#39; AS &#39;*47FFA1D679CD8C02395ED76C3640A48AA3C3411C&#39;&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Skip_Counter: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Exec_Master_Log_Pos: 685&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Space: 9652&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until_Condition: None&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Until_Log_File:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until_Log_Pos: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Allowed: No&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_CA_File:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_CA_Path:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_SSL_Cert:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_SSL_Cipher:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Key:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Seconds_Behind_Master: NULL&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Master_SSL_Verify_Server_Cert: No&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Errno: 1236&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: &#39;Cannot replicate anonymous transaction when AUTO_POSITION = 1, at file ../binlogs/mysql-bin.000006, position 194.; the first event &#39;&#39; at 4, the last event read from &#39;../binlogs/mysql-bin.000006&#39; at 259, the last byte read from &#39;../binlogs/mysql-bin.000006&#39; at 259.&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Errno: 1396&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Error: Error &#39;Operation CREATE USER failed for &#39;test@&#39;127.0.0.1&#39;&#39; on query. Default database: &#39;&#39;. Query: &#39;CREATE USER &#39;test&#39;@&#39;127.0.0.1&#39; IDENTIFIED WITH &#39;mysql_native_password&#39; AS &#39;*47FFA1D679CD8C02395ED76C3640A48AA3C3411C&#39;&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; Replicate_Ignore_Server_Ids:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_Server_Id: 55&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_UUID: ab7c6739-be64-11ea-b478-080027fd2c56&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_Info_File: mysql.slave_master_info&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQL_Delay: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQL_Remaining_Delay: NULL&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running_State:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_Retry_Count: 86400&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Bind:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error_Timestamp: 200706 13:19:15&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Error_Timestamp: 200706 13:19:15&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Crl:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Crlpath:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Retrieved_Gtid_Set: ab7c6739-be64-11ea-b478-080027fd2c56:1-29&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Executed_Gtid_Set: 846dc749-bf34-11ea-852d-08002749f9b4:1-29,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ab7c6739-be64-11ea-b478-080027fd2c56:1-4:30-53010&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Auto_Position: 1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Rewrite_DB:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Channel_Name:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_TLS_Version:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;1 row in set (0.00 sec)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;
&lt;/span&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show master status;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;
&lt;div&gt;
+------------------+----------+--------------+--------------------------+----------------------------------------------------------------------------------------------+&lt;/div&gt;
&lt;div&gt;
| File&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Position | Binlog_Do_DB | Binlog_Ignore_DB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Executed_Gtid_Set&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/div&gt;
&lt;div&gt;
+------------------+----------+--------------+--------------------------+----------------------------------------------------------------------------------------------+&lt;/div&gt;
&lt;div&gt;
| mysql-bin.000010 |&amp;nbsp; 2060774 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | mysql,information_schema | 846dc749-bf34-11ea-852d-08002749f9b4:1-29,&lt;/div&gt;
&lt;div&gt;
ab7c6739-be64-11ea-b478-080027fd2c56:1-4:30-53010 |&lt;/div&gt;
&lt;div&gt;
+------------------+----------+--------------+--------------------------+----------------------------------------------------------------------------------------------+&lt;/div&gt;
&lt;div&gt;
1 row in set (0.00 sec)&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Here&amp;nbsp;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;846dc749-bf34-11ea-852d-08002749f9b4:1-29 --&amp;gt; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Last slave GTID executed&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ab7c6739-be64-11ea-b478-080027fd2c56:1-4:30-53010 --&amp;gt; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Last GTID executed on master&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In order to fix the problem, we need to mark these as purged in slave.so that the slave continues with the next set of GTIDs. On slave run the below commands.&lt;br /&gt;
&lt;br /&gt;
Please note that running reset master on slave would also delete all binary log files listed in the index file, resets the binary log index file to be empty, and creates a new binary log file.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; reset master;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Query OK, 0 rows affected (0.01 sec)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; set global GTID_PURGED=&#39;846dc749-bf34-11ea-852d-08002749f9b4:1-29,ab7c6739-be64-11ea-b478-080027fd2c56:1-53010&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Query OK, 0 rows affected (0.01 sec)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; start slave;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Query OK, 0 rows affected (0.00 sec)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql&amp;gt; show slave status\G&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;*************************** 1. row ***************************&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_State: Queueing master event to the relay log&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Host: db-55.example.com&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_User: repl&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Port: 3306&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connect_Retry: 60&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Log_File: mysql-bin.000011&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Read_Master_Log_Pos: 17944864&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relay_Log_File: mysqld-relay-bin.000007&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Pos: 781024&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Master_Log_File: mysql-bin.000011&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_Running: Yes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running: Yes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Do_DB:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Ignore_DB: mysql,information_schema&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Do_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Ignore_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Wild_Do_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; Replicate_Wild_Ignore_Table:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_Errno: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_Error:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Skip_Counter: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Exec_Master_Log_Pos: 17469779&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Space: 1256570&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until_Condition: None&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Until_Log_File:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until_Log_Pos: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Allowed: No&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_CA_File:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_CA_Path:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_SSL_Cert:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_SSL_Cipher:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Key:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Seconds_Behind_Master: 955&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;Master_SSL_Verify_Server_Cert: No&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Errno: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Errno: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Error:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; Replicate_Ignore_Server_Ids:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_Server_Id: 55&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_UUID: ab7c6739-be64-11ea-b478-080027fd2c56&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_Info_File: mysql.slave_master_info&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQL_Delay: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SQL_Remaining_Delay: NULL&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running_State: System lock&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_Retry_Count: 86400&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Bind:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error_Timestamp:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Error_Timestamp:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Crl:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Crlpath:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Retrieved_Gtid_Set: ab7c6739-be64-11ea-b478-080027fd2c56:1-29:53011-56993&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Executed_Gtid_Set: 846dc749-bf34-11ea-852d-08002749f9b4:1-29,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ab7c6739-be64-11ea-b478-080027fd2c56:1-55487&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Auto_Position: 1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Rewrite_DB:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Channel_Name:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_TLS_Version:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;1 row in set (0.00 sec)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/4216069377621189840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/4216069377621189840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4216069377621189840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4216069377621189840'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/07/tech-notes-enabling-back-gtid-based.html' title='Tech Notes:- Enabling back GTID based replication on-line on a server which was started with GTID mode on , did some transactions and then switched it to GTID mode off'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-8865480796993624224</id><published>2020-06-21T10:42:00.000+10:00</published><updated>2020-06-21T10:42:09.889+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2005"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="Last_IO_Errno"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="replication"/><title type='text'>Tech Notes:- MySQL replication error 2005 </title><content type='html'>The below error mostly indicates that you have a name resolution issue on your slave side. For me, it turned out that I configured the wrong IP for the DNS server. I just corrected it, stopped and started the slave and everything was ok.&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; show slave status\G&lt;br /&gt;
*************************** 1. row ***************************&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_State: Connecting to master&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Host: master.example.com&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_User: repl&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Port: 3306&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connect_Retry: 60&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Log_File: mysql-bin.000004&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Read_Master_Log_Pos: 23649264&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relay_Log_File: mysqld-relay-bin.000006&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Pos: 4&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Master_Log_File: mysql-bin.000004&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_Running: No&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running: Yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Do_DB:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Ignore_DB:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Do_Table:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Replicate_Ignore_Table:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Replicate_Wild_Do_Table:&lt;br /&gt;
&amp;nbsp; Replicate_Wild_Ignore_Table:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_Errno: 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_Error:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Skip_Counter: 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Exec_Master_Log_Pos: 23649264&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Space: 106&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until_Condition: None&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Until_Log_File:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until_Log_Pos: 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Allowed: No&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_CA_File:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_CA_Path:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_SSL_Cert:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_SSL_Cipher:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master_SSL_Key:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Seconds_Behind_Master: NULL&lt;br /&gt;
Master_SSL_Verify_Server_Cert: No&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Errno: 2005&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Last_IO_Error: error connecting to master &#39;repl@master.example.com:3306&#39; - retry-time: 60&amp;nbsp; retries: 86400&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Errno: 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last_SQL_Error:&lt;br /&gt;
1 row in set (0.00 sec)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/8865480796993624224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/8865480796993624224' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/8865480796993624224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/8865480796993624224'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/06/tech-notes-mysql-replication-error-2005.html' title='Tech Notes:- MySQL replication error 2005 '/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-2440019367834379881</id><published>2020-05-29T22:00:00.001+10:00</published><updated>2020-05-29T22:01:19.430+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2"/><category scheme="http://www.blogger.com/atom/ns#" term="certificate"/><category scheme="http://www.blogger.com/atom/ns#" term="default"/><category scheme="http://www.blogger.com/atom/ns#" term="expiry"/><category scheme="http://www.blogger.com/atom/ns#" term="freeipa"/><category scheme="http://www.blogger.com/atom/ns#" term="ipa"/><category scheme="http://www.blogger.com/atom/ns#" term="validity"/><category scheme="http://www.blogger.com/atom/ns#" term="years"/><title type='text'>Tech Notes:- How to increase the expiry of certificates issued by FreeIPA from the default 2 years to say 5 years</title><content type='html'>By default, the certificates issued by Freeipa has an expiry of 2 years. Here is how we can extend the expiry to 5 years by default&lt;br /&gt;
&lt;br /&gt;
On my host(ipa-client) I already have a certificate with validity till&amp;nbsp;2022-05-30 (2 years)&lt;br /&gt;
sudo ipa-getcert list -i 20200529110800 | grep expires&lt;br /&gt;
expires: 2022-05-30 21:08:01 AEST&lt;br /&gt;
&lt;br /&gt;
I want to have a certificate with 5-year validity.&lt;br /&gt;
&lt;br /&gt;
On the&amp;nbsp; Freeipa server&lt;br /&gt;
sudo ipa certprofile-show caIPAserviceCert --out=caIPAserviceCert.profile&lt;br /&gt;
&lt;br /&gt;
Open the file caIPAserviceCert.profile and then update the below values&lt;br /&gt;
Update the value of below from 731(2*365+1) to 1826(5*365+1)&lt;br /&gt;
policyset.serverCertSet.2.default.params.range=1826&lt;br /&gt;
&lt;br /&gt;
Update the value of below from 740(2*365+10) to 1835(5*365+10)&lt;br /&gt;
policyset.serverCertSet.2.constraint.params.range=1835&lt;br /&gt;
&lt;br /&gt;
Run the below command to modify the default expiry date&lt;br /&gt;
sudo ipa certprofile-mod caIPAserviceCert --file=caIPAserviceCert.profile&lt;br /&gt;
&lt;br /&gt;
Now, if you want to update your already installed certificates to have the new 5-year validity, run the below command on the host(ipa-client)&lt;br /&gt;
&lt;br /&gt;
sudo ipa-getcert rekey -i 20200529110800&lt;br /&gt;
&lt;br /&gt;
where 20200529110800 is the tracking request identifier&lt;br /&gt;
&lt;br /&gt;
Now if we check the validity it should have 5 years&lt;br /&gt;
sudo ipa-getcert list -i 20200529110800 | grep expires&lt;br /&gt;
&amp;nbsp;expires: 2025-05-29 21:46:31 AEST&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/2440019367834379881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/2440019367834379881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/2440019367834379881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/2440019367834379881'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/05/tech-notes-how-to-increase-expiry-of.html' title='Tech Notes:- How to increase the expiry of certificates issued by FreeIPA from the default 2 years to say 5 years'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-6518890001017126074</id><published>2020-05-22T10:48:00.003+10:00</published><updated>2020-05-22T10:48:41.983+10:00</updated><title type='text'>Tech Notes:- Increase the size of tmpfs files system in CentOS 6</title><content type='html'>&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Here are the steps to increase the size of the tmpfs file system in CentOS 6. Suppose you want to increase the size to say 1GB&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Update the below entries in /etc/fstab&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tmpfs&amp;nbsp; &amp;nbsp; &amp;nbsp;/dev/shm&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tmpfs &amp;nbsp; size=1g&amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #666666; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Run the below command&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sudo mount -o remount tmpfs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #666666; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Now check the tmpfs size using df -lh.It should reflect 1GB&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/6518890001017126074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/6518890001017126074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6518890001017126074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6518890001017126074'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/05/tech-notes-increase-size-of-tmpfs-files.html' title='Tech Notes:- Increase the size of tmpfs files system in CentOS 6'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-5130608547176636730</id><published>2020-05-14T22:53:00.001+10:00</published><updated>2020-05-14T23:11:27.956+10:00</updated><title type='text'>Tech Notes:- Adding additional source to Mysql 5.7 multi-source replication with GTID</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There are not many details on how to add an additional source to a multi-source Mysql 5.7 replication based on GTID. This note helps you to understand the simple steps to add additional sources.&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Here we already have a channel running in a multi-source replication configuration.&lt;/div&gt;
&lt;br /&gt;
As you can see below, we have one channel already configured and working&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;SHOW SLAVE STATUS\G&quot; &lt;br /&gt;*************************** 1. row *************************** &lt;br /&gt; Slave_IO_State: Waiting for master to send event &lt;br /&gt; Master_Host: 172.16.1.27 &lt;br /&gt; Master_User: repl &lt;br /&gt; Master_Port: 3306 &lt;br /&gt; Connect_Retry: 60 &lt;br /&gt; Master_Log_File: mysql-bin.000011 &lt;br /&gt; Read_Master_Log_Pos: 459719526 &lt;br /&gt; Relay_Log_File: mysqld-relay-bin-db@002d01.000002 &lt;br /&gt; Relay_Log_Pos: 414 &lt;br /&gt; Relay_Master_Log_File: mysql-bin.000011 &lt;br /&gt; Slave_IO_Running: Yes &lt;br /&gt; Slave_SQL_Running: Yes &lt;br /&gt; Replicate_Do_DB: &lt;br /&gt; Replicate_Ignore_DB: mysql,performance_schema,information_schema,sys &lt;br /&gt; Replicate_Do_Table: &lt;br /&gt; Replicate_Ignore_Table: mysql.user &lt;br /&gt; Replicate_Wild_Do_Table: &lt;br /&gt; Replicate_Wild_Ignore_Table: &lt;br /&gt; Last_Errno: 0 &lt;br /&gt; Last_Error: &lt;br /&gt; Skip_Counter: 0 &lt;br /&gt; Exec_Master_Log_Pos: 459719526 &lt;br /&gt; Relay_Log_Space: 632 &lt;br /&gt; Until_Condition: None &lt;br /&gt; Until_Log_File: &lt;br /&gt; Until_Log_Pos: 0 &lt;br /&gt; Master_SSL_Allowed: No &lt;br /&gt; Master_SSL_CA_File: &lt;br /&gt; Master_SSL_CA_Path: &lt;br /&gt; Master_SSL_Cert: &lt;br /&gt; Master_SSL_Cipher: &lt;br /&gt; Master_SSL_Key: &lt;br /&gt; Seconds_Behind_Master: 0 &lt;br /&gt;Master_SSL_Verify_Server_Cert: No &lt;br /&gt; Last_IO_Errno: 0 &lt;br /&gt; Last_IO_Error: &lt;br /&gt; Last_SQL_Errno: 0 &lt;br /&gt; Last_SQL_Error: &lt;br /&gt; Replicate_Ignore_Server_Ids: &lt;br /&gt; Master_Server_Id: 15 &lt;br /&gt; Master_UUID: a21bbd99-935e-11ea-a7c0-080027677b11 &lt;br /&gt; Master_Info_File: mysql.slave_master_info &lt;br /&gt; SQL_Delay: 0 &lt;br /&gt; SQL_Remaining_Delay: NULL &lt;br /&gt; Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates &lt;br /&gt; Master_Retry_Count: 86400 &lt;br /&gt; Master_Bind: &lt;br /&gt; Last_IO_Error_Timestamp: &lt;br /&gt; Last_SQL_Error_Timestamp: &lt;br /&gt; Master_SSL_Crl: &lt;br /&gt; Master_SSL_Crlpath: &lt;br /&gt; Retrieved_Gtid_Set: &lt;br /&gt; Executed_Gtid_Set: a21bbd99-935e-11ea-a7c0-080027677b11:1-3369484 &lt;br /&gt; Auto_Position: 1 &lt;br /&gt; Replicate_Rewrite_DB: &lt;br /&gt; Channel_Name: db-master-1 &lt;br /&gt; Master_TLS_Version: &lt;/span&gt;&lt;br /&gt;
One important thing that we need to make a note in the case of multi-source replication is that the gtid_purged is global to the slave. So if we try to setup gtid_purged value based on the news source, the replication for the existing channel will fail.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The solution is to make sure that we take the value of gtid_executed from the existing source say db-master-1 and make a note of it first&lt;br /&gt;
On Master1&lt;br /&gt;
----------------&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-master-1 ~]$ sudo mysql -e &quot;show global variables like &#39;gtid_executed&#39;&quot; &lt;br /&gt;+---------------+------------------------------------------------+ &lt;br /&gt;| Variable_name | Value | &lt;br /&gt;+---------------+------------------------------------------------+ &lt;br /&gt;| gtid_executed | a21bbd99-935e-11ea-a7c0-080027677b11:1-3369484 | &lt;br /&gt;+---------------+------------------------------------------------+ &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
On master2&lt;br /&gt;
---------------&lt;br /&gt;
Take a mysqldump from db-master-2 , say&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;mysqldump_db-master-2_2020-05-14.sql.gz&amp;nbsp;&lt;/span&gt;and then copy it to slave&lt;br /&gt;
&lt;br /&gt;
On slave&lt;br /&gt;
------------&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$&amp;nbsp; unzip mysqldump_master-2_2020-05-14.sql.gz &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ cat mysqldump_db-master-2_$(date +%F).sql | grep GTID_PURGED | cut -f2 -d&#39;=&#39; | cut -f2 -d$&#39;\&#39;&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;475d926a-9309-11ea-9dee-080027cfdd46:1-2493391 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sed &#39;/GTID_PURGED/d&#39; mysqldump_db-master-2_$(date +%F).sql &amp;gt; mysqldump_db-master-2_gtid_nopurge_$(date +%F).sql&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;source mysqldump_db-master-2_gtid_nopurge_$(date +%F).sql&quot; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;RESET MASTER&quot; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &#39;SET @@GLOBAL.gtid_purged = &quot;a21bbd99-935e-11ea-a7c0-080027677b11:1-3369484,475d926a-9309-11ea-9dee-080027cfdd46:1-2493391&quot;&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;CHANGE MASTER TO MASTER_HOST=&#39;172.16.1.28&#39;,MASTER_USER=&#39;repl&#39;,MASTER_PASSWORD=&#39;Password&#39;,MASTER_AUTO_POSITION = 1 FOR CHANNEL &#39;db-master-2&#39;&quot; &lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;START SLAVE FOR CHANNEL &#39;db-master-2&#39;&quot; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;SHOW SLAVE STATUS\G&quot; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*************************** 1. row *************************** &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_IO_State: Waiting for master to send event &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Host: 172.16.1.27 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_User: repl &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Port: 3306 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Connect_Retry: 60 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Log_File: mysql-bin.000011 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Read_Master_Log_Pos: 459719703 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Log_File: mysqld-relay-bin-db@002d01.000002 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Log_Pos: 591 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Master_Log_File: mysql-bin.000011 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_IO_Running: Yes &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_SQL_Running: Yes &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Do_DB: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Ignore_DB: mysql,performance_schema,information_schema,sys &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Do_Table: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Ignore_Table: mysql.user &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Wild_Do_Table: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Wild_Ignore_Table: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_Errno: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_Error: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Skip_Counter: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Exec_Master_Log_Pos: 459719703 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Log_Space: 809 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Until_Condition: None &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Until_Log_File: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Until_Log_Pos: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Allowed: No &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_CA_File: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_CA_Path: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Cert: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Cipher: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Key: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Seconds_Behind_Master: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Verify_Server_Cert: No &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_IO_Errno: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_IO_Error: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_SQL_Errno: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_SQL_Error: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Ignore_Server_Ids: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Server_Id: 15 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_UUID: a21bbd99-935e-11ea-a7c0-080027677b11 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Info_File: mysql.slave_master_info &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SQL_Delay: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SQL_Remaining_Delay: NULL &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Retry_Count: 86400 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Bind: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_IO_Error_Timestamp: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_SQL_Error_Timestamp: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Crl: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Crlpath: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Retrieved_Gtid_Set: a21bbd99-935e-11ea-a7c0-080027677b11:3369485 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Executed_Gtid_Set: 475d926a-9309-11ea-9dee-080027cfdd46:1-2493391, &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;a21bbd99-935e-11ea-a7c0-080027677b11:1-3369485 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Auto_Position: 1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Rewrite_DB: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Channel_Name: db-master-1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_TLS_Version: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*************************** 2. row *************************** &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_IO_State: Waiting for master to send event &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Host: 172.16.1.28 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_User: repl &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Port: 3306 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Connect_Retry: 60 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Log_File: mysql-bin.000008 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Read_Master_Log_Pos: 365 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Log_File: mysqld-relay-bin-db@002d02.000002 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Log_Pos: 414 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Master_Log_File: mysql-bin.000008 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_IO_Running: Yes &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_SQL_Running: Yes &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Do_DB: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Ignore_DB: mysql,performance_schema,information_schema,sys &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Do_Table: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Ignore_Table: mysql.user &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Wild_Do_Table: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Wild_Ignore_Table: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_Errno: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_Error: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Skip_Counter: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Exec_Master_Log_Pos: 365 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Relay_Log_Space: 632 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Until_Condition: None &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Until_Log_File: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Until_Log_Pos: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Allowed: No &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_CA_File: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_CA_Path: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Cert: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Cipher: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Key: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Seconds_Behind_Master: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Verify_Server_Cert: No &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_IO_Errno: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_IO_Error: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_SQL_Errno: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_SQL_Error: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Ignore_Server_Ids: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Server_Id: 28 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_UUID: 475d926a-9309-11ea-9dee-080027cfdd46 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Info_File: mysql.slave_master_info &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SQL_Delay: 0 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;SQL_Remaining_Delay: NULL &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Retry_Count: 86400 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_Bind: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_IO_Error_Timestamp: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Last_SQL_Error_Timestamp: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Crl: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_SSL_Crlpath: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Retrieved_Gtid_Set: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Executed_Gtid_Set: 475d926a-9309-11ea-9dee-080027cfdd46:1-2493391, &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;a21bbd99-935e-11ea-a7c0-080027677b11:1-3369485 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Auto_Position: 1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Replicate_Rewrite_DB: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Channel_Name: db-master-2 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Master_TLS_Version: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
We have added a second source channel db-master-2.&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Consolas&#39;, monospace; white-space: pre;&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: &#39;Consolas&#39;, monospace; white-space: pre;&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/5130608547176636730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/5130608547176636730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/5130608547176636730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/5130608547176636730'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/05/tech-notes-adding-additional-source-to.html' title='Tech Notes:- Adding additional source to Mysql 5.7 multi-source replication with GTID'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-8592211923949416937</id><published>2020-05-14T17:21:00.000+10:00</published><updated>2020-05-31T20:03:14.173+10:00</updated><title type='text'>Tech Notes:- Mysql replication error 1236 for GTID based replication</title><content type='html'>For GTID based MySQL replication we sometimes end up with below error&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt; Slave_IO_Running: No &lt;br /&gt; Slave_SQL_Running: Yes&lt;br /&gt; Last_IO_Errno: 1236&lt;br /&gt;&lt;br /&gt;Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: &#39;The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary lo&lt;br /&gt;gs containing GTIDs that the slave requires. Replicate the missing transactions from elsewhere, or provision a new slave from backup. Consider increasing the master&#39;s binary log expiration period.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The way to solve this is outlines below&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
On Master&lt;/div&gt;
&lt;div&gt;
--------------&lt;br /&gt;
Take a mysqldump from the master and then copy it to the slave. Say your dump file is&amp;nbsp; mysqldump_db-01_2020-05-13.sql.gz&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #d0d0d0; font-family: &amp;quot;consolas&amp;quot; , monospace; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
On Slave&lt;/div&gt;
&lt;div&gt;
-------------&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;[sudeep@db-slave ~]$ gunzip mysqldump_db-01_2020-05-13.sql.gz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Record the gtid_purged value that mysqldump added to the dump file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;[sudeep@db-slave~]$ cat mysqldump_db-01_$(date +%F).sql | grep GTID_PURGED | cut -f2 -d&#39;=&#39; | cut -f2 -d$&#39;\&#39;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;a21bbd99-935e-11ea-a7c0-080027677b11:1-100&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Remove the line from the dump file that contains the SET @@GLOBAL.gtid_purged statement&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;[sudeep@db-slave&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;~]$&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;sed &#39;/GTID_PURGED/d&#39; mysqldump_db-01_$(date +%F).sql &amp;gt; mysqldump_db-01_gtid_nopurge_$(date +%F).sql&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;[sudeep@db-slave&lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;~]$&lt;/span&gt;sudo mysql&amp;nbsp; -e &quot;source mysqldump_db-01_gtid_nopurge_$(date +%F).sql&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;RESET MASTER&quot;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;The reset master command should clear the GTID_EXECUTED on slave&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;[sudeep@db-slave ~]$&amp;nbsp; sudo mysql -e &quot;show global variables like &#39;%GTID_EXECUTED%&#39;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;+---------------+----------+&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;| Variable_name | Value |&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;+---------------+----------+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;| gtid_executed |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;+---------------+----------+&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;
[sudeep@db-slave ~]$ sudo mysql -e &quot;set global GTID_PURGED=&#39;a21bbd99-935e-11ea-a7c0-080027677b11:1-100&#39;&quot; &lt;br /&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;START SLAVE io_thread&quot;&lt;br /&gt;[sudeep@db-slave ~]$ sudo mysql -e &quot;SHOW SLAVE STATUS\G&quot; | grep -i yes&lt;/span&gt; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;Slave_IO_Running:&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;Yes &lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;Slave_SQL_Running:&lt;/span&gt; &lt;span style=&quot;color: lime;&quot;&gt;Yes &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/8592211923949416937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/8592211923949416937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/8592211923949416937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/8592211923949416937'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/05/tech-notes-mysql-replication-1236-for.html' title='Tech Notes:- Mysql replication error 1236 for GTID based replication'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-9004161002228571364</id><published>2020-04-26T20:53:00.000+10:00</published><updated>2020-04-26T20:53:03.567+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="/var/lib/filebeat/registry"/><category scheme="http://www.blogger.com/atom/ns#" term="filebeat"/><title type='text'>Tech Notes:- Filebeat fails with the message Exiting: Registry file path must be a file. /var/lib/filebeat/registry is a directory</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
Filebeat fails with the message&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&quot;&lt;span style=&quot;background-color: #263238; color: #eceff1; font-family: Consolas, monospace; white-space: pre;&quot;&gt;Exiting: Registry file path must be a file. /var/lib/filebeat/registry is a directory.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #263238; color: #eceff1; font-family: Consolas, monospace; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This usually happens when you have installed a higher version of filebeat, removed it, and then installed a lower version. In my case, I installed version 7.x and then I found that it is not compatible with Elasticsearch 6.x.So I removed it and then installed filebeat 6.8.x.It worked initially and then after a restart, this error started appearing. The solution is simple. Just remove the directory /var/lib/filebeat/registry and then start filebeat&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/9004161002228571364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/9004161002228571364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9004161002228571364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9004161002228571364'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2020/04/tech-notes-filebeat-fails-with-message.html' title='Tech Notes:- Filebeat fails with the message Exiting: Registry file path must be a file. /var/lib/filebeat/registry is a directory'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-232907920923660986</id><published>2019-04-12T11:35:00.004+10:00</published><updated>2019-04-12T11:39:42.902+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="copy"/><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="opensuse"/><category scheme="http://www.blogger.com/atom/ns#" term="subsystem"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Tech Notes:-How to copy files from Windows Subsystem  For Linux to Windows</title><content type='html'>If you work on Windows Subsystem for Linux&amp;nbsp; either Ubuntu or OpenSuse, I am sure you have faced with situations where you had to copy files from Ubuntu or OpenSuse to Windows.&lt;br /&gt;
&lt;br /&gt;
If you are not aware how to do it. Here are the easy steps&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Right-click the start and then run , paste the below path and press enter&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;%userprofile%\AppData\Local\Packages&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Now in the windows explorere search packages option type ubuntu. This should show the Ubuntu folder with the name something like&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Open this folder and browse to LocalState --&amp;gt; rootfs&lt;/li&gt;
&lt;li&gt;Now this is the root file system of your Ubuntu.Mostly your files will be saved under /home/UserName/&lt;/li&gt;
&lt;li&gt;Now you should be able to copy the files using windows explorer itself&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/232907920923660986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/232907920923660986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/232907920923660986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/232907920923660986'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/04/tech-notes-how-to-copy-files-from.html' title='Tech Notes:-How to copy files from Windows Subsystem  For Linux to Windows'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-5357070257368130955</id><published>2019-04-07T15:17:00.000+10:00</published><updated>2019-04-07T15:29:04.715+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="cluster"/><category scheme="http://www.blogger.com/atom/ns#" term="flag"/><category scheme="http://www.blogger.com/atom/ns#" term="grastate.dat"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="node"/><category scheme="http://www.blogger.com/atom/ns#" term="percona"/><category scheme="http://www.blogger.com/atom/ns#" term="safe"/><category scheme="http://www.blogger.com/atom/ns#" term="safe_to_bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="shutdown"/><category scheme="http://www.blogger.com/atom/ns#" term="uuid"/><category scheme="http://www.blogger.com/atom/ns#" term="value"/><category scheme="http://www.blogger.com/atom/ns#" term="wsrep"/><category scheme="http://www.blogger.com/atom/ns#" term="xtradb"/><title type='text'>Tech Notes:- How To Bootsrap a Percona Xtradb Cluster After All The Nodes Are Down</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Often there is confusion regarding which node to start first after we shut down all the nodes or a Percona XtraCB Cluster. So here is how we can decide that&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Safe_to_bootstrap Flag&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Our decision should be based on the value of this flag, if we are sure that the cluster was shut down properly. If we are talking about a 3 nodes cluster, you have to check the value of this flag in the file /var/lib/mysql/grastate.dat in each of the nodes.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The node with the value 1 should be the one we use for bootstrap. Others will have a value of 0. So here in my case, Node1 with the value of 1 for safe_to_bootstrap should be the one which we bootstrap.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3geTLBpLoYZAR7NTYYmzYnrsfyTvVbNVjtxGj9yImJOWOOoti7guq4csa4Pyn02KTJYNJaP7O1h2rC2WYePb-bi75SQE8uC5kKQXvyTU0i2Txs5VeIptElXyQkbkepsdAeW5lRava2Z-9/s1600/Cluster.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;668&quot; data-original-width=&quot;509&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3geTLBpLoYZAR7NTYYmzYnrsfyTvVbNVjtxGj9yImJOWOOoti7guq4csa4Pyn02KTJYNJaP7O1h2rC2WYePb-bi75SQE8uC5kKQXvyTU0i2Txs5VeIptElXyQkbkepsdAeW5lRava2Z-9/s320/Cluster.png&quot; width=&quot;243&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;But what happens if you try to&amp;nbsp; bootstrap&amp;nbsp;from the nodes 2 and 3 which had a value of 0 for safe_to_bootstrap. The cluster will refuse to start those nodes. You can see the below message in the logs /var/log/mysqld.log&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;&lt;i&gt;It may not be safe to bootstrap the cluster from this node. It was not the last one to leave the cluster and may not contain all the updates.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;What if the nodes were not shut down properly.?&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;In case of a hard crash or an abrupt shutdown, all nodes will have a value of 0 for the safe_to_bootstrap. In this case, we have to check the DB engine to determine which node has committed the last transaction. For this, we have to start mysqld&amp;nbsp;in each node with the wsrep-recover variable&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;sudo mysqld_safe --wsrep-recover&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The above command will have something&amp;nbsp;like below in the output&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;mysqld_safe WSREP: Recovered position&amp;nbsp;&amp;nbsp;f23bb233-5840-11e9-919a-9eac3900b870:14&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The number after the UUID string is the one to look for. Select&amp;nbsp; the node that has the highest number and update its /var/lib/mysql/grastate.dat to set&amp;nbsp; safe_to_bootstrap: 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;sudo less /var/lib/mysql/grastate.dat&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;# GALERA saved state&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;version: 2.1&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;uuid:&amp;nbsp; &amp;nbsp; f23bb233-5840-11e9-919a-9eac3900b870&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;seqno:&amp;nbsp; &amp;nbsp;-1&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: x-small;&quot;&gt;safe_to_bootstrap: 1&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now it is safe to bootstrap this node.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Note:-The above procedure is not needed for most recent versions of Percona XtraDB cluster as there is a new option pc.recovery which is enabled by default and will recover the cluster promoting the node with the last commit as the primary node after all the members again start to see each other.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/5357070257368130955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/5357070257368130955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/5357070257368130955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/5357070257368130955'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/04/tech-notes-how-to-bootsrap-percona.html' title='Tech Notes:- How To Bootsrap a Percona Xtradb Cluster After All The Nodes Are Down'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3geTLBpLoYZAR7NTYYmzYnrsfyTvVbNVjtxGj9yImJOWOOoti7guq4csa4Pyn02KTJYNJaP7O1h2rC2WYePb-bi75SQE8uC5kKQXvyTU0i2Txs5VeIptElXyQkbkepsdAeW5lRava2Z-9/s72-c/Cluster.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-4473927363292524571</id><published>2019-03-24T21:42:00.001+11:00</published><updated>2019-04-07T14:13:04.166+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="cryptomator"/><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="device"/><category scheme="http://www.blogger.com/atom/ns#" term="encryption"/><category scheme="http://www.blogger.com/atom/ns#" term="free"/><category scheme="http://www.blogger.com/atom/ns#" term="key"/><category scheme="http://www.blogger.com/atom/ns#" term="opensource"/><category scheme="http://www.blogger.com/atom/ns#" term="password"/><category scheme="http://www.blogger.com/atom/ns#" term="personal"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Tech Notes:-Using Cryptomator to encrypt you personal data in cloud</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUG0l8p9bKuY6WQlmHSrxu3ZW2rrU7pcbKKSSGPKLpodQFSdQ0-mKDU7oGRxYKKQLTCVXeutOvsf4PHHTu4YQ9GKkCQtCDjksun5O-sczRlBSrE8H-82UD0O6MofwfdVcUPKKYbKtwnB_Q/s1600/IMG_20190325_140117-01.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;760&quot; data-original-width=&quot;1600&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUG0l8p9bKuY6WQlmHSrxu3ZW2rrU7pcbKKSSGPKLpodQFSdQ0-mKDU7oGRxYKKQLTCVXeutOvsf4PHHTu4YQ9GKkCQtCDjksun5O-sczRlBSrE8H-82UD0O6MofwfdVcUPKKYbKtwnB_Q/s320/IMG_20190325_140117-01.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;One confusion most of us always had from the early years of cloud adoption is whether to upload confidential data to the cloud or not and how safe is the data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now, we have a free solution which we can use to encrypt the data uploaded to the cloud. This is using a tool called Cryptomator.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;https://cryptomator.org/&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cryptomator is a free, opensource client-side tool for encrypting your cloud files.T he tool is available for Linux, Windows, Mac, Android and Apple.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Cryptomator encrypts the data with either a key or a password as per your choice before its uploaded from your device.This means that the data stored in the cloud will be in encrypted form. All that someone who gets access to your cloud account sees is like below which&amp;nbsp; doesn&#39;t make any sense&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2PVeZdC8KAa4qWq0daW31gzv-9u837LrfeUxBXIfNLkWOwmnUg7mvbDGwo8JBCGzKJxqH9nvc3PA9hJKiZtSkQl-RjqrtyXKGITxXAfZNsOkrJeeF6LOxi_HxBgzkBciQZJKHQMW10S1Z/s1600/GCloudView.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;762&quot; data-original-width=&quot;1600&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2PVeZdC8KAa4qWq0daW31gzv-9u837LrfeUxBXIfNLkWOwmnUg7mvbDGwo8JBCGzKJxqH9nvc3PA9hJKiZtSkQl-RjqrtyXKGITxXAfZNsOkrJeeF6LOxi_HxBgzkBciQZJKHQMW10S1Z/s320/GCloudView.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoI4MBVgiPumFZDuiYjMT2A4m0lHSTSi2D1hvam-rVJANnC6-QdJjznAkqmr3MY4H5g-5thWNGuSk3JSzBF6VNH_2QnMXKGXtS4Z3MNUFRX439HDGVN-NLAbus6pkxW-Ha9RZy_wtGg_il/s1600/GCloudView1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;143&quot; data-original-width=&quot;1509&quot; height=&quot;30&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoI4MBVgiPumFZDuiYjMT2A4m0lHSTSi2D1hvam-rVJANnC6-QdJjznAkqmr3MY4H5g-5thWNGuSk3JSzBF6VNH_2QnMXKGXtS4Z3MNUFRX439HDGVN-NLAbus6pkxW-Ha9RZy_wtGg_il/s320/GCloudView1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;It will make sense only once we decrypt it with the same password or key after we download it back to our device.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now we will see how we can setup cryptomator to encrypt files and then sync it to google drive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Setting up Google drive&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;First, we have to download and install Google Backup and Sync from below URL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;a href=&quot;https://www.google.com/drive/download/backup-and-sync/&quot;&gt;https://www.google.com/drive/download/backup-and-sync/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;On launching Google&amp;nbsp; Backup and Sync, you will be asked to sign in with your Google credentials.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;If you have enabled 2-step verification, you will be asked to complete the formalities for 2-step verification.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;ClickAllow for trust verification message&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Once you sign-in,&amp;nbsp;follow below youtube video to add the folder that you want to sync. I have chosen the folder E:\Google Drive to sync. We will be creating a folder named MyDocs under the Google Drive folder and this folder will contain our data which will be encrypted using cryptomator.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;a href=&quot;https://www.youtube.com/watch?v=Y4kJ9-j_FUY&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;https://www.youtube.com/watch?v=Y4kJ9-j_FUY&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Setting up Cryptomator&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Download and install cryptomator form below link&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://cryptomator.org/downloads/#winDownload&quot; style=&quot;font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;https://cryptomator.org/downloads/#winDownload&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Launch cryptomator and click on the + and then select create a new vault&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Browse to your Google drive path. In my case, it is E:\Google Drive&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Name the vault and supply a password and then click on Create Vault&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;That&#39;s it, you have created the vault&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now click on the drop-down near Lock Vault and then select Reveal Drive&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;This will open the drive in Windows Explorer.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;By default, the drive will be mounted in Windows Explorer as Z drive&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now whatever files you copy to this drive will be encrypted and since this folder is already part of Google Drive folder, this will be synced to Google drive.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;But to access the contents, you need to have theCryptomator software as well as the password that you set for the vault.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Once your work is done, you can close this drive by&amp;nbsp;selecting the drop-down near to the Lock Vault and then selecting eject drive&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;You can access your encrypted files from even your Android phone or iPhone&amp;nbsp;As of this writing, the Cryptomator client for Android is not free.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/4473927363292524571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/4473927363292524571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4473927363292524571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4473927363292524571'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/tech-notes-using-cryptomator-to-encrypt.html' title='Tech Notes:-Using Cryptomator to encrypt you personal data in cloud'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUG0l8p9bKuY6WQlmHSrxu3ZW2rrU7pcbKKSSGPKLpodQFSdQ0-mKDU7oGRxYKKQLTCVXeutOvsf4PHHTu4YQ9GKkCQtCDjksun5O-sczRlBSrE8H-82UD0O6MofwfdVcUPKKYbKtwnB_Q/s72-c/IMG_20190325_140117-01.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-4570883968355579063</id><published>2019-03-24T11:43:00.002+11:00</published><updated>2019-03-24T16:53:36.617+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="create"/><category scheme="http://www.blogger.com/atom/ns#" term="dump"/><category scheme="http://www.blogger.com/atom/ns#" term="extract"/><category scheme="http://www.blogger.com/atom/ns#" term="huge"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="sed"/><category scheme="http://www.blogger.com/atom/ns#" term="table"/><title type='text'>Tech Notes:-Extracting specific tables from MySQL dump</title><content type='html'>&lt;head&gt;
&lt;style&gt;
/* Define form type as flex and set the button in line with text area */
form {
  display: flex;
  align-items: flex-end;
}

textarea {
  width: 90%;
  resize: none;
}

#submit {
  width: 10%;
}
/* Definition of  form type as well as configuration for button to be in line with text area end here */
&lt;/style&gt;
&lt;/head&gt;


&lt;body&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;
I encountered a situation where I had to extract only a specific table from a huge&amp;nbsp; MySQL dump. Here is how you could accomplish this.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Lets say the name of the table is mytable and the file containing the huge mysql&amp;nbsp;dump is mysql.dump. Here is the command to extract mytable&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;

&lt;script src=&quot;https://cdn.jsdelivr.net/clipboard.js/1.5.12/clipboard.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
new Clipboard(&#39;.btn&#39;);
&lt;/script&gt;

&lt;form&gt;
&lt;textarea rows=1 id=&quot;tag-for-copy-btn&quot;&gt;
sed -n -e &#39;/CREATE TABLE.*`mytable`/,/CREATE TABLE/p&#39; mysql.dump &gt; mytable.dump
&lt;/textarea&gt;
&lt;button class=&#39;btn small blue button&#39; data-clipboard-action=&quot;copy&quot; data-clipboard-target=&#39;#tag-for-copy-btn&#39;&gt;Copy&lt;/button&gt;
&lt;/form&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This will copy into the file mytable.dump what is located between CREATE TABLE mytable and the next CREATE TABLE corresponding to the next table.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If required you can then adjust the file mytable.dump which contains the structure of the table mytable, and the data.&lt;/div&gt;



&lt;/body&gt;

</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/4570883968355579063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/4570883968355579063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4570883968355579063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4570883968355579063'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/tech-notes-extracting-specific-tables.html' title='Tech Notes:-Extracting specific tables from MySQL dump'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-9161916213746900443</id><published>2019-03-24T10:51:00.000+11:00</published><updated>2019-03-24T11:10:56.879+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dependency"/><category scheme="http://www.blogger.com/atom/ns#" term="package"/><category scheme="http://www.blogger.com/atom/ns#" term="reinstall"/><category scheme="http://www.blogger.com/atom/ns#" term="rpm"/><category scheme="http://www.blogger.com/atom/ns#" term="yum"/><title type='text'>Tech Notes:- Yum reinstall command</title><content type='html'>&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The Problem&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Often we encounter scenarios where we have to re-install packages in yum. Here I am explaining one such scenario.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Last week I installed an application using yum and then removed the rpm packages one by one. And then deleted the application folder. Later I decided to install it back and I used yum to install it. But after I installed the application I noticed that the application was not launching. On investigation, I could find that the yum install did not install certain dependancy packages which had some libraries required for the application to start.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Analysis&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;So what happened here?. Although I removed most of the packages using rpm, I missed to remove certain dependency packages and then later when the folder was deleted, the files associated with the dependency packages got deleted. But as per yum database, the dependency package is still installed and when we installed it using yum the second time, these packages were skipped.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Solution&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;How to deal with this?. First of all we have to find out which package provides the missing files.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: Georgia, Times New Roman, serif;&quot;&gt;rpm -qf&amp;nbsp;filename&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Now we can ascertain that the file is part of the dependency package for the packages we installed using yum.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Fortunately, yum has an option called reinstall which will completely re-install the packages including the dependancy packages. The syntax is simple&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;yum reinstall PACKAGE_NAME&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/9161916213746900443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/9161916213746900443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9161916213746900443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9161916213746900443'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/tech-notes-yum-reinstall-command.html' title='Tech Notes:- Yum reinstall command'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-6096962921266920413</id><published>2019-03-23T19:22:00.001+11:00</published><updated>2019-03-23T19:22:44.818+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="market"/><category scheme="http://www.blogger.com/atom/ns#" term="melbourne"/><category scheme="http://www.blogger.com/atom/ns#" term="paella"/><category scheme="http://www.blogger.com/atom/ns#" term="Preston"/><category scheme="http://www.blogger.com/atom/ns#" term="seafood"/><title type='text'>Paella from Preston market Melbourne</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7UyV_BtywXhHoScPjKSDR-LjV2w1FQXrQ5TEhylHPg-2uRTV1FeGxbwnDQp833EiflvEMTiZNZp-tP5AoNytowz1sJbKW86EGBKP9W4M1gq_xhdZkPUl6wxXyB5saed6Bh4YDrUxv3k8/s1600/IMG_20190316_112905.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;938&quot; data-original-width=&quot;1251&quot; height=&quot;239&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7UyV_BtywXhHoScPjKSDR-LjV2w1FQXrQ5TEhylHPg-2uRTV1FeGxbwnDQp833EiflvEMTiZNZp-tP5AoNytowz1sJbKW86EGBKP9W4M1gq_xhdZkPUl6wxXyB5saed6Bh4YDrUxv3k8/s320/IMG_20190316_112905.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;I was on a normal routine visit to Preston market in Melbourne and I noticed something special and that was seafood Paella. The deliciousness spreading through the air was so tempting that I decided to join the huge queue for a taste.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Now, like me, for those who don&#39;t know what is Paella. Paella&amp;nbsp;is known to have originated in the Spanish city of Valencia and then spread across Spain and now spreading all over the world including Melbourne :).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;We have different types of Paella now, veg, seafood and mixed. The one I had from Preston market is the seafood Paella and these are some of the ingredients&amp;nbsp;I could figure out, a special kind of rice called&amp;nbsp;Calasparra or Bomba rice, medium grain rice grown in Spain, crushed saffron, shrimp, calamari, mussels, chicken pieces etc.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/6096962921266920413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/6096962921266920413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6096962921266920413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6096962921266920413'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/paella-from-preston-market-melbourne.html' title='Paella from Preston market Melbourne'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7UyV_BtywXhHoScPjKSDR-LjV2w1FQXrQ5TEhylHPg-2uRTV1FeGxbwnDQp833EiflvEMTiZNZp-tP5AoNytowz1sJbKW86EGBKP9W4M1gq_xhdZkPUl6wxXyB5saed6Bh4YDrUxv3k8/s72-c/IMG_20190316_112905.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-6277020787273632781</id><published>2019-03-23T19:02:00.001+11:00</published><updated>2019-03-29T09:15:59.776+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="address"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="CloudTrail"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="ELB"/><category scheme="http://www.blogger.com/atom/ns#" term="failure"/><category scheme="http://www.blogger.com/atom/ns#" term="IP"/><category scheme="http://www.blogger.com/atom/ns#" term="Nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="resolves"/><category scheme="http://www.blogger.com/atom/ns#" term="reverse"/><title type='text'>Tech Notes:- Nginx reverse proxy issues in AWS due to name resolution failure</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The Problem&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;There are certain failure scenarios in AWS which is hard to detect. One of them is Nginx reverse proxy failure due to name resolution issues.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;AWS has certain services like ELB, RDS&amp;nbsp;with dynamic changes in underlying host IP. The problem here is that some applications resolve the IP only once mostly during the startup, restart or reload of that service. One such application is the Nginx web server.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Nginx resolves all the names to their&amp;nbsp;IP and caches it during the start, restart or reload. If the DNS resource record changes in between, Nginx fails. This typically happens when Amazon ELB IP address changes. Amazon updates the DNS record, but Nginx never re-resolves the DNS record and stays pointing at the old IP address. Subsequently requests to the backend start failing once Amazon drops services from the old IP address.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Analysis&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;But how do you find out if the Nginx issues are caused due to name resolution?&amp;nbsp;One of the best options in front of us is Amazon CloudTrail. Normally ELB IP changes when the ELB scales or there is a scale up or down of hosts behind the ELB.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Refer the below Amazon link to read about the ELB behavior&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;https://aws.amazon.com/articles/best-practices-in-evaluating-elastic-load-balancing/&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;AWS CloudTrail logs all the API activities&amp;nbsp;associated with your AWS account and this includes the changes related to ELB as well.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Solution&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now how do we resolve this problem? If we are using the community edition of Nginx, the best option is to configure a resolver entry.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;But how do you know the IP address of the DNS that you should use in resolver?AWS documentation comes handy here&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-size: 16px; line-height: 1.5em;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The first four IP addresses and the last IP address in each subnet CIDR block are not available for you to use, and cannot be assigned to an instance. For example, in a subnet with CIDR block&amp;nbsp;&lt;code class=&quot;code&quot; style=&quot;overflow: auto;&quot;&gt;10.0.0.0/24&lt;/code&gt;, the following five IP addresses are reserved:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;itemizedlist&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;ul class=&quot;itemizedlist&quot; type=&quot;disc&quot;&gt;
&lt;li class=&quot;listitem&quot; style=&quot;line-height: 1.5em;&quot;&gt;&lt;div style=&quot;line-height: 1.5em;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;code class=&quot;code&quot; style=&quot;overflow: auto;&quot;&gt;10.0.0.0&lt;/code&gt;: Network address.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;listitem&quot; style=&quot;line-height: 1.5em;&quot;&gt;&lt;div style=&quot;line-height: 1.5em;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;code class=&quot;code&quot; style=&quot;overflow: auto;&quot;&gt;10.0.0.1&lt;/code&gt;: Reserved by AWS for the VPC router.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;listitem&quot; style=&quot;line-height: 1.5em;&quot;&gt;&lt;div style=&quot;line-height: 1.5em;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;code class=&quot;code&quot; style=&quot;overflow: auto;&quot;&gt;10.0.0.2&lt;/code&gt;: Reserved by AWS. &lt;b&gt;The IP address of the DNS server is always the base of the VPC network range plus two;&lt;/b&gt; however, we also reserve the base of each subnet range plus two. For VPCs with multiple CIDR blocks, the IP address of the DNS server is located in the primary CIDR. For more information, see&amp;nbsp;&lt;a href=&quot;https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html#AmazonDNS&quot; style=&quot;text-decoration-line: none;&quot;&gt;Amazon DNS Server&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;listitem&quot; style=&quot;line-height: 1.5em;&quot;&gt;&lt;div style=&quot;line-height: 1.5em;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;code class=&quot;code&quot; style=&quot;overflow: auto;&quot;&gt;10.0.0.3&lt;/code&gt;: Reserved by AWS for future use.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;listitem&quot; style=&quot;line-height: 1.5em;&quot;&gt;&lt;div style=&quot;line-height: 1.5em;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;code class=&quot;code&quot; style=&quot;overflow: auto;&quot;&gt;10.0.0.255&lt;/code&gt;: Network broadcast address. We do not support broadcast in a VPC, therefore we reserve this address.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: georgia, times new roman, serif;&quot;&gt;Apart from that there is VPC independent up address which can be used as resolver and that is&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #0c0d0e; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;&quot;&gt;169.254.169.&lt;b&gt;253.&lt;/b&gt; Here the catch is you lose the ability to resolve up outside AWS from nginx point of view.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/6277020787273632781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/6277020787273632781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6277020787273632781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6277020787273632781'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/tech-notes-nginx-reverse-proxy-issues.html' title='Tech Notes:- Nginx reverse proxy issues in AWS due to name resolution failure'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-5028851685857410664</id><published>2019-03-09T19:44:00.001+11:00</published><updated>2019-03-10T10:06:38.571+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="branch"/><category scheme="http://www.blogger.com/atom/ns#" term="checkout"/><category scheme="http://www.blogger.com/atom/ns#" term="conflict"/><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="hunk"/><category scheme="http://www.blogger.com/atom/ns#" term="individual"/><category scheme="http://www.blogger.com/atom/ns#" term="main"/><category scheme="http://www.blogger.com/atom/ns#" term="master"/><category scheme="http://www.blogger.com/atom/ns#" term="merge"/><category scheme="http://www.blogger.com/atom/ns#" term="patch"/><category scheme="http://www.blogger.com/atom/ns#" term="selective"/><title type='text'>Tech Notes:- How to selectively merge files from a git branch to master</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
People who work with git regularly especially with branches might encounter a situation where they want to merge specific files from one branch to another. Here I am explaining how I accomplished this&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
My Scenario&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I have a master branch and a new branch called &quot;observium&quot;. I wanted to merge a few files to the master branch. To demonstrate it I did a checkout of the master branch, created a file called sreedev.txt and then committed it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git checkout master&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Switched to branch &#39;master&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git status&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;# On branch master&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ vim sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #6fa8dc; font-family: Georgia, Times New Roman, serif;&quot;&gt;I entered the text &quot;This is a file from the main branch&quot; and saved it&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git commit -m &quot;Added a new file for demonstrating selective file merge&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[master e3a1a33] Added a new file for demonstrating selective file merge&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;1 file changed, 1 insertion(+), 2 deletions(-)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git push origin master&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Counting objects: 5, done.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Compressing objects: 100% (2/2), done.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Writing objects: 100% (3/3), 324 bytes | 0 bytes/s, done.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Total 3 (delta 1), reused 0 (delta 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;To git@bitbucket.org:sudeepkumarks/ansible.git&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp; &amp;nbsp;6ffda3a..e3a1a33&amp;nbsp; master -&amp;gt; master&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now I did a git checkout of my branch observium&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git checkout observium&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Switched to branch &#39;observium&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Created a file with the same name sreedev&amp;nbsp;and updated a similar content which will conflict with content in the main branch. The intention here is to show how we handle the conflict during the selective merge&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git add sreedev.txt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git commit -m &quot;Added a new file for demonstrating selective file merge&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[observium 04b5fa6] Added a new file for demonstrating selective file merge&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;1 file changed, 1 insertion(+), 3 deletions(-)&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;How to merge the files&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now we will try to merge the files sreedev in observium&amp;nbsp;branch to the main branch&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git checkout master&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Switched to branch &#39;master&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
[&lt;span style=&quot;color: #6fa8dc;&quot;&gt;sudeep@dev ansible]$ git checkout --patch observium sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;diff --git b/sreedev.txt a/sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;index e7d96cb..fe3f28c 100644&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;--- b/sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;+++ a/sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;@@ -1,2 +1 @@&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;-This is a file from the main branch&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;-&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;+This is a file from the observium branch&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Apply this hunk to index and worktree [y,n,q,a,d,/,e,?]?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Since there is a conflict its asking questions on resolving the conflicts. At this stage, you have the below options&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;y - stage this hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;n - do not stage this hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;q - quit; do not stage this hunk nor any of the remaining ones&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;a - stage this hunk and all later hunks in the file&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;d - do not stage this hunk nor any of the later hunks in the file&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;g - select a hunk to go to&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;/ - search for a hunk matching the given regex&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;j - leave this hunk undecided, see next undecided hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;J - leave this hunk undecided, see next hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;k - leave this hunk undecided, see previous undecided hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;K - leave this hunk undecided, see previous hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;s - split the current hunk into smaller hunks&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;e - manually edit the current hunk&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;? - print help&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;If you press y, the line&amp;nbsp; &quot;This is a file from the main branch&quot; will be removed and the line &quot;This is a&amp;nbsp; file from the observium branch&quot; will be added. If you want to keep the first line and remove the second one which is from the observium branch, you can press e and make manual changes and save it like how you save files in vim editor.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Once you complete the changes by saving, it will go to the next hunk if there is any conflict. This will repeat until all the conflict in the file is resolved. Now the git status should show the file as modified and added for commit.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git checkout --patch observium sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;diff --git b/sreedev.txt a/sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;index e7d96cb..fe3f28c 100644&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;--- b/sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;+++ a/sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;@@ -1,2 +1 @@&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;-This is a file from the main branch&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;-&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;+This is a file from the observium branch&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Apply this hunk to index and worktree [y,n,q,a,d,/,e,?]? y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;[sudeep@dev ansible]$ git status&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;# On branch master&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;# Changes to be committed:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&amp;nbsp; &amp;nbsp;(use &quot;git reset HEAD &lt;file&gt;...&quot; to unstage)&lt;/file&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;modified:&amp;nbsp; &amp;nbsp;sreedev.txt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;# Untracked files:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&amp;nbsp; &amp;nbsp;(use &quot;git add &lt;file&gt;...&quot; to include in what will be committed)&lt;/file&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;master&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Now you can commit the changes like normal to have the changes from Observium branch in your master branch. This can be followed for merging specific files from&amp;nbsp;any&amp;nbsp;branch.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/5028851685857410664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/5028851685857410664' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/5028851685857410664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/5028851685857410664'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/tech-notes-how-to-selectively-merge.html' title='Tech Notes:- How to selectively merge files from a git branch to master'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-3200447608577341109</id><published>2019-03-09T18:41:00.000+11:00</published><updated>2019-03-24T17:30:56.866+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="approach"/><category scheme="http://www.blogger.com/atom/ns#" term="behavioral"/><category scheme="http://www.blogger.com/atom/ns#" term="enough"/><category scheme="http://www.blogger.com/atom/ns#" term="interview"/><category scheme="http://www.blogger.com/atom/ns#" term="result"/><category scheme="http://www.blogger.com/atom/ns#" term="situation"/><category scheme="http://www.blogger.com/atom/ns#" term="STAR"/><category scheme="http://www.blogger.com/atom/ns#" term="work"/><title type='text'>Behavioral interview questions related to managing work.How do you handle situations where you did not have enough work to do</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Although most of the time we will have more than enough work to do, there are situations in an organization where there is not much work to do. This can be due to a transition phase of the organization or the organization might be in a restriction period for change implementation or for new projects because of the annual high transaction period or budget constraints. In an interview, there can be questions related to this and the intention of asking this question is to understand the attitude of the candidate.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Here we review some sample questions related to this.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Sample questions related to managing your work&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Have you been in a situation where you did not have enough work to do&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;How do you keep you busy if you don&#39;t have much to do at work&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;How do you kill time when there is not much work to do&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Situation&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I was working in a financial services organization which enforces restriction period wherein no project specific changes are deployed during the busy transaction period from November to January&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Restriction period basically translates to less busy time with respect to work. And there are days&amp;nbsp;where we cannot do anything with the systems which we work on.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Approach&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Although I didn&#39;t have enough work during the restriction period, there were opportunities to improve my knowledge as well as to share it. I was utilizing this opportunity to learn new technology relevant to work as well as sharing my knowledge with others in my team.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I also took this as an opportunity to research on improving the existing systems, optimizing the process/systems to get some re-engineering saves.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I also took initiatives to do&amp;nbsp;the proof of concept study for some of the new improvements that I found.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Results&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Although there was not much work, I was able to utilize the work hours effectively to the advantage of the organization in all possible manner.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;How effective is the above answer&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The candidate was able to demonstrate that he will be committed to the betterment of the organization&amp;nbsp;and&amp;nbsp;he thinks&amp;nbsp;innovatively and comes&amp;nbsp;up with better ideas&amp;nbsp;instead of sitting idle or spending&amp;nbsp;work hours in a non-fruitful manner.&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Summary&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Spending your work time wisely and effectively is something that every organization expects and questions related to this is common in an&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt; interview. &lt;/span&gt;It&#39;s&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;also good to have a story handy to address these questions.&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/3200447608577341109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/3200447608577341109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/3200447608577341109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/3200447608577341109'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/behavioral-interview-questions-related_22.html' title='Behavioral interview questions related to managing work.How do you handle situations where you did not have enough work to do'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-3927057050815541514</id><published>2019-03-09T15:16:00.001+11:00</published><updated>2019-03-09T15:22:26.682+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="approach"/><category scheme="http://www.blogger.com/atom/ns#" term="behavioral"/><category scheme="http://www.blogger.com/atom/ns#" term="conflict"/><category scheme="http://www.blogger.com/atom/ns#" term="interview"/><category scheme="http://www.blogger.com/atom/ns#" term="management"/><category scheme="http://www.blogger.com/atom/ns#" term="resolution"/><category scheme="http://www.blogger.com/atom/ns#" term="result"/><category scheme="http://www.blogger.com/atom/ns#" term="situation"/><category scheme="http://www.blogger.com/atom/ns#" term="STAR"/><title type='text'>Behavioral interview questions related to managing conflicts</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;It is very important for an organization to assess candidates ability to manage conflicts as a part of assessing interpersonal skills during an interview. The expectation here is that the candidate should showcase his competency to get along with different types of people as we cannot expect everybody in the organization to behave nicely to you :). He should also show how he manages those disagreements gracefully.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&amp;nbsp;Here we will see some sample questions related to conflict management and how to answer them effectively.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;
Conflict&amp;nbsp;management&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;What do you do when a team member refuses to complete his or her quota of the work?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Tell me about a time when you had to disagree with a specific approach or process&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Tell me about a time you had a conflict at work.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; white-space: pre-wrap;&quot;&gt;Tell me about an incident where you had to handle an unhappy customer/employee/supervisor/colleague&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; white-space: pre-wrap;&quot;&gt;Tell me about a situation where you had to work with a colleague who is difficult to deal with.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;
Situation&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I was the project manager for a high visibility project with a tight deadline As. the project was a very important one from an organizational perspective, senior leadership including directors were closely monitoring the progress.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I was managing a bridge call to complete the User Acceptance Testing(UAT).&amp;nbsp;Multiple teams including leadership and all other stakeholders joined the call except&amp;nbsp;the systems assurance analyst who was supposed to do the UAT.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;When I approached the systems assurance analyst who was supposed to join the call and complete the UAT,, he blew up at me.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;
Approach&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Although I was not getting an expected response from him. I maintained my composure and explained to him once again about the importance/visibility of the project as well as the importance of completing the UAT on time.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;He apologized for not making it to the call and explained about the competing priorities he has with other projects.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;We discussed further to find a solution and finally decided to approach his Director to appraise her of the importance of this project over others&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;She decided to assign another Systems Assurance Analyst who is more experienced to handle my project&#39;s UAT testing&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;
Results&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Although we lost almost half an hour of our UAT time, we could complete the UAT well before the deadline because we had a well experienced Systems Assurance&amp;nbsp;Analyst doing our&amp;nbsp;UAT.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;We were able to complete the project on schedule and the handling of conflicting situations was well appreciated by the leadership in the final project completion notification.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;
How effective is the above answer&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Here the candidate was able to handle the situation without impacting the project schedule with a final positive outcome. He was able to handle the conflict very well without impacting the relationship&amp;nbsp;with Systems Assurance Analyst.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: small;&quot;&gt;
Summary&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Conflict resolution is not only relevant to the interview but its also important in our day to day life. It&#39;s important to learn the art of conflict management and to resolve conflicts with a positive outcome for all the parties involved.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;This is a sure shot question in an interview and preparing the story well in advance and practicing to answer will definitely impact the interview outcome.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; text-align: justify;&quot;&gt;All the best with the interview preparation!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/3927057050815541514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/3927057050815541514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/3927057050815541514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/3927057050815541514'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/behavioral-interview-questions-related_9.html' title='Behavioral interview questions related to managing conflicts'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-4716726971844802917</id><published>2019-03-09T13:34:00.000+11:00</published><updated>2019-03-09T15:23:02.061+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="answer"/><category scheme="http://www.blogger.com/atom/ns#" term="behavior"/><category scheme="http://www.blogger.com/atom/ns#" term="culture"/><category scheme="http://www.blogger.com/atom/ns#" term="interview"/><category scheme="http://www.blogger.com/atom/ns#" term="perspective"/><category scheme="http://www.blogger.com/atom/ns#" term="questions"/><category scheme="http://www.blogger.com/atom/ns#" term="sample"/><category scheme="http://www.blogger.com/atom/ns#" term="sensitivity"/><category scheme="http://www.blogger.com/atom/ns#" term="situation"/><category scheme="http://www.blogger.com/atom/ns#" term="STAR"/><title type='text'>Behavioral  interview questions related to culture</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Although there are a lot of questions and sample answers available for common questions on the internet, I found that there are some specific questions for which answers are not available. Here I will be covering questions related to culture.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: small;&quot;&gt;Cultural awareness&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Tell me about a time when you had to take someone&#39;s cultural perspective into account when dealing with them.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Give me an example of a situation where you had to take into account the sensitivities of different parties.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Tell me about a time when you have worked in a team with individuals from different cultural backgrounds.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Here is the example of an answer which follows the STAR approach.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: small;&quot;&gt;Situation&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Here we need to provide a context for the story and this section should be concise and to the point.&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Recently I had a chance to manage a project which involved the release of specific software to multiple regions across the globe over Citrix infrastructure.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;One of the tasks involved was setting up and managing weekly bridge calls involving different teams including business, technology and leadership teams from different countries across the globe.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;During these calls, I noticed that we were not getting much input from some regions and the leadership was getting the impression that everything was going smoothly.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: small;&quot;&gt;Approach&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;In the previous section, you described the situation. Now the important part comes which is how you demonstrated the specific competency you have which you want to highlight through the steps that you have taken to resolve it&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;The project was on a tight deadline so everybody was keen on moving things as quickly as possible.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;However, I was very concerned about the lack of inputs from specific regions where the software will be rolled out.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;As a project manager, I decided to set up calls with each regional team and get their inputs, just to make sure that they don&#39;t have any inputs/concerns.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;It turned out that several of them had concerns regarding the response time and some specific features&amp;nbsp;related to the customization as per the language.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;They were hesitant to express their concerns because they did not want to contradict opinions from the leadership team.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;From there on I started setting up regular bridge calls with specific regional teams, note their concerns/opinions and then summarise and present it in the larger team calls.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: small;&quot;&gt;Results&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;I was happy that I was able to capture concerns/opinion of regional teams well before the rollout and that saved us from trouble which could have happened after the roll-out.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;I found that people from regional teams are more confident, comfortable and gets more time to explain their concerns/opinions in detail when we setup calls with individual teams.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;I got appreciations from my leadership team for this approach as we were successful in addressing the concerns from regional teams well before the rollout which otherwise could have remained unknown.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;This experience helped me understand how important is to have a platform where everyone is comfortable to communicate effectively.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: small;&quot;&gt;
How effective is the above answer&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Here we are highlighting&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;the project manager&#39;s project management as well as general people management skills.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;he is meticulous, a good learner and&amp;nbsp; willing to go the extra mile to achieve results&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;above all, he shows that he is very good at dealing with people from different cultural or regional backgrounds.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: small;&quot;&gt;
Summary&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Nowadays with more and more organizations going global, you can expect questions related to cultural perspective in most of the interviews. Therefore it&#39;s very important that you prepare a few stories in advance to avoid surprises.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;All the best with the interview preparation!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/4716726971844802917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/4716726971844802917' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4716726971844802917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4716726971844802917'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/behavioral-interview-questions-related.html' title='Behavioral  interview questions related to culture'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-4355484283174404461</id><published>2019-03-03T12:40:00.001+11:00</published><updated>2019-03-09T13:35:43.361+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="answer"/><category scheme="http://www.blogger.com/atom/ns#" term="behavioral"/><category scheme="http://www.blogger.com/atom/ns#" term="car"/><category scheme="http://www.blogger.com/atom/ns#" term="interview"/><category scheme="http://www.blogger.com/atom/ns#" term="questions"/><category scheme="http://www.blogger.com/atom/ns#" term="sample"/><category scheme="http://www.blogger.com/atom/ns#" term="STAR"/><category scheme="http://www.blogger.com/atom/ns#" term="technique"/><category scheme="http://www.blogger.com/atom/ns#" term="with"/><title type='text'>Behavioral  interview questions</title><content type='html'>&lt;h2&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;/div&gt;
&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbBNmqLw46-B0k0ooLjuLkOSIAsv5gYy7OvoJcS0nBysdanfPR16EIlJbwwmlf4wwIlrxa5WOSf9l2QhFXYCjNhT2Y_iIHA-t3VzT_jIz3oONs-w68j_1UDcgcFO8PXghL4KJvTsQd1SbK/s1600/interview.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;805&quot; data-original-width=&quot;820&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbBNmqLw46-B0k0ooLjuLkOSIAsv5gYy7OvoJcS0nBysdanfPR16EIlJbwwmlf4wwIlrxa5WOSf9l2QhFXYCjNhT2Y_iIHA-t3VzT_jIz3oONs-w68j_1UDcgcFO8PXghL4KJvTsQd1SbK/s200/interview.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;What are behavioral interview questions?&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt; Most often we come across these categories&amp;nbsp;of questions in a&amp;nbsp;job interview. Here&amp;nbsp; I am providing a&amp;nbsp; summary of what these&amp;nbsp;questions are all about, how to answer them and some sample questions along with sample answers.&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;How to identify if the question being asked is a behavioral interview question&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;If the question starts with something like below, it&#39;s highly likely to be a behavioral question&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;i&gt;&quot;Give me an example of .....&quot;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;i&gt;&quot;Have you ever...&quot;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;i&gt;&quot;Describe a time when...&quot;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;i&gt;&quot;Have you had to..&quot;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&quot;What do you do if you..&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Methods&amp;nbsp; for answering behavioral interview questions&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #0b5394; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt; The STAR technique&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2wp-0f_PwKFse9BizH3UZD4xmKBLfBNPl0r9WzFt0nJDyWKpF1UEga_85cU-5jjyDYspz45hZlkf5gy87km0c5ZlzLvZfZBO7OnKX93BFSkA87pt32H7QWZKqo5ZCM24zlrHSO4AeFXxf/s1600/star.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;94&quot; data-original-width=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2wp-0f_PwKFse9BizH3UZD4xmKBLfBNPl0r9WzFt0nJDyWKpF1UEga_85cU-5jjyDYspz45hZlkf5gy87km0c5ZlzLvZfZBO7OnKX93BFSkA87pt32H7QWZKqo5ZCM24zlrHSO4AeFXxf/s1600/star.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;STAR stands for SITUATION&amp;nbsp; TASK ACTION &amp;nbsp;and &amp;nbsp;RESULT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;Situation/Task &amp;nbsp;-&amp;nbsp; Explain the event or task that you encountered.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;Action - &amp;nbsp;Explain what steps you undertook&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;Result - Describe the outcome that you delivered&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;The CAR &amp;nbsp;technique&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7sF2VMHRd2_7Pvuo5_-OqqnHzGjiyaLJbSRYaJeZAIjCVOw8CQ_9k3YqtPPE3asz5UCzWsH60qOkJL-zjOx7C7gs3Cpmgo2kMCaNn5_McxgNeRigLtPxStTTGQfZrrfe9cyKpwfO_lKoj/s1600/car.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;60&quot; data-original-width=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7sF2VMHRd2_7Pvuo5_-OqqnHzGjiyaLJbSRYaJeZAIjCVOw8CQ_9k3YqtPPE3asz5UCzWsH60qOkJL-zjOx7C7gs3Cpmgo2kMCaNn5_McxgNeRigLtPxStTTGQfZrrfe9cyKpwfO_lKoj/s1600/car.jpg&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;This method is similar to the STAR method except that here you provide a CONTEXT, ACTION, and RESULT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;Context -&amp;nbsp; Explain the situation and the background&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;Action - Describe what measure of steps you took&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-weight: normal;&quot;&gt;Result- Describe the outcome&amp;nbsp; you achieved&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Pointers to&amp;nbsp; answering behavioral interview questions effectively&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; text-align: justify;&quot;&gt;Due diligence -&amp;nbsp; Find out what skills and behaviors the employer is looking for, and find answers for possible questions including well-known questions that you will definitely get in an interview. If possible, prepare answers from your own previous experience. If there are questions beyond your experience, make sure you have a story ready. Remember, the expectation here is to demonstrate how you handled those situations.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Practice - answering the questions using STAR or CAR method out loud in advance for those questions you identified. Make sure that while telling your story, you stay on point. Better if you have someone to listen to your answers and provide corrections.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/4355484283174404461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/4355484283174404461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4355484283174404461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4355484283174404461'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2019/03/behavioral-interview-questions.html' title='Behavioral  interview questions'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbBNmqLw46-B0k0ooLjuLkOSIAsv5gYy7OvoJcS0nBysdanfPR16EIlJbwwmlf4wwIlrxa5WOSf9l2QhFXYCjNhT2Y_iIHA-t3VzT_jIz3oONs-w68j_1UDcgcFO8PXghL4KJvTsQd1SbK/s72-c/interview.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-4282238719660445611</id><published>2018-12-26T14:40:00.000+11:00</published><updated>2018-12-26T14:40:29.274+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aborting"/><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><category scheme="http://www.blogger.com/atom/ns#" term="ansible.log"/><category scheme="http://www.blogger.com/atom/ns#" term="cannot"/><category scheme="http://www.blogger.com/atom/ns#" term="create"/><category scheme="http://www.blogger.com/atom/ns#" term="log"/><category scheme="http://www.blogger.com/atom/ns#" term="non-root"/><category scheme="http://www.blogger.com/atom/ns#" term="permission"/><category scheme="http://www.blogger.com/atom/ns#" term="playbook"/><category scheme="http://www.blogger.com/atom/ns#" term="var"/><category scheme="http://www.blogger.com/atom/ns#" term="writeable"/><title type='text'>Tech Notes:- log file at /var/log/ansible.log is not writeable and we cannot create it, aborting</title><content type='html'>This is one of the errors that we encounter after installing ansible and trying to run our first playbook as a non-root user. To fix this all that we need to do is to create a group called ansible , add the user who is executing the playbook to the ansible group, then touch the file /var/log/asnible.log with root as the owner and ansible as the group.Permission should be 775 which is read write and execute for&amp;nbsp; owner and group and read and execute for others.&lt;br /&gt;
&lt;br /&gt;
# sudo&amp;nbsp;touch /var/log/ansible.log&lt;br /&gt;
&lt;br /&gt;
#sudo groupadd ansible&lt;br /&gt;
&lt;br /&gt;
# sudo chown root:ansible /var/log/ansible.log&lt;br /&gt;
&lt;br /&gt;
# sudo chmod 775 /var/log/ansible.log&lt;br /&gt;
&lt;br /&gt;
# sudo usermod sudeep -aG ansible&lt;br /&gt;
&lt;br /&gt;
You need to signout and sign in before executing the playbook.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/4282238719660445611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/4282238719660445611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4282238719660445611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/4282238719660445611'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2018/12/tech-notes-log-file-at-varlogansiblelog.html' title='Tech Notes:- log file at /var/log/ansible.log is not writeable and we cannot create it, aborting'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-6493093535117576617</id><published>2018-12-16T20:30:00.001+11:00</published><updated>2020-06-20T15:06:16.667+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="1236"/><category scheme="http://www.blogger.com/atom/ns#" term="binary"/><category scheme="http://www.blogger.com/atom/ns#" term="could"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="fatal"/><category scheme="http://www.blogger.com/atom/ns#" term="file"/><category scheme="http://www.blogger.com/atom/ns#" term="find"/><category scheme="http://www.blogger.com/atom/ns#" term="first"/><category scheme="http://www.blogger.com/atom/ns#" term="index"/><category scheme="http://www.blogger.com/atom/ns#" term="log"/><category scheme="http://www.blogger.com/atom/ns#" term="master"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="not"/><title type='text'>Tech Notes:-  Mysql Replication Error  &#39;Got fatal error 1236 from master when reading data from binary log: &#39;Could not find first log file name in binary log index file&#39;&#39;</title><content type='html'>I kept my slave mysql db down for a week and then when I switched on the slave db server and checked the replication status, I started seeing this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Last_IO_Errno: 1236&lt;br /&gt;
&lt;br /&gt;
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: &#39;Could not find first log file name in binary log index file&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The most probable reason for this error is that the binary log required for the replication by slave&amp;nbsp;servers no longer exists on the master database server. This could have happened because someone might have manually deleted the binary files on the MySQL master either by removing the files from the file system or using the&amp;nbsp;purge binary logs command.&lt;br /&gt;
&lt;br /&gt;
Another reason could be that a variable has been set in the conf file to expire the logs. In my case, it was this one and the variable was set to 2 days&lt;br /&gt;
&lt;br /&gt;
expire_logs_days=2&lt;br /&gt;
&lt;br /&gt;
Let&#39;s have a detailed look at SHOW SLAVE STATUS and SHOW BINARY LOGS on master&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; show slave status\G&lt;br /&gt;
*************************** 1. row ***************************&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_State:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Host: 172.25.1.20&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_User: slave&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Port: 3306&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Connect_Retry: 60&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master_Log_File: &lt;b&gt;mysql-bin.000023&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Read_Master_Log_Pos: &lt;b&gt;94955731&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Relay_Log_File: mysqld-relay-bin.000007&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Log_Pos: 4&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Relay_Master_Log_File: mysql-bin.000023&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Slave_IO_Running: No&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Slave_SQL_Running: Yes&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
mysql&amp;gt; SHOW BINARY LOGS;&lt;/div&gt;
&lt;div&gt;
+------------------+-----------+&lt;/div&gt;
&lt;div&gt;
| Log_name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| File_size |&lt;/div&gt;
&lt;div&gt;
+------------------+-----------+&lt;/div&gt;
&lt;div&gt;
| &lt;b&gt;mysql-bin.000029&lt;/b&gt; |&amp;nbsp; &amp;nbsp; &amp;nbsp; 1315 |&lt;/div&gt;
&lt;div&gt;
+------------------+-----------+&lt;/div&gt;
&lt;div&gt;
1 row in set (0.21 sec)&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So reading it all to gether, slave is looking for the master log file mysql-bin.000023 at position&amp;nbsp;94955731. But the master is at&amp;nbsp;&amp;nbsp;mysql-bin.000029&amp;nbsp; and I dont have the file&amp;nbsp;mysql-bin.000023. So this basically means that the mysql slave stopped replcation while at&amp;nbsp;mysql-bin.000023.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;How do we solve this?&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
The simplest way as well as the advisable approach is to dump the mysql from the master, restore it to slave and then restart the replication. But that may take time if the database is huge and there is no way to take the dump without impacting production performance.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
If its a test system and&lt;b&gt; you are ok with losing some data in replication&lt;/b&gt;, the best bet would be to set the position of the slave to the start of the new available master file.&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
STOP SLAVE;&lt;/div&gt;
&lt;div&gt;
CHANGE MASTER TO MASTER_LOG_FILE=&#39;mysql-bin.000029&#39;, MASTER_LOG_POS=4;&lt;/div&gt;
&lt;div&gt;
START SLAVE;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
You may need to skip some positions sometimes. If you have patience and time, the best option is to examine the events in the log and point to the position accordingly. You can do it using the command below&lt;br /&gt;
&lt;br /&gt;
sudo mysqlbinlog /var/lib/mysql/mysql-bin.000029 | more&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/6493093535117576617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/6493093535117576617' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6493093535117576617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/6493093535117576617'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2018/12/tech-notes-mysql-replication-error-got.html' title='Tech Notes:-  Mysql Replication Error  &#39;Got fatal error 1236 from master when reading data from binary log: &#39;Could not find first log file name in binary log index file&#39;&#39;'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449424599374393100.post-9178300367748957422</id><published>2018-11-25T22:56:00.003+11:00</published><updated>2021-01-02T14:23:17.324+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ad"/><category scheme="http://www.blogger.com/atom/ns#" term="ad-hoc"/><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><category scheme="http://www.blogger.com/atom/ns#" term="commands"/><category scheme="http://www.blogger.com/atom/ns#" term="copy"/><category scheme="http://www.blogger.com/atom/ns#" term="example"/><category scheme="http://www.blogger.com/atom/ns#" term="file"/><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><category scheme="http://www.blogger.com/atom/ns#" term="hoc"/><category scheme="http://www.blogger.com/atom/ns#" term="liner"/><category scheme="http://www.blogger.com/atom/ns#" term="list"/><category scheme="http://www.blogger.com/atom/ns#" term="one"/><category scheme="http://www.blogger.com/atom/ns#" term="reboot"/><category scheme="http://www.blogger.com/atom/ns#" term="remote"/><title type='text'>Tech Notes :- Ansible Ad hoc Command Examples</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Ansible ad-hoc commands are useful when you want to run something quickly on multiple machines. Here I am providing some examples of different situations that might help. Let&#39;s assume that our inventory name is &#39;servers&#39;&amp;nbsp; and&amp;nbsp; we the names of all servers in this file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Checking the status of all servers in our inventory file &#39;servers&#39;&lt;br /&gt;
# ansible&amp;nbsp; &#39;servers&#39; -m ping&lt;br /&gt;
&lt;br /&gt;
For checking the uptime of all servers&lt;br /&gt;
# ansible &#39;servers&#39;&amp;nbsp; -a &#39;uptime&#39;&lt;br /&gt;
&lt;br /&gt;
Create a user sudeep and set the password on all servers in the inventory file servers&lt;br /&gt;
# ansible &#39;servers&#39; -m user -a &quot;name=sudeep password=redhat&quot;&lt;br /&gt;
&lt;br /&gt;
Updating&amp;nbsp; Linux server with latest updates&lt;br /&gt;
# ansible &#39;servers&#39; -m package -a &#39;name=* state=latest&#39;&lt;br /&gt;
&lt;br /&gt;
Installing a specific package in all servers in the inventory&lt;br /&gt;
# ansible &#39;servers&#39;&amp;nbsp; -m package -a &quot;name=httpd state=present&quot;&lt;br /&gt;
&lt;br /&gt;
Reboot the servers and wait for it to come back&lt;br /&gt;
# ansible &#39;servers&#39; -b -B 1 -P 0 -m shell -a &quot;sleep 5 &amp;amp;&amp;amp; reboot&quot;&lt;br /&gt;
&lt;br /&gt;
Remove a text from a file&lt;br /&gt;
# ansible &#39;servers&#39;&amp;nbsp; -m lineinfile -a &quot;dest=/etc/somefile.txt regexp=&#39;texttoberemoved&#39; state=absent&quot;&lt;br /&gt;
&lt;br /&gt;
Checking entries in a file&lt;br /&gt;
# ansible &#39;servers&#39; -m command -a &#39;grep listen&amp;nbsp; /etc/nginx/conf.d/nginx.conf&#39;&lt;br /&gt;
&lt;br /&gt;
Replacing strings in a file on multiple servers&lt;br /&gt;
# ansible &#39;servers&#39; -m replace -a &#39;path=/etc/nginx.conf.d/nginx.conf regexp=&quot;192.168.1.20&quot; replace=192.168.1.100&#39;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Commenting a line in a file based on finding a pattern in that line.For example comment the line containing the word backup in a cron job&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;ansible &#39;servers&#39; -m replace -a &#39;path=/etc/cron.d/backup_schedule regexp=&quot;(.*backup.*)&quot; replace=&quot;#\1&quot;&#39;&lt;br /&gt;
&lt;br /&gt;
Check the hypervisor on remote machines&lt;br /&gt;
# ansible &#39;servers&#39; -m setup -a &quot;filter=ansible_virtualization_*&quot;&lt;br /&gt;
&lt;br /&gt;
List remote files&lt;br /&gt;
# ansible &#39;servers&#39; -m command -a &#39;ls -l&amp;nbsp; /var/www/html&#39;&lt;br /&gt;
&lt;br /&gt;
Copy files&lt;br /&gt;
# ansible &#39;servers&#39; -m copy -a &#39;src=/home/sudeep/test.php dest=/var/www/html/test.php owner=sudeep group=sudeep&#39;&lt;br /&gt;
&lt;br /&gt;
List all variables a partiucular host can see&lt;br /&gt;
# ansible -m debug -a &#39;var=hostvars[inventory_hostname]&#39; foo.com&lt;br /&gt;
&lt;br /&gt;
Schedule a reboot&lt;br /&gt;
# ansible &#39;foo.com&amp;nbsp; -a&amp;nbsp; &#39;/sbin/shutdown -r +5&#39;&lt;br /&gt;
&lt;br /&gt;
Checking the remote git version on multiple servers&lt;br /&gt;
# ansible &#39;servers&#39; -m command -a &quot;git status&amp;nbsp; args: chdir=/var/www/html/sudeep&quot;&lt;br /&gt;
&lt;br /&gt;
List all tasks in a playbook&lt;br /&gt;
# ansible-playbook --list-tasks playbooks/app-server.yml&lt;br /&gt;
&lt;br /&gt;
Get an excerpt from a file&lt;br /&gt;
# ansible &#39;servers&#39; -a &#39;grep -A 2 port /etc/supervisord.conf&#39;&lt;br /&gt;
&lt;br /&gt;
Remove a port from firewall where the firewall is configured using firewalld&lt;br /&gt;
#&amp;nbsp;ansible &#39;server&#39; -m command -a &quot;firewall-cmd --remove-port=&#39;8080/tcp&#39; --zone=internal --permanent &quot;&lt;br /&gt;
&lt;br /&gt;
Reload firewalld&lt;br /&gt;
#ansible &#39;server&#39; -m command -a&amp;nbsp; &#39;systemctl reload firewalld&#39;&lt;br /&gt;
&lt;br /&gt;
List all opened ports in public zone&lt;br /&gt;
#ansible &#39;server&#39; -m command -a &#39;firewall-cmd --list-ports&amp;nbsp; --zone=public&#39;&lt;br /&gt;
&lt;br /&gt;
List all services in public zone&lt;br /&gt;
#ansible &#39;server&#39; -m command -a &#39;firewall-cmd --list-services&amp;nbsp; --zone=public&#39;&lt;br /&gt;
&lt;br /&gt;
List all sources in public zone&lt;br /&gt;
#ansible &#39;server&#39; -m command -a &#39;firewall-cmd --list-sources&amp;nbsp; --zone=public&#39;&lt;br /&gt;
&lt;br /&gt;
Adding a server to proxysql with a default_hostgroup of 80, writing the changes to disk and loading it to runtime.&lt;br /&gt;
ansible &#39;myserver.example.com&#39; -m proxysql_backend_servers -a &#39;hostgroup_id=80 hostname=172.16.1.55 load_to_runtime=True login_host=proxysql.example.com login_password=Password123 login_port=6032 login_user=proxysql-admin save_to_disk=True state=present status=ONLINE comment=&quot;My new mysql database server&quot;&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can send the output of the ansible command(or any command) both to a file as well as stdout.See the example below&lt;br /&gt;
ansible &#39;servers&#39; -m command -a &quot;git status&amp;nbsp; args: chdir=/var/www/html/sudeep&quot; 2&amp;gt;&amp;amp;1 | tee ~/outfile&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sudee4u.blogspot.com/feeds/9178300367748957422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/3449424599374393100/9178300367748957422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9178300367748957422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449424599374393100/posts/default/9178300367748957422'/><link rel='alternate' type='text/html' href='http://sudee4u.blogspot.com/2018/11/tech-notes-ansible-ad-hoc-command.html' title='Tech Notes :- Ansible Ad hoc Command Examples'/><author><name>Sudeep</name><uri>http://www.blogger.com/profile/07632798960322810577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>