Build NFS Server on CentOS

Tags
advanced, efs, fs, nfs, nfs server, os, server

 
Thread Tools Search this Thread
# 1  
Old 11-14-2018
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  
Old 11-15-2018
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 08:03 AM.. Reason: Forgot lvm capabilities.
# 3  
Old 11-15-2018
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  
Old 11-15-2018
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  
Old 11-15-2018
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  
Old 11-15-2018
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.

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

More UNIX and Linux Forum Topics You Might Find Helpful
Server refused our key - Centos 7 Chiadi UNIX for Beginners Questions & Answers 0 11-08-2018 08:57 AM
CentOS VPS Server Apache Alias TBotNik UNIX for Advanced & Expert Users 0 08-07-2018 03:42 PM
FreeBSD vs CentOS as server jwz104 UNIX for Beginners Questions & Answers 3 05-18-2016 06:52 PM
AIX NFS Server and NFS Client penchev AIX 4 11-11-2015 02:22 PM
NFS issue with autofs in CentOS 6.3 bashily UNIX for Dummies Questions & Answers 7 02-27-2013 05:49 AM
Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini) freddie50 Web Programming 3 08-28-2012 03:55 PM
Moving Whole OS Centos Server awww Linux 2 12-31-2011 07:08 PM
Server Power7 p750 support CentOS or not ? arm_naja AIX 2 08-11-2011 04:27 PM
Mail server in centos!! anishkumarv UNIX for Advanced & Expert Users 2 04-30-2011 06:53 AM
Solaris 9 as a nfs client -- centos as a nfs server. bruceharbin Solaris 1 07-23-2010 06:03 PM
CentOS Live Server Migration? Deputy Cartman Linux 2 12-07-2009 05:38 PM
problem after server build... sag71155 HP-UX 1 03-29-2009 07:50 AM
NFS write failed for server.....error 11 (RPC: Server can't decode arguments) sap4ever Solaris 3 05-08-2008 09:20 AM