LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2017, 07:53 AM   #1
Cbear59
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
NFS mount for tomcat loggin to SAN


Hi all,


I need to set up logging for tomcat to a SAN.

Do I need to add a /logging partition and then have an NFS mount to the SAN, or can I just make a dir for mount point? Will this mean that my directory on the host will not fill up? Excuse my ignorance, just starting out here.

Thanks
 
Old 02-01-2017, 01:55 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
You wrote "loggin". Did you mean "login" or "logging"?

Assuming the latter. Did you mean you need to create SAN storage on your disk array that you wish to present to a server that is running Tomcat so Tomcat can log to that storage?
 
Old 02-01-2017, 02:00 PM   #3
Cbear59
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes it should be logging.

I am going to create an lvm /dev/mapper/logs on the host. All tomcat instances will have their logs under /logs. There needs to be an nfs mount to the SAN. The /logs will be 10G in size.
Good setup? Will my /logs fill up?
 
Old 02-01-2017, 03:06 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
SAN implies LUNs being presented as "disks" to the server rather than NFS mounts. NFS mounts are typically considered NAS rather than SAN.

You can make a SAN devices that is mounted on one server from the LUN (disk) then share that out to other servers via NFS.

Without knowing the level of logging of your Tomcat based application there is no way for us to determine if 10G is enough, too little or overkill too much.

You might want to tell us specifically what equipment (e.g. Disk array, NAS appliance, some other server) you're presenting the storage from and also if you know whether it is doing fibre SAN, iSCSI or simply ethernet networking.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
[SOLVED] mount.nfs: mount to NFS server 'rpcbind' failed w1k0 Slackware 4 03-30-2010 03:45 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration