Jump to content


Bendo1984

Copy SMS logs to share on currently deploying DP

Recommended Posts

Hi guys,

 

We have a SCCM setup, with 12 DP's in 12 different countrys - i would like to copy the sms logs to the currently deploying DP.

How can this be done?

 

I have a Access based Emuration share on evey DP \\Server\OSDlogs$

 

I cant get this to work

 

cmd /c xcopy /E /C /I /Y %_SMSTSLogPath%\*.* %_SMSTSHTTP%\OSDLogs$

 

Is there any other variable i can use, to get the local DP unc path ?

Share this post


Link to post
Share on other sites

i dont get any errors in the log file, but the files is not getting copied over to the share - permission is set to everyone on the share

 

We want to this, so we can have some informations on every deployemnt.

i dont want all the logs copied to a central server in Denmark, i would like to get them copied to the local SCCM Site

Share this post


Link to post
Share on other sites

I would add SMSTSMachineName.

 

Nope, no access denied - But the variable SMSTSHTTP is given me http://DP- i need the UNC Path, and not the HTTP adress - is there any other variable i can use with instead ?

 

SMSTSPackageID would give me an UNC path to a given package location, but i cannot use that either as i only want the FQDN of the DP.

 

There is some informations here : http://venusingireddy.blogspot.dk/2013/07/sccm-osd-task-sequence-slow-package.html

Share this post


Link to post
Share on other sites

So you are going to have to create a share on each DP in order to capture this data. you can parse the DP name from the HTTP address.

Also keep in mind that you based on xcopy command above you will only ever has 1 set of logs on each DP.

Share this post


Link to post
Share on other sites

If you haven't already, integrate MDT 2013 with SCCM. Then create a new task sequence with MDT, this will prompt you to create the toolkit files and settings files packages. Copy this into your CustomSettings.ini file in the MDT Settings Files package directory:

[Settings]
Priority=DefaultGateway, Default

[DefaultGateway]
192.168.20.1=STOCKHOLM
192.168.40.1=SINGAPORE
192.168.60.1=LONDON

[STOCKHOLM]
SLSHARE=\\STOCKHOLM-SERVER\OSD_Logs\Finished_Logs
SLShareDynamicLogging=\\STOCKHOLM-SERVER\OSD_Logs\%hostname%

[SINGAPORE]
SLSHARE=\\SINGAPORE-SERVER\OSD_Logs\Finished_Logs
SLShareDynamicLogging=\\SINGAPORE-SERVER\OSD_Logs\%hostname%

[LONDON]
SLSHARE=\\LONDON-SERVER\OSD_Logs\Finished_Logs
SLShareDynamicLogging=\\LONDON-SERVER\OSD_Logs\%hostname%

[Default]


Then do your custom tweaks to the TS, whatever it looks like.

 

The SLShare property will copy all the log files after a deployment to the directory you specify. The SLShareDynamicLogging property will copy the log files to that directory specified, in real time, effectively enabling real time logging.

 

Add this as the last step in your TS to actually copy the log files (SLShare):

 

qEVEa4n.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.