- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to auto-start vxconfigd during bootup
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
06-16-2009 08:44 AM
06-16-2009 08:44 AM
A bit awkward query, since am not aware of VXVM, but I would appreciate if you could provide me the solution.
I need to know which startup script I need to edit to startup vxconfigd automatically when the HP-UX boots up.
My customer needs to manually start the vxconfigd once the server boots-up.
I want the daemon to auto-startup when the system boots up.
Base VXVM 4.1 is installed on the server.
Any suggestion are welcome..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 09:50 AM
06-16-2009 09:50 AM
Re: How to auto-start vxconfigd during bootup
I did google, and found the following.. don't know if I am on the right path
It says
http://southernfriedbear.blogspot.com/2005/07/troubleshooting-boot-process.html
Troubleshooting: Startup Scripts Exit Without Initialization
Possible causes:
Either one of the following files is present:
* /etc/vx/reconfig.d/state.d/install-db
This file indicates that VxVM software packages have been added, but VxVM has not been initialized with vxinstall. Therefore, vxconfigd is not started.
* / VXVM#.#.#-UPGRADE/.start_runed
This file indicates that a VxVM upgrade has been started but not completed. Therefore, vxconfigd is not started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 10:11 AM
06-16-2009 10:11 AM
Re: How to auto-start vxconfigd during bootup
Any product meant to be run as a daemon has a configuration file in /etc/rc.config.d
There is commented documentation in the startup file and a variable you set to 1 for daemon startup.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 10:05 PM
06-16-2009 10:05 PM
Re: How to auto-start vxconfigd during bootup
But as per my understanding, VxVM doesn't have a control variable in /etc/rc.config.d to determine whether the VxVM daemons(vxconfigd, vxrelocd, and vxnotify) should start during the boot process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 10:58 PM
06-16-2009 10:58 PM
Re: How to auto-start vxconfigd during bootup
via /etc/inittab
â ¢ /sbin/init.d/vxvm-sysboot
- Starts DMP restore daemon (/dev/vx/dmpconfig)
- Starts configuration daemon in boot mode (/dev/vx/config)
- Reads /etc/vx/volboot file to determine disk ownership for rootdg
â ¢ /sbin/init.d/vxvm-startup
- Will not start if /etc/vx/reconfig.d/state.d/install-db exist
- Starts up IO daemons
- Creates disk acces records for all devices
- Imports disk groups
- Start configuration daemon in enabled mode
- Creates DMP nodes that the kernel has detected
- Starts volumes
Runlevel 0
â ¢ /sbin/rc0.d/K930vxvm-daemon-kill -> /sbin/init.d/vxvm-daemon-kill
- Execute /usr/sbin/vxiod to do away with all the Volume Manager I/O daemon
Runlevel 1
â ¢ /sbin/rc1.d/S091vxvm-nodes-check -> /sbin/init.d/vxvm-nodes-check
- Creates special nodes /dev/vx/
â ¢ /sbin/rc1.d/S092vxvm-startup -> /sbin/init.d/vxvm-startup
- Will not start if /etc/vx/reconfig.d/state.d/install-db exist
- Starts up IO daemons
- Creates disk acces records for all devices
- Imports disk groups
- Start configuration daemon in enabled mode
- Creates DMP nodes that the kernel has detected
- Starts volumes
â ¢ /sbin/rc1.d/S093vxvm-reconfig -> /sbin/init.d/vxvm-reconfig
- Performs VxVM reconfiguration (if needed)
- Called by vxinstall to add new disks
- On systems with LVM called by conversion utilities
â ¢ /sbin/rc1.d/K999isisd -> /sbin/init.d/isisd
- Stops the Isis server daemon
Runlevel 2
â ¢ /sbin/rc2.d/S096vxvm-recover -> /sbin/init.d/vxvm-recover
- Performs volume recovery and resynchronization
Chapter 17 VERITAS Volume Manager (VxVM)
July 2003 Chapter 17 / Page 8
- Starts relocation daemon
â ¢ /sbin/rc2.d/S994vxnm-vxnetd -> /sbin/init.d/vxnm-vxnetd
- Checkes if VVR (Veritas Volume Replicator) license is installed
- Starts vxnetd if VVR license is installed
â ¢ /sbin/rc2.d/S996vradmind -> /sbin/init.d/vras-vradmind.sh
- Starts vradmind daemon (Volume Replicator Administrative Services) only if VVR
license is installed
â ¢ /sbin/rc2.d/S996vxrsyncd -> /sbin/init.d/vxrsyncd.sh
- Starts in.vxrsyncd daemon only if VVR license is installed
â ¢ /sbin/rc2.d/S999isisd -> /sbin/init.d/isisd
- Starting VERITAS Enterprise Administrator Service (vxsvc)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 11:46 PM
06-16-2009 11:46 PM
Re: How to auto-start vxconfigd during bootup
My commments was just to say that there is no file in /etc/rc.config.d for VXVM daemon to start(except vea)
*** /sbin/init.d/vmvm-startup ***
general_startup()
{
#
# If the volume manager hasn't yet been initialized, don't
# bother starting vxconfigd. The install-db file indicates that
# initialization has NOT yet happened.
#
if [ -f "/etc/vx/reconfig.d/state.d/install-db" ]
then
exit 0
fi
### I also have the file "/etc/vx/reconfig.d/state.d/install-db" available on the server which is empty
### Does that mean that volume manager hasn't been initialized ??
## any suggestion ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2009 04:32 AM
06-17-2009 04:32 AM
Re: How to auto-start vxconfigd during bootup
/etc/rc.config.d/vx* file is needed when your startup script under /sbin/init.d/vxvm* checks for the variable..
As long it is linked to respective run level scripts,then it should start/stop automatically..
regards
shankar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 03:01 AM
06-19-2009 03:01 AM
Re: How to auto-start vxconfigd during bootup
VxVM 4.1 does not require rootdg, so special configuration of VxVM is not required
except initializing the volboot file and starting the vx* deamons.
Base-VXFS 4.1.002 VERITAS File System Bundle 4.1 for HP-UX
Base-VXVM B.04.10.011 Base VERITAS Volume Manager Bundle 4.1 for HP-UX
As per your this system has a file called - /etc/vx/reconfig.d/state.d/install-db
When this file exists, VxVM thinks its not configured on the system so it won't get
started automatically during the boot time.
To start the VxVM daemons during the boot time, we need to remove this file -/etc/vx/reconfig.d/state.d/install-db
Note: running vxinstall command will automatically remove this file, but it has to be run ONLY once
i.e when configuring the vxvm on the system for the first time
After removing - /etc/vx/reconfig.d/state.d/install-db and rebooting vxconfigd start automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 03:02 AM
06-19-2009 03:02 AM