<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9188982886781426845</id><updated>2024-09-06T13:07:43.793-07:00</updated><category term="Powershell"/><category term="bash"/><category term="Linux"/><category term="Mssql"/><category term="script"/><title type='text'>Daniel Niemczok</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>178</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-5327477129050089730</id><published>2017-12-11T22:53:00.003-08:00</published><updated>2017-12-11T22:53:56.968-08:00</updated><title type='text'>Interface ubuntu</title><content type='html'>iface enp0s3 inet static&amp;nbsp;&lt;div&gt;
address 10.8.8.57&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
netmask 255.255.255.0&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
gateway 10.8.8.8&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
#dns-search firma.ad&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
dns-nameservers 8.8.8.8&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/5327477129050089730/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2017/12/interface-ubuntu.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5327477129050089730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5327477129050089730'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2017/12/interface-ubuntu.html' title='Interface ubuntu'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-5727475366660735815</id><published>2017-08-23T06:32:00.002-07:00</published><updated>2017-08-23T09:08:35.450-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Inventory Powershell</title><content type='html'>Get-Content C:\ps\lista.txt | foreach {&lt;br /&gt;
&lt;br /&gt;
&quot; ======================================== &quot;&lt;br /&gt;
&quot; ======================================== &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&lt;br /&gt;
$ip = $ips = [Net.Dns]::GetHostAddresses(&quot;$PSItem&quot;) |&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Where-Object { $_.AddressFamily -eq &#39;InterNetwork&#39; } |&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Select-Object -Expand IPAddressToString&lt;br /&gt;
&lt;br /&gt;
&quot; 1. = = = = = = = = &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot;Badany host to: &amp;nbsp;$PSItem - $ip&quot;&lt;br /&gt;
&lt;br /&gt;
$uptime = Get-WmiObject win32_operatingsystem -ComputerName $PSItem |&lt;br /&gt;
select @{n=&#39;Nazwa hosta&#39;;e={$PSItem.csname}},&lt;br /&gt;
@{LABEL=&#39;Ostatni restart&#39;;EXPRESSION={$_.ConverttoDateTime($_.lastbootuptime)}}&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; 2. = = = = = = = = &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; Ostatni restart :&quot;&lt;br /&gt;
$uptime&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; 3. = = = = = = = = &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot;Zajętość dysków maszyny $PSItem : &quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Get-CimInstance -ClassName Win32_LogicalDisk -ComputerName $PSItem |&lt;br /&gt;
Where-Object DriveType -eq 3 |&lt;br /&gt;
Format-Table @{n=&#39;Litera dysku&#39;;e={$PSItem.DeviceID}},&lt;br /&gt;
@{n=&#39;Wielkosc dysku(GB)&#39;;e={$PSItem.Size / 1GB};formatString=&#39;N2&#39;},&lt;br /&gt;
@{n=&#39;Uzycie %&#39;;e={($PSItem.freespace / $PSItem.size)*100};formatString=&#39;N2&#39;} -AutoSize&lt;br /&gt;
&lt;br /&gt;
&quot; 4. = = = = = = = = &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; Error dziennika System: &quot;&lt;br /&gt;
&lt;br /&gt;
Get-EventLog -LogName System -EntryType &quot;Error&quot; -Computername &quot;$PSItem&quot; -newest 10 &amp;nbsp;|&lt;br /&gt;
Sort-Object TimeGenerated -Descending -ErrorAction SilentlyContinue&lt;br /&gt;
&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; Error dziennika Security : &quot;&lt;br /&gt;
&lt;br /&gt;
Get-EventLog -LogName Security -EntryType &quot;Error&quot; -Computername &quot;$PSItem&quot; -newest 10 &amp;nbsp;|&lt;br /&gt;
Sort-Object TimeGenerated -Descending &amp;nbsp;-ErrorAction SilentlyContinue&lt;br /&gt;
&lt;br /&gt;
&quot; 5. = = = = = = = = &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot;Uzycie procesora $PSItem :&quot;&lt;br /&gt;
&lt;br /&gt;
Get-Counter -ComputerName $PSItem &#39;\Process(*)\% Processor Time&#39; `&lt;br /&gt;
&amp;nbsp; &amp;nbsp; | Select-Object -ExpandProperty countersamples `&lt;br /&gt;
&amp;nbsp; &amp;nbsp; | Select-Object -Property instancename, cookedvalue `&lt;br /&gt;
&amp;nbsp; &amp;nbsp; | Sort-Object -Property cookedvalue -Descending | Select-Object -First 10 `&lt;br /&gt;
&amp;nbsp; &amp;nbsp; | ft InstanceName,@{L=&#39;CPU&#39;;E={($_.Cookedvalue/100).toString(&#39;P&#39;)}} -AutoSize&lt;br /&gt;
&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; 6. = = = = = = = = &quot;&lt;br /&gt;
&quot; &quot;&lt;br /&gt;
&quot; Wokorzystanie pamieci RAM dla $PSItem : &quot;&lt;br /&gt;
&lt;br /&gt;
$os = Get-Ciminstance Win32_OperatingSystem -ComputerName $PSItem&lt;br /&gt;
$pctFree = [math]::Round(($os.FreePhysicalMemory/$os.TotalVisibleMemorySize)*100,2)&lt;br /&gt;
&lt;br /&gt;
if ($pctFree -ge 45) {&lt;br /&gt;
$Status = &quot;OK&quot;&lt;br /&gt;
}&lt;br /&gt;
elseif ($pctFree -ge 15 ) {&lt;br /&gt;
$Status = &quot;Warning&quot;&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
$Status = &quot;Critical&quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$os | Select @{Name = &quot;Status&quot;;Expression = {$Status}},&lt;br /&gt;
@{Name = &quot;Wolna pamiec %&quot;; Expression = {$pctFree}},&lt;br /&gt;
@{Name = &quot;Wolna pamiec GB&quot;;Expression = {[math]::Round($_.FreePhysicalMemory/1mb,2)}},&lt;br /&gt;
@{Name = &quot;Calkowita pamiec GB&quot;;Expression = {[int]($_.TotalVisibleMemorySize/1mb)}}&lt;br /&gt;
&amp;nbsp;&quot; &quot;&lt;br /&gt;
&amp;nbsp;&quot; &quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot; ======================================== &quot;&lt;br /&gt;
&quot; ======================================== &quot;&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/5727475366660735815/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2017/08/inventory-powershell.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5727475366660735815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5727475366660735815'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2017/08/inventory-powershell.html' title='Inventory Powershell'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-29092729979625899</id><published>2016-03-14T03:57:00.000-07:00</published><updated>2016-03-14T03:57:02.111-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Powershell"/><title type='text'>Ustaw uprawnienia hurtowo</title><content type='html'>#ustaw acl dla plików takie jak jest dla folderu nadrzednego&lt;br /&gt;
$startdir=&quot;c:\costam costam\&quot;&lt;br /&gt;
Foreach ($file in $(get-childitem $startdir)) {&lt;br /&gt;
Write-host $file&lt;br /&gt;
$allpath=$startdir +$file&lt;br /&gt;
$newacl=get-acl $allpath&lt;br /&gt;
Get-childitem $allpath -recurse -include * -force | set-acl -aclobject $newacl&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/29092729979625899/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2016/03/ustaw-uprawnienia-hurtowo.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/29092729979625899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/29092729979625899'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2016/03/ustaw-uprawnienia-hurtowo.html' title='Ustaw uprawnienia hurtowo'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-8014853646162124792</id><published>2016-01-18T23:00:00.000-08:00</published><updated>2016-01-18T23:00:41.632-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mssql"/><title type='text'>Kill process Mssql 2008 R2</title><content type='html'>Active monitor sprawdź spid&lt;br /&gt;
&lt;br /&gt;
Kill &lt;spid&gt;&lt;/spid&gt;&lt;br /&gt;
Go&lt;br /&gt;
Exec sp_who2&lt;br /&gt;
Go</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/8014853646162124792/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2016/01/kill-process-mssql-2008-r2.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/8014853646162124792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/8014853646162124792'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2016/01/kill-process-mssql-2008-r2.html' title='Kill process Mssql 2008 R2'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-4397615433690803717</id><published>2016-01-05T23:11:00.002-08:00</published><updated>2016-01-05T23:11:40.509-08:00</updated><title type='text'>Kasowanie starych wersji jądra</title><content type='html'>http://linuxinside.pl/2014/02/na-skroty-usuwanie-starych-wersji-kernela/&lt;br /&gt;
&lt;br /&gt;
&lt;header class=&quot;entry-header&quot; style=&quot;background-color: #e3e5e7; box-sizing: inherit; color: #444444; font-family: Oxygen, &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 17.6px; line-height: 29.04px; margin: 39px auto 27.2969px; text-align: center;&quot;&gt;&lt;h1 class=&quot;entry-title&quot; style=&quot;box-sizing: inherit; clear: both; font-size: 2.1em; font-weight: inherit; line-height: 1.25; margin: 0px auto; overflow-wrap: break-word; width: 624px; word-wrap: break-word;&quot;&gt;
&lt;a href=&quot;http://linuxinside.pl/2014/02/na-skroty-usuwanie-starych-wersji-kernela/&quot; rel=&quot;bookmark&quot; style=&quot;background-color: transparent; border-bottom-color: rgba(69, 69, 69, 0); border-bottom-style: solid; border-bottom-width: 0px; box-sizing: inherit; color: #444444; text-decoration: none; transition: color 0.4s ease;&quot;&gt;Na skróty: usuwanie starych wersji kernela&lt;/a&gt;&lt;/h1&gt;
&lt;/header&gt;&lt;div class=&quot;entry-content&quot; style=&quot;background-color: #e3e5e7; box-sizing: inherit; color: #444444; font-family: Oxygen, &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 17.6px; line-height: 29.04px; margin: 0px 0px 19.5px; overflow-wrap: break-word; word-wrap: break-word;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; margin-bottom: 1.5em;&quot;&gt;
Jeśli na co dzień korzystasz z&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;Ubuntu&lt;/span&gt;&amp;nbsp;(lub systemów pochodnych) to prędzej czy później zauważysz, że na partycji systemowej (/) z czasem ubywa miejsca. W dużej mierze jest to spowodowane tym, że stare wersje jądra systemu zostają zachowane „na wszelki wypadek”. Jeżeli nasz system prawidłowo działa na nowym kernelu to możemy się pokusić o usunięcie starych wersji.&lt;/div&gt;
&lt;div style=&quot;box-sizing: inherit; margin-bottom: 1.5em;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; line-height: 1.5em;&quot;&gt;Bardzo dobrym programem, który pozwala na wyklikanie całej operacji jest&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;&lt;a href=&quot;http://ubuntu-tweak.com/&quot; style=&quot;background-color: transparent; border-bottom-color: rgba(69, 69, 69, 0); border-bottom-style: solid; border-bottom-width: 0px; box-sizing: inherit; color: #009bcd; text-decoration: none; transition: color 0.4s ease-in-out, border-bottom 0.4s ease-in-out;&quot; target=&quot;_blank&quot; title=&quot;Ubuntu Tweak&quot;&gt;Ubuntu Tweak&lt;/a&gt;&lt;/span&gt;. W odpowiedniej zakładce możemy wyczyścić nasz system ze zbędnych plików.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: inherit; margin-bottom: 1.5em;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; line-height: 1.5em;&quot;&gt;Isnieje jednak szybsze i sprawdzone rozwiązanie, które za jednym zamachem usuwa wszystkie wersje kernela poza aktualnie używaną.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: inherit; margin-bottom: 1.5em;&quot;&gt;
Dla pewności możemy najpierw sprawdzić z jakiego jądra aktualnie korzystamy:&lt;/div&gt;
&lt;blockquote style=&quot;border-color: rgb(0, 155, 205); border-left-style: solid; border-left-width: 0.15em; box-sizing: inherit; font-style: italic; margin: 11.6875px 0px; padding: 0px 0px 0px 39px; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;;&quot;&gt;
&lt;pre style=&quot;background: rgb(238, 238, 238); box-sizing: inherit; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1em; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em;&quot;&gt;uname -r&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;box-sizing: inherit; margin-bottom: 1.5em;&quot;&gt;
Następnie wklejamy poniższe polecenie do terminala:&lt;/div&gt;
&lt;blockquote style=&quot;border-color: rgb(0, 155, 205); border-left-style: solid; border-left-width: 0.15em; box-sizing: inherit; font-style: italic; margin: 11.6875px 0px; padding: 0px 0px 0px 39px; quotes: &amp;quot;&amp;quot; &amp;quot;&amp;quot;;&quot;&gt;
&lt;pre style=&quot;background: rgb(238, 238, 238); box-sizing: inherit; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1em; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; line-height: 1.5em;&quot;&gt;sudo apt-get remove --purge $(dpkg -l &#39;linux-*&#39; | sed &#39;/^ii/!d;/&#39;&quot;$(uname -r | sed &quot;s/\(.*\)-\([^0-9]\+\)/\1/&quot;)&quot;&#39;/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d&#39;)&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;box-sizing: inherit; margin-bottom: 1.5em;&quot;&gt;
&lt;span style=&quot;box-sizing: inherit; line-height: 1.5em;&quot;&gt;Po przejrzeniu listy plików do usunięcia możemy zatwierdzić całą operację. Gotowe!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/4397615433690803717/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2016/01/kasowanie-starych-wersji-jadra.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4397615433690803717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4397615433690803717'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2016/01/kasowanie-starych-wersji-jadra.html' title='Kasowanie starych wersji jądra'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-2413037053542559524</id><published>2015-12-06T20:57:00.002-08:00</published><updated>2015-12-06T20:57:39.928-08:00</updated><title type='text'>Ubuntu mikrofon</title><content type='html'>&lt;div class=&quot;pre&quot; style=&quot;background: rgb(250, 250, 250); border: 1px dashed blue; font-family: monospace; font-size: 13.3333px; margin: 5px; overflow: auto; padding: 5px; white-space: pre;&quot;&gt;
&lt;pre style=&quot;white-space: pre-wrap;&quot;&gt;sudo apt-get purge pulseaudio
&lt;/pre&gt;
&lt;/div&gt;
&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;I restart. A potem w mikserze (nie w gnomowym, ale np. w alsamixer) ustawienie wszystkiego na maksa&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;Ja bym jeszcze spróbował co ci pokażę&lt;/span&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: #f4f4f4; color: black; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px; width: 90%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;SmallText&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Cytuj:&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;quote&quot; style=&quot;background: rgb(250, 250, 250); border: 1px solid rgb(194, 205, 214); color: #444444; font-size: 10pt;&quot;&gt;arecord -l&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;a później dałbym&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: #f4f4f4; color: black; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px; width: 90%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;SmallText&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Cytuj:&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;quote&quot; style=&quot;background: rgb(250, 250, 250); border: 1px solid rgb(194, 205, 214); color: #444444; font-size: 10pt;&quot;&gt;arecord plik&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;i powiedział kilka zdań do mikrofonu (w miarę możliwości blisko)&lt;/span&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;span style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot;&gt;Następnie zobaczył czy jest jakiś dzwięk odpalając :&lt;/span&gt;&lt;br style=&quot;background-color: #f4f4f4; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px;&quot; /&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; style=&quot;background-color: #f4f4f4; color: black; font-family: Tahoma, Verdana, &#39;Myriad Web&#39;, Syntax, sans-serif; font-size: 13.3333px; width: 90%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;SmallText&quot; style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Cytuj:&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;quote&quot; style=&quot;background: rgb(250, 250, 250); border: 1px solid rgb(194, 205, 214); color: #444444; font-size: 10pt;&quot;&gt;aplay plik&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/2413037053542559524/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/12/ubuntu-mikrofon.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/2413037053542559524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/2413037053542559524'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/12/ubuntu-mikrofon.html' title='Ubuntu mikrofon'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-8471708239773073278</id><published>2015-12-04T22:07:00.002-08:00</published><updated>2015-12-04T22:07:52.388-08:00</updated><title type='text'>Simple firewall Ubuntu and Mikrotik</title><content type='html'>&lt;u&gt;&lt;b&gt;UBUNTU:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;
&lt;br /&gt;
&lt;pre class=&quot;code-pre command&quot; style=&quot;background-color: rgba(0, 0, 0, 0.0470588); border-radius: 3px; box-sizing: border-box; font-family: monospace, monospace; font-size: 14px; margin-bottom: 28px; margin-left: auto; margin-right: auto; overflow: auto !important; padding: 13px 17px; width: 745px; word-wrap: normal;&quot;&gt;&lt;code langs=&quot;&quot; style=&quot;background-color: transparent; border-radius: 2px; box-sizing: border-box; color: #333333; font-family: monospace, monospace; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;&lt;ul class=&quot;prefixed&quot; style=&quot;box-sizing: border-box; margin: 0px; padding: 0px; white-space: normal;&quot;&gt;
&lt;li class=&quot;line&quot; prefix=&quot;$&quot; style=&quot;box-sizing: border-box; line-height: 1.5 !important; list-style: disc outside none; margin-bottom: 3px; margin-left: 0px; margin-right: 20px; margin-top: 0px !important; padding: 0px !important; white-space: pre;&quot;&gt;sudo apt-get update
&lt;/li&gt;
&lt;li class=&quot;line&quot; prefix=&quot;$&quot; style=&quot;box-sizing: border-box; line-height: 1.5 !important; list-style: disc outside none; margin-bottom: 3px; margin-left: 0px; margin-right: 20px; margin-top: 0px !important; padding: 0px !important; white-space: pre;&quot;&gt;sudo apt-get install iptables-persistent
&lt;/li&gt;
&lt;li class=&quot;line&quot; prefix=&quot;$&quot; style=&quot;box-sizing: border-box; line-height: 1.5 !important; list-style: disc outside none; margin-bottom: 3px; margin-left: 0px; margin-right: 20px; margin-top: 0px !important; padding: 0px !important; white-space: pre;&quot;&gt;sudo nano /etc/iptables/rules.v4
&lt;/li&gt;
&lt;/ul&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&quot;code-label &quot; style=&quot;background-color: #ececec; border-radius: 3px 3px 0px 0px; box-sizing: border-box; color: #333333; font-family: proxima-nova, sans-serif; font-size: 14px; margin-bottom: -30px; margin-left: auto; margin-right: auto; padding: 8px 15px; position: relative; text-align: center; width: 745px; z-index: 2;&quot; title=&quot;/etc/iptables/rules.v4&quot;&gt;
/etc/iptables/rules.v4&lt;/div&gt;
&lt;pre class=&quot;code-pre &quot; style=&quot;background-color: rgba(0, 0, 0, 0.0470588); border-radius: 3px; box-sizing: border-box; font-family: monospace, monospace; font-size: 14px; margin: 28px auto; overflow: auto !important; padding: 13px 17px; width: 745px; word-wrap: normal;&quot;&gt;&lt;code langs=&quot;&quot; style=&quot;background-color: transparent; border-radius: 2px; box-sizing: border-box; color: #333333; font-family: monospace, monospace; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;*filter
# Allow all outgoing, but drop incoming and forwarding packets by default
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]

# Custom per-protocol chains
:UDP - [0:0]
:TCP - [0:0]
:ICMP - [0:0]

# Acceptable UDP traffic

# Acceptable TCP traffic
-A TCP -p tcp --dport 22 -j ACCEPT

# Acceptable ICMP traffic

# Boilerplate acceptance policy
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
-A INPUT -i lo -j ACCEPT

# Drop invalid packets
-A INPUT -m conntrack --ctstate INVALID -j DROP

# Pass traffic to protocol-specific chains
## Only allow new connections (established and related should already be handled)
## For TCP, additionally only allow new SYN packets since that is the only valid
## method for establishing a new TCP connection
-A INPUT -p udp -m conntrack --ctstate NEW -j UDP
-A INPUT -p tcp --syn -m conntrack --ctstate NEW -j TCP
-A INPUT -p icmp -m conntrack --ctstate NEW -j ICMP

# Reject anything that&#39;s fallen through to this point
## Try to be protocol-specific w/ rejection message
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p tcp -j REJECT --reject-with tcp-reset
-A INPUT -j REJECT --reject-with icmp-proto-unreachable

# Commit the changes
COMMIT

*raw
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT

*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT

*security
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT

*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;code-pre &quot; style=&quot;background-color: rgba(0, 0, 0, 0.0470588); border-radius: 3px; box-sizing: border-box; font-family: monospace, monospace; margin: 28px auto; overflow: auto !important; padding: 13px 17px; width: 745px; word-wrap: normal;&quot;&gt;&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 28px; margin-bottom: 22px; margin-left: auto; margin-right: auto; padding: 0px; white-space: normal; width: 745px;&quot;&gt;
Test your rules file for syntax errors:&lt;/div&gt;
&lt;pre class=&quot;code-pre custom_prefix&quot; style=&quot;border-radius: 3px; box-sizing: border-box; font-family: monospace, monospace; font-size: 14px; margin-bottom: 28px; margin-left: auto; margin-right: auto; overflow: auto !important; padding: 13px 17px; width: 745px; word-wrap: normal;&quot;&gt;&lt;code langs=&quot;&quot; style=&quot;background-color: transparent; border-radius: 2px; box-sizing: border-box; color: #333333; font-family: monospace, monospace; margin: 0px; padding: 0px;&quot;&gt;&lt;ul class=&quot;prefixed&quot; style=&quot;box-sizing: border-box; line-height: 22px; margin: 0px; padding: 0px; white-space: normal;&quot;&gt;
&lt;li class=&quot;line&quot; prefix=&quot;web_server$&quot; style=&quot;box-sizing: border-box; line-height: 1.5 !important; list-style: disc outside none; margin-bottom: 3px; margin-left: 0px; margin-right: 20px; margin-top: 0px !important; padding: 0px !important; white-space: pre;&quot;&gt;sudo iptables-restore -t &amp;lt; /etc/iptables/rules.v4
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;line-height: 21px;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;ADD rules&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;line-height: 21px;&quot;&gt;sudo iptables-restore &amp;lt; /etc/iptables/rules.v4&lt;/span&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 28px; margin-bottom: 22px; margin-left: auto; margin-right: auto; padding: 0px; white-space: normal; width: 745px;&quot;&gt;
If no syntax errors are displayed, reload the firewall to implement the new rule set:&lt;/div&gt;
&lt;pre class=&quot;code-pre custom_prefix&quot; style=&quot;border-radius: 3px; box-sizing: border-box; font-family: monospace, monospace; margin-bottom: 28px; margin-left: auto; margin-right: auto; overflow: auto !important; padding: 13px 17px; width: 745px; word-wrap: normal;&quot;&gt;&lt;code langs=&quot;&quot; style=&quot;background-color: transparent; border-radius: 2px; box-sizing: border-box; color: #333333; font-family: monospace, monospace; margin: 0px; padding: 0px;&quot;&gt;&lt;ul class=&quot;prefixed&quot; style=&quot;box-sizing: border-box; font-size: 14px; line-height: 22px; margin: 0px; padding: 0px; white-space: normal;&quot;&gt;
&lt;li class=&quot;line&quot; prefix=&quot;web_server$&quot; style=&quot;box-sizing: border-box; line-height: 1.5 !important; list-style: disc outside none; margin-bottom: 3px; margin-left: 0px; margin-right: 20px; margin-top: 0px !important; padding: 0px !important; white-space: pre;&quot;&gt;sudo service iptables-persistent reload&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-size: 14px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 14px;&quot;&gt;
&lt;/div&gt;
&lt;b&gt;&lt;u&gt;Mikrotik&lt;/u&gt;&lt;/b&gt;

&lt;b&gt;&lt;u&gt;
&lt;/u&gt;&lt;/b&gt;
&lt;pre style=&quot;background: rgba(255, 255, 238, 0.701961); border-radius: 5px; border: 1px solid rgb(170, 170, 170); box-shadow: rgb(192, 192, 192) 0px 0px 12px; color: black; font-family: monospace, Courier; font-size: 14px; line-height: 1.3em; margin-left: 20px; padding: 1em; width: 990.828px;&quot;&gt;/ ip firewall filter
add chain=input connection-state=established comment=&quot;Accept established connections&quot;
add chain=input connection-state=related comment=&quot;Accept related connections&quot;
add chain=input connection-state=invalid action=drop comment=&quot;Drop invalid connections&quot; 
add chain=input protocol=udp action=accept comment=&quot;UDP&quot; disabled=no 
add chain=input protocol=icmp limit=50/5s,2 comment=&quot;Allow limited pings&quot; 
add chain=input protocol=icmp action=drop comment=&quot;Drop excess pings&quot; 
add chain=input protocol=tcp dst-port=22 comment=&quot;SSH for secure shell&quot;
add chain=input protocol=tcp dst-port=8291 comment=&quot;winbox&quot; 
# Edit these rules to reflect your actual IP addresses! # 
add chain=input src-address=159.148.172.192/28 comment=&quot;From Mikrotikls network&quot; 
add chain=input src-address=10.0.0.0/8 comment=&quot;From our private LAN&quot;
# End of Edit #
add chain=input action=log log-prefix=&quot;DROP INPUT&quot; comment=&quot;Log everything else&quot;
add chain=input action=drop comment=&quot;Drop everything else&quot;&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/8471708239773073278/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/12/firewall-ubuntu-and-mikrotik.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/8471708239773073278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/8471708239773073278'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/12/firewall-ubuntu-and-mikrotik.html' title='Simple firewall Ubuntu and Mikrotik'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-5528004473835261768</id><published>2015-11-26T02:45:00.001-08:00</published><updated>2015-11-26T02:45:45.234-08:00</updated><title type='text'>Czyszczenie Profili Windows</title><content type='html'>&lt;div class=&quot;post-text&quot;&gt;
To clear user local profile via registry:&lt;br /&gt;

&lt;ol&gt;
&lt;li&gt;Press on Start &amp;gt; Run &amp;gt;Regedit&lt;/li&gt;
&lt;li&gt;Navigate to the following registry key :“&lt;strong&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList&lt;/strong&gt;”&lt;/li&gt;
&lt;li&gt;Under ProfileList navigate to binary key’s like this: &lt;code&gt;S-1-5-21-3656904587-1668747452-4095529-500&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;On the right side under ProfileImagePath you’ll see the profile path.&lt;/li&gt;
&lt;li&gt;Chose the one with the desired user and delete the long registry key
 like: “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\ProfileList”&lt;/li&gt;
&lt;/ol&gt;
Sprawdzone też na serwerze terminalowym pod Windows Server 2012 R2&lt;br /&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/5528004473835261768/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/11/czyszczenie-profili-windows.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5528004473835261768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5528004473835261768'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/11/czyszczenie-profili-windows.html' title='Czyszczenie Profili Windows'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-6162831017935080898</id><published>2015-11-04T23:18:00.002-08:00</published><updated>2015-11-04T23:19:57.739-08:00</updated><title type='text'>    Update  ad Z 2008 na 2012 </title><content type='html'>&lt;div class=&quot;SCX65473595&quot;&gt;
&lt;ul class=&quot;BulletListStyle1 SCX65473595&quot;&gt;
&lt;li class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 24px;&quot;&gt;&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Update&amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif;&quot;&gt;Active Directory z&lt;/span&gt; 2008 na 2012&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Dodajemy Nowy serwer np. Dc3&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Mozna podnieść funkcjonalność Dopiero wtedy gdy pozbędziemy sie starych kontroler&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;ów&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;&amp;nbsp;raise domain funcional level&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;&amp;nbsp;rasie forest funcional level&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Przenieść role fsmo Na dc3 prawym i operatorska master i wszędzie change&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Następnie active directory domains nad trust prawym operations master i change&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Następnie regsvr32 schmmgmt.dll&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Mmc&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Wybieramy w mmc active directory schema&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Pamiętaj aby być na nowym dc np. Dc3 prawym operations master o change&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Sprawdzamy gdzie pa aktywne role fsmo&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Netdom query fsmo&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Depromo na starych serwer&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;ów&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt; Obojętnie kt&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;óry&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt; pierwszy&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Odinstalowanie rolę And feature active directory domain service Musi przejść prawidłowo opcja &quot;demote&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;Aktywację nowych kontroler&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;ów&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt; Czyli podniesienie funkcjonalności&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX65473595&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;!!!! Warto zajrzeć do artykułu transferowaniei przejmowanie r&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt;ól&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;TextRun SCX65473595&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX65473595&quot; style=&quot;background-color: inherit;&quot;&gt; fsmo narzędziem ntdsutil&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX65473595&quot; style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/6162831017935080898/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/11/update-ad-z-2008-na-2012.html#comment-form' title='Komentarze (1)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6162831017935080898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6162831017935080898'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/11/update-ad-z-2008-na-2012.html' title='    Update  ad Z 2008 na 2012 '/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-5237730073481542845</id><published>2015-10-27T23:32:00.000-07:00</published><updated>2015-10-27T23:32:08.310-07:00</updated><title type='text'>Który katalog zajmuje najwięcej w systemie</title><content type='html'>- Windows&lt;br /&gt;
polecam WinDirStat&lt;br /&gt;
- Linux cli&lt;br /&gt;
&lt;code&gt;du -m /home | sort -rn&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/5237730073481542845/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/10/ktory-katalog-zajmuje-najwiecej-w.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5237730073481542845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5237730073481542845'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/10/ktory-katalog-zajmuje-najwiecej-w.html' title='Który katalog zajmuje najwięcej w systemie'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-523791043788352087</id><published>2015-10-23T03:42:00.002-07:00</published><updated>2015-10-23T05:26:51.614-07:00</updated><title type='text'>Skrypt - ping adresów IP pobranych z pliku - POWERSHELL</title><content type='html'>&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;&amp;nbsp;Plik.csv&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;IP&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;127.0.0.1&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;8.8.8.8&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;1.1.1.1&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;----------&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;$dane = import-csv -patch c:\temp\plik.csv&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;#plik pierwsza linia wpis IP&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;#$dane.ip&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;Foreach ($d in $dane)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;OutlineElement Ltr SCX110369890&quot; style=&quot;margin-left: 0px;&quot;&gt;
&lt;div class=&quot;Paragraph SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: &amp;quot;Segoe UI&amp;quot;,Tahoma,Verdana,&amp;quot;Sans-Serif&amp;quot;; font-size: 6pt; font-style: normal; font-weight: normal; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;Ping $d.ip&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;EOP SCX110369890&quot; style=&quot;font-family: Calibri,sans-serif; font-size: 11pt; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;KATALOGI&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;TextRun SCX110369890&quot; style=&quot;background-color: transparent; color: windowtext; font-family: Calibri,sans-serif; font-size: 11pt; font-style: normal; font-weight: normal; line-height: 18px; text-decoration: none;&quot;&gt;&lt;span class=&quot;NormalTextRun SCX110369890&quot; style=&quot;background-color: inherit;&quot;&gt;Set-ExecutionPolicy Unrestricted&lt;br /&gt;$katalogi = dir -name&lt;br /&gt;&lt;br /&gt;Foreach ($d in $katalogi) &lt;br /&gt;{ &lt;br /&gt;Write-Host $d &lt;br /&gt;xcopy \\MP153\profile\*.* \\MP153\profile\TEST\$d\S200 /E /Y /V&lt;br /&gt;} &lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/523791043788352087/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/10/skrypt-ping-adresow-ip-pobranych-z.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/523791043788352087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/523791043788352087'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/10/skrypt-ping-adresow-ip-pobranych-z.html' title='Skrypt - ping adresów IP pobranych z pliku - POWERSHELL'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-4232133503234625680</id><published>2015-10-20T01:55:00.002-07:00</published><updated>2015-10-20T03:37:41.602-07:00</updated><title type='text'> Can’t download any updates on windows server 2008 r2</title><content type='html'>&amp;nbsp;Can’t download any updates on windows server 2008 r2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
customer server running windows server 2008 r2 can not use windows update to check updates or download updates automatically.&lt;br /&gt;
&lt;br /&gt;
1 try to rebuild windows download database&lt;br /&gt;
&lt;br /&gt;
run cmd in administrator privilege then run:&lt;br /&gt;
&lt;br /&gt;
net stop wuauserv&lt;br /&gt;
Rename c:\Windows\SoftwareDistribution SoftwareDistribution_OLD&lt;br /&gt;
net start wuauserv&lt;br /&gt;
&lt;br /&gt;
2 install KB 947821&lt;br /&gt;
&lt;br /&gt;
for windows 2008 r2 &amp;amp; windows 7: [300MB]&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=914fbc5b-1fba-4bae-a7c3-d2c47c6fcffc&amp;amp;displaylang=en&lt;br /&gt;
&lt;br /&gt;
when start install 947821, it will check windows update settings and correct all things, so it will take a period based on your server and network environment. for this situation it takes about 30mins.&lt;br /&gt;
&lt;br /&gt;
for detail please check http://support.microsoft.com/kb/947821&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fix:&lt;br /&gt;
https://support.microsoft.com/pl-pl/gp/windows-update-issues/en-us&lt;br /&gt;
&lt;br /&gt;
Albo użyć narzędzia winfixtool firmy Anvisoft&lt;br /&gt;
http://www.anvisoft.com/windows-update-downloader.html</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/4232133503234625680/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/10/cant-download-any-updates-on-windows.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4232133503234625680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4232133503234625680'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/10/cant-download-any-updates-on-windows.html' title=' Can’t download any updates on windows server 2008 r2'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-6894429439355487271</id><published>2015-10-19T00:04:00.001-07:00</published><updated>2015-10-19T00:04:36.235-07:00</updated><title type='text'>Panel Sterowania jako Administrator </title><content type='html'>&lt;h2 class=&quot;PostHeaderIcon-wrapper&quot;&gt;
       Jak uruchomić Panel Sterowania jako Administrator   &lt;/h2&gt;
Musisz użyć komendy RUNAS&lt;br /&gt;

&lt;ul&gt;
&lt;li&gt;otwórz menu start&lt;/li&gt;
&lt;li&gt;w Windows XP kliknij na przycisku &quot;Uruchom&quot;&lt;/li&gt;
&lt;li&gt;w Vista i Win7 możesz to zrobić bezpośrednio w okienku szukania&lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;runas /username:computername\Administrator &quot;rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl&quot;&lt;/strong&gt;&lt;br /&gt;

teraz możesz zmienić nazwę użytkownika, nazwę komputera, wyświetlić &quot;właściwości systemu&quot; itp.&lt;br /&gt;

Poniżej lista opcji w których możesz dokonywać zmain:&lt;br /&gt;

&lt;br /&gt;

&lt;div id=&quot;blogcontent-main&quot;&gt;
&lt;ul&gt;
&lt;li&gt;Change &lt;strong&gt;sysdm.cpl&lt;/strong&gt; to any of the following:&lt;/li&gt;
&lt;/ul&gt;
Dostępy – &lt;strong&gt;access.cpl&lt;/strong&gt;&lt;br /&gt;Dodawanie nowych urządzeń –  &lt;strong&gt;hdwwiz.cpl&lt;/strong&gt;&lt;br /&gt;Dodanie/Usunięcie nowego oprogramowania – &lt;strong&gt;appwiz.cpl&lt;/strong&gt;&lt;br /&gt;Data/CzasWłaściwości – &lt;strong&gt;timedate.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości –  &lt;strong&gt;desk.cpl&lt;/strong&gt;&lt;br /&gt;SzybkieWyszukanie – &lt;strong&gt;findfast.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Internet –  &lt;strong&gt;inetcpl.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Joystick – &lt;strong&gt;joy.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Keyboard – &lt;strong&gt;main.cpl&lt;/strong&gt;&lt;br /&gt;Zarządzanie Lokalnymi Urzytkownikami –  &lt;strong&gt;nusrmgr.cpl&lt;/strong&gt;&lt;br /&gt;Microsoft Exchange – &lt;strong&gt;mlcfg32.cpl&lt;/strong&gt;&lt;br /&gt;Microsoft Mail  Post Office – &lt;strong&gt;wgpocpl.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Modemu –  &lt;strong&gt;telephon.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Myszy – &lt;strong&gt;main.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Multimedia – &lt;strong&gt;mmsys.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Sieci –  &lt;strong&gt;Ncpa.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Haseł – &lt;strong&gt;password.cpl&lt;/strong&gt;&lt;br /&gt;Opcje Zasilania –  &lt;strong&gt;powercfg.cpl&lt;/strong&gt;&lt;br /&gt;Opcje Regionalne – &lt;strong&gt;intl.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Dzwięku –  &lt;strong&gt;mmsys.cpl&lt;/strong&gt;&lt;br /&gt;Właściwości Systemu – &lt;strong&gt;sysdm.cpl&lt;/strong&gt;&lt;br /&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/6894429439355487271/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/10/panel-sterowania-jako-administrator.html#comment-form' title='Komentarze (1)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6894429439355487271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6894429439355487271'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/10/panel-sterowania-jako-administrator.html' title='Panel Sterowania jako Administrator '/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-7288619700448346609</id><published>2015-10-01T03:11:00.002-07:00</published><updated>2015-10-02T02:33:54.240-07:00</updated><title type='text'>net use z hasłem</title><content type='html'>@echo off&lt;br /&gt;
set /p pass=Wpisz haslo: &lt;br /&gt;
echo %pass%&lt;br /&gt;
&lt;br /&gt;
net use w: \\(server)\share&amp;nbsp; /user:domena\jkowalski %pass%</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/7288619700448346609/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/10/net-use-z-hasem.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/7288619700448346609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/7288619700448346609'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/10/net-use-z-hasem.html' title='net use z hasłem'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-6491784776900166519</id><published>2015-09-28T03:51:00.002-07:00</published><updated>2015-11-16T23:46:32.454-08:00</updated><title type='text'>Instalacja systemu windows na inny dysk niż C:</title><content type='html'>Jak zrobić serwer terminali na dysku M:&lt;br /&gt;
&lt;br /&gt;
http://blog.pcfreak.de/2012/07/19/install-windows-server-2008-r2-to-a-different-drive-letter-then-c/comment-page-1/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WAŻNE !!!!&lt;br /&gt;
zapisać plik z kodowaniem Unicode tak aby&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;u&gt;type AutoUnattended.xml&amp;nbsp;&lt;/u&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
wyświetlilo prawidłowo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=========&lt;br /&gt;
2 sposób&lt;br /&gt;
&lt;br /&gt;
przygotować plik &lt;i&gt;&lt;u&gt;AutoUnattended.xml&amp;nbsp; i wgwać go do iso instalacyjnego (do głównego folderu)&lt;/u&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;u&gt;&amp;nbsp;http://www.winiso.com/support/tutorials/edit-iso.html&lt;/u&gt;&lt;/i&gt; </content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/6491784776900166519/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/09/instalacja-systemu-windows-na-inny-dysk.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6491784776900166519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6491784776900166519'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/09/instalacja-systemu-windows-na-inny-dysk.html' title='Instalacja systemu windows na inny dysk niż C:'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-3595873787286263392</id><published>2015-09-25T02:15:00.001-07:00</published><updated>2015-09-25T02:27:46.865-07:00</updated><title type='text'>IOSTAT, IOTOP, TOP</title><content type='html'>http://www.varlog.pl/2010/02/10-narzedzi-ktore-musi-znac-kazdy-administrator/ &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
yum install sysstat&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;&amp;nbsp; iostat&lt;/b&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
iostat – jest 
narzędziem prezentującym wykorzystanie naszych urządzeń blokowych, czyli
 w praktyce jest to monitorowanie pracy dysków twardych, tzw. I/O. 
Saturacja dysków twardych jest zjawiskiem bardzo niepożądanym, które automatycznie przekłada się na zwolnienie pracy całego systemu, dzięki iostatowi, możemy szybko się przekonać czy przyczyna naszych problemów leży właśnie w za dużym wykorzystaniu zasobów I/O.&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Przykładowe użycie: &lt;b&gt;iostat -x 1&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
avg–cpu:&amp;nbsp; %user %nice %system %iowait %steal %idle&lt;br /&gt;
0,46&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,08&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,02&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,00&amp;nbsp;&amp;nbsp; 99,44&lt;/div&gt;
Device rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq–sz avgqu–sz await svctm util&lt;br /&gt;
sda 0,09 0,77 0,07 0,23 2,69 7,87 35,74 0,00 4,49 0,84 0,02&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
W wyniku widzimy dane dla naszego urządzenia ‚&lt;b&gt;sda&lt;/b&gt;‚.&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;rrqm/s – ilość skolejkowanych żądań odczytu z dysku na sekundę&lt;/li&gt;
&lt;li&gt;wrqm/s – ilość skolejkowanych żądań zapisu na dysk na sekundę&lt;/li&gt;
&lt;li&gt;r/s – ilość odczytów z dysku na sekundę&lt;/li&gt;
&lt;li&gt;w/s – ilość zapisów na dysk na sekundę&lt;/li&gt;
&lt;li&gt;rsec/s – ilość sektorów czytanych na sekundę&lt;/li&gt;
&lt;li&gt;wsec/s – ilość sektorów zapisywanych na sekundę&lt;/li&gt;
&lt;li&gt;avgrq–sz – średni rozmiar w sektorach&lt;/li&gt;
&lt;li&gt;avgqu–sz – średnia wielkość kolejki oczekujących żądań dostępu do dysku&lt;/li&gt;
&lt;li&gt;await – średni czas dostępu do dysku (z uwzględnieniem kolejki) w milisekundach&lt;/li&gt;
&lt;li&gt;svctm – średni czas obsługi żądania w milisekundach&lt;/li&gt;
&lt;li&gt;%util – procentowe zużycie procesora potrzebne do obsłużenia żądania, jeśli wynosi 100% dochodzi do sytuacji saturacji zasobów&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Jeśli wskazania iostata pokazują utylizację na poziomie 80-100% należy znaleźć przyczynę i ją wyeliminować, sytuacja ta oznacza, że nasz procesor spędza głównie czas w oczekiwaniu na dane a nie na ich przetwarzaniu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;header class=&quot;entry-header&quot;&gt;
  
    &lt;h1 class=&quot;entry-title&quot;&gt;
iotop&lt;/h1&gt;
&lt;div class=&quot;entry-meta&quot;&gt;
&lt;span class=&quot;date&quot;&gt;&lt;time class=&quot;entry-date&quot; datetime=&quot;2011-09-02T18:02:20+00:00&quot;&gt;yum install iotop &lt;/time&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;entry-meta&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;entry-meta&quot;&gt;
&lt;span class=&quot;date&quot;&gt;&lt;a href=&quot;https://gagor.pl/2011/09/sprawdzenie-ktory-proces-obciaza-dyski/&quot; rel=&quot;bookmark&quot; title=&quot;Permalink to Sprawdzenie który proces obciąża dyski&quot;&gt;&lt;time class=&quot;entry-date&quot; datetime=&quot;2011-09-02T18:02:20+00:00&quot;&gt;2 September 2011&lt;/time&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;categories-links&quot;&gt;&lt;a href=&quot;https://gagor.pl/category/howto/tip/&quot; rel=&quot;category tag&quot;&gt;Tip&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;tags-links&quot;&gt;&lt;a href=&quot;https://gagor.pl/tag/debian/&quot; rel=&quot;tag&quot;&gt;Debian&lt;/a&gt;, &lt;a href=&quot;https://gagor.pl/tag/io-wait/&quot; rel=&quot;tag&quot;&gt;IO Wait&lt;/a&gt;, &lt;a href=&quot;https://gagor.pl/tag/iostat/&quot; rel=&quot;tag&quot;&gt;iostat&lt;/a&gt;, &lt;a href=&quot;https://gagor.pl/tag/iotop/&quot; rel=&quot;tag&quot;&gt;iotop&lt;/a&gt;, &lt;a href=&quot;https://gagor.pl/tag/linux/&quot; rel=&quot;tag&quot;&gt;Linux&lt;/a&gt;, &lt;a href=&quot;https://gagor.pl/tag/vmstat/&quot; rel=&quot;tag&quot;&gt;vmstat&lt;/a&gt;&lt;/span&gt;     &lt;/div&gt;
&lt;/header&gt;

  &lt;br /&gt;
&lt;div class=&quot;entry-content&quot;&gt;
Na jednym z serwerów zauważyłem dziwny wzrost obciążenia. Tzw. LOAD
 od kilku dni po woli rósł. top pokazywał że dwa rdzenie CPU czekają na 
dane z dysku – tzw. io wait na poziomie 80~90% ale żaden proces w 
znaczącym stopniu nie obciążał CPU.&lt;span id=&quot;more-143&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Jest kilka narzędzi (&lt;i&gt;&lt;b&gt;iostat&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;wmstat&lt;/b&gt;&lt;/i&gt;),
 które pozwalają monitorować obciążenie dysków ale ja nie szukałem 
informacji czy i w jakim stopniu dyski są obciążone – wiedziałem że są. 
Chciałem dowiedzieć się który proces generuje to obciążenie – by móc go 
ubić &lt;img alt=&quot;:-)&quot; class=&quot;wp-smiley&quot; src=&quot;https://gagor.pl/wp-includes/images/smilies/simple-smile.png&quot; style=&quot;height: 1em; max-height: 1em;&quot; /&gt;&lt;br /&gt;
Przydatny okazał się programik &lt;i&gt;&lt;b&gt;iotop&lt;/b&gt;&lt;/i&gt; – który działa jak top ale sortuje procesy w zależności od generowanego przez nie obciążenia dysków – właśnie tego szukałem:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;figure class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_144&quot; style=&quot;width: 699px;&quot;&gt;&lt;a class=&quot;fancybox&quot; href=&quot;http://gagor.pl/wp-content/uploads/2011/09/iotop.png&quot; rel=&quot;fancybox&quot; title=&quot;iotop&quot;&gt;&lt;img alt=&quot;iotop&quot; class=&quot;size-full wp-image-144 &quot; height=&quot;491&quot; src=&quot;https://gagor.pl/wp-content/uploads/2011/09/iotop.png&quot; title=&quot;iotop&quot; width=&quot;699&quot; /&gt;&lt;/a&gt;&lt;figcaption class=&quot;wp-caption-text&quot;&gt;Zrzut z programu iotop&lt;/figcaption&gt;&lt;/figure&gt;
Program jest w standardowych repozytoriach Debiana i można go zainstalować w ten sposób:&lt;br /&gt;
&lt;pre&gt;apt-get install iotop&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;TOP&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;TOP 
VIRT - to co mysli ze mam, RES -&amp;gt; tyle ile faktycznie ma,&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;s-STAN np. z - zombie, przy CPU id-ile proces byl nieuzywany,&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;wa - io/wait po tym mozna sprawdzic czy nie potrzebujemy szybszego dysku,&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;hi -&amp;gt; przerwania  
&amp;lt; &amp;gt; - sortowanie albo po lewej albo po prawej kolumnie, 
R -&amp;gt; od najwiekszych do najmniejszych 
1 -&amp;gt; pokazuje ilosc procesorow 
NI - nice, priorytet. Dziala tak ze jak ktos ma wiekszy NICE to ma mniej procesora.&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;Zeby przyspieszyc np tylko jeden proces nalezy dac komus NIC ujemny. 
r - zmieniamy NICE. Minusowe wartosci da sie robic tylko z konta roota. 
k - killuje 
load avarage -&amp;gt; jak obciazany jest system,&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;ilosc procesow ktore stoja w jakiejs kolejce do egzekucji.&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;Kazdy system moze inaczej, powyzej 1-ego juz wiadomo ze jest troche obciazony.&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/3595873787286263392/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/09/iostat.html#comment-form' title='Komentarze (1)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/3595873787286263392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/3595873787286263392'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/09/iostat.html' title='IOSTAT, IOTOP, TOP'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-4062788705835321523</id><published>2015-09-23T01:43:00.005-07:00</published><updated>2015-09-28T00:24:04.492-07:00</updated><title type='text'>ADD and DEL disc linux no reboot</title><content type='html'>&lt;h2&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Sprawdzamy &lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;dmesg | grep sdb&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;
&lt;code&gt;# partx -l /dev/sdb&lt;/code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/h2&gt;
&lt;h2&gt;
&lt;code&gt;# partx -v -a /dev/sdb &lt;/code&gt;&lt;code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/code&gt;&lt;/h2&gt;
&lt;h2&gt;
&lt;code&gt;&lt;code&gt;/dev/mapper# vgscan --mknodes&lt;/code&gt; &lt;/code&gt;&lt;/h2&gt;
&lt;h2&gt;
&amp;nbsp;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;lvscan -l&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;
Step # 2: Rescan the SCSI Bus to Add a SCSI Device Without rebooting the VM&lt;/h2&gt;
A rescan can be issued by typing the following command:&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&quot;&quot;&quot;W jednej lini &lt;/pre&gt;
&lt;pre&gt;ls /sys/class/scsi_host/ | while read host ;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;do echo &quot;- - -&quot; &amp;gt; /sys/class/scsi_host/$host/scan ; done&lt;/pre&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&quot;&quot;&quot;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt; fdisk -l&lt;br /&gt; tail -f /var/log/message&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;===================================================== &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;br /&gt;
&lt;h3&gt;
How Do I Delete a Single Device Called /dev/sdc?&lt;/h3&gt;
In addition 
to re-scanning the entire bus, a specific device can be added or 
existing device deleted using the following command:&lt;br /&gt;
&lt;code&gt;# echo 1 &amp;gt; /sys/block/&lt;span style=&quot;color: red;&quot;&gt;devName&lt;/span&gt;/device/delete&lt;br /&gt; # echo 1 &amp;gt; /sys/block/&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;sdc&lt;/span&gt;&lt;/b&gt;/device/delete&lt;/code&gt;&lt;br /&gt;
&lt;h3&gt;
How Do I Add a Single Device Called /dev/sdc?&lt;/h3&gt;
To add a single device explicitly, use the following syntax:&lt;br /&gt;
&lt;pre&gt;# echo &quot;scsi add-single-device &lt;h&gt; &lt;b&gt; &lt;t&gt; &lt;l&gt;&quot; &amp;gt; /proc/scsi/scsi&lt;/l&gt;&lt;/t&gt;&lt;/b&gt;&lt;/h&gt;&lt;/pre&gt;
Where,&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;h&gt; : Host&lt;/h&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt; : Bus (Channel)&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;t&gt; : Target (Id)&lt;/t&gt;&lt;/li&gt;
&lt;li&gt;&lt;l&gt; : LUN numbers&lt;/l&gt;&lt;/li&gt;
&lt;/ul&gt;
For e.g. add /dev/sdc with host # 0, bus # 0, target # 2, and LUN # 0, enter:&lt;br /&gt;
&lt;code&gt;# echo &quot;scsi add-single-device 0 0 2 0&quot;&amp;gt;/proc/scsi/scsi&lt;br /&gt; # fdisk -l&lt;br /&gt; # cat /proc/scsi/scsi&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;========================================================= &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Step #3: Format a New Disk&lt;/h2&gt;
Now, you can create partition using &lt;a href=&quot;http://www.cyberciti.biz/faq/linux-disk-format/&quot;&gt;fdisk and format it using mkfs.ext3&lt;/a&gt; command:&lt;br /&gt;
&lt;code&gt;# fdisk /dev/sdc&lt;br /&gt; # mkfs.ext3 /dev/sdc3&lt;/code&gt;&lt;br /&gt;
&lt;h2&gt;
Step #4: Create a Mount Point And Update /etc/fstab&lt;/h2&gt;
&lt;code&gt;# mkdir /disk3&lt;/code&gt;&lt;br /&gt;
Open /etc/fstab file, enter:&lt;br /&gt;
&lt;code&gt;# vi /etc/fstab&lt;/code&gt;&lt;br /&gt;
Append as follows:&lt;br /&gt;
&lt;pre&gt;/dev/sdc3               /disk3           ext3    defaults        1 2&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/4062788705835321523/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/09/add-and-del-disc-linux-no-reboot.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4062788705835321523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4062788705835321523'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/09/add-and-del-disc-linux-no-reboot.html' title='ADD and DEL disc linux no reboot'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-2635369335604764479</id><published>2015-09-17T05:13:00.000-07:00</published><updated>2015-11-02T23:00:21.708-08:00</updated><title type='text'>Redhat 7 instalacja,rejestracja</title><content type='html'>&lt;b&gt;Update Redhat&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;yum update&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;b&gt;&lt;code&gt;Tworzenie skryptów autostart&lt;/code&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
Create the file (touch&amp;gt;chmod&amp;gt;edit seems recommended, I don&#39;t known why):&lt;br /&gt;


&lt;code&gt;touch /etc/systemd/system/activefolder.service&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;chmod 664 /etc/systemd/system/activefolder.service&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;vim /etc/systemd/system/activefolder.service&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&amp;nbsp;&lt;/code&gt;

&lt;br /&gt;
&lt;code&gt;/etc/systemd/system/activefolder.service&lt;/code&gt; example:&lt;br /&gt;


&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;[Unit]
Description=activefolder&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;After=network.target

[Service]&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;WorkingDirectory=/var/www/activefolder/current&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;ExecStart=/var/www/activefolder/current/script/delayed_job start&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Type=forking
PIDFile=/run/activefolder.pid&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Environment=&quot;RAILS_ENV=production&quot;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;#User=httpd&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;#Group=httpd&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&amp;nbsp;[Install]
WantedBy=default.target
&lt;/code&gt;

&lt;br /&gt;
Then:&lt;br /&gt;


&lt;code&gt;systemctl daemon-reload&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;systemctl start name.service&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;b&gt;LUB &lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;$ crontab -e&lt;/code&gt;&lt;code&gt;&lt;br /&gt; &lt;/code&gt;&lt;br /&gt; Run a script called /home/vivek/bin/installnetkit.sh&lt;br /&gt; &lt;code&gt;@reboot       /home/vivek/bin/installnetkit.sh &lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;Start crond automatically at boot time&lt;/span&gt;&lt;br /&gt;
You also need to enable crond service via sys v  / BSD init style system. Under RHEL / CentOS / Fedora, you need to use &lt;a href=&quot;http://www.cyberciti.biz/faq/rhel5-update-rcd-command/&quot;&gt;chkconfig (ntsysv) command&lt;/a&gt; to enable crond on boot:&lt;br /&gt; &lt;code&gt;# chkconfig crond on&lt;br /&gt; ## Commands to start/stop/restart crond ###&lt;br /&gt; # service crond restart&lt;br /&gt; # service crond start&lt;br /&gt; # service crond stop&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;code&gt;Rejestracja i subskrypcja&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;screen&quot;&gt;subscription-manager register --username admin-example --password secret &lt;strong class=&quot;userinput&quot;&gt;&lt;code&gt;--auto-attach&lt;/code&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;strong class=&quot;userinput&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;Network&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;&lt;strong&gt;nmcli con mod net-eth0 connection.autoconnect yes&lt;/strong&gt;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;strong class=&quot;userinput&quot;&gt;&lt;code&gt; &lt;/code&gt;&lt;/strong&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/2635369335604764479/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/09/redhat-rejestracja.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/2635369335604764479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/2635369335604764479'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/09/redhat-rejestracja.html' title='Redhat 7 instalacja,rejestracja'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-6667397821842338530</id><published>2015-09-08T05:47:00.000-07:00</published><updated>2015-09-08T05:47:19.826-07:00</updated><title type='text'>Clustering using sharing of vmdks between virtual machines</title><content type='html'>https://communities.vmware.com/blogs/Abhilash_hb/2013/08/25/clustering-using-sharing-of-vmdks-between-virtual-machines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;This
 blog post explains how to share a VMDK between two virtual machines so 
they can be clustered or any application that needs two machines to 
share their disks.&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assume there are two VMs that participate in the clustering&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Node-01&lt;/span&gt;&lt;/strong&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt; and &lt;strong&gt;Node-02&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12pt;&quot;&gt;a Virtual disk on Node-01 that has to be shared with Node-02 &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30904/1.jpg&quot; name=&quot;&amp;amp;lpos=apps_scodevmw : 51&quot;&gt;&lt;img alt=&quot;1.jpg&quot; class=&quot;jive-image&quot; height=&quot;434&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30904/1.jpg&quot; width=&quot;535&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add a hard disk by clicking on Add a hardware and select Hard disk and click &lt;/span&gt;&lt;strong style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;Next&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;strong style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30905/2.jpg&quot;&gt;&lt;img alt=&quot;2.jpg&quot; class=&quot;jive-image&quot; height=&quot;368&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30905/2.jpg&quot; width=&quot;518&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;strong style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;strong style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp; Select &lt;strong&gt;Create a new virtual disk&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30909/3.jpg&quot;&gt;&lt;img alt=&quot;3.jpg&quot; class=&quot;jive-image&quot; height=&quot;369&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30909/3.jpg&quot; width=&quot;516&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Must be type Thick Provision Eager Zeroed !!!!!!!!!!!!!!!!!!&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 Choose SCSI (1:0) which creates a fresh SCSI controller apart from the 
default one created during virtual machine creation and click &lt;strong&gt;Next&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30910/4.jpg&quot; name=&quot;&amp;amp;lpos=apps_scodevmw : 54&quot;&gt;&lt;img alt=&quot;4.jpg&quot; class=&quot;jive-image&quot; height=&quot;372&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30910/4.jpg&quot; width=&quot;518&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on &lt;strong&gt;Finish&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30911/5.jpg&quot;&gt;&lt;img alt=&quot;5.jpg&quot; class=&quot;jive-image&quot; height=&quot;374&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30911/5.jpg&quot; width=&quot;520&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on the newly created SCSI controller and change the SCSI Bus sharing option to “&lt;strong&gt;Physical&lt;/strong&gt;” &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30912/6.jpg&quot;&gt;&lt;img alt=&quot;6.jpg&quot; class=&quot;jive-image&quot; height=&quot;393&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30912/6.jpg&quot; width=&quot;531&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;Click on OK and power ON the machine&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now the newly added disk shows up on the Node-01 machine as /dev/sdb.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30913/7.jpg&quot;&gt;&lt;img alt=&quot;7.jpg&quot; class=&quot;jive-image&quot; height=&quot;298&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30913/7.jpg&quot; width=&quot;553&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We need to add the Virtual disk created on Node-01 to Node-02&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on Edit Setting of Node-02 machine and select Add hardware and click on hard disk&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And click &lt;strong&gt;Next&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30914/8.jpg&quot;&gt;&lt;img alt=&quot;8.jpg&quot; class=&quot;jive-image&quot; height=&quot;348&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30914/8.jpg&quot; width=&quot;515&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on “use an existing virtual disk” and click &lt;strong&gt;Next&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30915/9.jpg&quot;&gt;&lt;img alt=&quot;9.jpg&quot; class=&quot;jive-image&quot; height=&quot;305&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30915/9.jpg&quot; width=&quot;508&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Browse to the location where Node-01’s VMDK file is present and select it&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30916/10.jpg&quot;&gt;&lt;img alt=&quot;10.jpg&quot; class=&quot;jive-image&quot; height=&quot;335&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30916/10.jpg&quot; width=&quot;472&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Confirm the path and click &lt;strong&gt;Next&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30917/11.jpg&quot;&gt;&lt;img alt=&quot;11.jpg&quot; class=&quot;jive-image&quot; height=&quot;376&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30917/11.jpg&quot; width=&quot;506&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select SCSI (1:0) which creates a new SCSI controller on Node-02&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30918/12.jpg&quot;&gt;&lt;img alt=&quot;12.jpg&quot; class=&quot;jive-image&quot; height=&quot;376&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30918/12.jpg&quot; width=&quot;514&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;Review the changes and click &lt;/span&gt;&lt;strong style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;Finish &lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30919/13.jpg&quot;&gt;&lt;img alt=&quot;13.jpg&quot; class=&quot;jive-image&quot; height=&quot;358&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30919/13.jpg&quot; width=&quot;512&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;min-height: 8pt; padding: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select the newly created SCSI controller and select &lt;strong&gt;Physical&lt;/strong&gt; under SCSI bus sharing option and click &lt;strong&gt;OK&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30920/14.jpg&quot; name=&quot;&amp;amp;lpos=apps_scodevmw : 64&quot;&gt;&lt;img alt=&quot;14.jpg&quot; class=&quot;jive-image&quot; height=&quot;358&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30920/14.jpg&quot; width=&quot;540&quot; /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 12.0pt;&quot;&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;Power on Node-02 and confirm that Node-01’s shared disk is showing up on Node-02&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&lt;a href=&quot;https://communities.vmware.com/servlet/JiveServlet/showImage/38-19110-30921/15.jpg&quot;&gt;&lt;img alt=&quot;15.jpg&quot; class=&quot;jive-image&quot; height=&quot;314&quot; src=&quot;https://communities.vmware.com/servlet/JiveServlet/downloadImage/38-19110-30921/15.jpg&quot; width=&quot;586&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&amp;nbsp;&amp;nbsp;
 You might want to turn the Multi-writer flag in the advanced options of
 VM so you can let the machines write to the disk. Follow the below link
 for the same&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class=&quot;jive-link-external-small&quot; href=&quot;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1034165&quot; rel=&quot;nofollow&quot;&gt;VMware KB: Disabling simultaneous write protection provided by VMFS using the multi-writer flag &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; line-height: 1.5em;&quot;&gt;&amp;nbsp;&amp;nbsp;
 Note: This might cause some problems while doing vMotion of the 
machines involved in clustering. So do some research before you do it.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/6667397821842338530/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/09/clustering-using-sharing-of-vmdks.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6667397821842338530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6667397821842338530'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/09/clustering-using-sharing-of-vmdks.html' title='Clustering using sharing of vmdks between virtual machines'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-6770873067103927492</id><published>2015-09-04T03:35:00.001-07:00</published><updated>2015-09-10T05:58:34.721-07:00</updated><title type='text'>Cluster HAProxy</title><content type='html'>&lt;b&gt;Configuring HAProxy and Keepalived - HTTP&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Install HAProxy and Keepalived on both ubuntu nodes.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b4ca347704740&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;apt-get install haproxy 
apt-get install keepalived&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b4ca347704740-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b4ca347704740-2&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b4ca347704740-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;apt&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;install &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;haproxy &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b4ca347704740-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;apt&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;install &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;keepalived&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Load balancing in HAProxy also requires the ability to bind to an IP 
address that are nonlocal, meaning that it is not assigned to a device 
on the local system. Below&amp;nbsp;configuration is added so that 
floating/shared IP can be assigned to one of the load balancers. Below 
line get it done.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b4e0970448011&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;net.ipv4.ip_nonlocal_bind=1&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b4e0970448011-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b4e0970448011-1&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ip_nonlocal_bind&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Now you know what’s happening with above lines let’s edit the &lt;i&gt;sysctl.conf&lt;/i&gt;.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b4e9442685415&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;vim /etc/sysctl.conf&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b4e9442685415-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b4e9442685415-1&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;vim&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;sysctl&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;.conf&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Add the below lines.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b4f8239135025&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;net.ipv4.ip_nonlocal_bind=1&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b4f8239135025-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b4f8239135025-1&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ip_nonlocal_bind&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
To enable the changes made in &lt;i&gt;sysctl.conf&lt;/i&gt; you will need to run the command.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b4ff268667171&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;root@S-09:~# sysctl -p
net.ipv4.ip_nonlocal_bind = 1&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b4ff268667171-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;root&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;09&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;crayon-c&quot;&gt;# sysctl -p&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b4ff268667171-2&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;.ipv4&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;.ip_nonlocal_bind&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;vi /etc/defaults/haproxy&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;CONFIG=&quot;/etc/haproxy/haproxy.cfg&quot;&lt;br /&gt;ENABLED=1&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Now let’s create &lt;i&gt;keepalived.conf&lt;/i&gt; file on each&amp;nbsp;instances.&amp;nbsp;All the below Keepalived configurations are explained in the&lt;a href=&quot;http://www.keepalived.org/pdf/UserGuide.pdf&quot; target=&quot;_blank&quot;&gt; User guide&lt;/a&gt; provided by Keepalived and refer&lt;a href=&quot;http://www.keepalived.org/LVS-NAT-Keepalived-HOWTO.html&quot; target=&quot;_blank&quot;&gt; this guide&lt;/a&gt; as well.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b507043938613&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;vim /etc/keepalived/keepalived.conf&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b507043938613-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b507043938613-1&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;vim&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;keepalived&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;keepalived&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;.conf&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Add the below configuration on the master node&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b510782817837&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;global_defs {
# Keepalived process identifier
lvs_id haproxy_DH
}
# Script used to check if HAProxy is running
vrrp_script check_haproxy {
script &quot;killall -0 haproxy&quot;
interval 2
weight 2
}
# Virtual interface
# The priority specifies the order in which the assigned interface to take over in a failover
vrrp_instance VI_01 {
state MASTER
interface eth0
virtual_router_id 51
priority 101
# The virtual ip address shared between the two loadbalancers
virtual_ipaddress {
192.168.6.164
}
track_script {
check_haproxy
}
}&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;global_defs&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-2&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Keepalived &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;process &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;identifier&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-3&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;lvs_id &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;haproxy_DH&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-4&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-5&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;used&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;check&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;HAProxy&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;is&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;running&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;vrrp_script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;check_haproxy&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-7&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;killall -0 haproxy&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-8&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;interval&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-9&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;weight&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-10&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-11&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Virtual&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;interface&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-12&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;The&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;priority&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;specifies&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;order&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;which&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;assigned&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;take&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;over&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;failover&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-13&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;vrrp_instance&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;VI_01&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-14&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;state&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;MASTER&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-15&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-16&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;virtual_router_id&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;51&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-17&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;priority&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;101&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-18&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;The&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;virtual&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;address&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;shared&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;between&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;loadbalancers&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-19&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;virtual_ipaddress&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-20&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.164&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-21&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-22&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;track_script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-23&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;check_haproxy&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b510782817837-24&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b510782817837-25&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Add the below configuration on the slave node.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b51d470744462&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;global_defs {
# Keepalived process identifier
lvs_id haproxy_DH_passive
}
# Script used to check if HAProxy is running
vrrp_script check_haproxy {
script &quot;killall -0 haproxy&quot;
interval 2
weight 2
}
# Virtual interface
# The priority specifies the order in which the assigned interface to take over in a failover
vrrp_instance VI_01 {
state SLAVE
interface eth0
virtual_router_id 51
priority 100
# The virtual ip address shared between the two loadbalancers
virtual_ipaddress {
192.168.6.164
}
track_script {
check_haproxy
}
}&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;global_defs&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-2&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Keepalived &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;process &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;identifier&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-3&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;lvs_id &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;haproxy_DH_passive&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-4&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-5&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;used&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;check&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;HAProxy&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;is&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;running&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;vrrp_script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;check_haproxy&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-7&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot;&gt;&quot;killall -0 haproxy&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-8&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;interval&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-9&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;weight&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-10&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-11&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;Virtual&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;interface&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-12&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;The&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;priority&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;specifies&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;order&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;which&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;assigned&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;take&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;over&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;failover&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-13&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;vrrp_instance&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;VI_01&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-14&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;state&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;SLAVE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-15&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;interface&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-16&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;virtual_router_id&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;51&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-17&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;priority&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;100&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-18&quot;&gt;
&lt;span class=&quot;crayon-o&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;The&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;virtual&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;address&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;shared&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;between&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;loadbalancers&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-19&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;virtual_ipaddress&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-20&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.164&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-21&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-22&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;track_script&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-23&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;check_haproxy&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b51d470744462-24&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b51d470744462-25&quot;&gt;
&lt;span class=&quot;crayon-sy&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ol&gt;
&lt;li&gt;
     &lt;/li&gt;
&lt;/ol&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Restart Keepalived.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b526250445344&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;service keepalived start&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b526250445344-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b526250445344-1&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;service &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;keepalived &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;start&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Now let’s configure HAProxy on both instances. You will have do the below steps on master node as well as slave node.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b52f827524554&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;vim /etc/default/haproxy&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b52f827524554-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b52f827524554-1&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;vim&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-st&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;haproxy&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
set the property &lt;i&gt;ENABLED&lt;/i&gt; to &lt;i&gt;1.&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b537776995326&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;vim /etc/haproxy/haproxy.cfg&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b537776995326-1&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b537776995326-1&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;vim&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;haproxy&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;haproxy&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;.cfg&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;i&gt;Note that below configurations are as per my requirement.&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b53e271758766&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;global
        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        #log loghost    local0 info
        maxconn 4096
        #chroot /usr/share/haproxy
        user haproxy
        group haproxy
        daemon
        #debug
        #quiet

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        retries 3
        option redispatch
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000

listen stats 192.168.6.ABC:8989
        mode http
        stats enable
        stats uri /stats
        stats realm HAProxy\ Statistics
        stats auth admin:admin

listen am_cluster 0.0.0.0:80
        mode http
        balance roundrobin
        option httpclose
        option forwardfor
        cookie SERVERNAME insert indirect nocache
        server am-1 192.168.X.ABC:80 cookie s1 check
        server am-2 192.168.Y.ABC:80 cookie s2 check&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;td class=&quot;crayon-code&quot;&gt;&lt;ol&gt;
&lt;li&gt;global&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log /dev/log&amp;nbsp;&amp;nbsp;&amp;nbsp; local0&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log /dev/log&amp;nbsp;&amp;nbsp;&amp;nbsp; local1 notice&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chroot /var/lib/haproxy&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats socket /run/haproxy/admin.sock mode 660 level admin&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats timeout 30s&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user haproxy&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group haproxy&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; daemon&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Default SSL material locations&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ca-base /etc/ssl/certs&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; crt-base /etc/ssl/private&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Default ciphers to use on SSL-enabled listening sockets.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # For more information, see ciphers(1SSL).&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssl-default-bind-ciphers kEECDH+aRSA+AES:kRSA+AES:+AES256:RC4-SHA:!kEDH:!LOW:!EXP:!MD5:!aNULL:!eNULL&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;defaults&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; global&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode&amp;nbsp;&amp;nbsp;&amp;nbsp; http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option&amp;nbsp; httplog&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option&amp;nbsp; dontlognull&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout connect 5000&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout client&amp;nbsp; 50000&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout server&amp;nbsp; 50000&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 400 /etc/haproxy/errors/400.http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 403 /etc/haproxy/errors/403.http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 408 /etc/haproxy/errors/408.http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 500 /etc/haproxy/errors/500.http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 502 /etc/haproxy/errors/502.http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 503 /etc/haproxy/errors/503.http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorfile 504 /etc/haproxy/errors/504.http&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;frontend haproxy_in&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bind *:80&lt;/li&gt;
&lt;li&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; mode http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default_backend haproxy_out_http&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;backend haproxy_out_http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode http&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; balance roundrobin&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #option forwardfor&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #http-request set-header X-Forwarded-Port %[dst_port]&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #http-request add-header X-Forwarded-Proto https if { ssl_fc }&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #option httpchk HEAD / HTTP/1.1\r\nHost:localhost&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #cookie SERVERID insert indirect nocache&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; server web01 212.77.98.9:80 check #cookie s1&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; server web02 213.180.141.140:80 check #cookie s1&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;listen stats *:8989&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats enable&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats uri /&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats hide-version&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats auth admin:admin&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;# jeśli potrzebujesz proxy dla smtp &lt;/li&gt;
&lt;li&gt;&lt;pre&gt;listen smtp :25
        mode tcp
        option tcplog
        balance roundrobin

        server smtp 192.168.0.1:25 check
        server smtp1 192.168.0.2:25 check&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;# jeśli potrzebujesz połączenie do RDP&lt;/pre&gt;
&lt;pre&gt;listen rdp :3389
        mode tcp
        option tcplog
        balance rdp-cookie

        server sx01 10.1.1.11:3389 check
        server sx02 10.1.1.12:3389 check &lt;/pre&gt;
&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol&gt;
&lt;/ol&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table class=&quot;crayon-table&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
If above configurations are not clear please refer&lt;a href=&quot;http://www.haproxy.org/download/1.4/doc/configuration.txt&quot; target=&quot;_blank&quot;&gt; this guide&lt;/a&gt; from HAProxy.&lt;br /&gt;
&lt;h2&gt;
Testing&lt;/h2&gt;
Let’s check whether our configuration has been done correctly. Try executing &lt;i&gt;ip addr&lt;/i&gt; on master node. As you can see on the master node&amp;nbsp;&lt;i&gt;192.168.6.164&lt;/i&gt; IP is assigned.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b5c0709330255&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;root@S-08:~# ip addr
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:50:56:bb:05:06 brd ff:ff:ff:ff:ff:ff
inet 192.168.6.169/28 brd 192.168.6.175 scope global eth0
inet 192.168.6.164/32 scope global eth0
inet6 fe80::250:56ff:febb:506/64 scope link
valid_lft forever preferred_lft forever&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5c0709330255-12&quot;&gt;
12&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5c0709330255-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;root&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;08&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;crayon-c&quot;&gt;# ip addr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5c0709330255-2&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOOPBACK&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16436&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;noqueue &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UNKNOWN&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5c0709330255-3&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;loopback&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5c0709330255-4&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;127.0.0.1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;lo&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5c0709330255-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;inet6&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;128&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5c0709330255-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5c0709330255-7&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;eth0&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;BROADCAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;MULTICAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1500&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;pfifo_fast &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UP &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;qlen&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1000&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5c0709330255-8&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ether&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;bb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;05&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;06&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;brd &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ff&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5c0709330255-9&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.169&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;28&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.175&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;global &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5c0709330255-10&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.164&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;global &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5c0709330255-11&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;inet6 &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;fe80&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;febb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;506&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;64&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5c0709330255-12&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Try executing &lt;i&gt;ip addr&lt;/i&gt; on slave&amp;nbsp;node.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b5ca459015636&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;root@S-09:~# ip addr
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:50:56:bb:05:08 brd ff:ff:ff:ff:ff:ff
inet 192.168.6.170/28 brd 192.168.6.175 scope global eth0
inet6 fe80::250:56ff:febb:508/64 scope link
valid_lft forever preferred_lft forever&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5ca459015636-11&quot;&gt;
11&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5ca459015636-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;root&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;09&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;crayon-c&quot;&gt;# ip addr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5ca459015636-2&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOOPBACK&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16436&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;noqueue &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UNKNOWN&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5ca459015636-3&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;loopback&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5ca459015636-4&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;127.0.0.1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;lo&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5ca459015636-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;inet6&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;128&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5ca459015636-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5ca459015636-7&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;eth0&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;BROADCAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;MULTICAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1500&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;pfifo_fast &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UP &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;qlen&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1000&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5ca459015636-8&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ether&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;bb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;05&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;08&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;brd &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ff&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5ca459015636-9&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.170&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;28&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.175&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;global &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5ca459015636-10&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;inet6 &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;fe80&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;febb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;508&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;64&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5ca459015636-11&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Let stop the HAProxy on the master node. Now you can see that IP address&amp;nbsp;&lt;i&gt;192.168.6.164&lt;/i&gt; will be assigned to the salve node. If you start HAproxy instance on the master node IP address&amp;nbsp;&lt;i&gt;192.168.6.164&lt;/i&gt; will be assigned back to master node. See the O/P below.&lt;br /&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b5d4285243361&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; mouseover overlay hide delay&quot; style=&quot;display: block; font-size: 12px ! important; height: 18px ! important; line-height: 18px ! important; margin-top: 0px; position: absolute; z-index: 2;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;crayon-tools&quot; style=&quot;font-size: 12px !important; height: 18px !important; line-height: 18px !important;&quot;&gt;
&lt;span class=&quot;crayon-language&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: auto; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;root@S-08:~# ip addr
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 16436 qdisc noqueue state UNKNOWN 
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host 
valid_lft forever preferred_lft forever
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:50:56:bb:05:06 brd ff:ff:ff:ff:ff:ff
inet 192.168.6.169/28 brd 192.168.6.175 scope global eth0
inet6 fe80::250:56ff:febb:506/64 scope link 
valid_lft forever preferred_lft forever&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: auto; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5d4285243361-11&quot;&gt;
11&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5d4285243361-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;root&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;08&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;crayon-c&quot;&gt;# ip addr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5d4285243361-2&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOOPBACK&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16436&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;noqueue &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UNKNOWN &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5d4285243361-3&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;loopback&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5d4285243361-4&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;127.0.0.1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;lo&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5d4285243361-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;inet6&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;128&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5d4285243361-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5d4285243361-7&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;eth0&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;BROADCAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;MULTICAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1500&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;pfifo_fast &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UP &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;qlen&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1000&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5d4285243361-8&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ether&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;bb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;05&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;06&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;brd &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ff&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5d4285243361-9&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.169&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;28&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.175&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;global &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5d4285243361-10&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;inet6 &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;fe80&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;febb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;506&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;64&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5d4285243361-11&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-mac print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-55e998660b5e5238984887&quot; style=&quot;font-size: 12px ! important; height: auto; line-height: 15px ! important; margin-bottom: 12px; margin-top: 12px;&quot;&gt;
&lt;div class=&quot;crayon-plain-wrap&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;dblclick&quot; readonly=&quot;readonly&quot; style=&quot;-moz-tab-size: 4; font-size: 12px ! important; line-height: 15px ! important; opacity: 0; overflow: hidden; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;root@S-09:~# ip addr
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 16436 qdisc noqueue state UNKNOWN 
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host 
valid_lft forever preferred_lft forever
2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:50:56:bb:05:08 brd ff:ff:ff:ff:ff:ff
inet 192.168.6.170/28 brd 192.168.6.175 scope global eth0
inet 192.168.6.164/32 scope global eth0
inet6 fe80::250:56ff:febb:508/64 scope link 
valid_lft forever preferred_lft forever&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;overflow: hidden; position: relative; z-index: 1;&quot;&gt;
&lt;div class=&quot;table-wrapper&quot;&gt;
&lt;table class=&quot;crayon-table&quot;&gt;
     &lt;tbody&gt;
&lt;tr class=&quot;crayon-row&quot;&gt;
    &lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;font-size: 12px !important; line-height: 15px !important;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-1&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-2&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-3&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-4&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-5&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-6&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-7&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-8&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-9&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-10&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-11&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-55e998660b5e5238984887-12&quot;&gt;
12&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
      &lt;td class=&quot;crayon-code&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;-moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4; font-size: 12px !important; line-height: 15px !important; tab-size: 4;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5e5238984887-1&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;root&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;09&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;crayon-c&quot;&gt;# ip addr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5e5238984887-2&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOOPBACK&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;16436&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;noqueue &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UNKNOWN &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5e5238984887-3&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;loopback&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5e5238984887-4&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;127.0.0.1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;lo&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5e5238984887-5&quot;&gt;
&lt;span class=&quot;crayon-v&quot;&gt;inet6&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;128&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;host &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5e5238984887-6&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5e5238984887-7&quot;&gt;
&lt;span class=&quot;crayon-cn&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;eth0&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;BROADCAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;MULTICAST&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;UP&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;LOWER_UP&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;mtu&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1500&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;qdisc &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;pfifo_fast &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;state &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;UP &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;qlen&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;1000&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5e5238984887-8&quot;&gt;
&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;ether&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;00&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;bb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;05&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;08&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;brd &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;ff&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5e5238984887-9&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.170&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;28&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot;&gt;brd&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.175&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;global &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5e5238984887-10&quot;&gt;
&lt;span class=&quot;crayon-i&quot;&gt;inet&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;192.168.6.164&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;global &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;eth0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-55e998660b5e5238984887-11&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;inet6 &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;fe80&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;56ff&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;febb&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;508&lt;/span&gt;&lt;span class=&quot;crayon-o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-cn&quot;&gt;64&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;scope &lt;/span&gt;&lt;span class=&quot;crayon-r&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;crayon-h&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-55e998660b5e5238984887-12&quot;&gt;
&lt;span class=&quot;crayon-e&quot;&gt;valid_lft &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;forever &lt;/span&gt;&lt;span class=&quot;crayon-e&quot;&gt;preferred_lft &lt;/span&gt;&lt;span class=&quot;crayon-v&quot;&gt;forever&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
     &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Try http://192.168.6.169:8989/stats or http://192.168.6.170:8989/stats URL to login into statistics report for HAProxy.&lt;br /&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_841&quot; style=&quot;width: 654px;&quot;&gt;
&lt;img alt=&quot;Statistics Report for HAProxy&quot; class=&quot;size-large wp-image-841&quot; src=&quot;http://dasunhegoda.com/wp-content/uploads/2015/03/haproxystats-1024x385.png&quot; height=&quot;246&quot; width=&quot;654&quot; /&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot;&gt;
Statistics Report for HAProxy&lt;/div&gt;
&lt;/div&gt;
If you have any questions let me know in the comments below. Your feedback is highly appreciated(happy-face).&amp;nbsp; &lt;br /&gt;
&lt;ul class=&quot;zemanta-article-ul&quot;&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/6770873067103927492/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/09/cluster-haproxy.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6770873067103927492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/6770873067103927492'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/09/cluster-haproxy.html' title='Cluster HAProxy'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-3654309183119372561</id><published>2015-08-14T02:34:00.000-07:00</published><updated>2015-09-25T00:58:54.824-07:00</updated><title type='text'>LVM</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;Create&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;This example creates an LVM logical volume called &lt;code class=&quot;literal&quot;&gt;new_logical_volume&lt;/code&gt; that consists of the disks at &lt;code class=&quot;literal&quot;&gt;/dev/sda1&lt;/code&gt;, &lt;code class=&quot;literal&quot;&gt;/dev/sdb1&lt;/code&gt;, and &lt;code class=&quot;literal&quot;&gt;/dev/sdc1&lt;/code&gt;.
  &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;titlepage&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;h3 class=&quot;title&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
5.1.1.&amp;nbsp;Creating the Physical Volumes&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;pvcreate /dev/sda1 /dev/sdb1 /dev/sdc1&lt;/code&gt;&lt;/b&gt;
  Physical volume &quot;/dev/sda1&quot; successfully created
  Physical volume &quot;/dev/sdb1&quot; successfully created
  Physical volume &quot;/dev/sdc1&quot; successfully created
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;titlepage&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;h3 class=&quot;title&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
5.1.2.&amp;nbsp;Creating the Volume Group&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following command creates the volume group &lt;code class=&quot;literal&quot;&gt;new_vol_group&lt;/code&gt;.
   &lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;vgcreate new_vol_group /dev/sda1 /dev/sdb1 /dev/sdc1&lt;/code&gt;&lt;/b&gt;
  Volume group &quot;new_vol_group&quot; successfully created
&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;You can use the &lt;code class=&quot;command&quot;&gt;vgs&lt;/code&gt; command to display the attributes of the new volume group.
   &lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;vgs&lt;/code&gt;&lt;/b&gt;
  VG            #PV #LV #SN Attr   VSize  VFree
  new_vol_group   3   0   0 wz--n- 51.45G 51.45G
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;titlepage&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;h3 class=&quot;title&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
5.1.3.&amp;nbsp;Creating the Logical Volume&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following command creates the logical volume &lt;code class=&quot;literal&quot;&gt;new_logical_volume&lt;/code&gt; from the volume group &lt;code class=&quot;literal&quot;&gt;new_vol_group&lt;/code&gt;. This example creates a logical volume that uses 2GB of the volume group.
   &lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;lvcreate -L2G -n new_logical_volume new_vol_group&lt;/code&gt;&lt;/b&gt;
  Logical volume &quot;new_logical_volume&quot; created
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;titlepage&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;h3 class=&quot;title&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;
5.1.4.&amp;nbsp;Creating the File System&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following command creates a GFS file system on the logical volume. np:&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;gfs_mkfs -plock_nolock -j 1 /dev/new_vol_group/new_logical_volume&lt;/code&gt;&lt;/b&gt;
This will destroy any data on /dev/new_vol_group/new_logical_volume.

Are you sure you want to proceed? [y/n] &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;y&lt;/code&gt;&lt;/b&gt;

Device:                    /dev/new_vol_group/new_logical_volume
Blocksize:                 4096
Filesystem Size:           491460
Journals:                  1
Resource Groups:           8
Locking Protocol:          lock_nolock
Lock Table:

Syncing...
All Done
&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The following commands mount the logical volume and report the file system disk space usage.
   &lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;mount /dev/new_vol_group/new_logical_volume /mnt&lt;/code&gt;&lt;/b&gt;
[root@tng3-1 ~]# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;df&lt;/code&gt;&lt;/b&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/new_vol_group/new_logical_volume
                       1965840        20   1965820   1% /mnt&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;b&gt;Rozszerzenie Phisical volume&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;code&gt;echo 1 &amp;gt; /sys/block/sdX/device/rescan&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt; &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;[root@centos7 ~]# pvs
  PV         VG           Fmt  Attr PSize   PFree
  /dev/sda2  centos       lvm2 a--   59.51g 64.00m
  /dev/sdb   vol_group_sk lvm2 a--  160.00g 10.00g&lt;/span&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;
[root@centos7 ~]# pvresize /dev/sdb
  Physical volume &quot;/dev/sdb&quot; changed
  1 physical volume(s) resized / 0 physical volume(s) not resized&lt;/span&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;
[root@centos7 ~]# pvs
  PV         VG           Fmt  Attr PSize   PFree
  /dev/sda2  centos       lvm2 a--   59.51g 64.00m
  /dev/sdb   vol_group_sk lvm2 a--  210.00g 60.00g
[root@centos7 ~]#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;Rozszerz LVM logical volume&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;# lvextend -L12G /dev/myvg/homevol&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;b&gt;&lt;span class=&quot;command&quot;&gt;Najpierw zrób:&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;e2fsck -f &lt;/span&gt;&lt;span class=&quot;command&quot;&gt;/dev/myvg/homevol/dev/myvg/homevol&lt;/span&gt;&lt;span class=&quot;command&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;
&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;ext2/ext3&lt;/u&gt;
          &lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;umount /dev/myvg/homevol/dev/myvg/homevol
   # resize2fs /dev/myvg/homevol         # wykonuj na zamontowanym zasobie 
   # mount /dev/myvg/homevol /home&lt;/span&gt;&lt;/pre&gt;
&lt;b&gt;
&lt;/b&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt; umount /dev/myvg/homevol/dev/myvg/homevol
   # ext2resize /dev/myvg/homevol       &lt;/span&gt;&lt;span class=&quot;command&quot;&gt;# wykonuj na zamontowanym zasobie &lt;/span&gt;&lt;span class=&quot;command&quot;&gt;
   # mount /dev/myvg/homevol /home&lt;/span&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b class=&quot;command&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/b&gt;&lt;b class=&quot;command&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;command&quot;&gt;xfs&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/pre&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;
&lt;/span&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;command&quot;&gt;mount /dev/myvg/homevol /home&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;
&lt;/span&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;command&quot;&gt;&lt;code&gt;xfs_growfs /home&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;command&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&amp;nbsp;      &lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;command&quot;&gt;# wykonuj na zamontowanym zasobie &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;code&gt;df -h&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span class=&quot;command&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;b class=&quot;command&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;u&gt;&lt;b&gt;Rozszerz LVM volume group&lt;/b&gt;&lt;/u&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;vgextend &lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;new_vol_group&lt;/code&gt;&lt;/span&gt; /dev/sdd&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;
&lt;/b&gt;&lt;/u&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&amp;nbsp; &lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;Usuń uszkodzony dysk z volume group&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;pvs -o+pv_used&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;userinput&quot; style=&quot;font-size: small;&quot;&gt;&lt;code&gt;Sprawdz zajętość dysków&lt;/code&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b class=&quot;userinput&quot;&gt;&lt;code&gt; &lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/b&gt;
# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;pvmove /dev/sdb1&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;przenieść dane z dysku do wymiany &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;/dev/sdb1: Moved: 2.0%
 ...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;/dev/sdb1: Moved: 79.2%
 ...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;/dev/sdb1: Moved: 100.0%
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;para&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;pvs -o+pv_used&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;span class=&quot;userinput&quot;&gt;&lt;code&gt;Sprawdz zajętość dysków&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;userinput&quot; style=&quot;font-size: small;&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b class=&quot;userinput&quot;&gt;&lt;code&gt; &lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# &lt;b class=&quot;userinput&quot;&gt;&lt;code&gt;vgreduce myvg /dev/sdb1&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Wypnij dysk z grupy &lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;screen&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;
&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/3654309183119372561/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/08/lvm.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/3654309183119372561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/3654309183119372561'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/08/lvm.html' title='LVM'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-4081787689189281245</id><published>2015-08-13T04:35:00.000-07:00</published><updated>2015-09-09T02:52:15.569-07:00</updated><title type='text'>Red Hat &amp; Ubuntu reset root password</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;REDHAT&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;- init.d&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
W Grub Press &quot;e&quot;&lt;br /&gt;
linia kernel... Press &quot;e&quot; na końcu space i 1&lt;br /&gt;
Enter&lt;br /&gt;
Pres &quot;b&quot;&lt;br /&gt;
passwd &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;- system.d&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
W Grub Press &quot;e&quot;&lt;br /&gt;
&lt;br /&gt;
linia linux16....znajdz&lt;br /&gt;
rhgb quite LANG&lt;br /&gt;
i zmien na&lt;br /&gt;
rhgb quite &lt;u&gt;&lt;i&gt;&lt;b&gt;rd.break&lt;/b&gt;&lt;/i&gt;&lt;/u&gt; LANG&lt;br /&gt;
Ctrl + x&lt;br /&gt;
&lt;br /&gt;
Jak wyskoczy Promt #&lt;br /&gt;
mount -o remount,rw /sysroot/&lt;br /&gt;
chroot /sysroot/&lt;br /&gt;
passwd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;UBUNTU 14&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Albo tryb recovery i potem&lt;br /&gt;
mount -o remount,rw /&lt;br /&gt;
chroot /&lt;br /&gt;
&lt;br /&gt;
Albo:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Select (highlight) the GRUB boot menu entry you wish to use.&lt;/li&gt;
&lt;li&gt;Press &lt;kbd&gt;e&lt;/kbd&gt; to edit the GRUB boot commands for the selected boot menu entry.  &lt;/li&gt;
&lt;li&gt;Look near the bottom of the list of commands for lines similar to&lt;br /&gt;
&lt;br /&gt;&lt;code&gt;linux /boot/vmlinuz-3.2.0-24-generic root=UUID=bc6f8146-1523-46a6-8b\&lt;/code&gt;
&lt;br /&gt;&lt;code&gt;6a-64b819ccf2b7 ro  quiet splash&lt;/code&gt;
&lt;br /&gt;&lt;code&gt;initrd /boot/initrd.img-3.2.0-24-generic&lt;/code&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Change the middle line in (3) by adding the kernel boot parameter &lt;code&gt;single&lt;/code&gt; to the end of the line (i.e. after &lt;code&gt;ro  quiet splash&lt;/code&gt;).&lt;br /&gt;
&lt;br /&gt;For this example you would change
&lt;br /&gt;&lt;code&gt;6a-64b819ccf2b7 ro  quiet splash&lt;/code&gt; 
&lt;br /&gt;to 
&lt;br /&gt;&lt;code&gt;6a-64b819ccf2b7 ro  quiet splash single&lt;/code&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Press either &lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;X&lt;/kbd&gt; or &lt;kbd&gt;F10&lt;/kbd&gt; to boot using
these kernel options.&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/4081787689189281245/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/08/red-hat-reset-root-password.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4081787689189281245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/4081787689189281245'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/08/red-hat-reset-root-password.html' title='Red Hat &amp; Ubuntu reset root password'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-7748679381314994187</id><published>2015-07-13T02:19:00.002-07:00</published><updated>2015-07-13T02:37:40.994-07:00</updated><title type='text'>Lists all the shared folder permissions or NTFS permissions (PowerShell)</title><content type='html'>https://gallery.technet.microsoft.com/scriptcenter/Lists-all-the-shared-5ebb395a&lt;br /&gt;
&lt;br /&gt;
The Default Execution Policy is set to restricted, you can see it by typing:&lt;br /&gt;


&lt;blockquote&gt;
  Get-ExecutionPolicy&lt;br /&gt;

&lt;/blockquote&gt;
You should type the following to make it go to unrestricted mode:&lt;br /&gt;


&lt;blockquote&gt;
  Set-ExecutionPolicy unrestricted&lt;br /&gt;

&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/7748679381314994187/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/07/lists-all-shared-folder-permissions-or.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/7748679381314994187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/7748679381314994187'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/07/lists-all-shared-folder-permissions-or.html' title='Lists all the shared folder permissions or NTFS permissions (PowerShell)'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-5265904741283323718</id><published>2015-06-22T04:30:00.000-07:00</published><updated>2015-06-24T01:24:14.305-07:00</updated><title type='text'>Samba 4</title><content type='html'>http://mark.orbum.net/2014/02/22/compiling-samba-4-on-debian-wheezy-active-directory-domain-controllers-ho/&lt;br /&gt;
http://sourceforge.net/projects/samba4all/files/4.1.9/Ubuntu%2014.04Sernet4.1.9/&lt;br /&gt;
cat /etc/lsb-release&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;samba-tool domain provision --use-rfc2307 --interactive&lt;/pre&gt;
&lt;br /&gt;
&amp;nbsp;samba-tool dns update 10.1.9.14 samba4.ad nginx2 A 192.168.163.10 10.1.9.14 -U Administrator&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
apt-get install acl attr krb5-user&lt;br /&gt;
ignore the kerb details and just accept defaults as will be overwritten later&lt;br /&gt;
edit fstab and add user_xattr,acl
nano /etc/fstab so you end up with something like the below
/dev/mapper/samba1--vg-root /               ext4    user_xattr,acl,errors=remount-ro 0       1
https://wiki.samba.org/index.php/OS_Requirements#fstab_2
nano /etc/apt/sources.list.d/samba4-sernet.list
paste in my case my account please get your own from https://portal.enterprisesamba.com/
#
# SerNet Samba 4.1 Packages
#
# (ubuntu-trusty)
#
deb https://USERNAME:ACCESSKEY@download.sernet.de/packages/samba/4.1/ubuntu trusty main
deb-src https://USERNAME:ACCESSKEY@download.sernet.de/packages/samba/4.1/ubuntu trusty main

Add repo GPG key
wget http://ftp.sernet.de/pub/sernet-samba-keyring_1.4_all.deb
dpkg -i sernet-samba-keyring_1.4_all.deb
apt-get install apt-transport-https
apt-get update
apt-get install sernet-samba-ad


Samba4 has password minimums so we start with Mysamba4
samba-tool domain provision --domain=SAMBA4  --adminpass=Mysamba4 \
--dns-backend=SAMBA_INTERNAL --server-role=dc \
--function-level=2008_R2 --use-xattr=yes \
--use-rfc2307 --realm=SAMBA4.LAN
samba-tool domain passwordsettings set --complexity=off
samba-tool domain passwordsettings set --min-pwd-length=5
samba-tool user setpassword Administrator
changed to samba4 so both sudo and samba password =samba4

nano /etc/default/sernet-samba to change startup mode to ad
SAMBA_START_MODE=&quot;ad&quot;
reboot
Add reverse zone for server on local subnet (192.168.1.3 being my server set by dhcp)
 samba-tool dns zonecreate 192.168.1.3 1.168.192.in-addr.arpa --username=administrator
Add ptr for server (3 being IP for 1.168.192 subnet)
samba-tool dns add 192.168.1.3 1.168.192.in-addr.arpa 3 PTR SAMBA1.SAMBA4.LAN --username=administrator
#Check /etc/samba/smb.conf and change forwarder address to your dns server
nano  /etc/samba/smb.conf (192.168.1.1 being router dns)
*************************************************************
dns forwarder = 192.168.1.1
**************************************************************
#Reload Samba
smbcontrol all reload-config

#Ok some checks to see if all is ok
smbclient -L localhost -U%
***********************************************************
root@samba1:~# smbclient -L localhost -U%
Domain=[SAMBA4] OS=[Unix] Server=[Samba 4.1.6-SerNet-Debian-7.wheezy]

        Sharename       Type      Comment
        ---------       ----      -------
        netlogon        Disk
        sysvol          Disk
        IPC$            IPC       IPC Service (Samba 4.1.6-SerNet-Debian-7.wheezy)
Domain=[SAMBA4] OS=[Unix] Server=[Samba 4.1.6-SerNet-Debian-7.wheezy]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
*****************************************************************************
smbclient //localhost/netlogon -UAdministrator -c &#39;ls&#39;
*****************************************************************************
root@samba1:~# smbclient //localhost/netlogon -UAdministrator -c &#39;ls&#39;
Enter Administrator&#39;s password:
Domain=[SAMBA4] OS=[Unix] Server=[Samba 4.1.6-SerNet-Debian-7.wheezy]
  .                                   D        0  Fri Mar 28 15:12:07 2014
  ..                                  D        0  Fri Mar 28 15:12:12 2014

                48812 blocks of size 131072. 37202 blocks available
********************************************************************************
host -t SRV _ldap._tcp.samba4.lan.
******************************************************************************
root@samba1:~# host -t SRV _ldap._tcp.samba4.lan.
_ldap._tcp.samba4.lan has SRV record 0 100 389 samba1.samba4.lan.
******************************************************************************
host -t SRV _kerberos._udp.samba4.lan.
******************************************************************************
root@samba1:~# host -t SRV _kerberos._udp.samba4.lan.
_kerberos._udp.samba4.lan has SRV record 0 100 88 samba1.samba4.lan.
*********************************************************************************
host -t A samba1.samba4.lan.
******************************************************************************
root@samba1:~# host -t A samba1.samba4.lan.
samba1.samba4.lan has address 192.168.1.8
******************************************************************************
netstat -tapn | grep samba
******************************************************************************
root@samba1:~# netstat -tapn | grep samba
tcp        0      0 0.0.0.0:464             0.0.0.0:*               LISTEN      2170/samba
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      2176/samba
tcp        0      0 0.0.0.0:88              0.0.0.0:*               LISTEN      2170/samba
tcp        0      0 0.0.0.0:636             0.0.0.0:*               LISTEN      2168/samba
tcp        0      0 0.0.0.0:1024            0.0.0.0:*               LISTEN      2164/samba
tcp        0      0 0.0.0.0:3268            0.0.0.0:*               LISTEN      2168/samba
tcp        0      0 0.0.0.0:3269            0.0.0.0:*               LISTEN      2168/samba
tcp        0      0 0.0.0.0:389             0.0.0.0:*               LISTEN      2168/samba
tcp        0      0 0.0.0.0:135             0.0.0.0:*               LISTEN      2164/samba
******************************************************************************
kinit Administrator@SAMBA4.LAN
*********************************************************************
Password for Administrator@SAMBA4.LAN:
Warning: Your password will expire in 41 days on Sat May 10 01:14:36 2014
**********************************************************************
klist
*********************************************************************
root@samba1:~# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator@SAMBA4.LAN

Valid starting     Expires            Service principal
29/03/14 00:22:41  29/03/14 10:22:41  krbtgt/SAMBA4.LAN@SAMBA4.LAN
        renew until 30/03/14 00:22:37
************************************************************************




#If all is not ok the first remove the samba created config and then go back to 
#samba-tool domain provision ....
rm /etc/samba/smb.conf
rm -R /var/lib/samba/private/*
rm -R /var/lib/samba/sysvol/*



Install webmin
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.690_all.deb
dpkg --install webmin_1.690_all.deb</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/5265904741283323718/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/06/samba-4.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5265904741283323718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/5265904741283323718'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/06/samba-4.html' title='Samba 4'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9188982886781426845.post-3273454063164075271</id><published>2015-06-19T03:14:00.000-07:00</published><updated>2015-06-19T03:14:53.992-07:00</updated><title type='text'>Ubuntu SSH + AD</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;Installing and Configuring Kerberos, Samba, and Winbind on Ubuntu Server 5&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;Steps&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1:  Install the Required Packages&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Note: Enter Y when asked if you want to install the additional packages&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New;&quot;&gt;&lt;br /&gt;
apt-get install krb5-user&lt;br /&gt;
apt-get install winbind samba&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2:  Edit the /etc/krb5.conf File&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 216px;&quot;&gt;[logging]
    default = FILE10000:/var/log/krb5lib.log
[libdefaults]
    ticket_lifetime = 24000
    default_realm = DOMAIN.INTERNAL
    default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
    default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
[realms]
    DOMAIN.INTERNAL = {
        kdc = domainserver.domain.internal
        admin_server = domainserver.domain.internal
        default_domain = DOMAIN.INTERNAL
}
[domain_realm]
    .domain.internal = DOMAIN.INTERNAL
    domain.internal = DOMAIN.INTERNAL&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 3:  Edit /etc/samba/smb/conf &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Notes: Change the NETBIOS name parameter to be correct for the server. Make a backup copy of the original file!!!&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
1) Make the edits. The configuration shown is the bare minimum and doesn&#39;t share anything.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 216px;&quot;&gt;[global]
        security = ads
        netbios name = CMHRG02
        realm = DOMAIN.INTERNAL
        password server = domainserver.domain.internal
        workgroup = DOMAIN
        idmap uid = 500-10000000
        idmap gid = 500-10000000
        winbind separator = +
        winbind enum users = no
        winbind enum groups = no
        winbind use default domain = yes
        template homedir = /home/%D/%U
        template shell = /bin/bash
        client use spnego = yes
        domain master = no&lt;/pre&gt;
&lt;/div&gt;
2) Test the configuration with the testparm command&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 4:  Edit /etc/nsswitch.conf to look like the example below&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 144px;&quot;&gt;passwd:         compat winbind
group:          compat winbind
shadow:         compat
hosts:          files dns wins
networks:       files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
netgroup:       nis&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 5:  Modify the PAM settings&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) /etc/pam.d/common-account should contain only the following lines&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 48px;&quot;&gt;account sufficient pam_winbind.so
account required  pam_unix.so&lt;/pre&gt;
&lt;/div&gt;
2) /etc/pam.d/common-auth should contain only the following lines&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 48px;&quot;&gt;auth    sufficient      pam_winbind.so
auth    required        pam_unix.so nullok_secure use_first_pass&lt;/pre&gt;
&lt;/div&gt;
3) Modify the /etc/pam.d/common-password file, so the max parameter is set to 50, similar to the one shown below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;password   required   pam_unix.so nullok obscure min=4 max=50 md5&lt;/pre&gt;
&lt;/div&gt;
4) Make sure the /etc/pam.d/common-session file contains the following line&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;session required        pam_mkhomedir.so umask=0022 skel=/etc/skel&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 6:  Make a directory to hold domain user home directories&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Note: Use the value you put in the WORKGROUP tag of the /etc/samba/smb.conf file&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;mkdir /home/DOMAIN&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 7:  Initialize Kerberos&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) &lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;kinit domain_admin_account@DOMAIN.INTERNAL&lt;/pre&gt;
&lt;/div&gt;
Next check to be sure you got a ticket from the domain controller&lt;br /&gt;
&lt;br /&gt;
2) &lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;klist&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 8:  Join the system to the &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;net ads join -U domainadminuser@DOMAIN.INTERNAL&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 9:  Restart Samba-related Services (Or reboot the server)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Note: The order is important&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 72px;&quot;&gt;/etc/init.d/samba stop
/etc/init.d/winbind stop
/etc/init.d/samba start
/etc/init.d/winbind start&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;Step 10:  Restart SSH and Test Connectivity&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Note: If you rebooted the server in the previous step, just try and login.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 60px;&quot;&gt;/etc/init.d/ssh restart

ssh useraccount@server&lt;/pre&gt;
&lt;/div&gt;
If you can login using your active directory username and password then everything is working!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 11:  Configure SUDO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) First create a group in Active Directory called UnixAdmins and add 
the names of people whom you want to be able to use sudo to admin the 
server. &lt;br /&gt;
&lt;br /&gt;
2) Next, add the UnixAdmins group to the /etc/sudoers so these users can use sudo&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;%UnixAdmins ALL=(ALL) ALL&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;HELPFUL COMMAND LINES&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1) List the derived UNIX GID values for Active Directory groups&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 48px;&quot;&gt;for gid in $(wbinfo -r &lt;username&gt;); \
do SID=$(wbinfo -G $gid);GROUP=$(wbinfo -s $SID); echo $gid is $GROUP; done&lt;/username&gt;&lt;/pre&gt;
&lt;/div&gt;
2) See the Active Directory SID for a particular named user&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bbcode_container&quot;&gt;
 &lt;div class=&quot;bbcode_description&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;wbinfo –n &lt;username&gt;&lt;/username&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://billeter.blogspot.com/feeds/3273454063164075271/comments/default' title='Komentarze do posta'/><link rel='replies' type='text/html' href='http://billeter.blogspot.com/2015/06/ubuntu-ssh-ad.html#comment-form' title='Komentarze (0)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/3273454063164075271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9188982886781426845/posts/default/3273454063164075271'/><link rel='alternate' type='text/html' href='http://billeter.blogspot.com/2015/06/ubuntu-ssh-ad.html' title='Ubuntu SSH + AD'/><author><name>Daniel Niemczok</name><uri>http://www.blogger.com/profile/14743595827554656509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEf40gdqf78k8DKY_PRpNxERFWBYcZ8WgqmEtXox1deFNIzExOleWeaz2Aw-Z4eAl4qfOOA3RcoWm39eeqGKZdMmG6NSJl5BdiRSq8wENgFmOhI-_AMcZ3O9MQr7cHwi8/s220/image.jpeg'/></author><thr:total>0</thr:total></entry></feed>