- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to include controlM agent startup at /etc/...
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
07-14-2009 09:29 PM
07-14-2009 09:29 PM
Are you guys familiar with ControlM?
How can I include the controlM agent startup script in the /etc/inittab file?
Currently we are doing this manually because when you execute the agent startup command it asks for some parameters as input.
Is there such a way to inlcude the agent startup to the /etc/inittab file?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2009 11:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 12:03 AM
07-15-2009 12:03 AM
Re: how to include controlM agent startup at /etc/inittab file
It requires some parameters being asked interactively when executed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 12:08 AM
07-15-2009 12:08 AM
Re: how to include controlM agent startup at /etc/inittab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 03:01 AM
07-15-2009 03:01 AM
Re: how to include controlM agent startup at /etc/inittab file
Regards,
Berd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 04:34 AM
07-15-2009 04:34 AM
Re: how to include controlM agent startup at /etc/inittab file
You can start ControlM through rc scripts,
we are using this & starting it in rc2.d
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 05:46 AM
07-15-2009 05:46 AM
Re: how to include controlM agent startup at /etc/inittab file
and in the shutdown script - you will need:
see page 24 of http://www.control-musage.com/document/Documentation/CTMA/V6.3.01/AG63762.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 05:48 AM
07-15-2009 05:48 AM
Re: how to include controlM agent startup at /etc/inittab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 05:06 PM
07-15-2009 05:06 PM
Re: how to include controlM agent startup at /etc/inittab file
I was able to modify the startup-agent script and hardcoded the necessary inputs being required.
Actually my version of controlM asks for 2 parameters. First is the username and then the "ALL" input as mentioned in one of the posts here.
Thanks so much for your help.
Anyway what is the exact file to which I should add the agent-startup script? /etc/rc???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 12:12 AM
07-16-2009 12:12 AM
Re: how to include controlM agent startup at /etc/inittab file
Regards,
Berd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 02:40 AM
07-16-2009 02:40 AM
Re: how to include controlM agent startup at /etc/inittab file
As Berd Suggested use same,we are also using the same in our setup.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 02:49 AM
07-16-2009 02:49 AM
Re: how to include controlM agent startup at /etc/inittab file
I added my startup script at /sbin/rc3.d and my shutdown script at /sbin/rc0.d.
Problem is I cant change the permission of my shutdown script in /sbin/rc0.d
My default umask is
root:/sbin/rc0.d> umask -S
u=rwx,g=rx,o=rx
my current file permission:
l---r-xr-x 1 root sys 50 Jul 16 18:28 K891ctm-agent-shut.sh -> /home/ctmagent/Agent/ctm/scripts/ctm-agent-shut.sh
I want to change it to "755," but chmod is not working on this one.
TIA!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 02:55 AM
07-16-2009 02:55 AM
Re: how to include controlM agent startup at /etc/inittab file
Firstly unlink it then change the permission to 755 and then again link it.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 02:57 AM
07-16-2009 02:57 AM
Re: how to include controlM agent startup at /etc/inittab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 03:33 AM
07-16-2009 03:33 AM
Re: how to include controlM agent startup at /etc/inittab file
> l---r-xr-x 1 root sys 50 ...
> I want to change it to "755," but chmod is not working on this one.
You can't change the link's permissions. The permissions for the link are set based on the current value for umask at the time you created the link but have no effect on the target (/sbin/init.d). You can remove the link, change umask to 022 and then recreate it -- but it does not change the target. A symbolic link is just a pointer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 03:45 AM
07-16-2009 03:45 AM
Re: how to include controlM agent startup at /etc/inittab file
Basically you cant change the permissions of link.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 04:33 AM
07-16-2009 04:33 AM
Re: how to include controlM agent startup at /etc/inittab file
-h If the file is a symbolic link, change the mode of the link itself rather than the file that the link points to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 04:46 AM
07-16-2009 04:46 AM
Re: how to include controlM agent startup at /etc/inittab file
chown(2) has a -h option but I don't see it for chmod(2)??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 08:30 AM
07-16-2009 08:30 AM
Re: how to include controlM agent startup at /etc/inittab file
chmod -- change file modes or Access Control Lists
SYNOPSIS
chmod [-fv] [-R [-H | -L | -P]] mode file ...
chmod [-fv] [-R [-H | -L | -P]] [-a | +a | =a] ACE file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E] file ...
chmod [-fhv] [-R [-H | -L | -P]] [-C] file ...
chmod [-fhv] [-R [-H | -L | -P]] [-N] file ...
DESCRIPTION
The chmod utility modifies the file mode bits of the listed files as
specified by the mode operand. It may also be used to modify the Access
Control Lists (ACLs) associated with the listed files.
The generic options are as follows:
-f Do not display a diagnostic message if chmod could not modify the
mode for file.
-H If the -R option is specified, symbolic links on the command line
are followed. (Symbolic links encountered in the tree traversal
are not followed by default.)
-h If the file is a symbolic link, change the mode of the link
itself rather than the file that the link points to.
-L If the -R option is specified, all symbolic links are followed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 08:46 AM
07-16-2009 08:46 AM
Re: how to include controlM agent startup at /etc/inittab file
itself rather than the file that the link points to."
ok, I can find that for AIX, some AT&T style systems, but nothing like that on hpux 10.20, or any 11.xx variant.
so, what OS'es man page is that????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2009 09:45 AM
07-16-2009 09:45 AM