- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system reboot after swinstall does not execute rcx...
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
12-05-2007 10:12 AM
12-05-2007 10:12 AM
thanks
Kathy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:18 AM
12-05-2007 10:18 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:26 AM
12-05-2007 10:26 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:27 AM
12-05-2007 10:27 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
Is there a way to change that? If not, does reboot shuts down the processes gracefully?
Specifically for the informix database we have a shutdown script in rc0.d which insures that the database is shutdown gracefully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:28 AM
12-05-2007 10:28 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
If you have a aplication that needs to be stoped like sap ore oracle and you do not want it to be forgotten you can configer some extra stopscripts before you system wil reboot:
see folowing instruktion
1 maks sure the nex lines are in the defaults file:
cat //var/adm/sw/defaults |grep -v ^#
swagent.reboot_cmd=/usr/sbin/clean_reboot
swinstall.rpc_binding_info = ncacn_ip_tcp:[2121]
swcopy.rpc_binding_info = ncacn_ip_tcp:[2121]
swremove.rpc_binding_info = ncacn_ip_tcp:[2121]
swconfig.rpc_binding_info = ncacn_ip_tcp:[2121]
swverify.rpc_binding_info = ncacn_ip_tcp:[2121]
swlist.rpc_binding_info = ncacn_ip_tcp:[2121]
swreg.rpc_binding_info = ncacn_ip_tcp:[2121]
swacl.rpc_binding_info = ncacn_ip_tcp:[2121]
swjob.rpc_binding_info = ncacn_ip_tcp:[2121]
########################
THan make sure the clean_reboot is filled in properly where you read YOURAPLICATION you have to fill in the stuf it needs to stop, do not fil in products that are installed whit swinstall because that might cause problems!
cat /usr/sbin/clean_reboot
#!/bin/sh
if [ -f /sbin/init.d/YOURAPLICATION] ; then
/sbin/init.d/YOUARPLICATION stop
else
echo "ERROR: Cannot find YOUAPLICATION stop script.."
fi
/usr/sbin/reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:29 AM
12-05-2007 10:29 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:29 AM
12-05-2007 10:29 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:32 AM
12-05-2007 10:32 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
change YOURAPLICATION to your database stop script and it wil be stoped nice and after that the shutdown will follow...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:37 AM
12-05-2007 10:37 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:38 AM
12-05-2007 10:38 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:39 AM
12-05-2007 10:39 AM
Re: system reboot after swinstall does not execute rcx.d/Kxxx files?
In my opinion, if you are planning a patch application that requires a reboot (and the patch or installation notes that you *always* read ahead of time will tell you that) then you need to *schedules* a downtime with your users. Then, *before* beginning the 'swinstall' session, shutdown your applications!
Regards!
...JRF...