HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configure NFS to use Fixed Ports
Operating System - HP-UX
1825979
Members
3262
Online
109690
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 12:06 PM
02-10-2009 12:06 PM
I found this technical document on the requirements and how to configure nfs to use certain ports. I am running on one server HPUX 11.31 and on the other server HPUX 11.23 which is behind a firewall. I want to configure nfs to use certain ports so the security team does not have to open up the firewall for a punch of ports. I installed the patch PHNE_38252 on HPUX 11.23 server which supercedes the patch required in the document in link http://docs.hp.com/en/B9901-90042/ch12s02.html. Long story short I reconfigured nfs on the HPUX 11.23 server to use ports 49152 for STATD, 49156 for mountd, and 4045 for lockd. That worked see the rpcinfo output below
/usr/bin/rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 udp 49152 status
100024 1 tcp 49152 status
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 1 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100005 1 udp 49156 mountd
100005 3 udp 49156 mountd
100005 1 tcp 49156 mountd
100005 3 tcp 49156 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
For the HPUX 11.31 server no patchs where required from the document I found. I tried to configure nfs to use the same ports and it did not work see rpcinfo below any suggestion what I could be missing.
rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 udp 49191 status
100024 1 tcp 49152 status
100133 1 udp 49191
100133 1 tcp 49152
100021 1 udp 4045 nlockmgr
100021 2 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100005 1 udp 49743 mountd
100005 1 tcp 49654 mountd
100005 2 udp 49743 mountd
100005 2 tcp 49654 mountd
100005 3 udp 49743 mountd
100005 3 tcp 49654 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
The bottom of my /etc/rc.config.d/nfsconf file
for my HPUX 11.31 server where I put the entries to use certain ports looks like this see below.
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
AUTO_MASTER="/etc/auto_master"
STATD_PORT=49152
MOUNTD_PORT=49156
#********************** End of NFSCONF **************************
/usr/bin/rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 udp 49152 status
100024 1 tcp 49152 status
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 1 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100005 1 udp 49156 mountd
100005 3 udp 49156 mountd
100005 1 tcp 49156 mountd
100005 3 tcp 49156 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
For the HPUX 11.31 server no patchs where required from the document I found. I tried to configure nfs to use the same ports and it did not work see rpcinfo below any suggestion what I could be missing.
rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 udp 49191 status
100024 1 tcp 49152 status
100133 1 udp 49191
100133 1 tcp 49152
100021 1 udp 4045 nlockmgr
100021 2 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100005 1 udp 49743 mountd
100005 1 tcp 49654 mountd
100005 2 udp 49743 mountd
100005 2 tcp 49654 mountd
100005 3 udp 49743 mountd
100005 3 tcp 49654 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
The bottom of my /etc/rc.config.d/nfsconf file
for my HPUX 11.31 server where I put the entries to use certain ports looks like this see below.
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
AUTO_MASTER="/etc/auto_master"
STATD_PORT=49152
MOUNTD_PORT=49156
#********************** End of NFSCONF **************************
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 01:21 PM
02-10-2009 01:21 PM
Solution
Hi Juan,
Have a look at this doc.
Title: HP-UX NFS - Problem Configuring NFS Services to Use Fixed Ports; NFS Service Used Dynamically Assigned Port and Not Port Configured in /etc/default/nfs File
Document ID: emr_na-c01564076-1
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01564076-1
Regards,
Robert-Jan
Have a look at this doc.
Title: HP-UX NFS - Problem Configuring NFS Services to Use Fixed Ports; NFS Service Used Dynamically Assigned Port and Not Port Configured in /etc/default/nfs File
Document ID: emr_na-c01564076-1
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01564076-1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 04:09 PM
02-10-2009 04:09 PM
Re: Configure NFS to use Fixed Ports
That worked Robert-Jan. Thanks for your help.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP