Install PIAF on Existing NFS

ghurty

Senior Member
Joined
Jan 13, 2009
Messages
852
Reaction score
4
I am trying to install asterisk onto an existing RedHat system.

I am going to try to use the guide of installing PiaF onto an existing system. (which has worked for me in the past)

However, there is a little twist over here. I am supposed to install it onto a NFS.

How would I go about do that?

In the end, I am planing on having two different asterisk servers installed on two different machines, but both data residing on the same NFS.

THanks
 
I think you need to describe a bit more what you are actually wanting to do. From your description, I can't tell if you want no hard drives in the system and you want everything mounted via NFS (known as a diskless system) or if you want to have some directories mounted via NFS.

If one is wanting to put some of the "data" for asterisk on a central NFS server, I guess one could put:
/var/lib/asterisk
/var/spool/asterisk
on NFS mountpoints. Of course you need to keep your user/group id's in sync, etc. etc.
But that still leaves the mysql db, but one would normally run that over the network rather than NFS mount the mysql data files.

To do this I think you would have to hack at the kickstart to use those mount points before the asterisk part of the installation is done.
 
What I would like to do is to put the following directories of each asterisk machine into their own subdirectory of the NFS:
/etc/asterisk
/var/lib/asterisk
/spool/asterisk
www/


I also want to use a different machine as a central sql server where I would put all the sql databases there.
 
this is easy. do the install. tar up the dirs you want to move to NFS and put them in / or somewhere. on the NFS server, define the shares you need. edit /etc/fstab on the piaf box to do something like:

nfserver:/nfs-share-pathname /etc/asterisk nfs defaults 0 0

of course you need to tweak this... then mount them all, then extract the tarballs to where you want.
 

Members online

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top