Translation

(itstool) path: sect2/programlisting
English
if_carp_load="YES"
18/180
Context English Turkish (tr_TR) State
device carp device carp
The hostname, management <acronym>IP</acronym> address and subnet mask, shared <acronym>IP</acronym> address, and <acronym>VHID</acronym> are all set by adding entries to <filename>/etc/rc.conf</filename>. This example is for <systemitem>hosta.example.org</systemitem>: Ana bilgisayar adı, yönetim <acronym> IP </acronym> adresi ve alt ağ maskesi, paylaşılan <acronym> IP </acronym> adresi ve <acronym> VHID </acronym>, <filename> / etc / dizinine girişler eklenerek ayarlanır. rc.conf </ filename>. Bu örnek <systemitem> hosta.example.org </systemitem> içindir:
hostname="<replaceable>hosta.example.org</replaceable>"
ifconfig_<replaceable>em0</replaceable>="inet <replaceable>192.168.1.3</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
ifconfig_<replaceable>em0</replaceable>_alias0="inet vhid <replaceable>1</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.50</replaceable>/32"
hostname="<replaceable>hosta.example.org</replaceable>"
ifconfig_<replaceable>em0</replaceable>="inet <replaceable>192.168.1.3</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
ifconfig_<replaceable>em0</replaceable>_alias0="inet vhid <replaceable>1</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.50</replaceable>/32"
The next set of entries are for <systemitem>hostb.example.org</systemitem>. Since it represents a second master, it uses a different shared <acronym>IP</acronym> address and <acronym>VHID</acronym>. However, the passwords specified with <option>pass</option> must be identical as <acronym>CARP</acronym> will only listen to and accept advertisements from machines with the correct password. Sonraki girdi kümesi <systemitem> hostb.example.org </systemitem> içindir. İkinci bir üstadı temsil ettiğinden, farklı bir paylaşılan <acronym> IP </acronym> adresi ve <acronym> VHID </acronym> kullanır. Ancak, <option> geçiş </option> ile belirtilen şifreler aynı olmalıdır, çünkü <acronym> CARP </acronym> yalnızca doğru şifreye sahip makinelerden gelen reklamları dinler ve kabul eder.
hostname="<replaceable>hostb.example.org</replaceable>"
ifconfig_<replaceable>em0</replaceable>="inet <replaceable>192.168.1.4</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
ifconfig_<replaceable>em0</replaceable>_alias0="inet vhid <replaceable>2</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.51</replaceable>/32"
hostname="<replaceable>hostb.example.org</replaceable>"
ifconfig_<replaceable>em0</replaceable>="inet <replaceable>192.168.1.4</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
ifconfig_<replaceable>em0</replaceable>_alias0="inet vhid <replaceable>2</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.51</replaceable>/32"
The third machine, <systemitem>hostc.example.org</systemitem>, is configured to handle failover from either master. This machine is configured with two <acronym>CARP</acronym> <acronym>VHID</acronym>s, one to handle the virtual <acronym>IP</acronym> address for each of the master hosts. The <acronym>CARP</acronym> advertising skew, <option>advskew</option>, is set to ensure that the backup host advertises later than the master, since <option>advskew</option> controls the order of precedence when there are multiple backup servers. Üçüncü makine, <systemitem> hostc.example.org </systemitem>, her iki master'dan da yük devretmeyi işleyecek şekilde yapılandırılmıştır. Bu makine, her ana ana bilgisayar için sanal <acronym> IP </acronym> adresini işlemek üzere iki <acronym> CARP </acronym> <acronym> VHID </acronym> s ile yapılandırılmıştır. <acronym> CARP </acronym> reklam eğriliği, <option> advskew </option>, <option> advskew </option>, birden çok yedekleme sunucusu vardır.
hostname="hostc.example.org"
ifconfig_<replaceable>em0</replaceable>="inet <replaceable>192.168.1.5</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
ifconfig_<replaceable>em0</replaceable>_alias0="inet vhid <replaceable>1</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.50</replaceable>/32"
ifconfig_<replaceable>em0</replaceable>_alias1="inet vhid <replaceable>2</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.51</replaceable>/32"
hostname="hostc.example.org"
ifconfig_<replaceable>em0</replaceable>="inet <replaceable>192.168.1.5</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
ifconfig_<replaceable>em0</replaceable>_alias0="inet vhid <replaceable>1</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.50</replaceable>/32"
ifconfig_<replaceable>em0</replaceable>_alias1="inet vhid <replaceable>2</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> alias <replaceable>192.168.1.51</replaceable>/32"
Having two <acronym>CARP</acronym> <acronym>VHID</acronym>s configured means that <systemitem>hostc.example.org</systemitem> will notice if either of the master servers becomes unavailable. If a master fails to advertise before the backup server, the backup server will pick up the shared <acronym>IP</acronym> address until the master becomes available again. İki <acronym> CARP </acronym> <acronym> VHID </acronym> yapılandırılmış olması, <systemitem> hostc.example.org </systemitem> öğesinin, ana sunuculardan birinin kullanılamaz hale geldiğini fark edeceği anlamına gelir. Bir ana sunucu yedekleme sunucusundan önce reklam veremezse, ana sunucu yeniden kullanılabilir hale gelinceye kadar yedekleme sunucusu paylaşılan <acronym> IP </acronym> adresini alır.
If the original master server becomes available again, <systemitem>hostc.example.org</systemitem> will not release the virtual <acronym>IP</acronym> address back to it automatically. For this to happen, preemption has to be enabled. The feature is disabled by default, it is controlled via the <citerefentry><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry> variable <varname>net.inet.carp.preempt</varname>. The administrator can force the backup server to return the <acronym>IP</acronym> address to the master: Orijinal ana sunucu yeniden kullanılabilir duruma gelirse, <systemitem> hostc.example.org </systemitem> sanal <acronym> IP </acronym> adresini otomatik olarak geri bırakmaz. Bunun olabilmesi için önleme etkinleştirilmelidir. Bu özellik varsayılan olarak devre dışıdır, <citerefentry><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum> </citerefentry> değişkeni <varname> net.inet.carp.preempt </varname> . Yönetici, yedekleme sunucusunu <acronym> IP </acronym> adresini master'a geri göndermeye zorlayabilir:
<prompt>#</prompt> <userinput>ifconfig em0 vhid 1 state backup</userinput> <prompt>#</prompt> <userinput>ifconfig em0 vhid 1 state backup</userinput>
Once the configuration is complete, either restart networking or reboot each system. High availability is now enabled. Yapılandırma tamamlandıktan sonra, ağı yeniden başlatın veya her sistemi yeniden başlatın. Yüksek kullanılabilirlik artık etkinleştirildi.
<acronym>CARP</acronym> functionality can be controlled via several <citerefentry><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry> variables documented in the <citerefentry><refentrytitle>carp</refentrytitle><manvolnum>4</manvolnum></citerefentry> manual pages. Other actions can be triggered from <acronym>CARP</acronym> events by using <citerefentry><refentrytitle>devd</refentrytitle><manvolnum>8</manvolnum></citerefentry>. <acronym> CARP </acronym> işlevselliği, <citerefentry> <refentrytitle> sazan balığı / <citerefentry> carp < refentrytitle> <manvolnum> 4 </manvolnum> </citerefentry> manuel sayfalar. <citerefentry><refentrytitle>devd</refentrytitle><manvolnum>8</manvolnum> </citerefentry> kullanılarak diğer eylemler <acronym> CARP </acronym> olaylarından tetiklenebilir.
Using <acronym>CARP</acronym> on FreeBSD 9 and Earlier FreeBSD 9 ve Önceki Sürümlerinde <acronym> CARP </acronym> kullanma
The configuration for these versions of FreeBSD is similar to the one described in the previous section, except that a <acronym>CARP</acronym> device must first be created and referred to in the configuration. FreeBSD'nin bu versiyonları için konfigürasyon, bir önceki kısımda tarif edilene benzerdir, ancak konfigürasyonda bir <acronym> CARP </acronym> cihazı oluşturulmalı ve bunlara atıfta bulunulmalıdır.
Enable boot-time support for <acronym>CARP</acronym> by loading the <filename>if_carp.ko</filename> kernel module in <filename>/boot/loader.conf</filename>: <filename> /boot/loader.conf </filename> içine <filename> if_carp.ko </filename> çekirdek modülünü yükleyerek <acronym> CARP </acronym> için önyükleme zamanı desteğini etkinleştirin:
if_carp_load="YES" if_carp_load="YES"
Next, on each host, create a <acronym>CARP</acronym> device: Ardından, her ana bilgisayarda bir <acronym> CARP </acronym> cihazı oluşturun:
<prompt>#</prompt> <userinput>ifconfig carp0 create</userinput> <prompt>#</prompt> <userinput>ifconfig carp0 create</userinput>
Set the hostname, management <acronym>IP</acronym> address, the shared <acronym>IP</acronym> address, and <acronym>VHID</acronym> by adding the required lines to <filename>/etc/rc.conf</filename>. Since a virtual <acronym>CARP</acronym> device is used instead of an alias, the actual subnet mask of <literal>/24</literal> is used instead of <literal>/32</literal>. Here are the entries for <systemitem>hosta.example.org</systemitem>: <filename> / etc / rc dizinine gerekli satırları ekleyerek ana makine adını, <acronym> IP </acronym> adresini, paylaşılan <acronym> IP </acronym> adresini ve <acronym> VHID </acronym> ayarlarını yapın. conf </ filename>. Takma ad yerine sanal bir <acronym> CARP </acronym> cihazı kullanıldığından, <literal> / 32 </literal> yerine <literal> / 24 </literal> gerçek alt ağ maskesi kullanılır. <systemitem> hosta.example.org </systemitem> girdileri:
hostname="<replaceable>hosta.example.org</replaceable>"
ifconfig_<replaceable>fxp0</replaceable>="inet <replaceable>192.168.1.3</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
cloned_interfaces="carp0"
ifconfig_carp0="vhid <replaceable>1</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.50/24</replaceable>"
hostname="<replaceable>hosta.example.org</replaceable>"
ifconfig_<replaceable>fxp0</replaceable>="inet <replaceable>192.168.1.3</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
cloned_interfaces="carp0"
ifconfig_carp0="vhid <replaceable>1</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.50/24</replaceable>"
On <systemitem>hostb.example.org</systemitem>: <systemitem> hostb.example.org </systemitem> 'de:
hostname="<replaceable>hostb.example.org</replaceable>"
ifconfig_<replaceable>fxp0</replaceable>="inet <replaceable>192.168.1.4</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
cloned_interfaces="carp0"
ifconfig_carp0="vhid <replaceable>2</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.51/24</replaceable>"
hostname="<replaceable>hostb.example.org</replaceable>"
ifconfig_<replaceable>fxp0</replaceable>="inet <replaceable>192.168.1.4</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
cloned_interfaces="carp0"
ifconfig_carp0="vhid <replaceable>2</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.51/24</replaceable>"
The third machine, <systemitem>hostc.example.org</systemitem>, is configured to handle failover from either of the master hosts: Üçüncü makine, <systemitem> hostc.example.org </systemitem>, ana bilgisayarlardan herhangi birinden yük devretmeyi işleyecek şekilde yapılandırılmıştır:
hostname="<replaceable>hostc.example.org</replaceable>"
ifconfig_<replaceable>fxp0</replaceable>="inet <replaceable>192.168.1.5</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
cloned_interfaces="carp0 carp1"
ifconfig_carp0="vhid <replaceable>1</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.50/24</replaceable>"
ifconfig_carp1="vhid <replaceable>2</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.51/24</replaceable>"
hostname="<replaceable>hostc.example.org</replaceable>"
ifconfig_<replaceable>fxp0</replaceable>="inet <replaceable>192.168.1.5</replaceable> netmask <replaceable>255.255.255.0</replaceable>"
cloned_interfaces="carp0 carp1"
ifconfig_carp0="vhid <replaceable>1</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.50/24</replaceable>"
ifconfig_carp1="vhid <replaceable>2</replaceable> advskew <replaceable>100</replaceable> pass <replaceable>testpass</replaceable> <replaceable>192.168.1.51/24</replaceable>"
Preemption is disabled in the <filename>GENERIC</filename> FreeBSD kernel. If preemption has been enabled with a custom kernel, <systemitem>hostc.example.org</systemitem> may not release the <acronym>IP</acronym> address back to the original content server. The administrator can force the backup server to return the <acronym>IP</acronym> address to the master with the command: <filename> GENERIC </filename> FreeBSD çekirdeğinde önleme devre dışı bırakıldı. Önleme özel bir çekirdekle etkinleştirildiyse, <systemitem> hostc.example.org </systemitem>, <acronym> IP </acronym> adresini orijinal içerik sunucusuna bırakmayabilir. Yönetici, yedekleme sunucusunu <acronym> IP </acronym> adresini master ile şu komutla döndürmeye zorlayabilir:
<prompt>#</prompt> <userinput>ifconfig carp0 down &amp;&amp; ifconfig carp0 up</userinput> <prompt>#</prompt> <userinput>ifconfig carp0 down &amp;&amp; ifconfig carp0 up</userinput>
This should be done on the <filename>carp</filename> interface which corresponds to the correct host. Bu, doğru ana bilgisayara karşılık gelen <filename> carp </filename> arabiriminde yapılmalıdır.
VLANs VLANs
<primary><acronym>VLANs</acronym></primary> <primary><acronym>VLANs</acronym></primary>
<primary>Virtual LANs</primary> <primary>Virtual LANs</primary>
<acronym>VLANs</acronym> are a way of virtually dividing up a network into many different subnetworks, also referred to as segmenting. Each segment will have its own broadcast domain and be isolated from other <acronym>VLANs</acronym>. <acronym> VLAN'lar </acronym>, bir ağı, bölümleme olarak da adlandırılan birçok farklı alt ağa sanal olarak bölmenin bir yoludur. Her bölümün kendi yayın alanı olacaktır ve diğer <acronym> VLAN'lardan </acronym> izole edilecektir.

Loading…

if_carp_load="YES"
if_carp_load="YES"
6 months ago
Browse all component changes

Things to check

Unchanged translation

Source and translation are identical

Reset

Glossary

English Turkish (tr_TR)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/programlisting
Flags
no-wrap
Source string location
book.translate.xml:65535
String age
8 months ago
Source string age
a year ago
Translation file
books/tr_TR/handbook.po, string 11299