- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restrict NFS for servers in MCSG
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
05-26-2003 11:50 PM
05-26-2003 11:50 PM
Restrict NFS for servers in MCSG
I wish do the same like the below in MCSG enviroment :-
/usr/sap/trans -access=slahp09:slahp01:slahp02:sapserv7:faxmac
/sapmnt/D01 -access=slahp09:slahp01:slahp02:sapserv7:faxmac
I do have NFS toolkit. So where in dbci.cntl do i add some lines to restrict NFS only to certain servers.
Thanks & Regards,
Naren.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 12:17 AM
05-27-2003 12:17 AM
Re: Restrict NFS for servers in MCSG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 12:50 AM
05-27-2003 12:50 AM
Re: Restrict NFS for servers in MCSG
But I think the NFS toolkit is bypassing by using exportfs -i.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 12:58 AM
05-27-2003 12:58 AM
Re: Restrict NFS for servers in MCSG
Automounter can run alongside nfs, you can mount filesystems either way, but nfs will still use the exports file, unless someone has used the -i option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 01:48 AM
05-27-2003 01:48 AM
Re: Restrict NFS for servers in MCSG
the exportfs -i is in the dbci.cntl. I'm running SAP R/3 as the application and oracle as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 04:41 AM
05-27-2003 04:41 AM
Re: Restrict NFS for servers in MCSG
Like this:
XFS[0]="-o access=pc0003f:pc0004f:pc0110f:pc0111f:pc0112f:iprdbf:iprcif:iqadbcif:pctransf:pc1000:pc1005,root=pc0003f:pc0004f:pc0110f:pc0111f:pc0112f:iprdbf:iprcif:pctransf:iqadbcif:pc1000:pc1005 /export/usr/sap/trans"
In your cntl file you should have something like:
function verify_ha_nfs
{
HA_NFS_SCRIPT="${0%/*}/hanfs.sh"
if [[ -x $HA_NFS_SCRIPT ]]
then
$HA_NFS_SCRIPT $1
#
# The hanfs.sh script has the return values as follow:
#
# 0 - success
# 1 - fails
#
test_return 50
fi
}
If you want, I can post my scripts...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 05:32 PM
05-27-2003 05:32 PM
Re: Restrict NFS for servers in MCSG
'To make it easier, I've attached the dbci.cntl file where the exportfs -i is defined. Maybe you can give me recommendation where to edit.
Thanks & Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 06:17 PM
05-27-2003 06:17 PM
Re: Restrict NFS for servers in MCSG
# NFS: Specifies all exported NFS directories with export options. The
# directories must be defined in the above mounted file system FS list.
# These variables are used by the command "exportfs -i" to export
# the file systems and the command "exportfs -u" to unexport the file
# systems.
# Example: XFS[0]="-o ro /pkg1"
# Example: XFS[1]="/pkg2"
#XFS[0]=
XFS[0]="-o access=slahp09:slahp01:slahp02:sapserv7:faxmac, root=slahp09:slahp01:slahp02:sapserv7:faxmac /export/sapmnt/P01"
XFS[1]="-o access=slahp09:slahp01:slahp02:sapserv7:faxmac, root=slahp09:slahp01:slahp02:sapserv7:faxmac /export/usr/sap/trans"
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 11:53 PM
05-27-2003 11:53 PM
Re: Restrict NFS for servers in MCSG
There should be one seperate scripts called hanfs.sh unser /etc/cmcluster/SID directory.
and your dbci.cntl should have following line
#
function verify_ha_nfs
{
HA_NFS_SCRIPT="${0%/*}/hanfs.sh"
if [[ -x $HA_NFS_SCRIPT ]]
then
$HA_NFS_SCRIPT $1
#
# The hanfs.sh script has the return values as follow:
#
# 0 - success
# 1 - fails
#
test_return 50
fi
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 12:18 AM
05-28-2003 12:18 AM
Re: Restrict NFS for servers in MCSG
HTH
Duncan
I am an HPE Employee
