more Q about control-m ( service control-m)

Post Reply
User avatar
moha1984
Nouveau
Nouveau
Posts: 53
Joined: 08 Aug 2010 12:00

more Q about control-m ( service control-m)

Post by moha1984 » 09 Aug 2010 3:24

Hi,

Please can you help me about the below questions about control-m :


1- What is the difference between ctm640 user and em640 user?

2- I want to explain all the services and more information as the following:

[root@spl003 ctm640]# pwd
/home/ctm640
[root@spl003 ctm640]# ls
batch1.txt bmcperl ctm_agent CTM_BPI_interface install invoicing.out log migrate_ctm pgsql test1.txt
BMCINSTALL ctm_4_regels ctm-api ctm_server installed-versions.txt lincoln1 Mail patches temp

--------

[root@spl003 exe_RedHat]# pwd
/home/ctm640/ctm_server/exe_RedHat
[root@spl003 exe_RedHat]# ls
bmcryptpw ctmgetcm ctmmail ctmspdiag DBUColdBackup ecactltb libCTMOSPP.so p_ctmcl
ctm2snmp ctm_grj ctm_menu ctmstats DBUColdRestore ecaprflag libCTMREMEDY.so p_ctmco
ctmagcln ctmgrpdef ctmmksch ctmstvar DBUData ecaqrtab libCTMSMTPAPI.so p_ctmcs
ctm_agdefs ctmgrpdet ctm_newday ctmsweep DBUHotBackup libbmccfg.so libCTMSMTP.so p_ctmlg
ctm_agdefs_chg ctmgtsch ctmnodegrp ctmsys DBUHotRestore libbmcdh.so libCTM.so p_ctmns
ctm_agparams_chg ctmhostmap ctmordck ctm_sysout_down DBUMaintain libbmcssl.so libCTMSSH.so p_ctmrt
ctm_agparm ctmimptb ctmorder ctm_sysout_hndl dbu_menu libCTMBLOWFISH.so libCTMUE.so p_ctmsl
ctm_agstat ctminterface ctmping ctmtunnelreq dbunload libCTMCE.so libCTMXML.so p_ctmsu
ctmcalc_date ctmipc ctmpsm ctmudchk DBUSetUserPassword libCTMCommonCpp.so libDBLayer.so p_ctmtr
ctmcheckmirror ctmjckdl ctmremedy32 ctmudlst DBUShow libCTMCommonXML.so libDBUAPI.so p_ctmwd
ctmckport ctm_jcl ctmrep_db ctmudly DBUStart libCTMCtmsAccessApi.so libDBUCREDENTIALS.so shdest
ctmcli ctmjcopy ctmrpln ctmvar DBUStatus libCTMCtmsAccessProtocol.so libicudatabmc.so.32 sql_exec
ctmcontb ctmjsa ctmruninf ctmweb DBUStop libCTMCtmsAccess.so libicui18nbmc.so.32 sslcmd
ctmcreate ctmkeygen ctmsec ctmwhy DBUStorage libCTMDBF.so libicuucbmc.so.32
ctmdbopt ctmkeystore_mng32 ctmser CtoSrvDa DBUTransactions libCTMDB.so libxerces-c2_7_0.so
ctmdbspace ctmkilljob ctmsetown DB_LIB DBUUsed libCTMEVTGENERAL.so OSCLIMultiThreadedMiddleWare
ctmdefine ctmlbsel ctmshdst dbloadpgsql DBUVersion libCTMKERNEL.so p_36
ctmdiskspace ctmldnrs ctmshout DBUArchive dsdisp libCTMKEYSTORE.so p_ctmac
ctmeditjcl ctmloadset ctm_shout DBUBuild dsmk libCTMNET.so p_ctmca
ctmexdef ctmlog ctmshtb DBUCheck ecacontb libCTMNS.so p_ctmcd


---------

root@spl003 scripts]# pwd
/home/ctm640/ctm_server/scripts
[root@spl003 scripts]# ls
add_ctmexit_3.pl ctm_clean_db ctm_restore_bcp install_mirror shserver
addlocks ctm_clean_dir ctmstatestat io_funcs.sh shut_ca
addto_interfaces_file ctm_cleanlog ctmsuspend jobdef shut_ctm
agprm_keep_restore.pl ctm_config ctmtsrpt m-clean shutdb
ags ctmdbbck ctmupstats memusage slptime
ajfstats ctmdbcheck ctm_use_mirror MIRROR_SQL SQL
backrest_nodes_config.pl ctmdbcount DBASQL prf start_ca
check_agents_dns.sh ctmdbmused db_funcs q-clean start_ctm
check_kernel ctm_dboost dbglvl remedy_configure startdb
check_mirror ctmdbrst dbversion remove_ctmexit_3.pl start-failover
check_schema ctmdbtrans disable_failover reset_ecs stop_failover
clean_ajf ctmdbused disable_mirror reset_gd sysprm_keep_restore
clean_ioalog ctm_diag_comm dropdb reset_t1 system_state
cleanlog ctmdiskspace.sh find_free_port.sh restore_agent_files_into_db.pl truncate_nodes_and_agprm_tables.pl
clean_semaphores ctm_etcservices fix_condition_names restore_agents_into_files.pl UE_handler
config_params ctm_find_dir force_end_job.pl restore_kpa_between_msgs_parameter.pl update_kpa_between_msgs_parameter.pl
copy_mirror ctmkeystore_mng general_funcs rm_shared_mem upetcdb
create_rc_file ctm_mirrordb_bck get_ctmdb_table_list schedt upg_ping
createschema.sh ctmpasswd handle_resourcelock.pl sem-clean validate_port
ctm_add_file ctmqmd hex_to_dec sharch visql
ctm_archset ctmreindex hold_all_jobs shcalendar wd_add
ctm_backupaut ctmremedy init_prflag shctm
ctm_backup_aut ctm_restoreaut init_sec show_ca
ctm_backup_bcp ctm_restore_aut install_failover show_db_params

*********************************************************

[root@spl003 em640]# pwd
/home/em640
[root@spl003 em640]# ls
ace.copyright.txt bin bmcperl classes emapi ini installed-versions.txt keystore log pgsql RELEASE_NUMBER site templates
appl BMCINSTALL build_db data etc install jacorb.copyright.txt locale patches README.pdf scripts sweep var

------------------

[root@spl003 scripts]# pwd
/home/em640/scripts
[root@spl003 scripts]# ls
Actions.pm check_DBO_or_SA db_deb_menu exec_dbi.pl orbconfigure start_server
AdminCreator.pl check_db_type db_extend_oracle export_db pars_command StartWebServer.pl
admin_menu check_gcs_install db_extend_sybase export_def_imp_exp play_alert start_web_server.sh
alter_database check_ibm_tr db_maint_menu export_installed_comp purge_runinfo stop_all
any_user check_java.sh db_trunc_log external_params.ini PurgeRuninfo.pl stop_cms
arch_stuff.hp check_ns_daemon db_view_setting get_arch purge_xalerts.pl stop_config_agent
arch_stuff.hp10 check_port determine_user get_password purge_xalerts.sh stop_ns_daemon
arch_stuff.ibm check_process_running drop_old GetRegistry.pm remedy_configure stop_server
arch_stuff.ibm4 check_ps ear_war_conf.sh get_u_and_p RemedyConfigure.pl StopWebServer.pl
arch_stuff.redhat check_ps_starthup echo_n gtw_deb_menu root_menu stop_web_server.sh
arch_stuff.sparc check_server ecs_get gtw_set_deb_parms run_remedy_bridge trouble_menu
arch_stuff.sun4 common.pm em_database_menu handle_arg set_pwd_def_lifetime unlock_user
arch_stuff.suse Configuration.pm em_data_collector HandleEmwebPort.pl SetPwdDefLifetime.pl UnlockUser.pl
bim_configmanager.sh create_admin_account em_rebuild_database handle_emweb_port.sh sharch util_functions
changePass ctm_data_collector.pl EmwebStatus.pl import_db shserver Utils.pm
check_all ctmem_processes_input emweb_status.sh kill_gtw_proc SQL verify_user
check_backup_server custom_imp_exp_menu enable_additional_gsr_memory man_menu start_all wrapper.sh
check_cms db_check erase_alerts modify_db_name start_cms
check_config_agent db_check_space erase_audit_data modify_interfaces start_config_agent
check_ctmem_ps_up db_create_menu EraseAuditData.pl NamingViewer start_ns_daemon

Example: I need restart to all the agent under control-m/configruation throgh the below:

root@spl003 scripts]# pwd
/home/ctm640/ctm_agent/ctm/scripts
[root@spl003 scripts]# ls
ag_check_jobs ag_diag_comm rc.agent_user shagent sharch shut-ag start-ag VERSION

but the some issues I did not know ..

Please this is very importent for my. To discuss this ..

User avatar
Polis
Nouveau
Nouveau
Posts: 25
Joined: 07 May 2008 12:00

Post by Polis » 11 Aug 2010 11:57

Hi,

probably the situation is like this.
Under ctm640 account there is a Control-M server installed.
Under em640 account there are Control-M/EM server components installed.
To restart you Control-M agents you need to login under your agents account(in your case it might be ctm640 as well) , or you could restart them using Control-M configuration manager.
Don't use root account, as you do now.
Let's assume that you've got agent installed under ctm640 account.
just launch shut-ag to stop it and start-ag to start it and check if everything is fine by launching ag_diag_comm.

But anyway, it is all understandable if you read documentation a little bit.

User avatar
ahtisham454
Nouveau
Nouveau
Posts: 23
Joined: 16 Feb 2012 12:00

Post by ahtisham454 » 21 Feb 2012 11:42

Thank you for a very clear and helpful post.

Post Reply