- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: auto start pfs_mountd & psfd
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
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
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
тАО02-01-2002 11:11 AM
тАО02-01-2002 11:11 AM
auto start pfs_mountd & psfd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2002 11:19 AM
тАО02-01-2002 11:19 AM
Re: auto start pfs_mountd & psfd
The proper place for the startup script would be 'rc3.d'. The rc
If a start script is placed in directory '/sbin/rc{X}.d' then its corresponding kill script is put in directory '/sbin/rc{X-1}.d'. Thus, your start script would go into 'rc3.d' and your kill script in 'rc2.d'.
Remember, in the case of 'pfs_mounts' to stop (kill) the deamons in the reverse order that they were started.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2002 11:19 AM
тАО02-01-2002 11:19 AM
Re: auto start pfs_mountd & psfd
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2002 11:37 AM
тАО02-01-2002 11:37 AM
Re: auto start pfs_mountd & psfd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2002 11:42 AM
тАО02-01-2002 11:42 AM
Re: auto start pfs_mountd & psfd
you can try this,
kill `ps -ef |grep process_name |grep -v grep |awk '{print $5}'`
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2002 04:55 PM
тАО02-01-2002 04:55 PM
Re: auto start pfs_mountd & psfd
You should start with '/sbin/init.d/template' as the template for your startup/shutdown script. A part of this script *is* a function to isolate and kill a process.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 06:56 AM
тАО02-15-2002 06:56 AM
Re: auto start pfs_mountd & psfd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 05:53 AM
тАО04-30-2002 05:53 AM
Re: auto start pfs_mountd & psfd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 06:03 AM
тАО04-30-2002 06:03 AM
Re: auto start pfs_mountd & psfd
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 06:14 AM
тАО04-30-2002 06:14 AM
Re: auto start pfs_mountd & psfd
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 06:23 AM
тАО04-30-2002 06:23 AM
Re: auto start pfs_mountd & psfd
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 06:39 AM
тАО04-30-2002 06:39 AM
Re: auto start pfs_mountd & psfd
You need to start your script after 'nfs.server' in runlevel-3. Some of the deamons necessary to support PFS mounts are started therein.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 08:05 AM
тАО04-30-2002 08:05 AM
Re: auto start pfs_mountd & psfd
be careful to "kill" your PFSdaemons *before* "killing" your NFS daemons! And do not even try to kill the wrong ones (i.e. do NOT kill those ending in ".rpc"!), or you'll have to reboot!
kill $(UNIX95=x ps -C pfsd -o pid)
kill $(UNIX95=x ps -C pfs_mountd -o pid)
are your friends :-)
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 08:15 AM
тАО04-30-2002 08:15 AM
Re: auto start pfs_mountd & psfd
The best place to put startup scripts for pfs are /sbin/rc3.d
and kill the processes in runlevel 1.
-pap