Enterprise Data Services Community Blog
1 MIN READ
Deleting the computer name from DLO console stuck in "Delete pending" state
RahulG
16 years agoLevel 6
Would like to share the SQL command that helped in deleting the computer name from DLO console stuck in "Delete pending" state.
The Cause of this is most likely to be the change in HostName of a Workstation.
NOTE: Use BEUTILITY to DUMP "backup" the DLO database. Copy saved database X:\program files\Symantec\backup exec\data\BE_DLO.BAK to a safe location.
The delete machine script deletes by MachineID so the first thing we have to do is find out the Machine ID.
NOTE: Clean installs of Backup Exec 11 and 12 will use the BKUPEXEC instance for both the BE database and the DLO database. Upgrades from previous versions will have separate instances and the DLO instance maybe BKUPEXECDLO. Verify the instance name is correct before running the commands below.
From a CMD prompt type the following:
osql -E -S %COMPUTERNAME%\ bkupexec -d BE_DLO
1> select MSID from MachineSettings where MSName = 'ComputerName'
2> GO
(NOTE: 'ComputerName' above = the Host Name of the Computer as it appears in DLO Console)
Then take the MachineID returned and type:
1> EXEC Delete_Machine 'MachineID'
e.g. EXEC Delete_Machine 43
2> GO
Launch DLO Console and confirm that Computer Account no longer shows "Delete Pending" State and is deleted.
The Cause of this is most likely to be the change in HostName of a Workstation.
NOTE: Use BEUTILITY to DUMP "backup" the DLO database. Copy saved database X:\program files\Symantec\backup exec\data\BE_DLO.BAK to a safe location.
The delete machine script deletes by MachineID so the first thing we have to do is find out the Machine ID.
NOTE: Clean installs of Backup Exec 11 and 12 will use the BKUPEXEC instance for both the BE database and the DLO database. Upgrades from previous versions will have separate instances and the DLO instance maybe BKUPEXECDLO. Verify the instance name is correct before running the commands below.
From a CMD prompt type the following:
osql -E -S %COMPUTERNAME%\ bkupexec -d BE_DLO
1> select MSID from MachineSettings where MSName = 'ComputerName'
2> GO
(NOTE: 'ComputerName' above = the Host Name of the Computer as it appears in DLO Console)
Then take the MachineID returned and type:
1> EXEC Delete_Machine 'MachineID'
e.g. EXEC Delete_Machine 43
2> GO
Launch DLO Console and confirm that Computer Account no longer shows "Delete Pending" State and is deleted.
Published 16 years ago
Version 1.0RahulG
Level 6
Joined July 03, 2009
Enterprise Data Services Community Blog
Enterprise Data Services Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the community.