I'm looking for a solution using autosys monitor sql job as following:
kick off a sql server job
monitor the job status
if the job failed, restart at the step where it failed
email notification if job failed or not running at, let say 3 am.
I'd appreciate pointers or example of how to accomplish this.
Thanks!
Since i did not get enough information on using autosys to start/monitor sql jobs. I created an ssis package for this purpose. I use autosys to start/monitor the ssis package, however. The reason for this is to get notification when there is issue with the sql server itself (reboot - causing job to be suspended, network issue - sql server is not reachable, etc...)
Related
I'm trying to stop Grakn server but it doesn't stop. When I query status, it says both server and storage are running.
I thought it's related with this issue. However this issue is solved long before.
I did some operations like insert, match, delete with Python client. Is it possible one of them didn't close well?
I can't run any query on Python client or console now, it gives this error:
Unable to create connection to Grakn instance at localhost:48555
Cause: io.grpc.StatusRuntimeException
UNAVAILABLE: io exception
It's possible that the server has actually stopped but the terminal process doesn't know about it.
Grakn Core 1.8 runs as a Java process. You can check if there is a server instance by running:
jps
If there is a Grakn instance, it will be named GraknServer, and you can force quit it if necessary using kill.
After that you can restart Grakn using ./grakn server start as normal.
ingesting data to kakfka cluster that can send data to adx kusto db by using kafka-sink-azure-kusto .
iam successfully ingesting data to kafka cluster and its not transferring data to kusto db. how to debug this? any logs i can verify.
i have tried to check broker log no errors there
ref:https://github.com/Azure/kafka-sink-azure-kusto/blob/master/README.md
Could you please provide more information about how you are running Kafka, and how did you set up the connector?
Debugging steps would be:
Broker logs should mention that connector was picked up properly, did you see that line in the logs?
Looking at Connector logs should show more info about what is actually going on under the hood. Maybe you will see some errors there. /var/log/connect-distributed.log
Try to ingest data via any other method? like one of the SDK's
Try running the setup according to steps detailed under delpoy
Update: more info about connector setup in general can be found at this SO question: Kafka connect cluster setup or launching connect workers
Also, confluent has some helpful docs:https://docs.confluent.io/current/connect/userguide.html
Actually, I'm using oracle 11g enterprise edition so that the connection and functionality is all right but when i restarted my computer and try to connect with database it show "THE NETWORK ADAPTER CANNOT ESTABLISH THE CONNECTION" again i'm start the oracle services this was some time waste for every time
so can anyone tell how to fix it.
In windows... You can set OracleXETNSListner,OracleServiceXE Startup Type Automatic.
Open task manager>services>find OracleXETNSListner,OracleServiceXE>click right>open services> find OracleXETNSListner,OracleServiceXE> set Startup type Automatic.
The firewall setting at the server breaks the connection to an application I am using every 2 hours it sees it idle.
How to i write/configure a task from Windows Scheduler to Ping the database every 30 minutes so that the Firewall is not able to break the connection.
I know I need to use the query "select * from dual"
But I am beginner with zero experience on windows administrative tools.
Can someone please help me, how to do it.
Thanks.
Download SQL*Plus from the Oracle website (http://www.oracle.com/technetwork/topics/winsoft-085727.html)
Then create a bat file with the select * from dual command.
Create a scheduled task that runs the command, such as:
sqlplus user/password #query.sql
I would however get your firewall configured correctly.
This explains how to schedule a task:
http://windows.microsoft.com/en-US/windows/schedule-task#1TC=windows-7
This explains how to connect to Oracle from the command line.
How to connect to Oracle 11g database remotely
When configuring the action for the task, use sqlplus in the "Program/Script" field and username/password#hostA:1521 /XE for "Add arguments (optional)".
I'd like to develop a simple solution using .NET for the following problem:
We have several computers in a local network:
10 client computers that may need to execute a program that is only installed on two workstations
The two workstations that are only used to execute the defined program
A server that can be used to install a service available from all previously described computers
When a client computer needs to execute the program, he would send a request to the server, and the server would distribute the job to a workstation when available for execution, and inform the client computer when the execution has been performed.
I'm not very used to web and services development so I'm not sure if it's the best way to go, but below is a possible solution I thought about:
A web service on the server stores in queues or in a database the list of tasks with their status
The client computer calls the web service to execute a program and gets a task id. Then calls it every second with the task id to know if the execution has been performed.
The workstations that are available call the web service every second to know if there is something to execute. If yes, the server assigns the task, and the workstation calls the web service when the execution is completed.
I summarized this in the below figure:
Do you think to a simpler solution?
Have a look at signalr! You could use it as messaging framework and you would not need to poll the service from 2 different diretions. With signalR you would be able to push execution orders to the service and the service will notify the client once the execution has been processed. The workstation would be connected with signalR, too. They would not need to ask for execution orders as the webservice would be able to push execution orders to either all or a specific workstation.