Agents Transacting in Open Environments Two phases: Locating appropriate agents through different kinds of discovery infrastructure –Agent Name Services.

Slides:



Advertisements
Similar presentations
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
Advertisements

Naming Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
1 Internet Networking Spring 2006 Tutorial 8 DNS and DHCP as UDP applications.
Distributed components
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Middle Agents Protocols. Matchmaking MatchmakerRequester Provider 1Provider n Request for service+pref. Unsorted full description of (P 1,P 2, …, P k.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
RETSINA: A Distributed Multi-Agent Infrastructure for Information Gathering and Decision Support The Robotics Institute Carnegie Mellon University PI:
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Hussain Ali Department of Computer Engineering KFUPM, Dhahran, Saudi Arabia Microsoft Networking.
PRASHANTHI NARAYAN NETTEM.
Course 6425A Module 2: Configuring Domain Name Service for Active Directory® Domain Services Presentation: 50 minutes Lab: 45 minutes This module helps.
Domain Name Services Oakton Community College CIS 238.
Understanding Active Directory
A centralized system.  Active Directory is Microsoft's trademarked directory service, an integral part of the Windows architecture. Like other directory.
1 Chapter Overview Understanding Windows Name Resolution Using WINS.
Windows Server 2008 Chapter 8 Last Update
Copyright line. Configuring DNS EXAM OBJECTIVES  An Introduction to Domain Name System (DNS)  Configuring a DNS Server  Creating DNS Zones  Configuring.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
DNS and Active Directory Integration
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #2 DNS and DHCP.
11 REVIEWING MICROSOFT ACTIVE DIRECTORY CONCEPTS Chapter 1.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Bootstrap and Autoconfiguration (DHCP)
Name Resolution Domain Name System.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Introduction to Networking Concepts. Introducing TCP/IP Addressing Network address – common portion of the IP address shared by all hosts on a subnet/network.
Module 2: Implementing DNS to Support Active Directory
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 25 (Data Communication & Networking Book): Domain Name System (DNS) 1.
Chapter 17 Domain Name System
Microsoft Active Directory(AD) A presentation by Robert, Jasmine, Val and Scott IMT546 December 11, 2004.
5.1 Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
Jonathan Walpole CSE515 - Distributed Computing Systems 1 Teaching Assistant for CSE515 Rahul Dubey.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Doc.: IEEE /0961r0 Submission July 2012 Alex Ashley, NDS LtdSlide 1 Layer 2 Service Discovery Protocols Date: Authors:
Designing Authentication for a Microsoft Windows 2000 Network Designing Authentication in a Microsoft Windows 2000 Network Designing Kerberos Authentication.
Module 7 Active Directory and Account Management.
Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)
1 Kyung Hee University Chapter 18 Domain Name System.
Enabling Peer-to-Peer SDP in an Agent Environment University of Maryland Baltimore County USA.
INTERNET AND ADHOC SERVICE DISCOVERY BY: NEHA CHAUDHARY.
Data Communications and Networks Chapter 5 – Network Services DNS, DHCP, FTP and SMTP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Configuring Name Resolution and Additional Services Lesson 12.
Module 6: Designing Name Resolution. Module Overview Collecting Information for a Name Resolution Design Designing a DNS Server Strategy Designing a DNS.
Page 1 Active Directory and DNS Lecture 2 Hassan Shuja 09/14/2004.
Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.
Jini Architecture Introduction System Overview An Example.
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
Improving SLP Efficiency and Extendability by Using Global Attributes and Preference Filters Weibin Zhao Henning Schulzrinne
Introduction to Active Directory
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Planning, Configuring, And Troubleshooting WINS.
Matching Engine for Service Providers & Requesters matching capabilities with requests capability parametersservice request (LARKS) matching capabilities.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
Chapter Overview Understanding Windows Name Resolution Using WINS.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Planning, Configuring, And Troubleshooting WINS.
IMPLEMENTING NAME RESOLUTION USING DNS
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
Overview Multimedia: The Role of WINS in the Network Infrastructure
Presentation transcript:

Agents Transacting in Open Environments Two phases: Locating appropriate agents through different kinds of discovery infrastructure –Agent Name Services (System level) –Middle Agents (Knowledge level) Performing the transaction –with or without middleware infrastructure

Agent Name Service v.2 (ANS) The ANS is a name registration and lookup service to facilitate communication among agent applications. Agent 1 Agent 2

DNS Most hosts that have an IP address know of (are preconfigured or learned via DHCP) of at least one DNS server Entries hardcoded and infrequently changed New specs (DNS update/DDNS) allow for dynamic updates of entries Hierarchical and distributed Primary and secondary masters for redundancy Local caching for “learned” entries to speed up future resolution requests New SRV Resource Records to indicate service type, address, port, and load balencing information

ANS Features & Benefits Acts as a “white-pages” service similar to the Domain Name Service (DNS) Provides extended features that do not exist in DNS Integrates new features that have not yet been standardized, or made widely available with DNS (service type and port numbers, service discovery) Provides platform for testing agent interactions without requiring immediate implementation and integration of new technologies into centrally administered network infrastructure

ANS acts as an extension to DNS Agent ANS Infrastructure DNS Infrastructure Name lookup Partial resolution but with extra info: Location = protocol://hostname:port-number hostname lookup IP Address

Agent Communications Agent 1 I want to talk on the network to other agents Agent 1 Now, I need to find other agents, and let them find me Agent 1

Recent Enhancements Automatic fail-over from one ANS server to another Ability to dynamically “discover” ANS servers (in both clients and servers) Ability for Client to perform operations on all known ANS servers Ability for Server to automatically “push” register and unregister requests Ability for Server to propagate lookup requests to other ANS Server systems Multiple avenues for Server to gain knowledge of Agent registration entry

ANS Client Initialization initialize internal list of ANS servers Agent 1 ANS Server “banana” File with list of servers apple lemon apple lemon ANS Server “pear” ANS Server “apple” 1

Dynamic “discovery” of ANS servers Available in both clients and servers Search for existing servers on system startup Discover new servers as they come online Remove servers that cleanly shut down and leave the network Remove servers that are unreachable (avoid future delays) Search for previously undiscovered servers when server-list falls below safe threshold Limit repeated discovery requests to avoid multicast storms Allow discovery to be disabled for single server sites, or in installations where Multicast traffic is prohibited Core discovery module based on Universal Plug-N- Play (UPnP) Simple Service Discovery Protocol (SSDP)

ANS Client Initialization search via SSDP discovery process Agent 1 ANS Server “banana” apple lemon ANS Server “pear” ANS Server “apple” 2

ANS Client Initialization active servers reply that they are available Agent 1 ANS Server “banana” apple lemon pear ANS Server “pear” ANS Server “apple” 3 I’m here

ANS Client Operation new servers announce that they are alive Agent 1 ANS Server “banana” apple lemon pear banana ANS Server “pear” ANS Server “apple” 4 Hey Everyone I just came online

ANS Client Operation entries are “pruned” if they are unreachable Agent 1 ANS Server “banana” ANS Server “pear” ANS Server “apple” 5 To: apple ? To: lemon To: pear To: banana

ANS Client Operation client can interact with one or all servers Agent 1 ANS Server “banana” ANS Server “pear” ANS Server “apple” 5 To: apple ? To: lemon To: pear To: banana

ANS Client/Server Operation Agent Registration with Server “Push” Agent 1 ANS Server “banana” ANS Server “pear” ANS Server “apple” To: apple Push to pear Push to banana

Server propagation of lookup requests Lookup in local cache, then possibly in SQL database Lookup with partner ANS servers in same discovery group Lookup sent to a user defined set of non-discoverable servers that can be used to implement an cross- organizational hierarchy of ANS systems Discovery group partners look in local cache only Hierarchy ANS servers look locally, then to their partners, then to their hierarchy systems Search path is propagated with lookup request to assist in loop avoidance and handling request Time- To-Live limits Successful non-local searches result in interim ANS servers “learning” and registering agent entry in their local cache

ANS Client/Server Operation Agent Lookup with Server Forwarding Agent 1 Lookup “Susan” ANS Server “apple” To: apple 1 Lookup in Local Cache 2 Check with Group Partners 3 Check Hierarchy Servers

Branching Nature of Extended ANS Lookup Agent Primary ANS Primary’s discovered partners Discovered partners of other servers in hierarchy Discovery Group-Partners provide scaling and fault tolerance Hierarchy Partners allow linking different organizational groups

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft

Linked ANS Organizations You Are Here Software Eng Robotics Computer Services English Art Nokia Microsoft Lookup “Bubba” Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found Not found Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found Not found Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found Not found Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft A Time-To-Live (TTL) of 5 (default) has been reached! Lookup will occur to local cache of “English” ANS server, but will not be forwarded to any of the English discovery group partners, or its hierarchy systems (Art). Going back through the progression, 5 to 4 to 3… the next hierarchy server branch found will be checked.

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Not found

Linked ANS Organizations You Are Here CMU Agents Group Software Eng Robotics Computer Services English Art Nokia Microsoft Bubba Found!

Linked ANS Organizations CMU Agents Group Nokia Microsoft Bubba “Learned” (registered) Bubba “Learned” (registered) Bubba “Learned” (registered) Answer to Bubba Lookup “Learned” Bubba Found

JINI Clients Agents (CA) and Service Agents/providers (SA) use Directory Agents (DA) to locate needed resources Discovery mechanism used for CAs and SAs to find DAs preferred DA(s) may be pre-populated instead of using discovery UA, SA, DA in JINI must have a DA (SLP and mDNS allow UA to discover SA without DA) Lookup of service type and attributes has lookup service performing “matchmaker”-type functions Lookup services periodically re-announce themselves on the network to allow services to register them selves with the new or recovered lookup service Non-responding lookup services are not automatically pruned from registering service’s list

ANS summary Provides name resolution of agent’s friendly advertised name to a location (host & port) Augments DNS service May be replaced by newer DNS services Like JINI, SLP, and SSDP, ANS implements discovery search for ANS servers (as DA’s) and uses unicast for the back channel Uses TCP sockets for client lookup queries Uses TCP sockets for agent registration

Providers and Requesters Agents can be categorized as either providers of services or requesters These roles are not exclusive Providers and requesters want to find each other based on functionality/capability This is done through advertisement and request via middle agents

Issues with Locating Agents (1) Evaluation criteria –performance –robustness –scalability –load balancing –privacy Where the matching is done –At the requester (preserving the privacy of requesters) –middle agents –service providers

Transaction Phase Providers and requesters interact with each other directly –a negotiation phase to find out service parameters and preferences (if not taken into account in the locating phase) –delegation of service Providers and requesters interact through middle agents –middle agent finds provider and delegates –hybrid protocols Reasons for interacting through middle agents –privacy issues (anonymization of requesters and providers) –trust issues (enforcement of honesty; not necessarily keep anonymity of principals); e.g. NetBill

Protocols Who to talk to: principals involved Message content: –ex: a LARKS specification Local processing: –ex: implied by KQML performatives (service- request, request-for-service-providers)

Matching Engine for Service Providers & Requesters matching capabilities with requests capability parametersservice request (LARKS) matching capabilities with requests capability parameters service request + parameters (LARKS) unsorted list of agent contact info decision algorithm sorted list of agent contact info

Broadcaster Requester Provider 1Provider n Request for service Broadcast service request Delegation of service Results of service request Offer of service

Yellow Page Requester Provider 1Provider n Request for service Unsorted list of contact info of (P 1,P 2, …, P k ) Advertisement of capabilities Delegation of service Results of service request

Matchmaking MatchmakerRequester Provider 1Provider n Request for service Unsorted full description of (P 1,P 2, …, P k ) Advertisement of capabilities +para. Delegation of service Results of service request

Classified Ads Requester 1 Provider 1 Request for service+pref. (R 1,R 2, …, R k ) contact info. Advertisement of capabilities Offer of service Service results Requester n Request for service+pref. Delegation of service Provider selects requester

Recommender Requester Provider 1Provider n Request for service+pref. Sorted full description of (P 1,P 2, …, P k ) Advertisement of capabilities +para. Delegation of service Results of service request

Facilitator Combines Agent Location and Transaction Phases FacilitatorRequester Provider 1Provider n Request for service+pref. Advertisement of capabilities + para. Results of service Service result Delegation of service

The Contract Net Protocol An agent coordination and distributed task allocation mechanism, where: –multiple heterogeneous agents can perform tasks –agents can play two roles: managers, contractees –managers receive tasks, select prospective contractees and ask for bids –best bid wins task, performs it, manager monitors Pros and cons: –simple to implement, base for many other protocols –fully distributed –performance quality not checked –easy to manipulate (free riders), may cause loops

Contract Net ManagerRequester Provider 2Provider n Request for service + preferences Broadcast service request + pref Delegation of service Results of service Offer of service Provider 1 Broadcast Offer of service Results of Service

Conclusions Flexible services for locating agents are crucial for agile e-commerce Emerging competing standards No thought or standards at the knowledge level yet