Deployment Solution

 View Only
  • 1.  Site Server Token

    Posted Oct 26, 2011 02:56 PM

    I am trying to figure out the query that will return the server name of the site server for a particular machine.  I need a token that can be used in scripts to reference the local site server.   There already is a token to return the name of the NS server, but that is the main SMP and not the site server that the agent is reporting to.  After spending an hour in SQL management studio, I'm giving up and asking for help.



  • 2.  RE: Site Server Token

    Broadcom Partner
    Posted Oct 26, 2011 03:19 PM

    Hi mike_plichta,

    There are two ways of getting the Site Server Token (Task Server).  btw. I don´t have one for Package Servers

    1) use this SQL Query for Task Server as Token:

    select c.name from TaskTargetDeviceCache vc left outer join Inv_Client_Task_Resources ctr on ctr._ResourceGuid = vc.Guid And vc.Guid = '%COMPUTERID%' left outer join Inv_Client_Task_Servers cts on cts.ClientTaskServerGuid = ctr.ClientTaskServerGuid Join vcomputer c on cts._ResourceGuid = c.guid

    2) you can install the Deployment Solution Samples for 7.1 SP1 this adds the Task Server token to the token list... try to following link to get the samples...

    https://www-secure.symantec.com/connect/downloads/deployment-solution-samples-v71-sp1-x64-smpcms-71updated-522011

    Hope this helps..

    Network23



  • 3.  RE: Site Server Token

    Posted Oct 26, 2011 04:34 PM

    In WinPE, you can use ALTIRIS_PXE_SERVER token for your PXE server, which is going to also be your task and package server.  In production, you can use TASK_SERVER for your task server.  Package server isn't currently a token.  Do you need to reference package server?

    KB for downloading the DS 7.1 Samples for 64-bit NS's:
    http://www.symantec.com/docs/HOWTO44396