7. Organización del evento
7.6. Desarrollo de la actividad
The ROOT Node:
Edit the Config file which contributes towards creating the ‘mgmtSystem’ as follows:
# --- # Config Entries for Fork Daemon # ---
## This string should be unique for different networks ## It is used to uniquely identify a Fork Daemon ForkDaemon.UniqueString=ATGLOBAL-ISAAC ForkDaemon.SharedRoot=TRUE
# ---
# The domain of the bootstrap program ROOT-bootstrap.Level=/
ROOT-bootstrap.ForkProcessLocator=topic://FORKDAEMON/ATGLOBAL-ISAAC/:65535 # Number of registered subDomains
ROOT-bootstrap.NumOfRegisteredSubDomains=1 # Domain URI of subDomains and their locations
ROOT-bootstrap.RegisteredSubDomain_1=/ATGLOBAL-ISAAC
ROOT-bootstrap.RegisteredSubDomainForkProcess_1=topic://FORKDAEMON/ATGLOBAL-ISAAC/:65535 # Locaton of ForkProcess Daemons for spawning Managers
ROOT-bootstrap.NumberOfForkDaemons=0 # Locaton of Messaging Node
ROOT-bootstrap.NumberOfMessagingNodeDaemons=1 ROOT-bootstrap.MessagingNode_1=127.0.0.1
# ---
# Config Entries for ISAAC - Bootstrap Node # ---
# The domain of the bootstrap program
ROOT_ATGLOBAL-ISAAC-bootstrap.Level=/ATGLOBAL-ISAAC # Number of registered subDomains
ROOT_ATGLOBAL-ISAAC-bootstrap.NumOfRegisteredSubDomains=0 # Domain URI of subDomains and their locations
# Registry Locator
ROOT_ATGLOBAL-ISAAC-bootstrap.RegistryForkDaemon=topic://FORKDAEMON/ATGLOBAL- ISAAC/:65535
#ROOT_ISAAC-bootstrap.RegistryPersistentStore=wscontext:ISAAC198 # Locaton of Messaging Node
ROOT_ATGLOBAL-ISAAC-bootstrap.NumberOfMessagingNodeDaemons=1 ROOT_ATGLOBAL-ISAAC-bootstrap.MessagingNode_1=127.0.0.1
# Locaton of ForkProcess Daemons for spawning Managers
ROOT_ATGLOBAL-ISAAC-bootstrap.NumberOfForkDaemons=1
ROOT_ATGLOBAL-ISAAC-bootstrap.ForkDaemon_1=topic://FORKDAEMON/ATGLOBAL-ISAAC/:65535 # ---
# Config Entries for Service Adapter # ---
ServiceAdapter.NumOfMessagingNodes=1 ServiceAdapter.MessagingNode_1=127.0.0.1 ServiceAdapter.Level=/ATGLOBAL-ISAAC # ---
user.MessagingNodePort=25050 user.MessagingNodeTransport=niotcp user.RegistryMonitorInterval=30000 # ---
# Config Entries for BootStrapService UI # ---
BootStrapServiceUI.MessagingNode=127.0.0.1 BootStrapServiceUI.MessagingNodePort=25050 BootStrapServiceUI.MessagingNodeTransport=niotcp
Child Node Connecting to its Parent Node:
Edit the Config file which contributes towards creating the ‘mgmtSystem’ as follows:
# --- # Config Entries for Fork Daemon # ---
## This string should be unique for different networks ## It is used to uniquely identify a Fork Daemon
ForkDaemon.UniqueString=ATGLOBAL-XPS/ATGLOBAL-ZEN ForkDaemon.SharedRoot=FALSE
# ---
# Config Entries for XPS - Bootstrap Node # ---
# The domain of the bootstrap program
ROOT_ATGLOBAL-ZEN-bootstrap.Level=/ATGLOBAL-XPS/ATGLOBAL-ZEN # Number of registered subDomains
ROOT_ATGLOBAL-ZEN-bootstrap.NumOfRegisteredSubDomains=0 # Domain URI of subDomains and their locations
ROOT_ATGLOBAL-ZEN-bootstrap.RegisteredSubDomain_1=/ATGLOBAL-XPS/ATGLOBAL-ZEN ROOT_ATGLOBAL-ZEN- bootstrap.RegisteredSubDomainForkProcess_1=topic://FORKDAEMON/ATGLOBAL-XPS/ATGLOBAL- ZEN/:65535 # Registry Locator ROOT_ATGLOBAL-ZEN-bootstrap.RegistryForkDaemon=topic://FORKDAEMON/ATGLOBAL- XPS/ATGLOBAL-ZEN/:65535 #ROOT_ATGLOBAL-ZEN-bootstrap.RegistryPersistentStore=wscontext:XPS199 # Locaton of Messaging Node
ROOT_ATGLOBAL-ZEN-bootstrap.NumberOfMessagingNodeDaemons=1 ROOT_ATGLOBAL-ZEN-bootstrap.MessagingNode_1=127.0.0.1
# Locaton of ForkProcess Daemons for spawning Managers ROOT_ATGLOBAL-ZEN-bootstrap.NumberOfForkDaemons=1
ROOT_ATGLOBAL-ZEN-bootstrap.ForkDaemon_1=topic://FORKDAEMON/ATGLOBAL-XPS/ATGLOBAL- ZEN/:65535
# --- # Config Entries for Service Adapter # ---
ServiceAdapter.NumOfMessagingNodes=1 ServiceAdapter.MessagingNode_1=127.0.0.1
ServiceAdapter.Level=/ATGLOBAL-XPS/ATGLOBAL-ZEN # ---
# Config Entries for User Console # --- user.MessagingNode=127.0.0.1 user.MessagingNodePort=25050 user.MessagingNodeTransport=niotcp user.RegistryMonitorInterval=30000 # ---
# Config Entries for BootStrapService UI # --- BootStrapServiceUI.MessagingNode=127.0.0.1 BootStrapServiceUI.MessagingNodePort=25050 BootStrapServiceUI.MessagingNodeTransport=niotcp BrokerConfigurationExistingSGX ################################################################ # NaradaBrokering - Community Grid Labs. Indiana University. #
# #
# Broker Configuration Parameters # # #
# The "#" at the beginning of each line signifies comments. # # #
# #
################################################################ ################################################################ #This is the Non Blocking TCP port to which the broker listens for connections. NIOTCPBrokerPort=3035
#This is the TCP port to which the broker listens for connections. TCPBrokerPort=5045
#This is the UDP port to which the broker listens for connections. It #is a good idea to have this port number be identical to the TCP port. #The UDP communication is used specifically for transient bytes, since #there are no error corrections for UDP based communication.
UDPBrokerPort=3045
#This is the PTCP port to which the broker listens for connections. PTCPBrokerPort=15045
MulticastGroupHost=224.224.224.224 MulticastGroupPort=0
#This is the Non Blocking Thread pool TCP port to which the broker listens for #connections. PoolTCPBrokerPort=6045
#This is the HTTP port to which the broker listens for connections. HTTPSBrokerPort=7045
#This is the SSL port to which the broker listens for connections. SSLBrokerPort=8045
#This is the HTTP port to which the broker listens for connections. HTTPBrokerPort=9045
#This is the UP2P port to which the broker listens for connections. UP2PBrokerPort=0
PeerID=peerA
RelayServerHost=gf7.ucs.indiana.edu RelayServerPort=60055
#Indicates if Support for RTP should be included within the system SupportRTP=no
#This specifies the limit on concurrent connections. Base it on the #capabilities of the machine hosting the broker. This is also used by #the broker locator to determine the best available broker.
ConcurrentConnectionLimit=3000
#If this is a stand alone node, this should be "true". If this broker node #is intended to be the first node within a distributed setting this should #be "true". If this node is to receive its address from another broker, this #should be "false".
AssignedAddress=false
# Default Node address when AssignedAddress = true NodeAddress=1,1,1,1
# This gives the Geographical / Institutional info about this broker AboutThisBroker=CGL, Indiana University, Bloomington, IN, U.S.A.
# Comma seperated list of publicly known BDNs (listed in the order of preference) #
BDNList=http://www.idonotexist.com,http://trex.ucs.indiana.edu:8080/BDN/servlet/BDN,http://www.gridserlocat or.org/
# Broker Discovery Request Response Policy
DiscoveryResponsePolicy=cgl.narada.discovery.broker.DefaultBrokerDiscoveryRequestResponsePolicy # A String (or UUID) referring to the private broker network ID to which this broker belongs
# This value if missing OR * => this is a public broker VirtualBrokerNetwork=network-CGL-1
# VirtualBrokerNetwork=*
# Locates the keystore to be used by the broker BrokerKeyStore=keystore/NBSecurityTest.keys # Maximum number of requests to store
MAXBrokerDiscoRequests=1000
# Info to connect to the existing NB Network ConnectAddress=129.79.49.250 ConnectTransport=niotcp ConnectPort=3035 existingNBMessageingNode # --- # Prioritized Protocols # --- PRIORITIZED_PROTOCOL_LIST.prioritizedProtocolList=niotcp,tcp,udp,http,https,ssl # ---
# Default Messaging Node properties # --- DEFAULT_MESSAGING_NODE.NIOTCPBrokerPort=25050 DEFAULT_MESSAGING_NODE.TCPBrokerPort=25060 DEFAULT_MESSAGING_NODE.UDPBrokerPort=25070 DEFAULT_MESSAGING_NODE.HTTPBrokerPort=25600 DEFAULT_MESSAGING_NODE.HTTPSBrokerPort=25090 DEFAULT_MESSAGING_NODE.SSLBrokerPort=25080 DEFAULT_MESSAGING_NODE.PTCPBrokerPort=0 DEFAULT_MESSAGING_NODE.MulticastGroupPort=0 DEFAULT_MESSAGING_NODE.MulticastGroupHost=224.224.224.224 DEFAULT_MESSAGING_NODE.PoolTCPBrokerPort=0 DEFAULT_MESSAGING_NODE.PTCPStreamNumber=5 DEFAULT_MESSAGING_NODE.AssignedAddress=false DEFAULT_MESSAGING_NODE.NodeAddress=1,1,1,1 DEFAULT_MESSAGING_NODE.VirtualBrokerNetwork=network-CGL-1 DEFAULT_MESSAGING_NODE.SupportRTP=no DEFAULT_MESSAGING_NODE.BDNList=
DEFAULT_MESSAGING_NODE.Discriminator=159.59.*
DEFAULT_MESSAGING_NODE.AboutThisBroker=Default Messaging Node DEFAULT_MESSAGING_NODE.MAXBrokerDiscoRequests=1000 DEFAULT_MESSAGING_NODE.DiscoveryResponsePolicy=cgl.narada.discovery.broker.DefaultBrokerDiscove ryRequestResponsePolicy DEFAULT_MESSAGING_NODE.BrokerKeyStore=keystore/NBSecurityTest.keys DEFAULT_MESSAGING_NODE.BrokerTrustStore=../keystore/Broker.TRUSTSTORE DEFAULT_MESSAGING_NODE.BrokerTrustStorePass=passpass
# These are required only if AssignedAddress is false
#DEFAULT_MESSAGING_NODE.ConnectAddress=64.151.140.115 #DEFAULT_MESSAGING_NODE.ConnectAddress=192.168.1.6 DEFAULT_MESSAGING_NODE.ConnectAddress=129.79.49.115 #DEFAULT_MESSAGING_NODE.ConnectAddress=72.44.37.62 #DEFAULT_MESSAGING_NODE.ConnectAddress=192.168.1.9 DEFAULT_MESSAGING_NODE.ConnectTransport=niotcp #DEFAULT_MESSAGING_NODE.ConnectTransport=ssl DEFAULT_MESSAGING_NODE.ConnectPort=25050 #DEFAULT_MESSAGING_NODE.ConnectPort=25080 standaloneMessageingNode # --- # Prioritized Protocols # --- PRIORITIZED_PROTOCOL_LIST.prioritizedProtocolList=niotcp,tcp,udp,http,https,ssl # ---
# Default Messaging Node properties # --- DEFAULT_MESSAGING_NODE.NIOTCPBrokerPort=25050 DEFAULT_MESSAGING_NODE.TCPBrokerPort=25060 DEFAULT_MESSAGING_NODE.UDPBrokerPort=25070 DEFAULT_MESSAGING_NODE.HTTPBrokerPort=25600 DEFAULT_MESSAGING_NODE.HTTPSBrokerPort=25090 DEFAULT_MESSAGING_NODE.SSLBrokerPort=25080 DEFAULT_MESSAGING_NODE.PTCPBrokerPort=0 DEFAULT_MESSAGING_NODE.MulticastGroupPort=0 DEFAULT_MESSAGING_NODE.MulticastGroupHost=224.224.224.224 DEFAULT_MESSAGING_NODE.PoolTCPBrokerPort=0 DEFAULT_MESSAGING_NODE.PTCPStreamNumber=5 DEFAULT_MESSAGING_NODE.AssignedAddress=true DEFAULT_MESSAGING_NODE.NodeAddress=1,1,1,1 DEFAULT_MESSAGING_NODE.VirtualBrokerNetwork=network-CGL-1 DEFAULT_MESSAGING_NODE.SupportRTP=no DEFAULT_MESSAGING_NODE.BDNList= DEFAULT_MESSAGING_NODE.ConcurrentConnectionLimit=3000
DEFAULT_MESSAGING_NODE.Discriminator=159.59.*
DEFAULT_MESSAGING_NODE.AboutThisBroker=Default Messaging Node DEFAULT_MESSAGING_NODE.MAXBrokerDiscoRequests=1000 DEFAULT_MESSAGING_NODE.DiscoveryResponsePolicy=cgl.narada.discovery.broker.DefaultBrokerDiscove ryRequestResponsePolicy DEFAULT_MESSAGING_NODE.BrokerKeyStore=keystore/NBSecurityTest.keys DEFAULT_MESSAGING_NODE.BrokerTrustStore=../keystore/Broker.TRUSTSTORE DEFAULT_MESSAGING_NODE.BrokerTrustStorePass=passpass
# These are required only if AssignedAddress is false
#DEFAULT_MESSAGING_NODE.ConnectAddress=64.151.140.115 #DEFAULT_MESSAGING_NODE.ConnectAddress=192.168.1.6 DEFAULT_MESSAGING_NODE.ConnectAddress=127.0.0.1 #DEFAULT_MESSAGING_NODE.ConnectAddress=72.44.37.62 #DEFAULT_MESSAGING_NODE.ConnectAddress=192.168.1.9 DEFAULT_MESSAGING_NODE.ConnectTransport=niotcp #DEFAULT_MESSAGING_NODE.ConnectTransport=ssl DEFAULT_MESSAGING_NODE.ConnectPort=25050 #DEFAULT_MESSAGING_NODE.ConnectPort=25080