[ClusterLabs] Antw: How to specify two different subnets in NFS exportfs cluster resource on RHEL 7?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Nov 21 09:36:34 UTC 2016


>>> "MOLLO RICCARDO (Fornitori Gruppo ISP)" <riccardo.mollo at esternibisp.com>
schrieb am 21.11.2016 um 10:04 in Nachricht
<66217ee78fcc4f79af051c1ed765569c at EXC13TMPMR04.sede.corp.sanpaoloimi.com>:
> Hello guys,
> 
> I have a question:
> 
> I'm configuring a NFS export resource on a RHEL 7 cluster, and I need to let 
> a shared directory be mountable from clients belonging to different 
> subnetworks.
> For example, the following command obviously works fine (with only one 
> network defined):
> 
> pcs resource create TEST-EXPORTFS ocf:heartbeat:exportfs 
> clientspec=192.168.1.0/24 options=rw,sync,no_root_squash directory=/test 
> fsid=1
> 
> but how can I add a second network in the "clientspec" parameter (for 
> example: 192.168.100.0/24) so clients from both subnets can mount the shared 
> directory?

Just add a second exportfs resource!

> It's easy to do using the good old /etc/exports, but no idea about doing 
> this via exportfs cluster resource.
> 
> I haven't been able to find any help in the official documentation (neither 
> from RedHat nor from Linux-HA).
> 
> Thanks in advance for any precious help.
> 
> 
> --
> 
> Riccardo Mollo
> 
> 
> Prima di stampare, pensa all'ambiente ** Think about the environment before 
> printing
> 
> ________________________________
> 
> Il presente messaggio, inclusi gli eventuali allegati, ha natura aziendale e 
> potrebbe contenere informazioni confidenziali e/o riservate. Chiunque lo 
> ricevesse per errore, ? pregato di avvisare tempestivamente il mittente e di 
> cancellarlo.
> E' strettamente vietata qualsiasi forma di utilizzo, riproduzione o 
> diffusione non autorizzata del contenuto di questo messaggio o di parte di 
> esso.
> Pur essendo state assunte le dovute precauzioni per ridurre al minimo il 
> rischio di trasmissione di virus, si suggerisce di effettuare gli opportuni 
> controlli sui documenti allegati al presente messaggio. Non si assume alcuna 
> responsabilit? per eventuali danni o perdite derivanti dalla presenza di 
> virus.
> 
> Per lo svolgimento delle attivit? di investimento nel Regno Unito, la 
> societ? ? autorizzata da Banca d'Italia ed ? soggetta alla vigilanza limitata 
> della Financial Conduct Authority ( FCA ) e della Prudential Regulation 
> Authority ( PRA ) . Maggiori informazioni in merito ai poteri di vigilanza 
> della Financial Conduct Authority ( FCA ) e della Prudential Regulation 
> Authority ( PRA ) sono a disposizione previa richiesta.
> 
> Nel Regno Unito Intesa Sanpaolo S.p.A. opera attraverso la filiale di 
> Londra, sita in 90 Queen Street, London EC4N 1SA, registrata in Inghilterra & 
> Galles sotto No.FC016201, Branch No.BR000036
> 
> In osservanza dei requisito imposti dal Internal Revenue Service (Agenzia 
> delle Entrate degli Stati Uniti), qualunque discussione relativa a temi di 
> natura fiscale contenuta in questo messaggio o nei suoi allegati non e' 
> intesa ne' e' stata scritta per essere utilizzata, ne' puo' essere utilizata 
> per (i) evitare l'imposizione di gravami fiscali secondo il codice tributario 
> vigente negli Stati Uniti o (ii) per promuovere, sollecitare o raccomandare 
> una operazione finanziaria o altra transazione indirizzata ad un altro 
> destinatario.
> 
> Nella Repubblica d'Irlanda, Intesa Sanpaolo Bank Ireland plc ? regolamentata 
> dalla Banca Centrale d'Irlanda ed ? parte del Gruppo Bancario Intesa Sanpaolo 
> S.p.A. Registrata in Irlanda come societ? numero 125216 - IVA Reg. IE4817418C 
> IE, sita in, KBC House, 4 George Dock, IFSC, Dublino 1, Irlanda.
> 
> ***
> 
> ________________________________
> 
> This email (including any attachment) is a corporate message and may contain 
> confidential and/or privileged and/or proprietary information. If you have 
> received this email in error, please notify the sender immediately, do not 
> use or share it and destroy this email. Any unauthorised use, copying or 
> disclosure of the material in this email or of parts hereof (including 
> reliance thereon) is strictly forbidden.
> We have taken precautions to minimize the risk of transmitting software 
> viruses but nevertheless advise you to carry out your own virus checks on any 
> attachment of this message. We accept no liability for loss or damage caused 
> by software viruses.
> 
> For the conduct of investment business in the UK, the Company is authorised 
> by Banca d'Italia and subject to limited regulation in the UK by the 
> Financial Conduct Authority ( FCA ) and the Prudential Regulation Authority ( 
> PRA ). Details about the extent of our regulation by the Financial Conduct 
> Authority ( FCA ) and the Prudential Regulation Authority ( PRA ) are 
> available from us on request.
> 
> In the UK Intesa Sanpaolo S.p.A. operates through its London Branch, located 
> at 90 Queen Street, London EC4N 1SA. Registered in England & Wales under 
> No.FC016201, Branch No.BR000036
> 
> To comply with requirements imposed by the IRS, we inform you that any 
> discussion of U.S. federal tax issues contained herein (including any 
> attachments) was not intended or written to be used, and cannot be used by 
> you, for the purpose of (i) avoiding penalties under the Internal Revenue 
> Code or (ii) promoting, marketing or recommending any transaction or matter 
> addressed herein to another party.
> 
> In the Republic of Ireland, Intesa Sanpaolo Bank Ireland plc is regulated by 
> the Central Bank of Ireland and is a member of the Intesa Sanpaolo Group. It 
> is registered in Ireland as company no.125216 - VAT Reg. No. IE 4817418C and 
> located at, 3rd Floor, KBC House, 4 George's Dock, IFSC, Dublin 1, Ireland.







More information about the Users mailing list