Applies to LANDesk Management Suite 9.0 (LDMS 9.5 not affected)
Description
You have made modifications to the Patch Download Properties. When you go back in later on, you find that the properties you have set (like the Patch Download location) have reverted back to defaults.
Cause
This issue is mainly caused by a loss of connection with the database when vaminer runs on the core to download patch/Antivirus content
Another possible cause is that the database was migrated from an older version of LANDesk Management Suite that has a smaller nvarchar size for the storage of the patch settings in the database.
Resolution
- Make a full backup of the database
- Open SQL Server Management Studio, connect to the RDBMS where the LANDesk database is located and click the New Query button
- Select the LANDesk database from the drop-down list
- Run the following query against the LANDesk database:
SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO Drop table [dbo].[PatchSettings] GO CREATE TABLE [dbo].[PatchSettings]( [PatchSettings_Idn] [int] IDENTITY(1,1) NOT NULL, [Name] [nvarchar](255) NULL, [Value] [nvarchar](MAX) NULL, CONSTRAINT [XPKPatchSettings] PRIMARY KEY CLUSTERED ( [PatchSettings_Idn] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO
After making this change, go into the Download Updates tool and and make sure the settings on all tabs are as desired, and click OK to save the options.
To prevent this from happening a "failover" system can be used for when the connection to the database is not available when vaminer runs. In LANDesk Management Suite 9 these patch settings are stored in the database, and a "hard-copy" file is not present or normally used. However, if you setup a file with the correct information and set it to read only, the core will not remove it and will use it when database connectivity is lost.
- Set up the Download settings how you want and then click OK to save the settings.
- Open the Database and go to the PatchSettings table
- Find the row with the Name column set to patchsources.xml. (usually the first row)
- Copy the contents of the Value column for this row. (Contents will be an xml document)
- Copy the contents to a text file and save it as PatchSourcesA.xml
- Move the file to the \\Core\LDMain\ (\LANDesk\ManagementSuite\) folder on your core.
- Right click on the file and select Properties.
- Set the File to be Read Only and Click OK.
- Rename the file to PatchSources.xml