Update-alternatives is a tool dedicated to maintaining system command links in Linux systems, which makes it easy to set which command to use by default, which software version, for example, we have both open jdk and Sun JDK Two versions installed in the system. And we want the system to use the sun JDK by default, what should we do? Through the update-alternatives can be very convenient to achieve.To view
Word, tool update-alternatives is the function of the management system under the similar function of the symbolic link, the way is to have a similar function of the program, not directly call the program, but with a unified symbolic link to call, as to the symbolic linkWhich of the similar function programs is pointed to, is configured and managed by the tool update-alternatives.It's very abstract, so let's take an example and see what's going on nat
Alternatives and update-alternatives seem to be the same tool (different for each Linux distribution), so here's an example of update-alternatives. Update-alternatives is a very useful tool in Linux, not only in the Debian series, but also in the Redhat series.Linux has grown to today, and there are so many available s
Original address: http://support.huawei.com/ecommunity/bbs/10253434.html1. Glusterfs OverviewGlusterfs is the core of the Scale-out storage solution Gluster, an open source Distributed file system with strong scale-out capability to support petabytes of storage capacity and handle thousands of of clients through scaling. The Glusterfs aggregates the physically distributed storage resources with TCP/IP or In
Document directory
1 Preliminary Note
2 setting up the glusterfs servers
3 setting up the glusterfs Client
4 testing
This tutorial shows how to set up a high-availability storage with two storage servers (Ubuntu 9.10) that use glusterfs. each storage server will be a mirror of the other storage server, and files will be replicated automatically stored SS
############################################ Network Architecture ########################################Two servers M1 M2M1 is Glusterfs master server, IP is 192.168.1.138M2 for Glusterfs hot standby server, IP is 192.168.1.139M1 is also the client clients(i) IP settingsSlightly######################################## # # # Service Environment Installation # # ########################################(i) F
GlusterFSGlusterfs is an open-source, scale-out file system. These examples provide information about how to allow containers to use glusterfs volumes.The example assumes that you have set up the Glusterfs server cluster and is ready to use the running Glusterfs volume in the container.PrerequisiteThe Kubernetes cluster has been built.Installation of the
1. glusterfs Overview
Glusterfs is an open-source Distributed File System with powerful scale-out capability. It supports Pb storage capacity and processing of thousands of clients. Glusterfs aggregates physically distributed storage resources using TCP/IP or InfiniBand rdma networks and uses a single global namespace to manage data. Based on the stackable user s
Background Introduction:The project is currently in the file synchronization with Rsync, in the attempt to replace the distributed file system, the use of moosefs, the effect is not satisfactory, after understanding the Glusterfs, decided to try, because it compared with moosefs, feel more simple deployment, At the same time there is no meta-data server features so that it does not have a single point of failure, it feels very good.Environment Introdu
Environment Introduction:Os:centos 6.4 x86_64 MinimalServers:sc2-log1,sc2-log2,sc2-log3,sc2-log4Client:sc2-ads15
Specific steps:1. Install the Glusterfs package on Sc2-log{1-4}:
The code is as follows
Copy Code
# wget-p/ETC/YUM.REPOS.D Http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo# yum install-y
Build GlusterFS in CentOS 7
Lab requirements:
Install GlusterFS on four machines to form a cluster
The client stores docker registry in the file system.
The hard disk space of the four nodes is not integrated into one hard disk space. Each node must be stored in one copy to ensure data security.
Environment Planning
Server
Node1: 192.168.0.165 Host Name: glusterfs1
Node2: 192.168.0.157 Host Name: glust
Use GlusterFS to create a shared file system between two servers
The problem is that you want to make the files in a directory of the two servers consistent. I have read a method, such as using Rsync to synchronize directories and NFS shared directories. The following describes how to use GlusterFS. I have created several CentOS 7 virtual machines locally.
Virtual Machine
Balancer: 192.168.33.60
Web1: 19
XfsprogsOfficial documentation Quick Configuration stepsInstalling GlusterFS-a Quick Start guidepurpose of ThisDocumentthis Document isIntended to give, step by step guide, setting up GlusterFS forThe first time. For ThisTutorial, we'll assume you isusingFedora +(or later)VirtualMachines (Other distributions and methods can be foundinchTheNewUser Guide, below. We Also DoNot explain the stepsinchDetail here,
The Glusterfs is a very easy-to-use Distributed file storage system that implements all standard POSIX interfaces and is virtualized with fuse to make the user look like a local disk. So the program wants to switch from the local disk to Glusterfs without having to modify any code, to do a seamless switch. and making multiple computers appear to be using the same hard drive simplifies a lot of logic. If you
Glusterfs is mainly used in cluster system and has good scalability. The structure of the software is good, easy to expand and configure, through the flexible collocation of each module to get targeted solutions. Resolves the following issues: networked storage, federated storage (fusing storage space on multiple nodes), redundant backups, load balancing of large files (chunking).
Due to the lack of some key features, reliability has not been tested
I used the redhat6.4.Install Glusterfs Direct Yum# wget-p/ETC/YUM.REPOS.D Http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo Server-side installation:#yum install-y glusterfs glusterfs-server glusterfs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.