SQL Server - stop services using bat file
Asked By pardhiveswar via SQLMonster.com
18-Nov-09 08:05 PM
HI,
I have 2 bat files one for to stop the service and the other to start the
service.
start service will be done using sp_procoption
basically i need to stop the service on the existing node whenever the
instance is failover to another node..or instance is stopped
Can some one tell me how to run a *.bat file when the instance is stopped
THanks in advance..
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-security/200911/1
Backup
(1)
Pardhi
(1)
Polyserver
(1)
Linchi Shea replied to pardhiveswar via SQLMonster.com
Can you clarify exactly you would like to accomplish?
The SQL service would be stopped on this node if the instance is failed over
to the other node. You do not need to stop it unless you are talking about
some other non-SQL service?
Linchi
pardhiveswar via SQLMonster.com replied to Linchi Shea
Sorry for the delay,
Actually we are using performance analysis for sqlserver(PASS) in polyserver
cluster environment
for that it will create (PASS)services on primary and backup nodes..
polyserver does not have the ability to stop the service on the existing node
and start the service on the backup node when a failover occurs
Thats why we are looking for all other options...
Thanks Pardhi
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-security/200911/1
Is there a way to backup backup jobs? SQL Server Simple question, Is there a way to backup backup jobs? I only want to do this becuase I have a job that runs a series of TSQL statements that are rather lengthy. SQL Server Discussions Backup (1) Database (1) Jeff (1) Becuase (1) Andnot (1) MSDB (1) I'm retarded, I m mean to just backup scheduled jobs that i have and not backup jobs. I have a backup of my database, but when i restore it, it does not restore my jobs. I
Differential backup with no full backup? SQL Server When you perform a differential backup and a full backup doesn't exist you get this error message. current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option." This is good. However it seems like you don t get this error message under all conditions. I have seen a differential backup run successfully, with no current full backup. Right now when I'm testing I can
Differential backup problem SQL Server SQL Server 2005 express. To automate the backup process, I am using SQLCMD along with windows schedulers to do log / differential / full backup. At 12:00 AM, I do full backup, differential backup at every 4 hours (excluding 12:00 am when I do full backup), and log backup every 30 minutes. Everything works fine (both full and log backup) but the problem is that when differential backup happens (say 12:00 pm), I am
backup chain question SQL Server Say I do full backup at 12:00 AM everyday. Every 4 hours I do differential backup and every 30 minutes, I do log backup. Howerver I do not do log backup when I am doing differential backup FULL BACKUP AT 00:00:00 LOG BACKUP AT 00:30:00 LOG BACKUP AT 01:00:00 LOG BACKUP AT 01:30