Hi friends, in this post, we will discuss about how you can fix the issue, where SQL Server Agent might not be showing up in a SQL Server Failover Cluster Instance (FCI).
SQL Server Agent not showing in Failover Cluster
If you have a SQL Server failover cluster, and you cannot see SQL Server Agent service in the list of resources, under the relevant SQL Server role in the failover cluster, this most probably indicates, that there is a misconfiguration on the OS-level and/or cluster-level, that prevents the cluster from “seeing” the SQL Server agent service.
In addition to the above, in such scenario, if you right-click on the failover cluster role and select “Add Resource” and then “More Resources”, you will see that “SQL Server Agent” might not be available.
How to resolve the issue
So, what do you do in order to resolve the issue?
How can you make the “SQL Server Agent” service available in the failover cluster?
There is a PowerShell command that can help with that, which actually adds as a cluster resource type SQL Server Agent.
This command, is based on the fact that the file “SQAGTRES.dll” exists in c:\windows\system32
Therefore, if indeed the above file is available in the above folder on one of the participating nodes in the failover cluster, then the next step is to run the following PowerShell command:
Add-ClusterResourceType "SQL Server Agent" c:\windows\system32\SQAGTRES.dll
After you run the above command, you can then try again the add the SQL Server Agent service in the SQL Server failover cluster role, by right-clicking and selecting “Add Resource” and then “More Resources”.
Learn more SQL Server Administration Tips and Techniques – Enroll to our course!
Check our online course on Udemy titled “Essential SQL Server Administration Tips” (special limited-time discount included in link).
Via the course, you will learn essential hands-on SQL Server Administration tips on SQL Server maintenance, security, performance, integration, error handling and more. Many live demonstrations and downloadable resources included!
Featured Online Courses:
- Introduction to Azure Database for MySQL
- Working with Python on Windows and SQL Server Databases
- Boost SQL Server Database Performance with In-Memory OLTP
- Introduction to Azure SQL Database for Beginners
- Essential SQL Server Administration Tips
- SQL Server Fundamentals – SQL Database for Beginners
- Essential SQL Server Development Tips for SQL Developers
- Introduction to Computer Programming for Beginners
- .NET Programming for Beginners – Windows Forms with C#
- Introduction to SQL Server Machine Learning Services
- SQL Server 2019: What’s New – New and Enhanced Features
- Entity Framework: Getting Started – Complete Beginners Guide
- How to Import and Export Data in SQL Server Databases
- Learn How to Install and Start Using SQL Server in 30 Mins
- A Guide on How to Start and Monetize a Successful Blog
Read Also:
- Essential SQL Server Development Tips for SQL Developers
- The TempDB System Database in SQL Server
- SQL Server Installation and Setup Best Practices
- The feature you are trying to use is on a network resource that is unavailable
- SQL Server 2016: TempDB Enhancements
- tempdb growth
- Introduction to SQL Server Machine Learning Services
- Essential SQL Server Administration Tips
- What are SQL Server Statistics and Where are they Stored?
- Tip of the Week No.1 – SQL Server Always Encrypted
- Tip of the Week No.3 – TempDB Settings During Installation
- Tip of the Week No.6 – About SQL Server Temporary Tables
- Within Which Context Does SQL Server Access Network Resources?
- Troubleshooting the File Activation Error in SQL Server
- Check all our Weekly Tips!
Subscribe to our newsletter and stay up to date!
Subscribe to our YouTube channel (SQLNetHub TV)
Easily generate snippets with Snippets Generator!
Secure your databases using DBA Security Advisor!
Generate dynamic T-SQL scripts with Dynamic SQL Generator!
Check our latest software releases!
Check our eBooks!
Rate this article:
Reference: SQLNetHub.com (https://www.sqlnethub.com)
© SQLNetHub
Artemakis Artemiou is a seasoned Senior Database and AI/Automation Architect with over 20 years of expertise in the IT industry. As a Certified Database, Cloud, and AI professional, he has been recognized as a thought leader, earning the prestigious Microsoft Data Platform MVP title for nine consecutive years (2009-2018). Driven by a passion for simplifying complex topics, Artemakis shares his expertise through articles, online courses, and speaking engagements. He empowers professionals around the globe to excel in Databases, Cloud, AI, Automation, and Software Development. Committed to innovation and education, Artemakis strives to make technology accessible and impactful for everyone.