LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS mount for tomcat loggin to SAN (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-mount-for-tomcat-loggin-to-san-4175598721/)

Cbear59 02-01-2017 07:53 AM

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

MensaWater 02-01-2017 01:55 PM

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?

Cbear59 02-01-2017 02:00 PM

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?

MensaWater 02-01-2017 03:06 PM

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.


All times are GMT -5. The time now is 06:01 PM.