<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Didar S M on Medium]]></title>
        <description><![CDATA[Stories by Didar S M on Medium]]></description>
        <link>https://medium.com/@smda1215?source=rss-c6d48aeb9a6b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lQUK1xPgkGJvB7zg8_SzSw.jpeg</url>
            <title>Stories by Didar S M on Medium</title>
            <link>https://medium.com/@smda1215?source=rss-c6d48aeb9a6b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:35:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@smda1215/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Enable both HTTP & HTTPS protocol in Apache Axis2/Java Web Services/SOAP/WSDL Engine]]></title>
            <link>https://medium.com/@smda1215/enable-both-http-https-protocol-in-apache-axis2-java-web-services-soap-wsdl-engine-dd8312e882cc?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd8312e882cc</guid>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[axis2]]></category>
            <category><![CDATA[apache-axis]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 11:58:53 GMT</pubDate>
            <atom:updated>2024-04-18T11:58:53.677Z</atom:updated>
            <content:encoded><![CDATA[<p>For some purposes I need both HTTP (8080) and HTTPS (8443) port to be open in my AXIS2. Apache Axis2 is a web service engine. It is a redesign and re-write of the widely used Apache Axis SOAP stack. So, let&#39;s have some testing in both Windows &amp; Linux environment. We will use “keytool” from JAVA binaries to generate keystore file to generate self-signed SSL certificate. Let’s assume, Apache is already configured with HTTP 8080 port. We are about to introduce https protocol in 8443 port.</p><p><strong>Tested Environment:</strong><br> Windows 7, Windows 2012<br> RHEL 5.4, RHEL 6.5<br> Apache Tomcat Version 6.0.33</p><p>1. <strong>Windows Environment:</strong></p><p><strong><em>Step-1</em></strong><em>:</em> Generate Keystore file.<br><strong><em>Objective-1</em></strong>: We will generate keystore file in C:\apache-tomcat-6.0.20\conf\cert\ directory.</p><p>Let’s assume we have JDK installed in our server. Here is mine, let’s go to the directory:</p><pre>Start &gt;&gt; Cmd<br>cd c:\ProgramFiles\Java\jdk1.6.0_20\bin\<br>c:\Program Files\Java\jdk1.6.0_20\bin&gt;keytool -genkey -alias tomcat -keyalg RSA -keystore C:\apache-tomcat-6.0.20\conf\cert\keystore.ssl<br>Enter keystore password: mypassword<br>Re-enter new password: mypassword<br>What is your first and last name?<br>  [Unknown]:  S M Didarul Abedin<br>What is the name of your organizational unit?<br>  [Unknown]:  IT/Technology<br>What is the name of your organization?<br>  [Unknown]:  My Organization Bangladesh Ltd.<br>What is the name of your City or Locality?<br>  [Unknown]:  Gulshan-2<br>What is the name of your State or Province?<br>  [Unknown]:  Dhaka<br>What is the two-letter country code for this unit?<br>  [Unknown]:  BD<br>Is CN=S M Didarul Abedin, OU=IT/Technology, O=My Organization Bangladesh Ltd.,<br> L=Gulshan-2, ST=Dhaka, C=BD correct?<br>  [no]:  yes<br><br>Enter key password for &lt;tomcat&gt;<br>        (RETURN if same as keystore password): mypassword<br>Re-enter new password: mypassword<br>c:\Program Files\Java\jdk1.6.0_20\bin&gt;</pre><p><strong><em>Step-2</em></strong><em>:</em> Update apache configuration file for HTTPS protocol.<br><strong><em>Objective-2</em></strong>: Necessary configuration in apache for HTTPS.</p><p>Let’s assume C:\apache-tomcat-6.0.20\conf\ is the apache configuration directory. Let’s do the necessary configuration.</p><p>Update C:\apache-tomcat-6.0.20\conf\server.xml with below configuration.</p><pre>&lt;Connector port=&quot;8443&quot; protocol=&quot;HTTP/1.1&quot; <br>           SSLEnabled=&quot;true&quot;<br>           scheme=&quot;https&quot; <br>           secure=&quot;true&quot;<br>           Server=&quot;&quot; <br>           keystoreFile=&quot;C:\apache-tomcat-6.0.20\conf\cert\keystore.ssl&quot;<br>           keystorePass=&quot;mypassword&quot;  /*put same password that you used while generating keystore file*/<br>           maxThreads=&quot;150&quot;<br>           maxSpareThreads=&quot;75&quot;<br>           minSpareThreads=&quot;25&quot; <br>           clientAuth=&quot;false&quot; sslProtocol=&quot;TLS&quot; <br>           URIEncoding=&quot;UTF-8&quot;<br>           /&gt;</pre><p>Update C:\apache-tomcat-6.0.20\conf\web.xml with below configuration</p><pre>&lt;user-data-constraint&gt; <br>&lt;transport-guarantee&gt;CONFIDENTIAL&lt;/transport-guarantee&gt; <br>&lt;/user-data-constraint&gt;</pre><p>And lastly update AXIS2 config file to allow HTTPS in port 8443.</p><p>C:\apache-tomcat-6.0.20\webapps\axis2\WEB-INF\conf\axis2.conf</p><pre>&lt;transportReceiver name=&quot;https&quot;<br>        class=&quot;org.apache.axis2.transport.http.AxisServletListener&quot;&gt;<br>        &lt;parameter name=&quot;port&quot;&gt;8443&lt;/parameter&gt;<br>&lt;/transportReceiver&gt;</pre><p><strong><em>Step-3</em></strong><em>:</em> Restart apache service.<br><strong><em>Objective-3</em></strong>: Enable HTTPS in AXIS2 <a href="https://ip-address:8443/">https://ip-address:8443</a>.</p><p>===============================================================</p><p>2. <strong>Linux Environment:</strong></p><p><strong><em>Step-1</em></strong><em>:</em> Generate Keystore file.<br><strong><em>Objective-1</em></strong>: We will generate keystore file in /opt/tomcat/apache-tomcat-6.0.33/conf/cert/ directory.</p><pre>#cd $JAVA_HOME/bin<br>#keytool -genkey -alias tomcat -keyalg RSA -keystore /opt/tomcat/apache-tomcat-6.0.33/conf/cert/keystore.ssl<br>Enter keystore password:mypassword<br>Re-enter new password: mypassword<br>What is your first and last name?<br>  [Unknown]:  S M Didarul Abedin<br>What is the name of your organizational unit?<br>  [Unknown]:  IT/Technology<br>What is the name of your organization?<br>  [Unknown]:  My Organization Bangladesh Ltd.<br>What is the name of your City or Locality?<br>  [Unknown]:  Gulshan-2<br>What is the name of your State or Province?<br>  [Unknown]:  Dhaka-1212<br>What is the two-letter country code for this unit?<br>  [Unknown]:  BD<br>Is CN=S M Didarul Abedin, OU=IT/Technology, O=My Organization Bangladesh Ltd., L=Gulshan-2, ST=Dhaka-1212, C=BD correct?<br>  [no]:  yes<br><br>Enter key password for &lt;tomcat&gt;<br> (RETURN if same as keystore password): mypassword  <br>Re-enter new password: mypassword</pre><p><strong><em>Step-2</em></strong><em>:</em> Update apache configuration for HTTPS port.<br><strong><em>Objective-2</em></strong>: Necessary configuration in apache for HTTPS.</p><p>Let&#39;s put updated configuration for HTTPS (8443) in $TOMCAT_HOME/conf/server.xml file where $TOMCAT_HOME is the environment variable declared in users bash profile.</p><pre>&lt;Connector port=&quot;8443&quot; protocol=&quot;HTTP/1.1&quot; <br>           SSLEnabled=&quot;true&quot;<br>           scheme=&quot;https&quot; <br>           secure=&quot;true&quot;<br>           Server=&quot;&quot; <br>           keystoreFile=&quot;/opt/tomcat/apache-tomcat-6.0.33/conf/cert/keystore.ssl&quot;<br>           keystorePass=&quot;mypassword&quot;<br>           maxThreads=&quot;150&quot;<br>           maxSpareThreads=&quot;75&quot;<br>           minSpareThreads=&quot;25&quot; <br>           clientAuth=&quot;false&quot; sslProtocol=&quot;TLS&quot; <br>           URIEncoding=&quot;UTF-8&quot;<br>           /&gt;</pre><p>Update $TOMCAT_HOME/conf/web.xml with below configuration</p><pre>&lt;user-data-constraint&gt; <br>&lt;transport-guarantee&gt;CONFIDENTIAL&lt;/transport-guarantee&gt; <br>&lt;/user-data-constraint&gt;</pre><p>And lastly update AXIS2 config file to allow HTTPS in port 8443.</p><p>$TOMCAT_HOME/webapps/axis2/WEB-INF/conf/axis2.xml</p><pre>&lt;transportReceiver name=&quot;https&quot;<br>  class=&quot;org.apache.axis2.transport.http.AxisServletListener&quot;&gt;<br>        &lt;parameter name=&quot;port&quot;&gt;8443&lt;/parameter&gt;<br>    &lt;/transportReceiver&gt;</pre><p><strong><em>Step-3</em></strong><em>:</em> Restart apache service.<br><strong><em>Objective-3</em></strong>: Enable HTTPS in AXIS2 <a href="https://ip-address:8443/">https://ip-address:8443</a>.</p><p><strong><em>Step-4</em></strong><em>:</em> Securing the environment.<br><strong><em>Objective-4</em></strong>: Will secure the environment via IPTABLES by putting some firewall rules.</p><p>Add below rules in IPTABLES (/etc/sysconfig/iptables) to secure environment. For example: we are allowing all private blocks 10.0.0.0, 172.16.0.0 and 192.168.0.0</p><pre>-A INPUT -s 10.0.0.0/255.0.0.0 -p tcp -m tcp --dport 8080 -j ACCEPT <br>-A INPUT -s 172.16.0.0/255.255.0.0 -p tcp -m tcp --dport 8080 -j ACCEPT<br>-A INPUT -s 192.168.0.0/255.255.0.0 -p tcp -m tcp --dport 8080 -j ACCEPT<br>-A INPUT -s 10.0.0.0/255.0.0.0 -p tcp -m tcp --dport 8443 -j ACCEPT <br>-A INPUT -s 172.16.0.0/255.255.0.0 -p tcp -m tcp --dport 8443 -j ACCEPT<br>-A INPUT -s 192.168.0.0/255.255.0.0 -p tcp -m tcp --dport 8443 -j ACCEPT</pre><p><em>Originally published at </em><a href="https://didar15.blogspot.com/2017/03/enable-both-http-https-in-apache-tomcat.html"><em>https://didar15.blogspot.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd8312e882cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Synchronize with NTP Server]]></title>
            <link>https://medium.com/@smda1215/synchronize-with-ntp-server-aab2977df908?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/aab2977df908</guid>
            <category><![CDATA[ntp]]></category>
            <category><![CDATA[ntp-server]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 10:24:00 GMT</pubDate>
            <atom:updated>2024-04-18T10:24:00.872Z</atom:updated>
            <content:encoded><![CDATA[<h3>Time Synchronize with NTP Server</h3><p>Assume, we are about to synchronize system time with a NTP server. The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. Time synchronization is an important aspect in network. For example, if time is not synchronized then you may receive email in future time, many software installations require time synchronization, therefore, they may fail. Certain software requires NTP as a mandatory item before proceeding installation. Below is the tested environment:</p><p><strong>Windows 2008 R2 Standard:</strong></p><ul><li>AD (Active Directory), uses Windows Time service for clock synchronization: W32Time</li><li>All client machines synchronize time from domain controller.</li><li>In Domain Controller Environment all domain controller synchronizes from the PDC.</li><li>Thus, PDC must synchronize from external source e.g. NTP Server.</li></ul><p><strong>To locate PDC:</strong></p><pre>netdom /query fsmo<br><br>Sample Output:<br>Schema master               DC2.abc.com.bd<br>Domain naming master        DC2.abc.com.bd<br>PDC                         DC2.abc.com.bd<br>RID pool manager            DC2.abc.com.bd<br>Infrastructure master       DC2.abc.com.bd<br>The command completed successfully.</pre><p>First, stop W32Time service, setup external source (assume: NTP IP is 192.168.220.80), make PDC a reliable time source for clients and later on, start the w32time service again.</p><pre>net stop w32time<br>w32tm /config /syncfromflags:manual /manualpeerlist:192.168.220.80<br>w32tm /config /reliable:yes<br>net start w32time</pre><p><strong>In RHEL 6.5:</strong></p><p>Edit ntp.conf file and add below line, save &amp; exit the file. Later, add a cronjob to update time from NTP periodically.</p><pre>vim /etc/ntp.conf<br># IP Address of your NTP Server<br>server 192.168.100.200</pre><pre>0 0 * * * /usr/sbin/ntpdate -u 192.168.100.200<br># add cronjob entry for time synchronization</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aab2977df908" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Backup & Restore MySQL Stored Procedures and Triggers]]></title>
            <link>https://medium.com/@smda1215/backup-restore-mysql-stored-procedures-and-triggers-c6fc2a8c0706?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6fc2a8c0706</guid>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[restore]]></category>
            <category><![CDATA[backup]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 10:08:07 GMT</pubDate>
            <atom:updated>2024-04-18T10:08:07.409Z</atom:updated>
            <content:encoded><![CDATA[<p>There are two ways to backup MySQL routine procedures and triggers. Either it could be with data and tables or without data and tables.</p><p><strong>Backup:</strong></p><blockquote>DB Host: 172.16.16.29</blockquote><blockquote>DB Name: reportdb</blockquote><blockquote>DB Username: root</blockquote><blockquote>DB User Pass: abc123</blockquote><p>Backup stored procedures with data and tables, when prompted, enter root password.</p><pre>mysqldump -h 172.16.16.29 -u root -p - routines reportdb &gt; reportdb_proc_with_data_table.sql</pre><p>Backup only stored procedures and triggers, when prompted, enter root password.</p><pre>mysqldump -h 172.16.16.29 -u root -p - routines - no-create-info - no-data - no-create-db - skip-opt reportdb &gt; reportdb_routine_proc.sql</pre><p><strong>Restore:</strong></p><p>Use below command to restore, when prompted, enter root password.</p><pre>mysql -u root -p reportdb &lt; reportdb_proc_with_data_table.sql</pre><p><em>or</em></p><pre>mysql -u root -p reportdb &lt; reportdb_routine_proc.sql</pre><p><em>Originally published at </em><a href="https://didar15.blogspot.com/2017/04/backup-restore-mysql-stored-procedures.html"><em>https://didar15.blogspot.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6fc2a8c0706" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using PowerShell Module for VMware Cloud Foundation (VCF) Health Reporting, Monitoring and Alerting]]></title>
            <link>https://medium.com/@smda1215/using-powershell-module-for-vmware-cloud-foundation-vcf-health-reporting-monitoring-and-alerting-1e8e9f56db0c?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e8e9f56db0c</guid>
            <category><![CDATA[vmware-vcf]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[vmware-cloud]]></category>
            <category><![CDATA[vcf]]></category>
            <category><![CDATA[vmware]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Wed, 17 Apr 2024 11:41:08 GMT</pubDate>
            <atom:updated>2024-04-17T11:41:08.941Z</atom:updated>
            <content:encoded><![CDATA[<p>VMware by Broadcom provides a handy PowerShell module for VMware Cloud Foundation (VCF) environment to report, monitor and alert, and has the ability to publish pre-defines HTML reports. Let’s do a step-by-step process to install the module in a server, connect to a VCF environment and generate reports and alerts for System Administrators to perform their day-2 housekeeping and operational tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*8OBic4WEtt3piqF2PKd5-w.png" /></figure><ol><li><strong>Install &amp; Import PowerShell Module</strong></li></ol><p>First, we will download the modules in a desktop/laptop/server having internet access. Then, transfer those modules to an air-gapped server (e.g., a jump server to connect to VCF environment). Later, install the modules and verify it by running some commands.</p><pre>Save-Module -Name VMware.PowerCLI -Path E:\Module\ -Repository PSGallery<br>Save-Module -Name VMware.vSphere.SsoAdmin -Path E:\Module\ -Repository PSGallery<br>Save-Module -Name PowerVCF -Path E:\Module\ -Repository PSGallery<br>Save-Module -Name PowerValidatedSolutions -Path E:\Module\ -Repository PSGallery<br>Save-Module -Name VMware.CloudFoundation.Reporting -Path E:\Module\ -Repository PSGallery</pre><p>Now, manually transfer the files from laptop to Windows Jump Server or by a PowerShell command:</p><pre>Copy-Item -Path EWin:\Module\* -Destination &#39;\\&lt;destination_host&gt;\C$\Program Files\WindowsPowerShell\Modules\&#39; -Recurse</pre><p>Once copied, import the module dependencies by running following PowerShell commands</p><pre>Import-Module -Name VMware.PowerCLI<br>Import-Module -Name VMware.vSphere.SsoAdmin<br>Import-Module -Name PowerVCF<br>Import-Module -Name PowerValidatedSolutions<br>Import-Module -Name VMware.CloudFoundation.Reporting</pre><p>Once installed and imported successfully, any cmdlets associated with VMware.CloudFoundation.Reporting and its dependencies will be available for use. Let’s run the following command in PowerShell console to view the available cmdlets in the module.</p><pre>Get-Command -Module VMware.CloudFoundation.Reporting</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5ffQH-jXTVH1hGI4KU8pw.png" /></figure><p>To view the help for any cmdlet, run the Get-Help command in the PowerShell console.</p><pre>Get-Help -Name Invoke-VcfHealthReport -Examples</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*G2SRTs7ME41x670S3RBxAA.png" /></figure><p><strong>2. Run PowerShell scripts to generate reports from VCF Environment</strong></p><p>Write below PowerShell script, save and run it to get the Health Status Report for VMware Cloud Foundation (VCF) Environment.</p><pre>## VMware Cloud Foundation<br>## Service Health Status<br>$sddcManagerFqdn = &quot;sfo-vcf01.sfo.rainpole.io&quot;  # add actual fqdn of SDDC Manager<br>$sddcManagerUser = &quot;admin@local&quot;                # Use admin@local username<br>$sddcManagerPass = &quot;VMw@re1!VMw@re1!&quot;           # Update with correct password<br><br>$sddcManagerLocalUser = &quot;vcf&quot;  <br>$sddcManagerLocalPass = &quot;VMw@re1!&quot;<br><br>$reportPath = &quot;E:\SDDC-Reporting&quot;              # Directory for storing reports and logs<br><br>Invoke-VcfHealthReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcManagerLocalUser $sddcManagerLocalUser -sddcManagerLocalPass $sddcManagerLocalPass -reportPath $reportPath -allDomains -failureOnly</pre><p>Once completed, a HTML report will be previewed. Schedule these scripts to get these automated reports via email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*VaHSYocRdQss_wM4mSSbzA.png" /></figure><p><strong>3. Additional PowerShell scripts for System Alert and Upgrade Precheck</strong></p><pre>## VMware Cloud Foundation<br>## System Alert Report<br>$sddcManagerFqdn = &quot;sfo-vcf01.sfo.rainpole.io&quot;  # add actual fqdn of SDDC Manager<br>$sddcManagerUser = &quot;admin@local&quot;                # Use admin@local username<br>$sddcManagerPass = &quot;VMw@re1!VMw@re1!&quot;           # Update with correct password<br><br>$reportPath = &quot;E:\SDDC-Reporting&quot;<br><br>Invoke-VcfAlertReport -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -reportPath $reportPath -allDomains</pre><pre>## VMware Cloud Foundation<br>## Upgrade Precheck Report for a Workload Domain<br>$sddcManagerFqdn = &quot;sfo-vcf01.sfo.rainpole.io&quot;<br>$sddcManagerUser = &quot;admin@local&quot;<br>$sddcManagerPass = &quot;VMw@re1!VMw@re1!&quot;<br><br>$workloadDomain = &quot;sfo-w01&quot;<br><br>$reportPath = &quot;E:\SDDC-Reporting&quot;<br><br>Invoke-VcfUpgradePrecheck -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -reportPath $reportPath -workloadDomain $workloadDomain</pre><p><strong>References:</strong></p><ol><li><a href="https://docs.vmware.com/en/VMware-Cloud-Foundation/services/vcf-health-reporting-and-monitoring-v1/GUID-CF73FFF1-7875-4A84-BECF-0EB4CA60279D.html"><em>About Health Reporting and Monitoring for VMware Cloud Foundation</em></a></li><li><a href="https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-reporting/"><em>PowerShell Module for VMware Cloud Foundation Reporting</em></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e8e9f56db0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create systemd service for custom application and permit administrative privilege to non-root users…]]></title>
            <link>https://medium.com/@smda1215/create-systemd-service-for-custom-application-and-permit-administrative-privilege-to-non-root-users-8c8785a0e64e?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c8785a0e64e</guid>
            <category><![CDATA[systemd-service]]></category>
            <category><![CDATA[non-root]]></category>
            <category><![CDATA[systemd]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Sun, 14 Apr 2024 05:30:44 GMT</pubDate>
            <atom:updated>2024-04-14T05:30:44.871Z</atom:updated>
            <content:encoded><![CDATA[<h3>Create systemd service for custom application and permit administrative privilege to non-root users in Linux environment</h3><p>Let’s say, dev team has published a released a new java-based application and deployed in a Linux server. Now, it’s the System Administrator’s task to ensure necessary system level changes has been made and applied to the server to run the application, give privilege to dev team members to manage their application whenever needed.</p><p>First, create a bash file to run the java program in associated with its properties and configuration. Make sure, the file has the right ownership and execution level set.</p><pre>vim /home/devadmin/custom-app-service.sh<br>#!/bin/bash<br><br>/usr/bin/java -jar -Dlog4j.configuration=file:/opt/applications/log4j.xml /opt/applications/libs/CustomApplication-1.2.0.jar /opt/applications/custom-properties/CustomApplication.properties<br>########</pre><p>Create a systemd service file in <em>/etc/systemd/system</em> directory.</p><pre>vim custom-app.service<br>[Unit]<br>Description=Custom-app service<br>After=network.target<br><br>[Service]<br>User=devadmin<br>Group=devadmin<br>## Link the previously created bash file here.<br>ExecStart= /home/devadmin/custom-app-service.sh<br>SuccessExitStatus=143<br>TimeoutStopSec=10<br>Restart=on-failure<br>RestartSec=5<br><br>[Install]<br>WantedBy=multi-user.target</pre><p>Add execution permission and change the owner/group of the service file. Reload the daemon service to include the new service file in the system and make the custom application to load in boot level.</p><pre>chmod +x /etc/systemd/system/custom-app.service;<br>chown devadmin:devadmin /etc/systemd/system/custom-app.service;<br>systemctl daemon-reload;<br>systemctl enable custom-app.service</pre><p>Lastly, in <em>/etc/sudoers</em> file, give necessary permissions to <em>devadmin</em> group/users to control the application.</p><pre>vim /etc/sudoers<br># add this code block in sudoers file<br>%devadmin ALL= NOPASSWD: /usr/bin/systemctl status custom-app<br>%devadmin ALL= NOPASSWD: /usr/bin/systemctl start custom-app<br>%devadmin ALL= NOPASSWD: /usr/bin/systemctl stop custom-app<br>%devadmin ALL= NOPASSWD: /usr/bin/systemctl restart custom-app</pre><p>Now, to verify the custom application service, log-on the system as <em>devadmin </em>user and check the status.</p><pre>systemctl status custom-app<br>systemctl start custom-app<br>systemctl restart custom-app</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c8785a0e64e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Allow non-root users to control a custom application service in Linux Environment.]]></title>
            <link>https://medium.com/@smda1215/allow-non-root-users-to-control-a-custom-application-service-in-linux-environment-b042538386bc?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b042538386bc</guid>
            <category><![CDATA[systemd]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[non-root]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Tue, 09 Apr 2024 22:03:57 GMT</pubDate>
            <atom:updated>2024-04-10T07:02:30.278Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s say we want to run a custom application service on a Linux server giving permission to a non-root user to control the application and associated services.</p><p>Assume we are about to run Apache Kafka service with a non-root user named <em>appdev</em>, belongs to a group named <em>appdev</em>. We also assume, required binaries and configuration files for kafka are placed in <em>/opt/kafka/</em> directory. Then, we need to log-on the server as root and create a service file in below mentioned directory.</p><pre>[root@kafka01 root]# cd /etc/systemd/system<br>[root@kafka01 system]# vi kafka.service<br><br>[Unit]<br>Description=Kafka<br>After=network.target<br><br>[Service]<br>User=appdev<br>Group=appdev<br>Environment=&quot;KAFKA_HEAP_OPTS=-Xmx16G -Xms16G&quot;<br>ExecStart=/usr/bin/bash /opt/kafka/bin/kafka-server-start.sh /opt/kafka/config/server.properties<br>SuccessExitStatus=143<br><br>[Install]<br>WantedBy=multi-user.target</pre><p>Add executable permission and change the owner and group of the file as per our requirements.</p><pre>chmod +x kafka.service<br>chown appdev:appdev kafka.service</pre><p>Now, reload the service files to include the new service.</p><pre>systemctl daemon-reload</pre><p>Lastly, to start the script on boot, enable the service with <em>systemd</em></p><pre>systemctl enable kafka.service</pre><p>Now, add additional permissions to <em>appdev </em>user to control the kafka service (e.g., start/stop/restart/status) by doing the following configuration in <em>/etc/sudoers</em> file.</p><pre>vi /etc/sudoers<br><br># add below permission to appdev group and user<br>%appdev ALL= NOPASSWD: /usr/bin/systemctl start kafka<br>%appdev ALL= NOPASSWD: /usr/bin/systemctl stop kafka<br>%appdev ALL= NOPASSWD: /usr/bin/systemctl status kafka<br>%appdev ALL= NOPASSWD: /usr/bin/systemctl restart kafka</pre><p>Now, to test the service, log-on the system as <em>appdev </em>user and check the status.</p><pre>systemctl status kafka<br>systemctl start kafka<br>systemctl restart kafka</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b042538386bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nvidia GPU Metrics Performance Monitor in Grafana & Prometheus]]></title>
            <link>https://medium.com/@smda1215/nvidia-gpu-metrics-performance-monitor-in-grafana-prometheus-3a4bc7198cf9?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a4bc7198cf9</guid>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[nvidia-gpu]]></category>
            <category><![CDATA[nvidia-gpu-exporter]]></category>
            <category><![CDATA[nvidia-gpu-metrics]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Thu, 14 Mar 2024 10:19:36 GMT</pubDate>
            <atom:updated>2024-10-31T20:19:33.206Z</atom:updated>
            <content:encoded><![CDATA[<p>Many traditional monitoring solutions does not provide the capability or feature to monitor Nvidia GPU Metrics in regular interval. Many thanks to <a href="https://github.com/utkuozdemir">utkuozdemir</a>, who created an excellent dashboard which usage the metrices exported by <a href="https://github.com/utkuozdemir/nvidia_gpu_exporter">Nvidia GPU Exporter</a> to provide very rich visualization of various GPU performance stats. Nvidia GPUs running in Linux in any data center can be easily monitored via this. With the help of <a href="https://github.com/utkuozdemir/nvidia_gpu_exporter">Nvidia GPU Exporter</a> and <a href="https://grafana.com/grafana/dashboards/14574-nvidia-gpu-metrics/">Nvidia GPU Metrics</a> dashboard, following below steps, we can be able to achieve it. Let’s begin:</p><p><strong>Step-1:</strong> Download the Nvidia GPU Exporter <a href="https://github.com/utkuozdemir/nvidia_gpu_exporter/releases">binary</a>.</p><p>Platform: Red Hat Enterprise Linux release 8.8, Nvidia Tesla V100 GPU</p><pre>https://github.com/utkuozdemir/nvidia_gpu_exporter/releases<br><br>cd /tmp/<br>wget -c https://github.com/utkuozdemir/nvidia_gpu_exporter/releases/download/v1.2.1/nvidia_gpu_exporter_1.2.1_linux_x86_64.tar.gz -O - | tar -xz</pre><p><strong>Step-2:</strong> Extract and place nvidia_gpu_exporter binary file in /usr/bin/ directory.</p><p><strong>Step-3:</strong> Create a username and group to start/run the service other than root user.</p><pre>useradd --no-create-home --shell /bin/false nvidia_gpu_exporter<br>chown nvidia_gpu_exporter.nvidia_gpu_exporter nvidia_gpu_exporter<br>mv nvidia_gpu_exporter /usr/local/bin/</pre><p><strong>Step-4:</strong> Create a service file in /etc/systemd/system/nvidia_gpu_exporter.service as follows:</p><p>Nvidia GPU Exporter service by default runs on 9835 port.</p><pre>[Unit]<br>Description=Nvidia GPU Exporter<br>After=network-online.target<br><br>[Service]<br>Type=simple<br><br>User=nvidia_gpu_exporter<br>Group=nvidia_gpu_exporter<br>ExecStart=/bin/sh -c &#39;/usr/local/bin/nvidia_gpu_exporter&#39;<br><br>SyslogIdentifier=nvidia_gpu_exporter<br><br>Restart=always<br>RestartSec=1<br><br>[Install]<br>WantedBy=multi-user.target<br></pre><p><strong>Step-5:</strong> Start the service, verify it and enable it for default run level.</p><pre>systemctl daemon-reload<br>systemctl enable nvidia_gpu_exporter.service &amp;&amp; systemctl start nvidia_gpu_exporter.service<br>systemctl status nvidia_gpu_exporter.service -l<br><br>● nvidia_gpu_exporter.service - Nvidia GPU Exporter<br>   Loaded: loaded (/etc/systemd/system/nvidia_gpu_exporter.service; enabled; vendor preset: disabled)<br>   Active: active (running) since Thu 2024-03-14 12:41:01 +06; 3h 9min ago<br> Main PID: 1001188 (nvidia_gpu_expo)<br>    Tasks: 6 (limit: 1644024)<br>   Memory: 2.7M<br>   CGroup: /system.slice/nvidia_gpu_exporter.service<br>           └─1001188 /usr/bin/nvidia_gpu_exporter<br><br>Mar 14 12:41:01 gpu01.mydomain.com systemd[1]: Started Nvidia GPU Exporter.<br>Mar 14 12:41:01 gpu01.mydomain.com nvidia_gpu_exporter[1001188]: ts=2024-03-14T06:41:01.&gt;<br>Mar 14 12:41:01 gpu01.mydomain.com nvidia_gpu_exporter[1001188]: ts=2024-03-14T06:41:01.&gt;<br>lines 1-12/12 (END)</pre><p><strong>Step-6: </strong>Verify the service, port and process from OS. Verify from browser as well by <a href="http://10.96.8.92:9835/metrics">http://&lt;server_IP&gt;:9835/metrics</a></p><pre># netstat -tunlp | grep -i :9835<br>tcp6 0 0 :::9835 :::* LISTEN 1001188/nvidia_gpu_exporter<br><br># ps -ef | grep 1001188<br>nvidia_+ 1001188       1  0 12:41 ?        00:00:00 /usr/bin/nvidia_gpu_exporter<br><br>## If required, add a firewall permission to allow traffic on port 9835<br>firewall-cmd --permanent --add-port=9835/tcp<br>firewall-cmd --reload </pre><p><strong>Step-7: </strong>So, all set for exporting Nvidia GPU metrices. Assume, we have Grafana and Prometheus in place as a monitoring stack solution. Download the dashboard from <a href="https://grafana.com/grafana/dashboards/14574-nvidia-gpu-metrics/">here</a>. Once imported, change the data source to <strong>Prometheus</strong>. Before that, make sure necessary configuration has been updated in <em>/etc/prometheus/prometheus.yml </em>file in <em>job_name: ‘node_exporter’ </em>section.</p><pre>- job_name: &#39;node_exporter&#39;<br>    static_configs:<br>      - targets: [&#39;10.10.10.98:9100&#39;]<br>      - targets: [&#39;10.10.10.91:9100&#39;]<br>      - targets: [&#39;10.10.10.92:9100&#39;]<br>      - targets: [&#39;10.10.10.91:9835&#39;]  #add this line for the node which is enabled with GPU Node Exporter<br>      - targets: [&#39;10.10.10.92:9835&#39;]  #add this line for the node which is enabled with GPU Node Exporter</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wkt9nOZu7XW4DHPn2WhXA.png" /></figure><p><strong>Step-8: </strong>Explore the metrices and performance stat from the dashboard. Re-verify from OS by using command <em>nvidia-smi</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7lR1bVybAzirKigSw872A.png" /></figure><p>Again, thanks to <a href="https://github.com/utkuozdemir">utkuozdemir</a> for creating <a href="https://github.com/utkuozdemir/nvidia_gpu_exporter">Nvidia GPU Exporter</a> and <a href="https://grafana.com/grafana/dashboards/14574-nvidia-gpu-metrics/">a super dashboard</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a4bc7198cf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apply Self-signed SSL Certificate in Tomcat Web Server]]></title>
            <link>https://medium.com/@smda1215/apply-self-signed-ssl-certificate-in-tomcat-web-server-47c426940bc9?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/47c426940bc9</guid>
            <category><![CDATA[ssl-certificate]]></category>
            <category><![CDATA[apache-jakarta-tomcat]]></category>
            <category><![CDATA[tomcat]]></category>
            <category><![CDATA[web-server]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Thu, 07 Mar 2024 10:33:39 GMT</pubDate>
            <atom:updated>2024-03-07T10:33:39.182Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Objective:</strong><br>Let&#39;s assume our domain is: example.com.bd<br>When user requests http://example.com.bd, it will automatically be redirected to <a href="https://example.com.bd/">https://example.com.bd.</a></p><p><strong>Tested Environment:</strong><br>OS: RHEL5.4 2.6.18–164.el5PAE<br>Tomcat: Version jakarta-tomcat-4.1.20 — jakarta-tomcat-4.1.24<br>Supported Command: keytool</p><p><strong>Work Steps:</strong><br>1. CSR (Code Signing Request) &amp; Keystore file Generation.<br>2. Certificate Installation<br>3. Tomcat Configuration<br>4. Restart Tomcat Web Service</p><ol><li><strong>CSR (Code Signing Request) &amp; Keystore file Generation</strong></li></ol><pre>#cd /cert<br>#keytool -genkey -keyalg RSA -keysize 2048 -keystore /cert/example.com.bd.keystore<br>Enter keystore password: 123987<br><br>You will prompt some questions regarding your domain. You can use to get your domain details<br><br><br>What is your first and last name?<br>[Unknown]: example.com.bd<br>What is the name of your organizational unit?<br>[Unknown]: IT/Technology<br>What is the name of your organization?<br>[Unknown]: Example Holdings Pvt. Ltd.<br>What is the name of your City or Locality?<br>[Unknown]: 1, South Gulshan Avenue<br>What is the name of your State or Province?<br>[Unknown]: Dhaka<br>What is the two-letter country code for this unit?<br>[Unknown]: BD<br>Is CN=example.com.bd, OU=IT/Technology, O=Example Holdings Pvt. Ltd., 1, South Gulshan Avenue, ST=Dhaka, C=BD correct?<br>[no]: yes<br><br>Enter key password for<br>(RETURN if same as keystore password): 123987<br><br>#keytool -certreq -keyalg RSA -file /cert/example.com.bd.csr -keystore /cert/example.com.bd.keystore<br>Enter keystore password: 123987</pre><p><strong>2.Certificate Installation</strong></p><p>There are several SSL certificate issuers globally, they are usually called CA e.g. verisign, COMODO, DigiCert etc. Once we have the CSR (Code Signing Request) file and send it to any CA authority, they will verify the identity of the domain, contact and organization details and issue certificate. Usually, the CA provides ROOT Certificate and domain certificate.</p><pre>AddTrustExternalCARoot.crt<br>UTNAddTrustServerCA.crt or e.g. COMODOHigh-AssuranceSecureServerCA.crt or www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.©97 VeriSign.crt<br>example_com_bd.crt</pre><p>Now, execute following commands to import the ROOT and domain certificate from the directory where existing csr and keystore files are located:</p><pre>#cd /cert<br>#keytool -import -trustcacerts -alias AddTrustExternalCARoot -file AddTrustExternalCARoot.crt -keystore example.com.bd.keystore<br>#keytool -import -trustcacerts -alias UTNAddTrust -file UTNAddTrustServerCA.crt -keystore example.com.bd.keystore</pre><p>Or</p><pre>keytool -import -trustcacerts -alias COMODOHigh-AssuranceSecureServerCA -file COMODOHigh-AssuranceSecureServerCA.crt -keystore example.com.bd.keystore<br>#keytool -import -trustcacerts -alias example.com.bd -file example_com_bd.crt -keystore example.com.bd.keystore<br>#keytool -import -trustcacerts -file example_com_bd.crt -keystore example.com.bd.keystore</pre><p><strong>3. Tomcat Configuration</strong><br>Edit connector block in tomcat configuration file with above obtained certificate and keystore file.</p><pre>#vim $TOMCAT_HOME/conf/server.xml<br><br>&lt;Connector port=&quot;8443&quot; protocol=&quot;org.apache.coyote.http11.Http11AprProtocol&quot;<br>               maxThreads=&quot;150&quot; SSLEnabled=&quot;true&quot;  xpoweredBy=&quot;false&quot; server=&quot;Apache TomEE&quot; &gt;<br>        &lt;UpgradeProtocol className=&quot;org.apache.coyote.http2.Http2Protocol&quot; /&gt;<br>        &lt;SSLHostConfig&gt;<br>            &lt;Certificate certificateKeyFile=&quot;conf/localhost-rsa-key.pem&quot;<br>                         certificateFile=&quot;conf/localhost-rsa-cert.pem&quot;<br>                         certificateChainFile=&quot;conf/localhost-rsa-chain.pem&quot;<br>                         type=&quot;RSA&quot; /&gt;<br>        &lt;/SSLHostConfig&gt;<br>    &lt;/Connector&gt;</pre><p><strong>4. Restart Tomcat Service</strong></p><p><em>Originally published at </em><a href="https://didar15.blogspot.com/2013/05/ssl-certificate-integration-with-tomcat.html"><em>https://didar15.blogspot.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47c426940bc9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SNMP Configuration in VMware ESXi Host for Monitoring]]></title>
            <link>https://medium.com/@smda1215/snmp-configuration-in-vmware-esxi-host-for-monitoring-3275236009ee?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3275236009ee</guid>
            <category><![CDATA[snmp]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[vmware-esxi]]></category>
            <category><![CDATA[esxi]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Thu, 07 Mar 2024 09:44:42 GMT</pubDate>
            <atom:updated>2024-03-07T09:44:42.739Z</atom:updated>
            <content:encoded><![CDATA[<p>Simple Network Management Protocol (SNMP) is an Internet Standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior.</p><p>Let’s configure SNMP in VMware ESXi host for monitoring purpose. It’s pretty straight forward steps to follow.</p><h4>Step 1: Connect to ESXi Host via SSH</h4><pre>ssh root@&lt;esx_host_ip_address&gt;</pre><h4>Step 2: Configure SNMP Community String and Enable Service on ESXi</h4><pre>#esxcli system snmp set --enable true<br>#esxcli system snmp set --communities Community_String</pre><h4>Step 3: Let’s add Contact &amp; Location</h4><pre>#esxcli system snmp set - syscontact sysadmin@mydomain.com<br> #esxcli system snmp set - syslocation &quot;DC_DHK_BD_RACK1&quot;</pre><h4>Step 4: Configure ESXi Firewall exclusion for SNMP and Allow Incoming Traffic</h4><p>Allow incoming traffic from any host:</p><pre>#esxcli network firewall ruleset set - ruleset-id snmp - allowed-all true<br>#esxcli network firewall ruleset set - ruleset-id snmp - allowed-all false</pre><p>Allow incoming traffic from specific host/network block. Let&#39;s assume 10.20.10.10 is our monitoring server:</p><pre>#esxcli network firewall ruleset set - ruleset-id snmp - enabled true<br> #esxcli network firewall ruleset allowedip add - ruleset-id snmp - ip-address 10.20.10.10/32<br> #esxcli network firewall ruleset set - ruleset-id snmp - enabled true</pre><h4>Step 5: Restart SNMP Service</h4><pre>#/etc/init.d/snmpd restart</pre><h4>Step 6: Verify SNMP Configuration</h4><pre># snmpwalk -v 2c -c Community_String ESXi_Host_IP</pre><p><em>Originally published at </em><a href="https://didar15.blogspot.com/2019/10/snmp-configuration-in-vmware-esxi-host.html"><em>https://didar15.blogspot.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3275236009ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configure SNMP on Force10 MXL 10/40GbE Blade Switch I/O Module For Dell M1000e blade enclosures]]></title>
            <link>https://medium.com/@smda1215/configure-snmp-on-force10-mxl-10-40gbe-blade-switch-i-o-module-for-dell-m1000e-blade-enclosures-66001838b97f?source=rss-c6d48aeb9a6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/66001838b97f</guid>
            <category><![CDATA[mxlswitch]]></category>
            <category><![CDATA[dellm1000e]]></category>
            <category><![CDATA[force-10-networks]]></category>
            <dc:creator><![CDATA[Didar S M]]></dc:creator>
            <pubDate>Wed, 06 Mar 2024 07:15:19 GMT</pubDate>
            <atom:updated>2024-03-06T07:15:19.411Z</atom:updated>
            <content:encoded><![CDATA[<p>Simple network management protocol (SNMP) is supported on the MXL blade switch platform. For SNMPv1 and SNMPv2, create a community string to enable the community-based security in the Dell Networking OS.</p><p>The MXL switch is an industry-first, 40GbE-capable, modular and stackable blade switch for the Dell M1000e chassis. Product details are available <a href="https://i.dell.com/sites/csdocuments/Shared-Content_data-Sheets_Documents/en/SS804_Dell_Force10_MXL.pdf">here</a>.</p><p>Step 1: SSH to MXL Switch using putty/x-shell/mobaXterm.</p><pre>sh root@10.20.10.10</pre><p>Step 2: Enter EXEC Privilege mode.</p><pre>Dell(conf)&gt; conf t</pre><p>Step 3: View SNMP configuration</p><pre>Dell(conf)# show running-config snmp</pre><p>Step 4: Create a Community string by below command.</p><pre>Dell(conf)# snmp-server community community-string ro</pre><p>Step 5: Add Contact and Location information.</p><pre>Dell(conf)# snmp-server location DC-DHK-BD-Rack1</pre><p>Step 5: Verify Configuration.</p><pre>Dell(conf)# show running-config snmp</pre><p>Step 5: Save Configuration and Copy Running configuration in Startup configuration.</p><pre>Dell(conf)# copy running-config startup-config</pre><p>Step 5: Verify from Monitoring Server.</p><pre>#snmpwalk -v 2c -c community-string 10.20.10.10</pre><p><em>Originally published at </em><a href="https://didar15.blogspot.com/2019/10/configure-snmp-on-force10-mxl-1040gbe.html"><em>https://didar15.blogspot.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66001838b97f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>