Table of Contents |
---|
The bsr installation package is packages are available for Windows and Linux. For Linux, separated into rpm packages for CentOS (RHEL) 6.4 or higher rpm package and and later and deb packages for Ubuntu 16.04 LTS or higher deb package are distributedand later. To obtain the installation packagepackages, please contact Mantech Technical Lab.(dev3@mantechbsr@mantech.co.kr)
Note |
---|
Notice
...
Cautions BSR conflicts with DRBD for system resource usage when installed and operated together. If |
...
DRBD was previously installed on your system, |
...
it should be removed. |
Windows
...
Install
You can easily install it by running the installer for Windows and following the steps in guided by the installation wizard. After Once the installation is complete, you will 'll need to reboot your system.
Information
...
Install information
After a successful installation, the directory is configured will be organized as shown below.
binContains
The location of the binary programs that make up
...
BSR.
etcPath
The path to the configuration
...
files.
jrePath
The path to the Java runtime environment for the installation package.
bsrservicePath
The path to the bsr service binary.
The bsr service performs initialization
...
tasks for performing replication.
...
Careful control of the service is
...
required because replication
...
can be interrupted
...
if the service is interrupted.
Info |
---|
Windows ' bsr uses local TCP loopback ports 5678 and 5679 internally to perform TCP loopback communicationfor netlinks and services. To change this default portthese ports, you need to must change the value of the key value in the following registry path and restart the system. pathPath: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bsr\ keyKeys: netlinknetlink_tcp_port, daemondaemon_tcp_port |
Update
If you reinstall a new version of a package while with BSR is installed, the update installation is performed done automatically.
Info |
---|
Re-installing the existing version by You can also reinstall the program after 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
...
Control Panel, but be sure to restart the system after deletion. If you proceed directly to reinstalling the program without restarting, you should be careful because the system crashes due to abnormal installation. |
Uninstall
You can delete the BSR package from Programs and Features in Control Panel. The machine needs to be rebooted You must reboot the machine after deletion.
...
Replacing a NIC
If the LAN card is replaced after bsr installation, you replace a lan card after installing BSR, you must reapply the contents of Disable TCP Delayed ACK must be reapplied by using the bsrcon /nodelayedack <resource> command.
Linux
Linux distributes kernel modules and utility packages separately, so each must be installed individually and bsr services must be configured separately.
...
Secure boot support
...
Install - RHEL
Utility
Info |
---|
[root@bsr-01 x86_64]# rpm -ivh bsr-utils-1.6-A3.el7.x86_64.rpm |
Kernel Module
Info |
---|
[root@bsr-01 bsr]# rpm -ivh kmod-bsr-1.6_3.10.0_957-A3.el7.x86_64.rpm |
Secure Boot
If Secure Boot is disabled on your system, you don't need to set up Secure Boot.
The public key is installed in the /etc/pki/mantech/
...
path during the kernel module installation process. In order to enroll that public key in the UEFI console, we first import it as follows.
Info |
---|
#mokutil --import /etc/pki/mantech/bsr_signing_key_pub.der input password: input password again: The password can be freely selected and will be applied after reboot. |
Installation
Kernel Module
CentOS
Info |
---|
[root@bsr-01 bsr]# rpm -ivh kmod-bsr-1.6_3.10.0_957-A3.el7.x86_64.rpm |
Ubuntu
Reboot after specifying the password. At reboot time, enroll the corresponding public key in the UEFI console.
Install - Ubuntu
Required Packages
The Ubuntu package uses Dynamic Kernel Module Support (DKMS), and which requires the installation of the following package installation is required for thispackages.
Info |
---|
root@ubuntu:/home/mantech# apt-get install git build-essential debhelper dkms docbook-xsl help2man python-all python-dbus python-gobject dh-systemd flex autoconf automake |
...
Utility
Info |
---|
root@ubuntu:/home/mantech# dpkg -i bsr-utils_1.6-A3_amd64.deb |
Kernel Module
Info |
---|
root@ubuntu:/home/mantech# dpkg -i bsr-dkms_1.6-A3_all.deb |
If the installation fails due to a dependency problemissue, you can use the command below to solve resolve the dependency problem issue and retrytry again.
Info |
---|
root@ubuntu:/home/mantech# apt-get -f -y install |
Utility
CentOS
Info |
---|
[root@bsr-01 x86_64]# rpm -ivh bsr-utils-1.6-A3.el7.x86_64.rpm |
Ubuntu
Info |
---|
root@ubuntu:/home/mantech# dpkg -i bsr-utils_1.6-A3_amd64.deb |
Load
Load the bsr module.
Info |
---|
[root@bsr-01 bsr]# modprobe bsr |
Service configuration
If you want bsr to start automatically at system startup, you should configure the bsr service and the svc-auto-up option. The default for svc-auto-up is yes.
CentOS 6
chkconfig bsr on
service bsr start
CentOS 7
systemctl enable bsr
systemctl start bsr
Code Block |
---|
resource r0 {
...
on hostname {
options {
svc-auto-up yes;
}
}
...
} |
Information
...
Secure Boot
The dkms package automatically generates MOKs and code signing for third-party drivers at the end of the installation.
If SecureBoot is disabled on your system, skip this step.
The screen below is displayed during module installation to register the generated public key.
...
After selecting OK, enter the password that will be used for MOK registration.
...
After rebooting the system, enter the UEFI console and register the public key with the system.
...
Info |
---|
|
Module Load
After rebooting, load the BSR module and verify that it succeeded.
Info |
---|
# modprobe bsr # lsmod |grep bsr bsr 52113408 0 libcrc32c 16384 4 nf_conntrack,nf_nat,bsr,xfs |
Info |
---|
[root@bsr-01 bsr]# modinfo bsr [root@bsr-01 x86_64]# bsradm -V |
Note |
---|
If the BSR module fails to load, refer to the manual code signing process in the Secure Boot Signing in Ubuntu article to walk through the signing process. |
Service Config.
If you want BSR to always start up automatically when the system starts, you must enable the BSR service and configure the svc-auto-up option. The default value of svc-auto-up is yes.
RHEL 6
...
Update
Remove Old Version
Service stop
Delete kernel module
Delete utility
Kernel Module
...
chkconfig bsr on
service bsr start
RHEL 7 or Ubuntu
systemctl enable bsr
systemctl start bsr
Code Block |
---|
resource r0 {
...
on hostname {
options {
svc-auto-up yes;
}
}
...
} |
Uninstall
Uninstalling goes through the following process
Stopping a Resource
Stop a service
Delete a kernel module
Delete a utility
RHEL
Info |
---|
rpm -e kmod-bsr rpm -e bsr-utils |
Ubuntu
Info |
---|
dpkg -r bsr-dkms dpkg -r bsr-utils |
Update
Updating is the act of deleting the version already installed and reinstalling the new version.
First, the product is uninstalled, followed by the following update process.
Utility Update
RHEL
Info |
---|
[root@bsr-01 bsr]# rpm -Uvh kmodbsr-bsrutils-1.6_3.10.0_957-A4.el7.x86_64.rpm |
Ubuntu
Info |
---|
root@ubuntu:/home/mantech# dpkg -i bsr-dkmsutils_1.6-A4_allamd64.deb |
...
Kernel Module Update
...
RHEL
Info |
---|
[root@bsr-01 bsr]# rpm -Uvh kmod-bsr-utils-1.6_3.10.0_957-A4.el7.x86_64.rpm |
Ubuntu
Info |
---|
root@ubuntu:/home/mantech# dpkg -i bsr-utilsdkms_1.6-A4_amd64all.deb |
Delete
CentOS
Info |
---|
rpm -e kmod-bsr rpm -e bsr-utils |
Ubuntu
...
dpkg -r bsr-dkms
...
Secure Boot
If the existing BSR module public key is already registered, no additional setup is required.
If the private-public key for code signing has been updated, you will need to perform the Secure Boot setup process described above again.