- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Scripting question
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
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
03-10-2007 12:11 PM
03-10-2007 12:11 PM
Does anyone have a script similar that already accomplishes this function?
We edit the following stuff:
/etc/rc.config.d/ems EMS_ENABLED=0
/etc/rc.config.d/opcagt OPCAGT=0
/etc/rc.config.d/cmcluster AUTOSTART_CMCLD=0
/etc/rc.config.d/runner.conf START_RUNNER=0
/etc/rc.config.d/hpservices.conf START_TUNER=0
/etc/rc.config.d/SnmpHpunix SNMP_HPUNIX_START=0
/etc/rc.config.d/SnmpMaster SNMP_MASTER_START=0
/etc/rc.config.d/SnmpMib2 SNMP_MIB2_START=0
/etc/rc.config.d/SnmpTrpDst SNMP_TRAPDEST_START=0
/etc/rc.config.d/rstemsListener RST_LISTENER=0
/etc/rc.config.d/emsagtconf AUTOSTART_EMSAGT=0
/etc/rc.config.d/cmsnmpagt AUTOSTART_CMSNMPD=0
/etc/rc.config.d/ntp NTP=0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2007 01:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2007 03:21 PM
03-10-2007 03:21 PM
Re: Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 08:50 AM
03-12-2007 08:50 AM
Re: Scripting question
We also turn off lots of RC scripts at DR tests. Even though we install the OS from the ignite tape, there are lots of services we don't want started yet. Most are system services, but also lots of things in rc3.d like our backup software, databases, etc.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 09:04 AM
03-12-2007 09:04 AM
Re: Scripting question
Your whole solution would be fixed with:
ch_rc -a -p EMS_ENABLED=0
ch_rc -a -p OPCAGT=0
ch_rc -a -p AUTOSTART_CMCLD=0
ch_rc -a -p START_RUNNER=0
ch_rc -a -p START_TUNER=0
ch_rc -a -p SNMP_HPUNIX_START=0
ch_rc -a -p SNMP_MASTER_START=0
ch_rc -a -p SNMP_MIB2_START=0
ch_rc -a -p SNMP_TRAPDEST_START=0
ch_rc -a -p RST_LISTENER=0
ch_rc -a -p AUTOSTART_EMSAGT=0
ch_rc -a -p AUTOSTART_CMSNMPD=0
ch_rc -a -p NTP=0
Note: In case you were wondering why: The individual file names themselves didn't need to be passed to ch_rc command because they all exist in the default area of /etc/rc.config.d.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 07:39 PM
03-13-2007 07:39 PM
Re: Scripting question
You may be new here, But you must take time to review your threads and assign point to those who replied and tried to help you.
cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 03:59 AM
05-08-2007 03:59 AM