© Copyright Lenovo 2017 Chapter 37: Service Location Protocol 577
Chapter 37. Service Location Protocol
ServiceLocationProtocol(SLP)allowstheswitchtoprovidedynamicdirectory
servicesthathelpsusersfindserversbyatt ributesratherthanby nameoraddress.
SLPeliminatestheneedforausertoknowthenameofanetworkhostsupporting
aservice.SLPallowstheusertobindaservice
descriptiontothenetworkaddress
oftheservice.
ServiceLocationProtocolisdescribedinRFC2608.
Note: SLPisnotsupportedontheinternalmanagementport(MGT).
SLPdefinesspecializedcomponentscalledagentsthatperformtasksandsupport
servicesasfollows:
UserAgent(UA)supportsservicequeryfunctions.Itrequestsservice
informationforuserapplications.TheUserAgentretrievesserviceinformation
fromtheServiceAgentorDirectoryAgents.AHostOn‐Demandclientisan
exampleofaUserAgent.
ServiceAgent(SA)providesservi ceregistrationandservice advertisement.
Note: Inthisrelease,SAsupportsUA/DAonLinuxwithSLPv2support.
DirectoryAgent(DA)collectsserviceinformationfromServiceAgentsto
providearepositoryofserviceinformationinordertocentralizeitforefficient
accessbyUserAgents.TherecanonlybeoneDirectoryAgentpresentpergiven
host.
TheDirectoryAgentactsasanintermediatetierintheSLParchitecture,placed
betweentheUserAgentsandtheServiceAgents,sotheycommunicateonlywith
theDirectoryAgentinsteadofwitheachother.Thiseliminatesalargeportionof
themulticastrequestorreplytrafficonthenetwork,anditprotectstheService
Agentsfrombeingoverwhelmedbytoomanyservicerequests.
Servicesaredescribedbytheconfigurationofattributesassociatedwithatypeof
service.AUserAgentcanselectanappropriateservicebyspecifyingtheattributes
thatitneedsinaservicerequestmessage.Whenservicerepliesarereturned,they
containaUniformResourceLocator(URL)pointingtotheservicedesired,
and
otherinformation,suchasserverload,neededbytheUserAgent.
FormoredetailsonSLPconfiguration,seetheLenovoFlexSystemFabricCN409310
GbConvergedScalableSwitchCommandReference forEnterpriseNOS8.4.
Active DA Discovery
WhenaServiceAgentorUserAgentinitializes,itcanperformActiveDirectory
AgentDiscoveryusingamulticastservicerequestandspecifiesthespecial,
reservedservicetype(service:directory-agent).ActiveDADiscoveryis
achievedthroughthesamemechanismasanyotherdiscoveryusingSLP.
TheDirectoryAgentreplieswithunicastservice
replies,whichprovidestheURLs
andattributesoftherequestedservice.