Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-27-generic x86_64)

ㄴ /etc/update-motd.d/00-header


 * Documentation:  https://help.ubuntu.com/

ㄴ /etc/update-motd.d/10-help-text


  System information as of Mon Feb 29 22:02:53 KST 2016

ㄴ /etc/update-motd.d/50-landscape-sysinfo

ㄴ     echo -n "  System information as of "

ㄴ     /bin/date



###############################################################

  System load:  0.01              Processes:           80

  Usage of /:   2.7% of 46.86GB   Users logged in:     0

  Memory usage: 5%                IP address for eth0: 14.0.81.253

  Swap usage:   0%


  Graph this data and manage this system at:

    https://landscape.canonical.com/


ㄴ     echo

ㄴ    /usr/bin/landscape-sysinfo


###############################################################


13 packages can be updated.

13 updates are security updates.

ㄴ /etc/update-motd.d/90-updates-available



The programs included with the Ubuntu system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.


Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by

applicable law.



### 명령어 실행시키면 서버 꺼질까봐 무서워서 실행안시킴

98-fsck-at-reboot     

    exec /usr/lib/update-notifier/update-motd-fsck-at-reboot


98-reboot-required

    exec /usr/lib/update-notifier/update-motd-reboot-required



'Linux > Document' 카테고리의 다른 글

swap size  (0) 2017.03.09
mmm  (0) 2016.05.09
keepalived + haproxy + dns  (0) 2016.04.07
mariadb galera cluster 10.0 centos 6.x + LVS(LB)  (0) 2016.03.25
glusterFS  (0) 2016.03.04

### glusterFS install


ㅁ install


yum install -y wget


rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm


wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/glusterfs-epel.repo


yum install -y glusterfs-server

yum install -y glusterfs-geo-*




ㅁ 방화벽 제거

systemctl stop firewalld



ㅁ Disk job


fdisk /dev/vdb (linux partition job)


mkfs.xfs -i size=512 /dev/vdb1


mkdir -p /export/vdb1 && mount /dev/vdb1 /export/vdb1 && mkdir -p /export/vdb1/brick


echo "/dev/vdb1 /export/vdb1 xfs defaults 0 0" >> /etc/fstab



ㅁ gluster configure


gluster peer probe 1.1.1.1

gluster peer probe 1.1.1.2

gluster peer probe 1.1.1.3

gluster peer probe 1.1.1.4

.

.

.

gluster peer probe 1.1.1.10


gluster volume create t_vol replica 2 transport tcp 1.1.1.1:/export/vdb1/brick 1.1.1.2:/export/vdb1/brick 1.1.1.3:/export/vdb1/brick 1.1.1.4:/export/vdb1/brick 1.1.1.5:/export/vdb1/brick 1.1.1.6:/export/vdb1/brick 1.1.1.7:/export/vdb1/brick 1.1.1.8:/export/vdb1/brick 1.1.1.9:/export/vdb1/brick 1.1.1.10:/export/vdb1/brick



ㅁ client configure


yum install -y glusterfs

yum install -y glusterfs-fuse


mount -t glusterfs 1.1.1.1:/t_vol /storage-test

1.1.1.1:/t_vol  500G  162M  500G   1% /storage-test

mount -t glusterfs 1.1.1.7:/t_vol /storage-test

1.1.1.7:/t_vol  500G  162M  500G   1% /storage-test



'Linux > Document' 카테고리의 다른 글

swap size  (0) 2017.03.09
mmm  (0) 2016.05.09
keepalived + haproxy + dns  (0) 2016.04.07
mariadb galera cluster 10.0 centos 6.x + LVS(LB)  (0) 2016.03.25
ubuntu banner 설정  (0) 2016.03.04

+ Recent posts