LMS4.1: Logrotation Job
Hello,
Did setup the Logrotation Schedule, applied and got a response that it scheduled. If I call this again, everithing is shown as default. And I cant find Logrotation Job in the global Job-Browser.
are there any hints how to can find this Logrotation Job?
Steffen
Yes you are right, you can find it beside the DB-backup-Job in:
crontab -l casuer (Solaris)
I hope this forum thread is read by someone of the product management as well:
Its very confusing to have a unified LMS job management, where you should rely on to can find 100,00% everything of 100,00% of any jobs in LMS and have 2 execptions left.
Thx Martin, you are the best:)
Similar Messages
-
Hello Network Management gurus.
I'm baffled by a lot of new features of LMS4.2 and seem lost where to start looking.
Our client needs to periodically make changes to switches to change their port settings.
They have specific descriptions with a certain string. Let's say the description say "Cisco phone".
The task is to create either template or ad-hoc Netconfig job that will send changes only to those switchports.
How can it be done?
Thanks for your help in advance
EugeneThanks, Michel.
I'm almost done except for the task/commands definitions.
This is what I'm doing.
1) Admin -> System -> Group Management -> Port and Module (once I clicked "Port and Module" I'm redirected to Inventory -> Group Management -> Port and Module)
2) I create a group named "VoIP switchport"
3) Then I select the device that I need to configure. It is my switch SW2
4) Then goes Rule Expression:
Port.PortDescription equals "VoIP_Port"INCLUDELIST {:RME:INVENTORY:Port$-1172380997>,
:RME:INVENTORY:Port$-1172380996>,
:RME:INVENTORY:Port$-1172380995>,
:RME:INVENTORY:Port$-1172380994>,
:RME:INVENTORY:Port$-1172380993>}
In human language it say that that the switchport description should be matching the string "VoIP_Port" and it is applicable to 5 ports, they are Fa0/1 through Fa0/5 interfaces of the switch
The fun starts when I try to create a job to push some VoIP parameters to the switchports in question.
I create a new NetConfig job, select "Port based" type job, then I select the device which is a redundant step for me. I expect the job selector is smart enough to select the device based on my "Port and Module" group created previously.
Anyways, when I click "Next" I select my Port group which is "VoIP switchport" and then the next screen suggests to select the task. I assume I should select "Adhoc task". When I add an instance of this task I'm presented with a screen prompting to configure CLI commands. This is where I stopped.
What am I starting with? Should I go to the global config mode first ? If I want to send the command "switchport voice vlan 15" should I just add it in the CLI field? How am I applying it only to the required 5 ports?
If I start the job anyway it fails and the error message is no applicable devices. -
Logrotion and Backup schedule job does'nt work?
Hi,
I have schedule the Syslog Logrotation and CiscoWorks backup jobs to run weekly via LMS, but they are not working. BUT I can manually do the log rotation as well as Backups via LMS.
I am using LMS:3.2; RME:4.3.0
ThanksYou don't see any other issues?
Maybe post a pdshow -brief
I would say the jrm is responsible for lauching these jobs, post the jrm.log
Do you see any errors in the dbbackup.log at the time the jobs are scheduled? If so, post it.
Not sure if it requires the task scheduler services to run. You may want to check if it is on.
Cheers,
Michel -
Dynamic config jobs in LMS4.x
Hello,
I am looking for a way to deploy dynamic generated config based on a group of devices - the config is simple - like the example below:
int fa0/0.200
encapsulation dot1Q 200
ip address 10.200.x.y 255.255.255.248
router bgp AS
network 10.200.x.y mask 255.255.255.248
ip prefix-list Name permit 10.200.x.z/29
The variables are:
1.the interface - could be fa0/0 or fa0/1 or vlan200 - I have them on a list.
2."x",y,z from ip address is different - is based on an internal location code. All the ip address are generated for every device based on a list.
3. AS is different from each location - i have them in a list
I need to deploy this config on more than 250 devices. Is there any way I can make LMS read some input file to generate config or load some script/excel and then deploy the exact generated config to the right device?.... generate 250 exact deploy-config jobs?... or something similar....
Thank you very much for any ideas
Best regards,
Bogdan LasloIf that code is all planted "on" an object, that might the source of the problem. Try following the AS3 protocol of keeping the code on the timeline. Instead of using "on" on the object, try using...
btnName.onRelease = function(){
etc...
on the timeline like you would in AS3. -
LMS4.0.1 - failure with PSIRT-EoX System Job
Hello,
So we cant create EoX and PSIRT reports
For Job-Log please see attached 1007.1.log.
Patch lms40x-win-CSCto46927-0 has been installed already.
CCO-Credentials + Proxy-settings in LMS must be oK, because we are able to auto download device packages for instance.
SteffenHi,
Thanks for confirming. OS should not be issue here.
I foudn the following exception on the job log :-
[ Wed Jul 13 13:45:12 CEST 2011 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,postToCCO,735,Exception occured. Either no such URL found on cisco.com or connection failed to cisco.comno protocol: java.net.MalformedURLException: no protocol:
at java.net.URL.(URL.java:567)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
at com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser.postToCCO(EOXSoftwareXMLParser.java:646)
at com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser.fetchEoxSoftwareZip(EOXSoftwareXMLParser.java:101)
at com.cisco.nm.rmeng.inventory.reports.datagenerators.SystemPsirtRDG.getData(SystemPsirtRDG.java:64)
at com.cisco.nm.rmeng.inventory.reports.job.SystemJobExecutor.generatePsirtData(SystemJobExecutor.java:227)
at com.cisco.nm.rmeng.inventory.reports.job.SystemJobExecutor.main(SystemJobExecutor.java:525)
[ Wed Jul 13 13:45:12 CEST 2011 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,fetchEoxSoftwareZip,103,no protocol: com.cisco.nm.rmeng.inventory.reports.util.IRException: no protocol:
at com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser.postToCCO(EOXSoftwareXMLParser.java:739)
at com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser.fetchEoxSoftwareZip(EOXSoftwareXMLParser.java:101)
at com.cisco.nm.rmeng.inventory.reports.datagenerators.SystemPsirtRDG.getData(SystemPsirtRDG.java:64)
at com.cisco.nm.rmeng.inventory.reports.job.SystemJobExecutor.generatePsirtData(SystemJobExecutor.java:227)
at com.cisco.nm.rmeng.inventory.reports.job.SystemJobExecutor.main(SystemJobExecutor.java:525)
[ Wed Jul 13 13:45:12 CEST 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,fetchEoxSoftwareZip,104,Exception occurred while accessing the CCO Server. If any EoS/EoL Software data exist in RME DB, This Report job will fetch from RME DB and show the EoS/EoL Software Information.
Also, customer is running proxy server too :-
[ Wed Jul 13 13:45:13 CEST 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,GetURLFromPSUApi,525,Proxy configured is true:
[ Wed Jul 13 13:45:13 CEST 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,GetURLFromPSUApi,533,Proxy Server:merkur Proxy Port:3128
[ Wed Jul 13 13:45:13 CEST 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,GetURLFromPSUApi,552,Setting proxyHost and proxyPort details into System properties.
[ Wed Jul 13 13:45:13 CEST 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,GetURLFromPSUApi,572, mdf and sof id 280915376 280775123
[ Wed Jul 13 13:45:20 CEST 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.util.EOXSoftwareXMLParser,GetURLFromPSUApi,575,url now {PSIRT_EOX_OFFLINE.zip=}
Kindly check if customer is able to download other device packages or updates easily.
Thanks,
Gaganjeet -
I scheduled a 24-HR ChangeAudit job and I clicked the link I recieved in the email and I get the following error
"You cannot view the report since the corresponding archive is already deleted or not available"
I thought that the bug CSCsy03151 has already been fixed in RME3.2. Any idea?Seems the similar issue is resurfaced with LMS 4.2 as well. Now this is # CSCub07385 and being tracked now. Not sure but discussions are to address this in LMS 4.2.2.
-Thanks
Vinod -
LMS4.2.2 incomplete pre configured logrotation
Following growing logs exists, but not preconfigured in LMSs log rotation:
ConfigMgmtServer.log
ani.log
ICServer.log
CAAMServer.log
UDM.log
rme_ctm.log
could be getting large after weeksIf you see the mac address in the show mac-address-table command, and LMS is unable to get them, I would open a ticket with TAC.
Since it can read from one VLAN, I fail to see why it can't read from another VLAN.
For the snmp trap mac-notification you must configure LMS to listen for these traps.
It will create a separate trap listener on a particular port.
You must also add a snmp-server host <IP of LMS> <port of mac-trap listener>
Cheers,
Michel -
LMS 4.2.2 - Compliance Policy and PSIRT/EOX Job Report
I noticed that the job titled Compliance Policy and PSIRT/EOX Job Report has been running since oct 4, 2012 @ 00:30:00. I can see that previous jobs usually take about 3 minutes to complete. Is there a way to stop the job? Is it safe to stop the job? TIA
Hi,
you seems to be hitting the below BUg
LMS4.2.1: System Psirt Job failing
CSCua64861
Applicable to 4.2 as well.
Thanks-
Afroz
****Ratings Encourages Contributors**** -
Hi All,
I cant get to stop SharePoint foundation web app service. Its stuck on status stopping
I have tried the following:
reset IIS
restarted the Timer Service
When I try to use powershell command to stop I get the following error:
Can anyone who went through this help PLEASE
Stop-SPServiceInstance : An object of the type
Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition named
"job-service-instance-1ff39eb2-12d2-457d-a749-265e350eb1b1" already exists
under the parent Microsoft.SharePoint.Administration.SPTimerService named
"SPTimerV4". Rename your object or delete the existing object.
At line:1 char:127
+ ... pplication"} | Stop-SPServiceInstance
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...ServiceInstance:
SPCmdletStopServiceInstance) [Stop-SPServiceInstance], SPDuplicateObjectEx
ception
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletStopServ
iceInstanceHi,
It seems that the issue is in the timer job definition for executing this operation.
My suggestion is to start the service again and delete the job definition from the error and again try to stop it.
This might be helpful:
http://sharepoint.stackexchange.com/questions/22368/is-there-a-powershell-cmdlet-to-delete-a-timer-job
I had a lot of issues in the past when try to stop this instance after the Web apps are provisioned.
As general rule now If I have multi-server Farm topology that has servers that should not serve Web App requests I turn off the service prior to provisioning any Web Apps in the Farm.
BR,
Ivan -
Report program when run in background job getting cancelled immediately
Hi
When i run a program in foreground i am able to see the output. But when run in background not able to run the job successfully. The job is getting cancelled immediately.
I am using the below function module for output display. Should i need to pass any parameters in the below function module so that i can run the program in background successfully.
CALL METHOD DETAIL_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_LAYOUT = IS_LAYOUT
I_SAVE = 'A'
IS_VARIANT = GS_VARIANT
CHANGING
IT_FIELDCATALOG = IT_FIELDCATALOG
IT_OUTTAB = BLOCKED_STOCK_TAB_ALV[].
Please suggest.
Thanks and regards
Rajani YeluriHi Rajani.
ALV require the DRYPOR(screen) for display but incase you run in back ground which have to write to spool but in spool we can only write in format of LIST REPORT not inter-active report like ALV. That why
system cancelled your process immediately.
Hope it helps.
Sayan. -
Report Job was cancelled upon user request???
Hi,
My reports take more than 10 minutes to complete, most times I get
"Report Job was cancelled upon user request".
error, how to fix this problem? Is there any time limit inside the report I can set.
Thankshi ,
There is no limit on the report run time. The most probable reason why you are getting the 'Report cancelled upon user request' message is the users might have hit the "cancel Report" button which is displayed when it is running in 'SYNCHRONOUS MODE'. do not hit that button as it will terminate the report. to increase the speed of returning the results by the report, try improving the sql that you use in the report, or if you have DBA rights try adding in INDEXES on the columns of the tables used by the report.
Hope this helps
Manoj -
Hi ,
I have a requirement in which I have to create a report that should pickup all the cancelled CRM marketing jobs (due to whatever reason) based on on job name, copy them and restart them.
In your selection screen, you will give the cancelled job name (wildcard acceptable..like ZE00*) and a radio button to show the cancelled job list and copy the jobs.
Could anyone guide me on how to go ahead with this report?
Regards,
MohitHi,
in table TBTCO and TBTCP you have all jobs with current status. You can search them by name.
Selected jobs you can "popup_with_table" FM. Then you need to use fm to submit job in ackground;
'JOB_OPEN', 'JOB_SUBMIT' and 'JOB_CLOSE'.
Good luck ! -
I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?
What file format did you export it to?
-
How To Handle With Back Ground JOB From WEBUI When Click On "Appove"
Hi
How To Scheduled A Job Through ABAP Report In back end Of CRM when i click on "Approve" Button in WEBUI From result list.
As per My requirement I have a Search View and Result View
In Search View I have Below Fields
ITC Vendor ID
Claim Status
User status (date status changed)
Model
Serial Number
Date completed of Service Completion
Based on Search Criteria I will get Result In Result View.(Suppose 10 Records I got In Result View)
In the Result View I need to Add one Button As "Approve"
When i Click On Approve button One Pop up Message Need to Open And In that popup window I need to Display Below Text
"Approve Claim Job Has Started In Background
Note: Only Claims Which are in Submitted Status Will be Approved. you May Close This Window"
In SAP CRM System Back Ground Job Need To Start When Click On "Approve" Button In WEBUI .
In the Back Ground ABAP Report which will validate based on Result List Records"
In the Result List we may have all types of Claims which are status in "Submitted" "Pending" "Rejected" "Approve".
I need to collect all records from Result list and validate Those Records who's Status in "Submitted
1)Sort all the claims based on ITC Vendor ID.
2)Grouped all the submitted claims against each ITC Vendor ID from the search result
3)Change the status of the selected submitted claims to Approved.
4)Displays information messages as mentioned whenever a claim is approved, the same message will be captured in the job log.
‘Claims <ClaimID 1>,…<ClaimID N> now approved for ITC Vendor ID’.
5)Sending Email to each IRC.
6)Capture all the approved claims in the below format (Format Attached "Screen Shot Attachment")
7)Store the file in the Application Server AL11 in .csv format
Please Find Attachement For Reference.
1)ITC Claim Screen Shot
2)Screen Shot For Attachment
Thanks
RajHi,
You can add the following code in on approve method to show popup to the user,
IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
REFRESH lt_buttons.
lss_button-id = 'btnyes'.
lss_button-text = 'YES'.
lss_button-on_click = 'YES'.
APPEND lss_button TO lt_buttons.
CLEAR lss_button.
lss_button-id = 'btnno'.
lss_button-text = 'NO'.
lss_button-on_click = 'NO'.
APPEND lss_button TO lt_buttons.
CLEAR lss_button.
CALL METHOD comp_controller->window_manager->create_popup_2_confirm
EXPORTING
iv_title = 'ATTENTION'
iv_text = 'Are you sure you want to edit this document?'
iv_btncombination = '99'
iv_custombuttons = lt_buttons
RECEIVING
rv_result = req_edit.
req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
req_edit->open( ).
RETURN.
ELSE.
lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
lv_outbound = lr_node->get_event_name( ).
* CLEAR ptc_pricing_status.
* lv_outbound = req_edit->get_fired_outbound_plug( ).
IF lv_outbound = 'YES'.
you can use the submit report code here and you can al the validations here
ELSE. " No
if user clicks no nothing to do..
ENDIF.
CLEAR req_edit.
ENDIF.
Best Regards,
Dharmakasi. -
Schedule jobs witj job open, submit and close
Hi gurus,
I need to know if there is any way to schedule various jobs using the FM job_open job_submit and job_close. Like schedule the first job for a date and a hour and schedule others jobs to run after the first job sequential.
Its this possible?
Thk in advanceHi
see the sample code for the Job scheduling using the fun modules
IF p_bjob = 'X'.
CONCATENATE sy-cprog sy-datum sy-uzeit
INTO jobname SEPARATED BY '_'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
out_archive_parameters = arc_params
out_parameters = print_params
valid = valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF valid = chk.
SUBMIT yREP WITH s_kunnr IN s_cust
AND RETURN
USER sy-uname
VIA JOB jobname
NUMBER jobcount
TO SAP-SPOOL
SPOOL PARAMETERS print_params
ARCHIVE PARAMETERS arc_params
WITHOUT SPOOL DYNPRO.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = jobname
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
MESSAGE i029 WITH jobname.
ENDIF.
ELSE.
MESSAGE s000 WITH text-003.
STOP.
ENDIF.
ENDIF.
Regards
anji
Maybe you are looking for
-
How to get back my Photos in iOS 8
Hi. I have a iPhone 5S, last week I updated my device to iOS 8 and then i lost 50% of my photos. Im not talking about "Streaming photos", i lost 50% of the photos in the camera roll. I know that in iOS 8 the camera roll its split in different folders
-
Need Info On {QText} Tag
Hello, I am trying to embed text of different sizes and shapes in my slideshows. I would like to center text (even though the exported text says that it is center justified, it isn't). I would also like to have a transparent background so my images s
-
iam configurin ale idoc's when iam configuring at the time of partner profiles distribution(bd64) it is giving error like user name and pass word is wrong ..... re enter... plese help me thanks srikanth vipparla
-
Mac Mini crashes when I attempt to boot to OS Disc
Can't reinstall/reformat. System crashes when I try to reboot with the OS disc in. Before that, when i started the computer, the pinwheel kept spinning and I had to boot in safe mode and run Disk repair. Then it booted fine. But my iMovie project
-
Installing Photoshop Light from CD to my computer.
I wish to install Photoshop Lightroom 5 from a CD to my computer. I now have a 30 day free trial of Lightroom 5 on my computer and the trial period has expired. Can I just install my Lightroom 5 CD with the trial version still installed? Or, do I