https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/release_notes/sect-subscriptions


http://www.cbs1.com.my/WebLITE/Applications/news/uploaded/docs/Linux%20on%20Power%20Update%20and%20Strategy%20V1.0.pdf


https://www.ibm.com/developerworks/community/blogs/mhhaque/entry/How_Install_RHVM_Red_Hat_oVirt_Virtualization_Manager_on_Power_System_VM_or_LPAR?lang=en


https://www.ibm.com/developerworks/library/l-rhv-environment-trs/



http://fibrevillage.com/storage/279-hot-add-remove-rescan-of-scsi-devices-on-linux



Finding informations about SCSI devices

The first problem when working with SCSI devices might be to map informations you got from /proc/scsi/scsi to the device names the kernel uses like /dev/sda and so on.

Or you can use lsscsi utlity. Here's an example:

# lsscsi
[0:0:0:0]    disk    ATA      SEAGATE ST31000N SU0E  /dev/sda
[0:0:1:0]    disk    ATA      SEAGATE ST31000N SU0E  /dev/sdb
...
[1:0:1:0]    disk    ATA      SEAGATE ST31000N SU0E  /dev/sdj
[1:0:2:0]    disk    ATA      SEAGATE ST31000N SU0E  /dev/sdk
[1:0:3:0]    disk    ATA      HITACHI H7210CA3 A3CB  /dev/sdl
[1:0:4:0]    disk    ATA      HITACHI HUA7210S AC5A  /dev/sdm
...
[5:0:7:0]    disk    ATA      SEAGATE ST31000N SU0D  /dev/sdav
[6:0:0:0]    mediumx IBM      TS3500           0104  /dev/sch0
[6:0:1:0]    tape    IBM      ULT3580-TD5      0104  /dev/st0
[6:0:2:0]    tape    IBM      ULT3580-TD5      0104  /dev/st1

You can find same info by checking /proc/scsi/scsi

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: SEAGATE ST31000N Rev: SU0E
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA      Model: SEAGATE ST31000N Rev: SU0E
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: ATA      Model: SEAGATE ST31000N Rev: SU0E
  Type:   Direct-Access                    ANSI  SCSI revision: 05
...

In the example above

Host: scsi0 Channel: 00 Id: 01 Lun: 00 
is the same device of [0:0:0:0] in the output of lsscsi

Where the output

          h == hostadapter id (first one being 0)
          c == SCSI channel on hostadapter (first one being 0)
          t == ID
          l == LUN (first one being 0)

Rescan of a SCSI bus

Surely reboot a server will let the scsi device get rescanned. But this is not the prefered way. The easiest way is to rescan the whole SCSI bus which will enable the Linux kernel to detect new devices!

To issue a SCSI bus rescan you must know on which bus you've added the device. If you don't know which bus and if there are mutliple buses on the system you can rescan each bus which will be somehow annoying but will not interrupt the system. 
To initiate a SCSI bus rescan type

echo "- - -" > /sys/class/scsi_host/host<H>/scan

where H stands for the SCSI bus you want to scan.

# lsscsi
...
[1:0:0:7]    disk    IBM      1814      FAStT  1060  /dev/sdb
[1:0:0:8]    disk    IBM      1814      FAStT  1060  /dev/sdc
[1:0:0:10]   disk    IBM      1814      FAStT  1060  /dev/sde
# echo "- - -" > /sys/class/scsi_host/host1/scan
# lsscsi
...
[1:0:0:7]    disk    IBM      1814      FAStT  1060  /dev/sdb
[1:0:0:8]    disk    IBM      1814      FAStT  1060  /dev/sdc
[1:0:0:9]    disk    IBM      1814      FAStT  1060  /dev/sdd
[1:0:0:10]   disk    IBM      1814      FAStT  1060  /dev/sde

Well done, we got /dev/sdd back.

By the way this does not only work for disks but also for SCSI CD/DVD devices.

You can still use the old way, to get sdd back

echo "scsi add-single-device 1 0 0 9" > /proc/scsi/scsi

For more devices, you have to repeat the same for all devices

Deletion of a SCSI Device

There might be the situation where you must remove a SCSI device from the system.

Easy by using

    echo 1 > /sys/class/scsi_device/h:c:t:l/device/delete
    or
    echo 1 > /sys/block/<dev>/device/delete
    where <dev> is like sda or sdb etc..

Here's an example:

# echo 1 > /sys/block/sdau/device/delete 
# lsscsi | grep sdau
#

Now you see the device sdau is gone.

In old way, this is what you would like to do

echo "scsi remove-single-device h c t l" > /proc/scsi/scsi

Add a SCSI Device back

Surely this can be done just rescan the SCSI bus that the disk seats inuse wildcard like below

    echo "- - -" > /sys/class/scsi_host/host<h>/scan

You can also do this if you know the device SCSI location h:c:t:l

    echo "c t l" >  /sys/class/scsi_host/host<h>/scan

Old way

    echo "scsi add-single-device a b c d" > /proc/scsi/scsi

Rescan of a SCSI Device

The problem of a SCSI bus rescan is, that it will only detect new devices. Can a existing or missing device be rescanned?

Sure, here is it

echo 1 > /sys/block/sdau/device/rescan 
or
echo 1 > /sys/class/scsi_device/h:c:t:l/device/rescan

 In SAN environment, there is a easier way to manage SAN scsi devices, see Sysfs fibre channel tools


'IBM PowerLinux > REDHAT' 카테고리의 다른 글

RHV RHVM 관련  (0) 2018.08.07
Redhat Nouveau 내장그래픽카드 nvidia 드라이버 설치 삭제  (0) 2018.07.03
CentOS 7 bonding nmcli  (0) 2017.11.01
gnome login screen id  (0) 2016.08.11
Linux semaphore  (0) 2016.07.11

 

 

 

 

 

How to disable the Nouveau driver and install the Nvidia driver in RHEL 7

 

 

 

 

 

How to uninstall proprietary "Nvidia" module and switch back to Red Hat shipped "Nouveau" module ?

 

 

 

 

 

 

How to remove Nvidia drivers and switch back to nouveau for Red Hat Enterprise Linux 7?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'IBM PowerLinux > REDHAT' 카테고리의 다른 글

RHV RHVM 관련  (0) 2018.08.07
Hot add, remove, rescan of SCSI devices on Linux  (0) 2018.07.09
CentOS 7 bonding nmcli  (0) 2017.11.01
gnome login screen id  (0) 2016.08.11
Linux semaphore  (0) 2016.07.11

 

CentOS7에서 nmcli를 사용하여 본딩 설정을 할 수 있습니다.

이전

  • 네트워크 워크의 페이스 북이 2 つ ある
  • 양방향으로도 스위치 연결이되어있는
  • 片方 だけ IP 주소가 설정되어있어 유효하게 된 것

↓ こ ん な 환경

$ nmcli c
NAME      UUID                                  TYPE            DEVICE
enp8s0f0  86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  enp8s0f0
enp8s0f1  5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 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
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp8s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether a8:0c:0d:xx:xx:xxe brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.100/24 brd 192.168.0.255 scope global enp8s0f0
       valid_lft forever preferred_lft forever
    inet6 fe80::aa0c:dff:xxxx:xxxx/64 scope link
       valid_lft forever preferred_lft forever
3: enp8s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether a8:0c:0d:xx:xx:xx brd ff:ff:ff:ff:ff:ff

본딩을 추가하는

$ sudo nmcli connection add type bond autoconnect no con-name jamesbond ifname jamesbond mode active-backup
Connection 'jamesbond' (3f972a86-feaf-4fd3-89c0-0b781d76aa18) successfully added.
$ nmcli c
NAME       UUID                                  TYPE            DEVICE
enp8s0f0   86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  enp8s0f0
jamesbond  3f972a86-feaf-4fd3-89c0-0b781d76aa18  bond            --
enp8s0f1   5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --

노예를 추가하는 것

한마디로 사용하지 않는 인터페이스를 노예로 추가

$ sudo nmcli connection add type bond-slave autoconnect no ifname enp8s0f1 master jamesbond
Connection 'bond-slave-enp8s0f1' (30170a37-4157-44be-99dd-9e99442839ff) successfully added.
$ nmcli c
NAME                 UUID                                  TYPE            DEVICE
jamesbond            3f972a86-feaf-4fd3-89c0-0b781d76aa18  bond            --   
enp8s0f0             86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  enp8s0f0
bond-slave-enp8s0f1  30170a37-4157-44be-99dd-9e99442839ff  802-3-ethernet  --   
enp8s0f1             5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --

연결. *을 확인하고 jamesbond의 노예 같은 것 그것이가 우리에게 있습니다

$ nmcli -f connection c s bond-slave-enp8s0f1
connection.id:                          bond-slave-enp8s0f1
connection.uuid:                        30170a37-4157-44be-99dd-9e99442839ff
connection.interface-name:              enp8s0f1
connection.type:                        802-3-ethernet
connection.autoconnect:                 no
connection.timestamp:                   0
connection.read-only:                   no
connection.permissions:
connection.zone:                        --
connection.master:                      jamesbond
connection.slave-type:                  bond
connection.secondaries:
connection.gateway-ping-timeout:        0

자동 연결이 유효 할 때 DHCP 서버가 사용하는 것과이 시점에서 IP 주소가 진동 된 경우가 있습니다.

본딩 휄로우에 IP 주소 등을 설정하는 것

설정 전

$ nmcli -f ipv4 c s jamesbond
ipv4.method:                            auto
ipv4.dns:
ipv4.dns-search:
ipv4.addresses:
ipv4.routes:
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes

설정

$ sudo nmcli c e jamesbond
nmcli> set ipv4.method manual
nmcli> set ipv4.dns 192.168.0.5,192.168.0.6
nmcli> set ipv4.dns-search example.com
nmcli> set ipv4.addresses 192.168.0.100/24 192.168.0.1
nmcli> p ipv4
['ipv4' setting values]
ipv4.method:                            manual
ipv4.dns:                               192.168.0.5, 192.168.0.6
ipv4.dns-search:                        example.com
ipv4.addresses:                         { ip = 192.168.0.100/24, gw = 192.168.0.1 }
ipv4.routes:
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
nmcli> verify
Verify connection: OK
nmcli> save
Connection 'jamesbond' (3f972a86-feaf-4fd3-89c0-0b781d76aa18) successfully updated.
nmcli> quit

재시작에서 자동 연결을 조정할 것

sudo sed -i -e 's/ONBOOT=no/ONBOOT=yes/' /etc/sysconfig/network-scripts/ifcfg-bond-slave-enp8s0f1
sudo sed -i -e 's/ONBOOT=no/ONBOOT=yes/' /etc/sysconfig/network-scripts/ifcfg-jamesbond
sudo nmcli c m enp8s0f0 connection.autoconnect no

재시작

$ sudo service network restart; sudo nmcli c up bond-slave-enp8s0f1

1 행으로 입력하지 않아도 노예가 올라갔습니다. 그런데 네트워크 액세스가 눈에 띄지 않게 낫습니다.도, OS에서 다시 부팅 할 때까지 할 수 있습니다. 에 걸레가 없다는 것.

심지어 한쪽의 페이스 북도 본딩에 추가

$ sudo nmcli connection add type bond-slave ifname enp8s0f0 master jamesbond

이번은 autoconnect의 지정은 없습니다 (기본값 yes)로 ok

$ nmcli c
NAME                 UUID                                  TYPE            DEVICE
jamesbond            0f731c67-075e-447a-8ddb-c7a4b9dd0d81  bond            jamesbond
bond-slave-enp8s0f1  9bb37dd8-24ed-4335-9e5e-b3a1da8fa51c  802-3-ethernet  enp8s0f1
enp8s0f1             5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --   
bond-slave-enp8s0f0  bdb5239b-a868-40e2-8ff7-81be4313efac  802-3-ethernet  enp8s0f0
enp8s0f0             86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  --
$ cat /proc/net/bonding/jamesbond
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: enp8s0f1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: enp8s0f1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: a8:0c:0d:xx:xx:xx
Slave queue ID: 0

Slave Interface: enp8s0f0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: a8:0c:0d:xx:xx:xx
Slave queue ID: 0

つ な で は, 노예를 갈아 입히다

$ sudo ifenslave -c jamesbond enp8s0f0
$ grep 'Active Slave:' /proc/net/bonding/jamesbond
Currently Active Slave: enp8s0f0
$ sudo ifenslave -c jamesbond enp8s0f1
$ grep 'Active Slave:' /proc/net/bonding/jamesbond
Currently Active Slave: enp8s0f1

bonding을 해제하는

enp8s0f1이 (가) Active Slave에서 enp8s0f0을 (를) 설정하지 않도록 설정

$ nmcli c
NAME                 UUID                                  TYPE            DEVICE
jamesbond            0f731c67-075e-447a-8ddb-c7a4b9dd0d81  bond            jamesbond
bond-slave-enp8s0f1  9bb37dd8-24ed-4335-9e5e-b3a1da8fa51c  802-3-ethernet  enp8s0f1
enp8s0f1             5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --   
bond-slave-enp8s0f0  bdb5239b-a868-40e2-8ff7-81be4313efac  802-3-ethernet  enp8s0f0
enp8s0f0             86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  --
$ sudo nmcli c del bond-slave-enp8s0f0
$ nmcli c
NAME                 UUID                                  TYPE            DEVICE
jamesbond            0f731c67-075e-447a-8ddb-c7a4b9dd0d81  bond            jamesbond
bond-slave-enp8s0f1  9bb37dd8-24ed-4335-9e5e-b3a1da8fa51c  802-3-ethernet  enp8s0f1
enp8s0f1             5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --   
enp8s0f0             86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  --

bond-slave-enp8s0f0가 사라 졌으므로 enp8s0f0를 다시 설정하지만, 앞의 것이 남아있는 것이 자동 연결을하는 것뿐입니다.

$ nmcli -f connection,ipv4 c s enp8s0f0
connection.id:                          enp8s0f0
connection.uuid:                        86b340dd-08f8-4067-95da-64e5d065c9e2
connection.interface-name:              --
connection.type:                        802-3-ethernet
connection.autoconnect:                 no
connection.timestamp:                   1407189160
connection.read-only:                   no
connection.permissions:
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.secondaries:
connection.gateway-ping-timeout:        0
ipv4.method:                            manual
ipv4.dns:                               192.168.0.5, 192.168.0.6
ipv4.dns-search:                        example.com
ipv4.addresses:                         { ip = 192.168.0.100/24, gw = 192.168.0.1 }
ipv4.routes:
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes

nmcli connection edit enp8s0f0set connection.autoconnect yesし てsave과연, す ぐ に に し ちゃ う から modify コ マン ド を 使 い と.

bonding 인터 페이스가 자동으로 작동하지 않는 것처럼, enp8s0f0이 작동하는 것처럼

$ sudo nmcli c m jamesbond connection.autoconnect no
$ sudo nmcli c m bond-slave-enp8s0f1 connection.autoconnect no
$ sudo nmcli c m enp8s0f0 connection.autoconnect yes

네트워크 서비스 재시작

$ sudo service network restart

본딩을 掃除

$ sudo nmcli c del bond-slave-enp8s0f1
$ sudo nmcli c del jamesbond
$ nmcli c
NAME      UUID                                  TYPE            DEVICE
enp8s0f1  5ddd53ce-04fc-4def-8c28-142c5c1e3f4a  802-3-ethernet  --
enp8s0f0  86b340dd-08f8-4067-95da-64e5d065c9e2  802-3-ethernet  enp8s0f0

'IBM PowerLinux > REDHAT' 카테고리의 다른 글

Hot add, remove, rescan of SCSI devices on Linux  (0) 2018.07.09
Redhat Nouveau 내장그래픽카드 nvidia 드라이버 설치 삭제  (0) 2018.07.03
gnome login screen id  (0) 2016.08.11
Linux semaphore  (0) 2016.07.11
NETWORK Bonding  (0) 2016.06.29



/var/lib/accountsservice/users

'IBM PowerLinux > REDHAT' 카테고리의 다른 글

Hot add, remove, rescan of SCSI devices on Linux  (0) 2018.07.09
Redhat Nouveau 내장그래픽카드 nvidia 드라이버 설치 삭제  (0) 2018.07.03
CentOS 7 bonding nmcli  (0) 2017.11.01
Linux semaphore  (0) 2016.07.11
NETWORK Bonding  (0) 2016.06.29





How to view the current semaphore values

To view the maximum number of semaphores and semaphore sets which can be created, type:

cat /proc/sys/kernel/sem


File description: /proc/sys/kernel/sem

This file contains 4 numbers defining limits for System V IPC semaphores. These fields are, in order:

SEMMSL - The maximum number of semaphores in a sempahore set.
SEMMNS - A system-wide limit on the number of semaphores in all semaphore sets. The maximum number of sempahores in the system.

SEMOPM - The maximum number of operations in a single semop call

SEMMNI - A system-widerff limit on the maximum number of semaphore identifiers (sempahore sets)





How to change the semaphore values on Linux


# echo 250 32000 256 256 > /proc/sys/kernel/sem

# cat /proc/sys/kernel/sem
250 32000 256 256



To make the change permanent, add or change the following line in the file /etc/sysctl.conf. This file is used during the boot process.


# echo "kernel.sem = 250 32000 256 256" >> /etc/sysctl.conf




Revised file content for /etc/sysctl.conf


# more /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
kernel.sem=250 32000 256 256


# cat /proc/sys/kernel/sem
250 32000 256 256

 

RHEL 6.4 Bonding

- ent0 & ent1 본딩 구성 예

 1. 랜카드 인식 확인
  - #ifconfig


 2. 필요 파일 생성(#cd /etc/sysconfig/network-scripts 확인 후 있는 파일 빼고 생성)

  - #touch /etc/sysconfig/network-scripts/ifcfg-bond0

  - #touch /etc/sysconfig/network-scripts/ifcfg-eth0

  - #touch /etc/sysconfig/network-scripts/ifcfg-eth1


 3. ifcfg-bond0 파일 수정 (vi로 아래 내용 입력 후 저장)

  - #vi /etc/sysconfig/network-scripts/ifcfg-bond0

    DEVICE=bond0
    IPADDR= 000.000.000.000 /* 자신의 IP 입력 */
    NETMASK=000.000.000.000 /* 넷마스크 */
    GATEWAY=000.000.000.000 /* 게이트웨이 */
    DNS1=000.000.000.000 /* DNS */
    DNS2=000.000.000.000 /*보조 DNS */
    USERCTL=no
    BOOTPROTO=none
    ONBOOT=yes
    NM_CONTROLLED=no

    /* 고정 IP가 아닌 경우 BOOTPROTO=dhcp 로 */


 4. eth0 파일 수정

  - vi /etc/sysconfig/network-scripts/ifcfg-eth0

    DEVICE=eth0
    USERCTR=no
    BOOTPROTO=none
    NM_CONTROLLED=no
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes


 5. eth1 파일 수정(eth0 수정 후 : #sed 's/eth0/eth1/' ifcfg-eth0 > ifcfg-eth1 이용으로 간편히 수정, 생성)

  - vi /etc/sysconfig/network-scripts/ifcfg-eth1

    DEVICE=eth1
    USERCTR=no
    BOOTPROTO=none
    NM_CONTROLLED=no
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes


 6. bonding.conf 파일 수정

  - #touch /etc/modprobe.d/bonding.conf

  - vi /etc/modprobe.d/bonding.conf
   
    alias bond0 bonding
    options bond0 mode=1 miimon=100
    /* mode 0 - balance-rr : (Round Robin)Load Balancing, 송신할 패킷마다 사용하는  NIC 변경
       mode 1 - active-backup : Failover, bond  내에서 한 개의 Slave만 사용, 포트 문제 발상시 다른  Slave가 Enable
       mode 2 - blance-xor : Load Balancing, 소스와 목적지의 MAC을 XOR 연사을 통해 사용할 NIC을 결정하여 분배
       mode 3 - Broadcast : Fault-Tolerance, 모든 Slave로 데이터 전송(failover), 일반적으로 잘 사용 안 함.
       mode 4 - 802.3ad : Dynamic Link Aggregation, IEEE 802.3ad 프로토콜을 이용하여 동적 Aggregation 작성
     대역폭 상승, 부하 분산, Failover 지원
       mode 5 - blance-tlb(TLB) : 적응형 송신 부하 분산, 송신패킷 로드밸런싱, 송신 시 부하가 낮은 NIC 이용
       mode 6 - blance-alb(ALB) : 적응형 부하 분산, 송수신 패킷 로드 밸런싱, 송수신시 부하가 낮은 NIC를 사용
   
       miimon : 네트워크 인터페이스가 살아있는지 확인하는데 사용, 단위 0.001초, 기본 값은 0, 0으로 설정 시 failover 비활성화


 7. network 수정

  - vi /etc/sysconfig/network

    NETWORKING=yes
    NETWORKING_IPV6=no
    HOSTNAME=자기호스트 이름
    GATEWAYDEV=bond0
    기타 있는 문구는 그냥 둠.


 8. 본딩 모듈 적용

  - #modprobe bonding


 9. 네트워크 서비스 재시작

  - #service network restart


 10. bond0 인터페이스 Master 확인, 나머지 NIC Slave 확인
  - #ifconfig


 11. 물리적 테스트로 확인.


 12. 완료

 

+ Recent posts