Yan Posted June 6, 2014 Report post Posted June 6, 2014 Hello I need guidance to accomplish user data backup and restore in a refresh scenario for sites that don't have SMP role. 1 Primary Site: W2012R2, SCCM 2012 R2 CU1, DP, SMP 5 Site System Server: W2003R2, DP (regional sites) I could not get SMP to work properly on W2003R2 although it installed. Documentation seems to indicate SMP role is not supported on W2003R2. I have CustomSettings.ini with DefaultGateway to identify regional sites and it seems to be working in my TS. I added OSDStateStorePath=\\WPG\USMT-Data$. I read online that setting variable OSDStateStorePath should skip "Request State Store" but I'm getting an error on " Request State Store" task step in my TS. I could create another TS for the regions but I would like to keep using a single TS for all. How can I skip a task in a TS based on DefaultGateway? thank you SMSTS.log clip ------ Processing the [DEFAULTGATEWAY] section ------ InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Match found for default gateway 172.16.111.1, retrieving settings. InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)------ Processing the [WPG] section ------ InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Property MACHINEOBJECTOU is now = OU=Winnipeg,OU=Workstations,OU=Computers,OU=xxxxxx,DC=cirb-ccri,DC=com InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Using from [WPG]: MACHINEOBJECTOU = OU=Winnipeg,OU=Workstations,OU=Computers,OU=xxxxxxx,DC=cirb-ccri,DC=com InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Property TIMEZONE is now = 020 InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Using from [WPG]: TIMEZONE = 020 InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Property TIMEZONENAME is now = Central Standard Time InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Using from [WPG]: TIMEZONENAME = Central Standard Time InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Property OSDSTATESTOREPATH is now = \\WPG\USMT-Data$ InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)Using from [WPG]: OSDSTATESTOREPATH = \\WPG\USMT-Data$ InstallSoftware 05/06/2014 9:53:06 AM 1936 (0x0790)clip Number of local SMP's = 0 OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)Retrieving SMP list succeeded OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)Looking for UsersList OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)User List is empty in MigrationInfo from MP. OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)Successfully processed response from MP. OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)Contacting available state migration points to service capture request OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)No state migration points are available to service request. OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)ExecuteCaptureRequestSMP failed (0x80004005). OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)ExecuteCaptureRequest failed (0x80004005). OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)OSDSMPClient finished: 0x00004005 OSDSMPClient 05/06/2014 9:53:27 AM 5268 (0x1494)Process completed with exit code 16389 TSManager 05/06/2014 9:53:27 AM 4932 (0x1344)!--------------------------------------------------------------------------------------------! TSManager 05/06/2014 9:53:27 AM 4932 (0x1344)Failed to run the action: Request State Store.Unknown error (Error: 00004005; Source: Unknown) TSManager 05/06/2014 9:53:27 AM 4932 (0x1344)clip Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted June 6, 2014 Report post Posted June 6, 2014 Use a Set dynamic variable step to set a task sequence variable based on the gateway. The variable can be used for the next steps. Quote Share this post Link to post Share on other sites More sharing options...
Yan Posted June 6, 2014 Report post Posted June 6, 2014 I will give it a shot but it seems I have an issue with the how my TS is evaluating variables. I disabled Determine Local or Remote and still smsts.log shows USMTLOCAL=True. I even tried setting it to False in CS.ini but it still shows up as true in smsts.log, The weird thing is that Request State Store is still processed even though the condition says to run only if not equal true! smsts.log clip Start executing an instruction. Instruction name: Request State Store. Instruction pointer: 38 TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Set a global environment variable _SMSTSCurrentActionName=Request State Store TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Set a global environment variable _SMSTSNextInstructionPointer=38 TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Set a local default variable OSDStateFallbackToNAA TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Set a global environment variable _SMSTSLogPath=C:\WINDOWS\CCM\Logs\SMSTSLog TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Evaluating an AND expression TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Evaluating a variable condition expression TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Expand a string: notEquals TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Expand a string: USMTLOCAL TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)Expand a string: True TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)The condition for the action (Request State Store) is evaluated to be true TSManager 06/06/2014 2:07:50 PM 4064 (0x0FE0)clip Quote Share this post Link to post Share on other sites More sharing options...
Yan Posted July 2, 2014 Report post Posted July 2, 2014 Sorry for the late reply I just finished testing and it's working. I still don't understand why USMTLOCAL=TRUE but her is a screen shot. Thank you Quote Share this post Link to post Share on other sites More sharing options...