<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mariadb on David P. Discher</title><link>https://davidpdischer.com/categories/mariadb/</link><description>Recent content in Mariadb on David P. Discher</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 06 Mar 2018 23:24:03 +0000</lastBuildDate><atom:link href="https://davidpdischer.com/categories/mariadb/index.xml" rel="self" type="application/rss+xml"/><item><title>SysAdmin Notes: Enabling SSL Cluster replication – Let’s Encrypt – FreeBSD, MariaDB 10.2, and Galera Cluster</title><link>https://davidpdischer.com/2018/03/06/sysadmin-notes-enabling-ssl-cluster-replication-lets-encrypt-freebsd-mariadb-10-2-and-galera-cluster/</link><pubDate>Tue, 06 Mar 2018 23:24:03 +0000</pubDate><guid>https://davidpdischer.com/2018/03/06/sysadmin-notes-enabling-ssl-cluster-replication-lets-encrypt-freebsd-mariadb-10-2-and-galera-cluster/</guid><description>&lt;p&gt;From acme.sh, you’ll get :&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;&amp;lt;br /&amp;gt; ca.cer&amp;lt;br /&amp;gt; db2.cer&amp;lt;br /&amp;gt; db2.conf&amp;lt;br /&amp;gt; db2.csr&amp;lt;br /&amp;gt; db2.csr.conf&amp;lt;br /&amp;gt; db2.key&amp;lt;br /&amp;gt; fullchain.cer&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;FreeBSD layout – copy these to /etc/ssl (well, where you want).&lt;/p&gt;&#10;&lt;p&gt;concatenate the ca.cer with symlink of cert.pem from the package “security/ca_root_nss”.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;&amp;lt;br /&amp;gt; sudo sh -c 'cat ca.cer cert.pem &amp;gt; cert2.pem'&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Galera Cluster doesn’t like chained certificates, and does both a client and server Certificate verification – so wsrep_provider_options look like this :&lt;/p&gt;</description></item><item><title>SysAdmin Notes: FreeBSD, MariaDB 10.2, and Galera Cluster</title><link>https://davidpdischer.com/2017/11/06/sysadmin-notes-freebsd-mariadb-10-2-and-galera-cluster/</link><pubDate>Mon, 06 Nov 2017 23:08:46 +0000</pubDate><guid>https://davidpdischer.com/2017/11/06/sysadmin-notes-freebsd-mariadb-10-2-and-galera-cluster/</guid><description>&lt;h3 id="intro"&gt;Intro&lt;a class="heading-anchor" href="#intro" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h3&gt;&#10;&lt;p&gt;Installing and getting MariaDB 10.2, and Galera Cluster going on FreeBSD (from ports/packages) was not straight forward. The getting started were all geared for linux packages which seem to have different helpers. I couldn’t find any how to’s for freebsd.&lt;/p&gt;&#10;&lt;p&gt;These are more notes, not a how-to. Please, someone write up a better how-to or add in helper scripts to ports.&lt;/p&gt;&#10;&lt;h4 id="packages--ports"&gt;Packages / Ports&lt;a class="heading-anchor" href="#packages--ports" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h4&gt;&#10;&lt;p&gt;As things do and always change from version to version, custom poudriere builds, however all default options.&lt;br&gt;&#10;&lt;code&gt;&amp;lt;br /&amp;gt; galera-25.3.21_2&amp;lt;br /&amp;gt; mariadb102-client-10.2.9_1&amp;lt;br /&amp;gt; mariadb102-server-10.2.9_1&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>