Dmitry
если Replication Detail
Dmitry
то там куча всего красного
Sergei
Всем привет, подскажите почему при закачке msu c Microsoft Update Catalog файл с кумулятивный обновлением занимает 1.2 Гигабайта, а через SCCM update package уже весит 9 Гигабайт? Месячный ппакет для 10 занимает 30 Гигов... ну ни в какие ворота не лезет
Dmitry
Error: Replication group "General_Site_Data" has failed to initialize for subscribing site 000, setting link state to Error.
всё что подсвечивает :)
Dmitry
Site is NOT active, so not calling the DrsActivation procedures on DRSSite queue.
Dmitry
хм
Sergey
а ты это... перед апгрейдом сам то не останавливал репликацию?
Dmitry
лог только до 02.05 сохранился(
Dmitry
Dmitry
короче пойду индуса курить
Dmitry
https://blogs.technet.microsoft.com/umairkhan/2014/03/24/configmgr-2012-drs-troubleshooting-faqs/
Dmitry
На одной вкладке General_Site_Data ок, на другой не ок 😊
Dmitry
так и запутаться можно
Alexander
Sergei
Alexander
Тогда надо смотреть не вес файла, а в свойствах сколько он на диске занимает
Alexander
Скачавается только дельта
Dmitry
https://blogs.technet.microsoft.com/sudheesn/2012/10/20/drs-initialization-in-configuration-manager-2012/
Dmitry
а че
Dmitry
интересные статейки
Dmitry
если вдумываться
даже понятно местами :)
Sergei
Alexander
На дп тогда это скорее всего норма
Sergei
Sergei
вот обнова весит 1.2, а качает все 9 Гигов
Dmitry
From the previous post we know the various status for replication groups. Barring 99 (Which is an ‘Error’ state) we can try reiniting them. If we have any group with 99 status we might have to drill down the logs (VLogs, RCMCtrl.log) to find the cause and correct it. One scenario of BCPIn failed mentioned above is Error state. 99 are generally related to database inconsistencies.
If it is a single or few groups they we can drop the .PUB file but If there are multiple such groups then we can use the below command to re-init them all (But make sure to check the size of them, in case they are big, the Cx should be aware. exec spDiagGetSpaceUsed )
на сколько опасно we can drop the .PUB file?
Oleg
SCCM Client on Windows 1803
The SCCM client on Windows 1803 is supported on SCCM 1802 only.
Oleg
чо правда штоле? как так то? :)
Dmitry
а эт нормально, что cas в maintenance mode ушёл?
Dmitry
SiteStatus Mode
120 'MAINTENANCE_MODE'
Dmitry
CAS будет в MM пока не начнут ходить данные между сайтами?
Quantum Yupiter
Quantum Yupiter
Со всех первичников
Quantum Yupiter
Читаем Умайра хана
Quantum Yupiter
Первичник в Мм пока не получит глобал дата
Quantum Yupiter
Quantum Yupiter
Я с лодки не готов цитировать Умайра))
Quantum Yupiter
Типа того)
Dmitry
чето попёрло
Dmitry
всякие такие строки в rcmctrl.log пошли
Removing old data for site table ... [DECLARE @DRS_Context VARBINARY(128)~~ SET @DRS_Context = CAST(N'SCCM_DRS' AS VARBINARY(128))~~ SET CONTEXT_INFO @DRS_Context~~~~ WHILE EXISTS (SELECT * FROM [CI_CurrentComplianceStatus] WHERE (CI_CurrentComplianceStatusID between 72057594037927936 and 144115188075855871) )~~ BEGIN~~ DELETE TOP(1000) [CI_CurrentComplianceStatus] WHERE (CI_CurrentComplianceStatusID between 72057594037927936 and 144115188075855871) ~~ END~~~~ SET @DRS_Context = CAST(N'' AS VARBINARY(128))~~ SET CONTEXT_INFO @DRS_Context]
Quantum Yupiter
Drop database)
Dmitry
новые ошибки стали в логе появляться
Dmitry
это радует
Dmitry
Drop database)
я на секунду очканул и ещё раз лог пересмотрел))
Dmitry
ты не пугай так
Dmitry
Error: Failed to BCP in for table CI_CurrentComplianceStatus with error code 2147500037.
Error: Failed to apply BCP for all articles in publication General_Site_Data.
Dmitry
😐
Quantum Yupiter
Quantum Yupiter
В логе
Dmitry
уже смотрю лог с самого начала
Dmitry
капитану спасибо передавай :)
Sergey
rsat 1803
https://www.microsoft.com/en-us/download/details.aspx?id=45520
Dmitry
*** [23000][2601][Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert duplicate key row in object 'dbo.CI_CurrentComplianceStatus' with unique index 'CI_CurrentComplianceStatus_AK_AS_idx'. The duplicate key value is (49096, 27, 33562643, 0).
*** [01000][3621][Microsoft][SQL Server Native Client 11.0][SQL Server]The statement has been terminated.
CBulkInsert::DRS_Init_BCPIN : Failed to BCP in
BCP in result is 2147500037.
Error: Failed to BCP in for table CI_CurrentComplianceStatus with error code 2147500037.
Quantum Yupiter
Quantum Yupiter
Кейс или разбираться как правильно удалить дубликат
Quantum Yupiter
Из базы каса или с первичника, с которого это пришло
Dmitry
думаю всё таки с первичника, тк на нём был os upgrade
Dmitry
и на нём ничего не делали в этом время
Dmitry
как-то сыкотно в БД что-то дропать :)
Quantum Yupiter
В том и фишка
Quantum Yupiter
С другой стороны это статус комплаенса, вряд ли он сильно важен
Quantum Yupiter
Новый придёт
Dmitry
Да
Quantum Yupiter
Написано почему
Quantum Yupiter
Там duplicate key value
Quantum Yupiter
Надо найти это value и уничтожить
Dmitry
возращаясь к статейке, которую скидывал 7 часов назад: https://www.windows-noob.com/forums/topic/12968-database-replication-link-has-failed-site-data-after-2012-r2-cu5/
Dmitry
есть там запросик
Dmitry
но он ничего не выдаёт
Dmitry
SELECT Count(*), ModelID, CIVersion, ItemKey, UserID
FROM CI_CurrentComplianceStatus
GROUP BY ModelID, CIVersion, ItemKey, UserID
Having count(*)>1
Quantum Yupiter
Это надо на праймери делать
Quantum Yupiter
Номер дубликата в логе есть
Quantum Yupiter
49096, 27...
Dmitry
The duplicate key value is (49096, 27, 33562643, 0).
Dmitry
ну всё, осталось понять, как удалить правильно :)
Quantum Yupiter
Если верить статье, то последствий не будет, но прошу не считать это рекомендацией тех поддержки)