- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS export of ServiceGuard package
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
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
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-04-2004 08:31 AM
тАО05-04-2004 08:31 AM
I'm trying to decide if I should script this into the package definition, or if I should create a new package which is to be used just for purposes of the NFS export. This would require that the existing package and the NFS package be integrated in such a way as to handle startup/shutdown.
If I create a new package, it will be very basic, no IP address, no VG, nothing except the customer defined code to export and un-export the particular directories.
I'm leaning toward the new package, but wanted to check to see if anyone had any suggestions.
Has anyone done this type of thing before? I have the NFS toolkit, but it doesn't appear that it addresses this particular issue (will be great if I decide to create a new package).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 08:43 AM
тАО05-04-2004 08:43 AM
Re: NFS export of ServiceGuard package
If you want to export one of the filesystem which is part of SG package, do the export within the package startup and shutdown scripts.
to export, do this in user defined run cmds.
exportfs -i /some_file_system
unexport when shutting down the package,
define this in the user defined halt cmds.
exportfs -u /some_file_system
Do "man exportfs" for more options available with the exportfs commands.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 08:48 AM
тАО05-04-2004 08:48 AM
Re: NFS export of ServiceGuard package
However, upon further looking at the hanfs.sh script provided by the Toolkit, I see that I can do what I want very easily and include it in the same package.
That script looks like it will start up the appropriate daemons, etc. And (at least with A.01.15 release of SG) is automatically looked for by the package cntl file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 08:56 AM
тАО05-04-2004 08:56 AM
Re: NFS export of ServiceGuard package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 08:59 AM
тАО05-04-2004 08:59 AM
SolutionIf that is the way you want it, get the nfs server startup script /sbin/init.d/nfs.server to your cluster package configuration directory and edit the file to suit your requirements. comment out the section where it is looking at the config file in /etc/rc.config.d and supply the required parameters manually to this file. You can now use this in your package startup script.
Since you are may have to modify the script, i would suggest you not to do your modification in the orginal script, but use that to build your own custom script.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:01 AM
тАО05-04-2004 09:01 AM
Re: NFS export of ServiceGuard package
I don't want to use NFS at all (in fact, it's against our company policy), however, the developers are using a product in Windows to do their development. Basically, I am going to NFS export out their source code directory to a Wintel server and that Wintel server is going to serve it up as a share to the developers. That way they can develop at their desktop with the Windows tools.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:05 AM
тАО05-04-2004 09:05 AM
Re: NFS export of ServiceGuard package
If you are talking about cross platform nfs share, i.e share unix filesystem to wintel server, then you'll have to setup CIFS server on the unix side,
See if this is what you should be looking into instead of the default nfs share for unix.
http://docs.hp.com/hpux/netcom/index.html#HP%20CIFS
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:09 AM
тАО05-04-2004 09:09 AM
Re: NFS export of ServiceGuard package
Actually the product on the Wintel side software which accesses the server as an NFS client and serves up the exported directory as a share. It has the NFS client software built in. It's actually pretty slick. Best part about it is it removes security from me and puts it on our Wintel folks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:14 AM
тАО05-04-2004 09:14 AM
Re: NFS export of ServiceGuard package
Why get MC/SG & (God forbid) NFS involved here when there are already packages available that will serve up development sessions to the coders' Wintel systems?
Two we've used before are:
PVCS Version Manager => Merant SW
CM Synergy => TeleLogic SW
These basically install on an HP system along with bundled DB products to keep track of versioning & then can dole out X-sessions to any system capable of running X-server for the coders to work in.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:14 AM
тАО05-04-2004 09:14 AM
Re: NFS export of ServiceGuard package
Thanks for the clarification.
Regards
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:15 AM
тАО05-04-2004 09:15 AM
Re: NFS export of ServiceGuard package
Perhaps the easiest answer is "because that's what they want". ServiceGuard is involved because we run it for the application. NFS is involved because that's how they want their code served up to the Wintel server. The project was blessed by the CTO, so it's what we are going to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 10:23 AM
тАО05-04-2004 10:23 AM
Re: NFS export of ServiceGuard package
Creating a seperate package for NFS will complicate the things
In your existing development package
function customer_defined_run_cmds
{
...
...
/sbin/init.d/nfs.server start
exportfs -iv /filesystem1
exportfs -iv /filesystem2
}
function customer_defined_halt_cmds
{
..
..
..
exportfs -uv
/sbin/init.d/nfs.server stop
}
If you want to make the script look better then copy and paste the export file system section from the hanfs.cntl script and define XFS[] variables at the beginning of the development package control script.
Also make sure you run pcnfsd in the server.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 11:03 AM
тАО05-04-2004 11:03 AM
Re: NFS export of ServiceGuard package
If you do implement plain old NFS basically to do this you might want to consider APA to up your bandwidth a bit if you think you might run into some issues there. This might aid performance.
I wish you the best of luck with your implementation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2004 01:27 AM
тАО09-22-2004 01:27 AM