Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you reinstall a new version of a package while BSR is installed, the update installation is performed automatically.

Info

Re-installing the existing version by deleting it from the program and function of the control panel can be cumbersome since rebooting is required after deletion. It is not recommended to update after deleting from the control panel.

Delete

Deleting bsr can delete the bsr package from Programs and Features in Control Panel. The machine needs to be rebooted after deletion.

...

Linux distributes kernel modules and utility packages separately, so each must be installed individually and bsr services must be configured separately.

Installation

...

Installing kernel modules

Info

[root@bsr-01 bsr]# rpm -ivh /root/rpmbuild/RPMS/x86_64/kmod-bsr-1.6.0_2.6.32_754.24.3-PREALPHA3.el6.x86_64.rpm

...

Utility Installation

Info

[root@bsr-01 x86_64]# rpm -ivh /root/rpmbuild/RPMS/x86_64/bsr-utils-1.6.0-PREALPHA3.el6.x86_64.rpm

...

Load

Load the bsr 모듈을 적재 합니다module.

Info

[root@bsr-01 bsr]# modprobe bsr

서비스 구성

...

Service configuration

The bsr service must be configured to automatically start bsr whenever the system starts.

  • CentOS 6

    • chkconfig bsr on

    • service bsr start

  • CentOS 7

    • systemctl enable bsr

    • systemctl start bsr

Information

설치 후 정상 설치 여부를 모듈 정보를 통해 확인 합니다After installation, check whether the installation is normal through module information.

Info

[root@bsr-01 bsr]# modinfo bsr
filename: /lib/modules/2.6.32-754.24.3.el6.x86_64/extra/bsr/bsr.ko
license: GPL
alias: block-major-147-*
license: GPL
version: 1.6.0-PREALPHA3
description: bsr - Block Sync and Replication v1.6.0-PREALPHA3
author: Man Technology Inc. dev3@mantech.co.kr
retpoline: Y
srcversion: 8A7DAFDEC0E6383AFB76501
depends: libcrc32c
vermagic: 2.6.32-754.24.3.el6.x86_64 SMP mod_unload modversions
parm: minor_count:Approximate number of bsr devices (1-255) (uint)
parm: disable_sendpage:bool
parm: allow_oos:DONT USE! (bool)
parm: use_fast_sync:bool
parm: debug_fast_sync:bool
parm: enable_faults:int
parm: fault_rate:int
parm: fault_count:int
parm: fault_devs:int
parm: two_phase_commit_fail:int
parm: usermode_helper:string

[root@bsr-01 x86_64]# bsradm -V
BSRADM_BUILDTAG=GIT-hash:\ e3fff1406638405bef558c540c2622b24fc4e5f4\ build\ by\ root@centos803,\ 2020-03-09\ 02:02:01
BSRADM_API_VERSION=2
BSR_KERNEL_VERSION_CODE=0x000000
BSR_KERNEL_VERSION=0.0.0
BSRADM_VERSION_CODE=0x010600
BSRADM_VERSION=1.6.0-PREALPHA3

삭제

...

Deletion

The following is an example of the command to delete bsr.

Info

rpm -e kmod-bsr

rpm -e bsr-utils

...