Build NFS Server on CentOS


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Build NFS Server on CentOS

Dear All,

I'm using AWS EC2 instance for my application. My application is high disk I/O based and EFS could not be used in my case.

So, i need to build my own NFS server on Ec2 instance. I'm looking for High availability solution for my disk which i shared for NFS. Looking for builtin snapshot solution and 99.9% availablity. Is there any software raid or any solution which you can recommend to me?

Thanks
Bala
# 2  
Can you clarify, do you need two boxes with NFS as clustered resource or ?
For snapshots and stuff (outside cloud provider), ZFS filesystem should offer the same, if used on NFS server as filesystem.
There is also an options of LVM snapshots.

You can use it on open solaris implementations such as OmniOS or modern linux with openzfs implementation.
OpenZFS

This is what is proven and working.

There is BRTFS as well as a GPL COW filesystem, with snapshots, which i cannot suggest, since i'm not sure if it is mature enough for production usage.

Regards
Peasant.

Last edited by Peasant; 11-15-2018 at 07:03 AM.. Reason: Forgot lvm capabilities.
# 3  
Thank you Peasant.

I'm looking for

1. Built-in snapshotsolution (Daily, and weekly)
2. Yes. Two Clustered NFS server. So that if one NFS server goes down, i can bring another one.

Please suggest me

Thanks
Bala
# 4  
Will those 2 NFS boxes have same disk presented or data replication is required sided with NFS ?
What does high IO mean, are you running databases or ?

You do understand that NFS is not a clustered file system.
So writing in same file from multiple nodes will not work as you expect.

Can you elaborate a bit more about the architecture and application and what it does ?
Perhaps glusterfs, HDFS or ISCSI could be a better advice.

Regards
Peasant.
# 5  
Peasant - I'm trying to setup GitLab instance on AWS EC2. It requires shared file system such as NFS. This application will have high I/O transaction.

The GitLab vendor doesn't support AWS EFS file system due to its limitation by nature. So, i want to build custom NFS server which will be shared on 4 servers.

So, I'm looking for HA solution to my NFS share.

1. Built in sanpshot solution for accidental file deletion and curruption
2. Since the NFS share disk going to reside on EBS volume, i want to ensure the disk will be safe.
3. Looking for solution to replicate the EBS volume data to another disk on the same machine or different machine.

Thanks
Bala

------ Post updated at 03:23 PM ------

Peasant - I'm trying to setup GitLab instance on AWS EC2. It requires shared file system such as NFS. This application will have high I/O transaction.

The GitLab vendor doesn't support AWS EFS file system due to its limitation by nature. So, i want to build custom NFS server which will be shared on 4 servers.

So, I'm looking for HA solution to my NFS share.

1. Built in sanpshot solution for accidental file deletion and curruption
2. Since the NFS share disk going to reside on EBS volume, i want to ensure the disk will be safe.
3. Looking for solution to replicate the EBS volume data to another disk on the same machine or different machine.

Thanks
Bala
# 6  
I'm not sure what suggest here, since i have not worked with clouds so much.

But having replicated disks of any kind in cloud sounds bad.
As you depend on network latency for any kind of disk replication, your iops will suffer.
Similar as they suffer now using cloud builtin distributed disks, EFS.

Can you use just one gitlab instance, and amazon tools to backup / snapshot / copy the data around ?

If you said metal, things would be different since you control every aspect of implementation.

Regards
Peasant.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
AIX NFS Server and NFS Client
penchev
Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test...... AIX
4
AIX
NFS issue with autofs in CentOS 6.3
bashily
I am running CentOS 6.3 as a VM on a host which has the same installation. I configured my NFS server and I am guessing it works. I say guessing because I can mount the desired folder with mount command on my client machine. So, when I run: mount -t nfs -o vers=3 vm2.domain.com:/nethome /nethit...... UNIX for Dummies Questions & Answers
7
UNIX for Dummies Questions & Answers
Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)
freddie50
Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent...... Web Development
3
Web Development
Solaris 9 as a nfs client -- centos as a nfs server.
bruceharbin
Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about...... Solaris
1
Solaris