tag:blogger.com,1999:blog-17285883906603624592024-03-15T18:10:52.082-07:00Saravana's MusingsSaravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.comBlogger393125tag:blogger.com,1999:blog-1728588390660362459.post-12634198961035490652024-02-28T04:00:00.000-08:002024-02-28T04:00:59.308-08:00Enable/Disable wayland <p>==</p><p>// To check whether wayland / X11 </p><p>$ echo $XDG_SESSION_TYPE</p><p>x11<br /><br />==<br />// To update wayland / x11</p><p>$ sudo gvim /etc/gdm3/custom.conf </p><p> // edit the line </p><p>// this means x11</p><p>WaylandEnable=false</p><p><br /></p><p>// and this means wayland</p><p>WaylandEnable=true</p><p>==</p><p>// To check after update - after reboot </p><p>$ echo $XDG_SESSION_TYPE</p><div>==</div>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-89682357932261989802024-02-19T06:54:00.000-08:002024-02-19T06:54:18.994-08:00syslog vs dmesg <div _ngcontent-ng-c128992431="" class="resize-observable"></div><div _ngcontent-ng-c2160625773="" class="response-container-content ng-tns-c2160625773-29"><div _ngcontent-ng-c1572651114="" class="response-content ng-tns-c2160625773-29 ng-animate-disabled"><div _ngcontent-ng-c2951087496="" class="markdown markdown-main-panel ui-v2-enabled" dir="ltr" style="--animation-duration: 600ms; --fade-animation-function: cubic-bezier(0.05, 0.7, 0.91, 1);"><h2 data-sourcepos="1:1-1:58">Understanding /var/log/syslog and its Relation to dmesg</h2><p data-sourcepos="3:1-3:175">Both <code>/var/log/syslog</code> and <code>dmesg</code> play crucial roles in logging system activity on Linux-based systems, but they have distinct purposes and relationships. Here's a breakdown:</p><p data-sourcepos="5:1-5:30"><strong>What is <code>/var/log/syslog</code>?</strong></p><ul data-sourcepos="7:1-14:0"><li data-sourcepos="7:1-11:56">This file acts as a central repository for various system logs originating from diverse sources like:
<ul data-sourcepos="8:5-11:56"><li data-sourcepos="8:5-8:31">Users & applications</li><li data-sourcepos="9:5-9:35">Background services (daemons)</li><li data-sourcepos="10:5-10:43">System startup and shutdown processes</li><li data-sourcepos="11:5-11:56">Kernel messages (after the system is fully booted)</li></ul>
</li><li data-sourcepos="12:1-12:158">Syslog offers flexibility by allowing different log messages to be directed to specific log files within the <code>/var/log</code> directory based on predefined rules.</li><li data-sourcepos="13:1-14:0">This categorization facilitates targeted troubleshooting for specific areas of the system.</li></ul><p data-sourcepos="15:1-15:18"><strong>What is dmesg?</strong></p><ul data-sourcepos="17:1-20:0"><li data-sourcepos="17:1-17:159">Dmesg is a command-line tool that
displays the contents of the kernel's ring buffer, a temporary storage
for early boot messages and kernel-related activity.</li><li data-sourcepos="18:1-18:116">This buffer is volatile and resets upon system reboot, meaning dmesg only shows currently ongoing kernel activity.</li><li data-sourcepos="19:1-20:0">Dmesg isn't a file; it's a real-time snapshot of the kernel ring buffer.</li></ul><p data-sourcepos="21:1-21:51"><strong>Relationship between /var/log/syslog and dmesg:</strong></p><ul data-sourcepos="23:1-27:0"><li data-sourcepos="23:1-23:91">While syslog captures various system logs, dmesg focuses specifically on kernel messages.</li><li data-sourcepos="24:1-24:79">Early boot messages, before syslog starts, are only accessible through dmesg.</li><li data-sourcepos="25:1-25:96">Once syslog is operational, kernel messages are also directed to <code>/var/log/syslog</code> by default.</li><li data-sourcepos="26:1-27:0">So, dmesg offers a real-time glimpse of kernel activity, while <code>/var/log/syslog</code> provides a more comprehensive historical record of various system events, including kernel messages.</li></ul><p data-sourcepos="28:1-28:20"><strong>Key differences:</strong></p><div class="horizontal-scroll-wrapper">
<div class="table-block-component"><div _ngcontent-ng-c1154471385="" class="table-block"><div _ngcontent-ng-c1154471385="" class="table-content"><table data-sourcepos="30:1-35:83"><tbody><tr data-sourcepos="30:1-30:74"><th data-sourcepos="30:1-30:16">Feature</th><th data-sourcepos="30:18-30:51"><code>/var/log/syslog</code></th><th data-sourcepos="30:53-30:72">dmesg</th></tr><tr data-sourcepos="32:1-32:74"><td data-sourcepos="32:1-32:16">Scope</td><td data-sourcepos="32:18-32:50">Diverse system logs</td><td data-sourcepos="32:52-32:72">Kernel messages</td></tr><tr data-sourcepos="33:1-33:81"><td data-sourcepos="33:1-33:16">Persistence</td><td data-sourcepos="33:18-33:50">Persistent across reboots</td><td data-sourcepos="33:52-33:79">Volatile, resets on reboot</td></tr><tr data-sourcepos="34:1-34:71"><td data-sourcepos="34:1-34:16">Real-time view</td><td data-sourcepos="34:18-34:48">Not directly</td><td data-sourcepos="34:50-34:69">Yes</td></tr><tr data-sourcepos="35:1-35:83"><td data-sourcepos="35:1-35:16">Specific file</td><td data-sourcepos="35:18-35:56">Yes (individual files for categories)</td><td data-sourcepos="35:58-35:81">No (command-line tool)</td></tr></tbody></table></div><div _ngcontent-ng-c1154471385="" class="table-footer hide-from-message-actions ng-star-inserted"></div></div></div></div></div></div></div><div class="horizontal-scroll-wrapper"><div class="table-block-component"><div _ngcontent-ng-c1154471385="" class="table-block"></div></div>
</div><p data-sourcepos="38:1-38:85"><b><br />Note: I got the above from google gemini while looking about syslog and dmesg. </b><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-39375715175365995912023-11-28T04:00:00.000-08:002023-11-28T04:00:03.736-08:00To setup default kernel in Linux(Fedora)<p>To setup default kernel in Linux(Fedora):</p><p><i><b>$ sudo grubby --info=ALL | grep -E "^kernel|^index"</b></i><br />index=0<br />kernel="/boot/vmlinuz-6.5.5-200.fc38.x86_64"<br />index=1<br />kernel="/boot/vmlinuz-6.2.15-100.fc36.x86_64"<br />index=2<br />kernel="/boot/vmlinuz-5.17.12-100.fc34.x86_64"<br />index=3<br />kernel="/boot/vmlinuz-0-rescue-eeca1c676989405b94bedc847e363048"<br />index=4<br />kernel="/boot/memtest86+x64.bin"<br /><br /><br /><b><i>$ sudo grubby --set-default-index=2</i></b><br />The default is /boot/loader/entries/eeca1c676989405b94bedc847e363048-5.17.12-100.fc34.x86_64.conf with index 2 and kernel /boot/vmlinuz-5.17.12-100.fc34.x86_64<br /><br /><b><i>$ sudo grubby --default-title</i></b><br />Fedora (5.17.12-100.fc34.x86_64) 34 (Workstation Edition)<br /> </p><p> </p><p> </p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-89479359073362922442023-11-06T02:55:00.003-08:002023-11-06T02:55:53.892-08:00Software version and end-of-life info. <p>Software version information <br /><br />"End-of-life (EOL) and support information is <a href="https://twitter.com/captn3m0/status/1110504412064239617">often hard to track, or very badly presented</a>.
endoflife.date documents EOL dates and support lifecycles for various products."</p><p> <a href="https://endoflife.date/" rel="nofollow" target="_blank"><br />https://endoflife.date/</a></p><p><br />For eg, kubernetes related info. here :</p><p><a href="https://endoflife.date/kubernetes">https://endoflife.date/kubernetes</a> <br /></p><p> </p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-72116916966684394122023-09-21T21:45:00.001-07:002023-09-21T21:45:05.991-07:00Getting 2FA codes in desktop (and avoid your mobile) <p> <br /><br />Oftentimes I need to pickup my mobile to get the 2FA codes for different accounts. <br /></p><p>There should be a simple solution to get 2FA in your desktop. <br />It is <i>authenticator.cc</i> & it is open source :) :) <br /></p><p>-- <br /></p><p>Open your mobile and open google authenticator app. (You may have different app).<br />Click on export and select the accounts you want to export. <br />On clicking next, it shows a QR code. </p><p>Screenshot the QR code and send it to yourself (like email/Whatsapp).<br />--<br /></p><p>Now it is the time to get 2FA authenticator codes in your desktop browser. <br />Visit <i>authenticator.cc</i> and install the addon (in your browser like chrome, firefox, edge)</p><p><br />Click on the addon installed and then click on scan. It will ask for access to all the websites. <br /><u>For time being give this permission.</u> Now, scan the QR code obtained from above. <br /><br />That's it, you'll have all QR codes availble in your desktop.</p><p>No need to grab the mobile to get 2FA codes.<br /><br /><br />Note: Remove the permission given (to access all data) using "manage addon".<br /></p><p></p><p>--<br /><br /></p><p> </p><p> </p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-847487754325555512023-08-26T06:58:00.005-07:002023-08-26T06:58:35.713-07:00Command to find which rpm installed the config/binary file <p> </p><p>-- <br /></p><p dir="ltr" id="docs-internal-guid-4c4c86bc-7fff-658a-1d03-31da15895a2f" style="line-height: 1.5545453453063964; margin-bottom: 8pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;">yum whatprovides /usr/bin/virsh</span></p><p dir="ltr" style="line-height: 1.5545453453063964; margin-bottom: 8pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;"> =>outputs which package provides the binary virsh.</span></p><p dir="ltr" style="line-height: 1.5545453453063964; margin-bottom: 8pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;">-- </span></p><p dir="ltr" style="line-height: 1.5545453453063964; margin-bottom: 8pt; margin-top: 0pt;"><span style="background-color: transparent; color: black; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;">if you don’t know the path , use : </span></p><p dir="ltr" style="line-height: 1.500000114440918; margin-bottom: 8pt; margin-top: 0pt;"><span style="background-color: #eeeeee; color: black; font-family: Consolas,sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;">yum whatprovides */virsh</span></p><p> --</p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-74537944535868072372023-08-21T01:35:00.000-07:002023-08-21T01:35:10.705-07:00git log with file details <p> </p><p>--<br /></p><p>For full path names of changed files:</p><p></p><p>git log --author=<user_mail_id> --name-only</p><p>-- <br /></p><p>For full path names and status of changed files:</p><p>git log --author=<user_mail_id> --name-status </p><p>-- </p><p>For abbreviated pathnames and a diffstat of changed files:<br /></p><p>git log --author=<user_mail_id> --stat</p><p>--</p><p>source: <br /><a href="https://stackoverflow.com/questions/1230084/how-to-have-git-log-show-filenames-like-svn-log-v">https://stackoverflow.com/questions/1230084/how-to-have-git-log-show-filenames-like-svn-log-v</a> </p><p><br /></p><p><br /></p><p></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-52634273460394722932023-05-02T08:01:00.008-07:002023-05-02T08:01:56.359-07:00Update kernel arguments in grub boot loader <p><br /></p><p>Check current kernel command line arguments: </p><p>#grubby --info=ALL | less</p><div><br /></div><div><br /></div><div>Update the kernel command line arguments here: (GRUB_CMDLINE_LINUX)<br /># vim /etc/default/grub </div><p><br /></p><p>Propagate the changes:</p><p>#grub2-mkconfig -o /boot/grub2/grub.cfg </p><div><br /></div><div>Now, verify the changes:</div><div><br />#grubby --info=ALL |less</div><div><br /></div>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-1034414390766833562023-03-29T01:14:00.006-07:002023-03-29T01:14:56.589-07:00Podman pull a specific architecture image<p><br /></p><p>// podman pull a image overriding host architecture</p><p><b>podman pull --override-arch=arm64 quay.io/openshift-release-dev/ocp-release:4.X.Y </b></p><p>// Here the image needs to be manifest listed</p><p><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-35192768532602808892023-03-29T01:13:00.001-07:002023-03-29T01:13:05.320-07:00get pods running in specific node <p><br /></p><p><br /></p><p>// get all node_names</p><p><b>oc get nodes </b></p><p>// Let's say the node we are interested in is:<b> my_specific_node_name_here</b></p><p> </p><p><span style="background-color: white; font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;">// Get pods running in the specific node </span></p><p><span style="background-color: white; font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;"><b>oc get pod --field-selector=spec.nodeName=<my_specific_node_name_here> --all-namespaces <br /><br /><br /><br /></b></span></p><p><span style="background-color: white; font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;">// Get pods running in the specific node with specific state</span></p><p><b style="font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;">oc get pod --field-selector=spec.nodeName=<my_specific_node_name_here> --all-namespaces</b></p><p><span style="background-color: white; font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;"><b>| grep ContainerCreating</b></span></p><p><span style="background-color: white; font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;"><br /></span></p><p><span style="background-color: white; font-family: RedHatText, Overpass, overpass, helvetica, arial, sans-serif; font-size: 14px;"><br /></span></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-34748552838681827342023-03-23T21:45:00.003-07:002023-03-23T21:45:19.967-07:00Steps to delete a worker node in Openshift/Kubernetes<pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">// get all the nodes to select your node</span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">oc get nodes</span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><br /></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;">Here, we selected the node <span style="font-size: medium;"><b>ocp4.myworkernode.here</b> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><br /></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><br /></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">// cordon the node - no more scheduling to this node<br /></span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">oc adm cordon <b>ocp4.myworkernode.here</b> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"><br /></span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">// drain the node - remove all pods/resources from the node<br /></span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">oc adm drain <b>ocp4.myworkernode.here</b> --force --delete-emptydir-data --ignore-daemonsets</span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">// Now, final step delete the node<br /></span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">oc delete node <b>ocp4.myworkernode.here</b> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;"> </span></pre><pre style="-webkit-text-stroke-width: 0px; box-sizing: inherit; color: black; font-family: Inconsolata, monospace, sans-serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; overflow-wrap: normal; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; word-spacing: 0px;"><span style="font-size: medium;">PS: Use 'kubectl' instead of oc in case of Kubernetes </span></pre>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-77054794503640298572023-03-23T10:11:00.000-07:002023-03-23T10:11:03.275-07:00PV PVC deletion steps in OpenShift/Kubernetes <p> </p><p>PV,PVC deletion steps: <br /></p><p>First PVC followed by PV. <br /></p>
<pre class="lang-yaml s-code-block"><code class="hljs language-yaml"><span class="hljs-string"><br /><br /><span style="font-size: large;">kubectl</span></span><span style="font-size: large;"> <span class="hljs-string">patch</span> <span class="hljs-string">pvc</span> <span class="hljs-string"><pvc_name></span> <span class="hljs-string">-p</span> <span class="hljs-string">'{"metadata":{"finalizers":null}}'</span>
<b><span class="hljs-string">kubectl</span> <span class="hljs-string">delete</span> <span class="hljs-string">pvc</span> <span class="hljs-string"><pvc_name></span> <span class="hljs-string">--grace-period=0</span> <span class="hljs-string">--force</span>
</b>
<span class="hljs-string">kubectl</span> <span class="hljs-string">patch</span> <span class="hljs-string">pv</span> <span class="hljs-string"><pv_name></span> <span class="hljs-string">-p</span> <span class="hljs-string">'{"metadata":{"finalizers":null}}'</span>
<b><span class="hljs-string">kubectl</span> <span class="hljs-string">delete</span> <span class="hljs-string">pv</span> <span class="hljs-string"><pv_name></span> <span class="hljs-string">--grace-period=0</span> <span class="hljs-string">--force</span> </b> </span></code></pre><pre class="lang-yaml s-code-block"><code class="hljs language-yaml"><span style="font-size: large;"> </span></code></pre><pre class="lang-yaml s-code-block"><code class="hljs language-yaml"><span style="font-size: large;">PVC = Persistent volume claim (used by application). <br /> </span></code></pre><pre class="lang-yaml s-code-block"><code class="hljs language-yaml"><span style="font-size: large;">PV = Persistent Volume.(underlying volume)</span></code></pre><pre class="lang-yaml s-code-block"><code class="hljs language-yaml"><span style="font-size: large;"> </span></code></pre><pre class="lang-yaml s-code-block"><code class="hljs language-yaml"><span style="font-size: large;"> </span></code></pre><i><code class="hljs language-yaml"><span class="hljs-comment"></span></code></i>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-81666526791622957662023-03-04T23:37:00.007-08:002023-03-04T23:38:36.391-08:00Google's language settings <p><br /></p><p>Important: Never click on the links directly, always copy and paste. </p><p><br /></p><p>Language settings in google (or google maps) needs to be set here:</p><p><a href="https://www.google.com/preferences">https://www.google.com/preferences</a></p><p>and here as well for chrome : <a href="chrome://settings/languages">chrome://settings/languages</a> </p><p>Note:<br />Somehow the language keeps changing for me google maps.<br />With updating language in the above two locations, it is fine. </p><p><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-77589533312658196502023-02-03T09:50:00.000-08:002023-02-03T09:50:31.855-08:00Updating aws config/credentials <p><br /></p><p>-- </p><p>// Here, aws comes from installing <span id="docs-internal-guid-71ae53f3-7fff-7288-ddb1-68719232f821"><span face="Consolas, sans-serif" style="color: #666666; font-size: 10pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre-wrap;">awscli.</span></span></p><p># aws configure --profile=<your_profile_name></p><p><br /></p><p>This will update the files at ~/.aws/config and ~/.aws/credentials </p><p>You can inspect the contents of the above files to verify.<br />--<br /><br />You can simply run below to set credentials</p><p># export AWS_PROFILE=<your_profile_name></p><p>--</p><p>Verify above configuration using </p><p># aws iam get-user</p><p>--<br /><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-18414410748946012042022-12-21T06:46:00.002-08:002022-12-21T06:46:27.163-08:00How to re-enable Chrome Profile Selection on Startup<div class="" data-block="true" data-editor="qrj5" data-offset-key="628vh-0-0" style="background-color: white; box-sizing: border-box; color: #353740; font-family: ColfaxAI, helvetica, sans-serif; font-size: 16px; white-space: pre-wrap;"><div class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr" data-offset-key="628vh-0-0" style="box-sizing: border-box; direction: ltr; position: relative; white-space: break-spaces;"><span data-offset-key="628vh-95-0" style="background-color: var(--green-100); box-sizing: border-box;">When</span><span data-offset-key="628vh-96-0" style="background-color: var(--green-100); box-sizing: border-box;"> using</span><span data-offset-key="628vh-97-0" style="background-color: var(--green-100); box-sizing: border-box;"> Chrome</span><span data-offset-key="628vh-98-0" style="background-color: var(--green-100); box-sizing: border-box;">,</span><span data-offset-key="628vh-99-0" style="background-color: var(--green-100); box-sizing: border-box;"> I</span><span data-offset-key="628vh-100-0" style="background-color: var(--green-100); box-sizing: border-box;"> have</span><span data-offset-key="628vh-101-0" style="background-color: var(--green-100); box-sizing: border-box;"> noticed</span><span data-offset-key="628vh-102-0" style="background-color: var(--green-100); box-sizing: border-box;"> that</span><span data-offset-key="628vh-103-0" style="background-color: var(--green-100); box-sizing: border-box;"> the</span><span data-offset-key="628vh-104-0" style="background-color: var(--green-100); box-sizing: border-box;"> profile</span><span data-offset-key="628vh-105-0" style="background-color: var(--green-100); box-sizing: border-box;"> selection</span><span data-offset-key="628vh-106-0" style="background-color: var(--green-100); box-sizing: border-box;"> has</span><span data-offset-key="628vh-107-0" style="background-color: var(--green-100); box-sizing: border-box;"> stopped</span><span data-offset-key="628vh-108-0" style="background-color: var(--green-100); box-sizing: border-box;"> appearing</span><span data-offset-key="628vh-109-0" style="background-color: var(--green-100); box-sizing: border-box;">.</span><span data-offset-key="628vh-110-0" style="background-color: var(--green-100); box-sizing: border-box;"> To</span><span data-offset-key="628vh-111-0" style="background-color: var(--green-100); box-sizing: border-box;"> re</span><span data-offset-key="628vh-112-0" style="background-color: var(--green-100); box-sizing: border-box;">-</span><span data-offset-key="628vh-113-0" style="background-color: var(--green-100); box-sizing: border-box;">enable</span><span data-offset-key="628vh-114-0" style="background-color: var(--green-100); box-sizing: border-box;"> it</span><span data-offset-key="628vh-115-0" style="background-color: var(--green-100); box-sizing: border-box;">,</span><span data-offset-key="628vh-116-0" style="background-color: var(--green-100); box-sizing: border-box;"> click</span><span data-offset-key="628vh-117-0" style="background-color: var(--green-100); box-sizing: border-box;"> on</span><span data-offset-key="628vh-118-0" style="background-color: var(--green-100); box-sizing: border-box;"> the</span><span data-offset-key="628vh-119-0" style="background-color: var(--green-100); box-sizing: border-box;"> profile</span><span data-offset-key="628vh-120-0" style="background-color: var(--green-100); box-sizing: border-box;"> picture</span><span data-offset-key="628vh-121-0" style="background-color: var(--green-100); box-sizing: border-box;"> next</span><span data-offset-key="628vh-122-0" style="background-color: var(--green-100); box-sizing: border-box;"> to</span><span data-offset-key="628vh-123-0" style="background-color: var(--green-100); box-sizing: border-box;"> the</span><span data-offset-key="628vh-124-0" style="background-color: var(--green-100); box-sizing: border-box;"> URL</span><span data-offset-key="628vh-125-0" style="background-color: var(--green-100); box-sizing: border-box;">.</span><span data-offset-key="628vh-126-0" style="background-color: var(--green-100); box-sizing: border-box;"> You</span><span data-offset-key="628vh-127-0" style="background-color: var(--green-100); box-sizing: border-box;"> will</span><span data-offset-key="628vh-128-0" style="background-color: var(--green-100); box-sizing: border-box;"> then</span><span data-offset-key="628vh-129-0" style="background-color: var(--green-100); box-sizing: border-box;"> see</span><span data-offset-key="628vh-130-0" style="background-color: var(--green-100); box-sizing: border-box;"> a</span><span data-offset-key="628vh-131-0" style="background-color: var(--green-100); box-sizing: border-box;"> gear</span><span data-offset-key="628vh-132-0" style="background-color: var(--green-100); box-sizing: border-box;"> icon</span><span data-offset-key="628vh-133-0" style="background-color: var(--green-100); box-sizing: border-box;">,</span><span data-offset-key="628vh-134-0" style="background-color: var(--green-100); box-sizing: border-box;"> which</span><span data-offset-key="628vh-135-0" style="background-color: var(--green-100); box-sizing: border-box;"> you</span><span data-offset-key="628vh-136-0" style="background-color: var(--green-100); box-sizing: border-box;"> should</span><span data-offset-key="628vh-137-0" style="background-color: var(--green-100); box-sizing: border-box;"> click</span><span data-offset-key="628vh-138-0" style="background-color: var(--green-100); box-sizing: border-box;"> on</span><span data-offset-key="628vh-139-0" style="background-color: var(--green-100); box-sizing: border-box;">.</span><span data-offset-key="628vh-140-0" style="background-color: var(--green-100); box-sizing: border-box;"> This</span><span data-offset-key="628vh-141-0" style="background-color: var(--green-100); box-sizing: border-box;"> will</span><span data-offset-key="628vh-142-0" style="background-color: var(--green-100); box-sizing: border-box;"> show</span><span data-offset-key="628vh-143-0" style="background-color: var(--green-100); box-sizing: border-box;"> you</span><span data-offset-key="628vh-144-0" style="background-color: var(--green-100); box-sizing: border-box;"> all</span><span data-offset-key="628vh-145-0" style="background-color: var(--green-100); box-sizing: border-box;"> of</span><span data-offset-key="628vh-146-0" style="background-color: var(--green-100); box-sizing: border-box;"> the</span><span data-offset-key="628vh-147-0" style="background-color: var(--green-100); box-sizing: border-box;"> available</span><span data-offset-key="628vh-148-0" style="background-color: var(--green-100); box-sizing: border-box;"> profiles</span><span data-offset-key="628vh-149-0" style="background-color: var(--green-100); box-sizing: border-box;">.</span><span data-offset-key="628vh-150-0" style="background-color: var(--green-100); box-sizing: border-box;"> Make</span><span data-offset-key="628vh-151-0" style="background-color: var(--green-100); box-sizing: border-box;"> sure</span><span data-offset-key="628vh-152-0" style="background-color: var(--green-100); box-sizing: border-box;"> that</span><span data-offset-key="628vh-153-0" style="background-color: var(--green-100); box-sizing: border-box;"> the</span><span data-offset-key="628vh-154-0" style="background-color: var(--green-100); box-sizing: border-box;"> '</span><span data-offset-key="628vh-155-0" style="background-color: var(--green-100); box-sizing: border-box;">Show</span><span data-offset-key="628vh-156-0" style="background-color: var(--green-100); box-sizing: border-box;"> on</span><span data-offset-key="628vh-157-0" style="background-color: var(--green-100); box-sizing: border-box;"> startup</span><span data-offset-key="628vh-158-0" style="background-color: var(--green-100); box-sizing: border-box;">'</span><span data-offset-key="628vh-159-0" style="background-color: var(--green-100); box-sizing: border-box;"> option</span><span data-offset-key="628vh-160-0" style="background-color: var(--green-100); box-sizing: border-box;"> is</span><span data-offset-key="628vh-161-0" style="background-color: var(--green-100); box-sizing: border-box;"> enabled</span><span data-offset-key="628vh-162-0" style="background-color: var(--green-100); box-sizing: border-box;">.</span><span data-offset-key="628vh-163-0" style="box-sizing: border-box;"> </span></div></div><div class="" data-block="true" data-editor="qrj5" data-offset-key="581is-0-0" style="background-color: white; box-sizing: border-box; color: #353740; font-family: ColfaxAI, helvetica, sans-serif; font-size: 16px; white-space: pre-wrap;"><div class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr" data-offset-key="581is-0-0" style="box-sizing: border-box; direction: ltr; position: relative; white-space: break-spaces;"><span data-offset-key="581is-0-0" style="box-sizing: border-box;"><br data-text="true" style="box-sizing: border-box;" /></span></div></div><div class="" data-block="true" data-editor="qrj5" data-offset-key="bg5o1-0-0" style="background-color: white; box-sizing: border-box; color: #353740; font-family: ColfaxAI, helvetica, sans-serif; font-size: 16px; white-space: pre-wrap;"><div class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr" data-offset-key="bg5o1-0-0" style="box-sizing: border-box; direction: ltr; position: relative; white-space: break-spaces;"><span data-offset-key="bg5o1-0-0" style="box-sizing: border-box;">After</span><span data-offset-key="bg5o1-1-0" style="box-sizing: border-box;"> doing</span><span data-offset-key="bg5o1-2-0" style="box-sizing: border-box;"> th</span><span data-offset-key="bg5o1-3-0" style="box-sizing: border-box;">is, whe</span><span data-offset-key="bg5o1-4-0" style="box-sizing: border-box;">n you op</span><span data-offset-key="bg5o1-5-0" style="box-sizing: border-box;">e</span><span data-offset-key="bg5o1-6-0" style="box-sizing: border-box;">n </span><span data-offset-key="bg5o1-7-0" style="box-sizing: border-box;">C</span><span data-offset-key="bg5o1-8-0" style="box-sizing: border-box;">h</span><span data-offset-key="bg5o1-9-0" style="box-sizing: border-box;">rome,</span><span data-offset-key="bg5o1-10-0" style="box-sizing: border-box;"> you w</span><span data-offset-key="bg5o1-11-0" style="box-sizing: border-box;">ill be </span><span data-offset-key="bg5o1-12-0" style="box-sizing: border-box;">ab</span><span data-offset-key="bg5o1-13-0" style="box-sizing: border-box;">le </span><span data-offset-key="bg5o1-14-0" style="box-sizing: border-box;">to selec</span><span data-offset-key="bg5o1-15-0" style="box-sizing: border-box;">t the d</span><span data-offset-key="bg5o1-16-0" style="box-sizing: border-box;">esired p</span><span data-offset-key="bg5o1-17-0" style="box-sizing: border-box;">rofile.</span></div></div>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-69562596346935331702022-12-06T06:09:00.004-08:002022-12-06T06:09:27.773-08:00Google storage management <p> </p><p> </p><p>Google storage management - To cleanup space use below link. <br /></p><p><a href="https://one.google.com/storage/management">https://one.google.com/storage/management</a> <br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-71185886319281692322022-11-30T10:09:00.001-08:002022-11-30T10:09:51.551-08:00Kubernetes learning resource <p> </p><p>https://kubebyexample.com/learning-paths</p><p> </p><p> </p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-85769150875760801182022-11-30T10:09:00.000-08:002022-11-30T10:09:13.016-08:00Refined github <p> </p><p>As the name implies a "refined github". Refer for more details <br /></p><p>https://github.com/refined-github/refined-github</p><p> <br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-46495334739902743952022-10-21T05:59:00.006-07:002022-10-21T05:59:50.362-07:00Wheregoes the url - tool to check redirection <p> </p><p> </p><p>Where the link redirects to:</p><p></p><p>https://wheregoes.com/ <- input your (tinyurl type) link here. <br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-41229362590817999852022-09-13T06:00:00.002-07:002022-09-13T06:00:40.849-07:00Cloudnative resources <p><br />Red Hat Advanced Cluster Security Workshop <br /></p><p><a href="https://redhat-scholars.github.io/acs-workshop/acs-workshop/index.html">https://redhat-scholars.github.io/acs-workshop/acs-workshop/index.html</a></p><p><br /></p><p>Container workshop <br /></p><p><a href="https://redhat-scholars.github.io/build-a-container/intro-container-workshop/1.0/index.html">https://redhat-scholars.github.io/build-a-container/intro-container-workshop/1.0/index.html<br /></a></p><p><br />Container tutorial<br /><a href="https://github.com/redhat-scholars/containers-tutorial">https://github.com/redhat-scholars/containers-tutorial</a><br /></p><p>Containers master course:<br /><a href="https://docs.google.com/presentation/d/1EXBFMoJ-efwO_RiLrNQe34k0QzZ-rnfubsW_TvtBZqc/edit#slide=id.g43aac56bfe_1_0">https://docs.google.com/presentation/d/1EXBFMoJ-efwO_RiLrNQe34k0QzZ-rnfubsW_TvtBZqc/edit#slide=id.g43aac56bfe_1_0</a></p><p> </p><p>Operator SDK tutorial</p><p><a href="https://redhat-scholars.github.io/operators-sdk-tutorial/template-tutorial/index.html">https://redhat-scholars.github.io/operators-sdk-tutorial/template-tutorial/index.html</a></p><p> <br />You'll find few cloudnative workshops here:<br /><br /><a href="https://redhat-scholars.github.io/cloudnative-tutorials/index.html_">https://redhat-scholars.github.io/cloudnative-tutorials/index.html</a></p><p><br /></p><p> <br /></p><p><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-90582210556821850162022-09-12T18:25:00.009-07:002022-09-12T18:25:57.671-07:00Golang hardware discovery library<p> </p><p>ghw - <span style="background-color: white; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px;">Golang hardware discovery/inspection library</span></p><div><a href="https://github.com/jaypipes/ghw">https://github.com/jaypipes/ghw</a></div><div><br /></div><div><a href="https://github.com/jaypipes/ghw/blob/main/doc.go">https://github.com/jaypipes/ghw/blob/main/doc.go</a></div><div><br /></div><div><a href="https://github.com/jaypipes/ghw/blob/main/README.md">https://github.com/jaypipes/ghw/blob/main/README.md</a></div><div><br /></div><div><br /></div>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-52747615730663795442022-09-01T08:08:00.005-07:002022-09-01T08:08:35.419-07:00To check whether host has KVM support<p> </p><p>How to check whether host has KVM support?<br /><br /></p><pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: "IBM Plex Mono", "courier new", courier; font-size: 16px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 20px; margin-top: 20px; overflow-wrap: break-word; padding: 20px; vertical-align: baseline; white-space: pre-wrap; word-break: break-all;"><i>virt-host-validate qemu
</i></pre><div>The sample output is:<br /><i><br /></i><div><i> QEMU: Checking if device /dev/kvm exists : PASS</i></div><div><i> QEMU: Checking if device /dev/kvm is accessible : PASS</i></div><div><i> QEMU: Checking if device /dev/vhost-net exists : PASS</i></div><div><i> QEMU: Checking if device /dev/net/tun exists : PASS</i></div><div><i> QEMU: Checking for cgroup 'cpu' controller support : PASS</i></div><div><i> QEMU: Checking for cgroup 'cpuacct' controller support : PASS</i></div><div><i> QEMU: Checking for cgroup 'cpuset' controller support : PASS</i></div><div><i> QEMU: Checking for cgroup 'memory' controller support : PASS</i></div><div><i> QEMU: Checking for cgroup 'devices' controller support : PASS</i></div><div><i> QEMU: Checking for cgroup 'blkio' controller support : PASS</i></div><div><i> QEMU: Checking for device assignment IOMMU support : WARN (Unknown if this platform has IOMMU support)</i></div><div><i> QEMU: Checking for secure guest support : WARN (Unknown if this platform has Secure Guest support)</i></div></div><div><br /></div>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-85047937915515466982022-08-02T09:22:00.000-07:002022-08-02T09:22:29.307-07:00கண்ணெதிரே எந்தன் உயிரை காண்பேனோ - Iravin Nizhal song <p> </p><p>Live performance:</p><p> </p><p></p><p><a href="https://www.youtube.com/watch?v=K1mqNmVPxVI" rel="nofollow" target="_blank">https://www.youtube.com/watch?v=K1mqNmVPxVI</a> </p><p><br /></p><p>Lyrics: <br /></p><p>கண்ணெதிரே எந்தன் உயிரை காண்பேனோ<br />
உன் புன்னகையில் புனிதம் ஆகி போவேனோ</p><div class="code-block code-block-2" style="clear: both; display: block; margin: 8px auto; text-align: center;">
</div>
<p>செம்மலர்கள் யாவும் உன் பாதம் பூக்குமே<br />
அந்த வானம் உனதன்பாகுமே</p>
<p>தகுமோ என் ஜீவனே<br />
தகுமோ என் ஜீவனே</p>
<p>-- <br /></p><p>கண்ணெதிரே எந்தன் உயிரை காண்பேனோ<br />
உன் புன்னகையில் புனிதம் ஆகி போவேனோ</p>
<p>-- <br /></p><p>பால்வீதியில் ஆயிரம்<br />
பொழிந்திடும் நிலவுகள்<br />
தாழ் பணிந்துந்தன்<br />
பால் முகம் பார்த்திட ஏங்குமே</p><div class="code-block code-block-4" style="clear: both; display: block; margin: 8px auto; text-align: center;">
</div>
<p>பூமி சாமி<br />
மோட்சமே ஆயினும்<br />
நீயே என் தாயே</p><p>-- <br /></p>
<p>கண்ணெதிரே எந்தன் உயிரை காண்பேனோ<br />
உன் புன்னகையில் புனிதம் ஆகி போவேனோ</p>
<p>செம்மலர்கள் யாவும் உன் பாதம் பூக்குமே<br />
அந்த வானம் உனதன்பாகுமே</p>
<p>தகுமோ என் ஜீவனே<br />
தகுமோ என் ஜீவனே</p><p>-- <br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-22090975126992512832022-06-04T23:24:00.002-07:002022-06-04T23:31:58.743-07:00Stop Sugar - 5 simple steps <p> </p><p> </p><h1 class="title style-scope ytd-video-primary-info-renderer" style="-webkit-box-orient: vertical; -webkit-line-clamp: 2; background: rgb(249, 249, 249); border: 0px; color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary)); display: -webkit-box; font-family: Roboto, Arial, sans-serif; font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit)); font-weight: 400; line-height: 2.6rem; margin: 0px; max-height: 5.2rem; overflow: hidden; padding: 0px; text-overflow: ellipsis; text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none); transform: var(--ytd-video-primary-info-renderer-title-transform,none);"><yt-formatted-string class="style-scope ytd-video-primary-info-renderer" force-default-style="" style="word-break: break-word;">How to Stop Eating Sugar: 5 SIMPLE Steps to Get Control - Dr. Becky Gillaspy</yt-formatted-string></h1><div class="style-scope ytd-video-primary-info-renderer" id="info" style="align-items: center; background: rgb(249, 249, 249); border: 0px; display: flex; flex-direction: row; font-family: Roboto, Arial, sans-serif; font-size: 10px; margin: 0px; padding: 0px;"></div><p><a href="https://www.youtube.com/watch?v=AvmZfX6ahos">https://www.youtube.com/watch?v=AvmZfX6ahos<br /></a><br />Notes taken from above link:</p><p>==</p><p><br />5 steps<br /><br />1. Don't tell I cannot give up sugar. <br /> it is addictive - <br /> No shame <br /><br /> Put sugar in the past. <br /><br /><i> Life is excellent without sugar.</i><br /><br /><br />2. Have short term goals<br /><br /> ( I'll never eat sugar - not good - putting too much pressure on giving up )<br /> <br /> Set a goal - just today <br /> <br /> Everyday say just today. <br /><br /><br />3. Stabilize blood sugar<br /><br /> cookies, cakes and candies - avoid.<br /><br /> Add blood sugar - non starchy veg.<br /> - healthy fats<br /> - protein<br /><br /> Helps prevent crashes - stabilize Blood Sugar -<i> Helps to stop craving</i><br /><br />Refer [1] : 0,1,2,3 checklist <br /><br /><br />4. Avoid extreme hunger. avoid spiking craving. <br /><br /> (fastening, gym, etc - all in one - quite difficult to do - It is like setting up for failure)<br /><br /> Take time to stabilize blood sugar. <br /><br /><br />5. Use <b>stoppers</b>.<br /><br /> an item drink, activity - allow you to separate from eating. <br /><br /><i> Brush your teeth - mint tea after meal. </i><br /><br /> It changes the taste in mouth - less desirable to eat sweet. <br /><br /> <b>stopper brings acceptance</b>. <br /><br /> stopper: is a<b> pattern disruptor</b>. move into acceptance<br /> meal is over.<br /><br />pie - short lived.<br />living fit & healthy - life long freedom.<br /><br />Choose the best one :) <br />==</p><p>[1] <a href="https://drbeckyfitness.com/dr-beckys-0123-strategy/">https://drbeckyfitness.com/dr-beckys-0123-strategy/</a><br /><br />0 Sugar. Avoid added sugar, sugary treats and foods that contain sugar as
one of the top three ingredients. <br /><br />1 Large Salad. Include up to 4 cups of any salad greens and an
assortment of non-starchy vegetables (e.g. artichokes, broccoli, cauliflower, celery,
cucumbers, lettuce, mushrooms, onions, peppers, spinach, tomatoes, watercress) </p><p>2 cups cooked Non-Starchy Vegetables. Any vegetables
mentioned above as well as asparagus, bok choy, cabbage, collard greens,
eggplant, endive, garlic, green beans, kelp, okra, seaweed, snow peas, spaghetti
or summer squash, swiss chard, zucchini<br /><br />3 Hours Before Bed, Stop Eating. Determine your normal
bedtime and count back three hours.</p><p>==</p><p><br /></p><p><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0tag:blogger.com,1999:blog-1728588390660362459.post-60534378759802158342022-03-29T06:50:00.001-07:002022-03-29T06:50:05.473-07:00HAproxy - Load balancer <p> </p><p> </p><p>HAproxy short intro with example:<br /></p><p><a href="https://www.haproxy.com/blog/haproxy-configuration-basics-load-balance-your-servers/">https://www.haproxy.com/blog/haproxy-configuration-basics-load-balance-your-servers/</a> </p><p><br /></p><p>Load balancer in RHEL <br /></p><p><a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/load_balancer_administration/index">https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/load_balancer_administration/index</a><br /></p><p><br /></p><p>Advanced one:<br /><a href="https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps">https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps</a></p><p><br /></p><p><br /></p>Saravanakumarhttp://www.blogger.com/profile/16458553100501236529noreply@blogger.com0