- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to add samba within cluster file when fail...
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-02-2011 07:28 AM
тАО02-02-2011 07:28 AM
How to add samba within cluster file when failover a package
I've been told to add the samba service inside a package. I know that inside the configuration cluster I can put LVs that I want the package to mount when running it or failover it to another node, but, where can I tell the cluster file to run samba as well or whatever service or script?
Thanks for your support, as always.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2011 07:31 AM
тАО02-02-2011 07:31 AM
Re: How to add samba within cluster file when failover a package
-------------------------------------
# SERVICE NAMES AND COMMANDS.
# Specify the service name, command, and restart parameters which are
# used by this package. Uncomment SERVICE_NAME[0]="", SERVICE_CMD[0]="",
# SERVICE_RESTART[0]="" and fill in the name of the first service, command,
# and restart parameters. You must begin with SERVICE_NAME[0], SERVICE_CMD[0],
# and SERVICE_RESTART[0] and increment the list in sequence.
#
# For example:
# SERVICE_NAME[0]=pkg1a
# SERVICE_CMD[0]="/usr/bin/X11/xclock -display 192.10.25.54:0"
# SERVICE_RESTART[0]="" # Will not restart the service.
#
# SERVICE_NAME[1]=pkg1b
# SERVICE_CMD[1]="/usr/bin/X11/xload -display 192.10.25.54:0"
# SERVICE_RESTART[1]="-r 2" # Will restart the service twice.
#
# SERVICE_NAME[2]=pkg1c
# SERVICE_CMD[2]="/usr/sbin/ping"
# SERVICE_RESTART[2]="-R" # Will restart the service an infinite
# number of times.
#
# Note: No environmental variables will be passed to the command, this
# includes the PATH variable. Absolute path names are required for the
# service command definition. Default shell is /usr/bin/sh.
#
#SERVICE_NAME[0]=""
#SERVICE_CMD[0]=""
#SERVICE_RESTART[0]=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2011 07:42 AM
тАО02-02-2011 07:42 AM
Re: How to add samba within cluster file when failover a package
I'm going to assume the HPUX box is the host.
So it is 'sharing' up an HPUX f/s that is part of the package.
Not sure if you have multiple SAMBA things runnings. You could create a master smb.conf and copy it on the other node(s) in your cluster.
Then within your cluster control scripts, run to start SAMBA in your customer defined start scripts section. And run to stop SAMBA in your customer defined stop scripts sections.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 01:11 AM
тАО02-03-2011 01:11 AM
Re: How to add samba within cluster file when failover a package
#SERVICE_NAME[0]=samba
#SERVICE_CMD[0]="/sbin/init.d/samba"
#SERVICE_RESTART[0]="-r 1"
I guess this will work alright, isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 01:12 AM
тАО02-03-2011 01:12 AM
Re: How to add samba within cluster file when failover a package
SERVICE_NAME[0]=samba
SERVICE_CMD[0]="/sbin/init.d/samba"
SERVICE_RESTART[0]="-r 1"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 04:31 AM
тАО02-03-2011 04:31 AM
Re: How to add samba within cluster file when failover a package
Chapter 12 of the CIFS Admin guide http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02020671/c02020671.pdf points you to the /opt/samba/HA/README file and examples in the /opt/samba/HA directory.
Hope that helps,
Brian