Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

TMF endpoints architecture

News

Endpoints

Recommended Links Gateway Troubleshooting TEC Documentation Using Log Files to Troubleshoot Tivoli Environment
LCFD.LOG LAST.CFG     Humor Etc

Note: the information  in this page is partially derived from on IBM Redbook TME 10 Framework Version 3.2 An Introduction to the Lightweight Client Framework

The Endpoint installation creates:

[root@nti244/etc]# find . -name "*lcf*"

./rc.d/rc6.d/K10Tivoli_lcf1
./rc.d/rc0.d/K10Tivoli_lcf1
./rc.d/rc5.d/S99Tivoli_lcf1
./rc.d/rc4.d/S99Tivoli_lcf1
./rc.d/rc3.d/S99Tivoli_lcf1
./rc.d/rc1.d/K10Tivoli_lcf1
./rc.d/rc2.d/S99Tivoli_lcf1


The configuration and log files are placed in a directory named as follows:
./dat/<date-timestamp>.random_number.

The following data files are automatically created:

 LCFD.LOG

The following figure shows the LCFD.LOG after a successful installation and login of an LCF Endpoint. We specified the -d 2 parameter,

When the LCF daemon installs and starts, it creates the working directory and creates the log file.
Oct 05 04:21:43 1 lcfd lcfd 2.1 (w32-ix86)
Oct 05 04:21:43 1 lcfd run_dir: ˘ C:\Tivoli\lcf\dat\08221500.467\˘
Oct 05 04:21:43 1 lcfd logging to ˘ C:\Tivoli\lcf\dat\08221500.467\\lcfd.log˘ at level 2
It then creates a cache directory where the Endpoint will process methods
from the Gateway.
Oct 05 04:21:43 1 lcfd cache: ˘ C:\Tivoli\lcf\dat\08221500.467\\cache˘
Oct 05 04:21:43 1 lcfd cache limit: ˘20480000˘
Oct 05 04:21:43 1 lcfd cache size at initialization: ˘ 0 ˘
The LCF daemon starts to run and checks if there is an existing
configuration file (last.cfg). Being a new install, it immediately creates an
initial last.cfg file.
Oct 05 04:21:43 Q lcfd lcf_run
Oct 05 04:21:43 2 lcfd Writing GCS file: C:\Tivoli\lcf\dat\08221500.467\\last.cfg
Now, here is where the network broadcast occurs. It sends a login packet
within its subnet in search for an Endpoint Gateway listening at port 9494
(255.255.255.255+9494). By default, it makes 6 attempts at an interval of 5
minutes.
Oct 05 04:21:43 2 lcfd No known gateways.
Oct 05 04:21:43 2 lcfd Trying other login listeners...
Oct 05 04:21:43 1 lcfd Doing initial login broadcast...
Oct 05 04:21:43 Q lcfd send_login_dgram: interval=300 attempts=6
Oct 05 04:21:43 Q lcfd net_usend of 288 bytes to 255.255.255.255+9494. Bcast=1
Oct 05 04:21:43 Q lcfd send_login_dgram: waiting for reply. attempt 1 of 6
Oct 05 04:21:43 Q lcfd net_accept, handle=0x421f50

We receive a connection from the Endpoint Gateway (9.3.1.47). The
information about our newly assigned Endpoint Gateway is written to
last.cfg and we receive information about our assigned dispatcher number
and region identifier.


Oct 05 04:21:44 Q lcfd New connection from 9.3.1.47+4369
Oct 05 04:21:45 Q lcfd Entering net_recv, receive a message
Oct 05 04:21:45 Q lcfd Leaving net_recv with buffer of 384 bytes, session 0
Oct 05 04:21:45 Q lcfd recv: len=˘384˘ (code=˘14˘, session=˘ 0 ˘ )
Oct 05 04:21:45 2 lcfd Writing GCS file: C:\Tivoli\lcf\dat\08221500.467\\last.cfg
Oct 05 04:21:45 Q lcfd gobantp is dispatcher 3 in region 1375598768
Information is written to lcf.dat, our login is completed and the Endpoint
starts listening for any downcalls that may arrive.
Oct 05 04:21:45 1 lcfd write login file ˘ lcf.dat˘ complete
Oct 05 04:21:46 1 lcfd final pid: 260
Oct 05 04:21:46 1 lcfd Login to gateway complete.
Oct 05 04:21:46 1 lcfd Ready. Waiting for requests (0.0.0.0+9494).
Oct 05 04:21:46 2 lcfd Run timeout set: 120.
Oct 05 04:21:46 Q lcfd Entering Listener
Oct 05 04:21:46 Q lcfd net_wait_for_connection, handle=0x421f50

As operations are performed on the Endpoint (that is, downcalls arrive), this log will contain information about those calls.

After the first login, subsequent logins will have even simpler entries in the log, since the Endpoint will not have to broadcast to find an Endpoint Gateway.


LAST.CFG


File last.cfg contains configuration information from the last successful login to a Endpoint Gateway. This information will normally be used on subsequent logins to avoid the broadcast mechanism for locating an Endpoint Gateway. Although. as we will see in the next chapter, a different file (lcfd.cfg) using the same format, can define static configuration data that does not change with each successful login.

If lcfd.cfg. exists, it will be used in place of last.cfg. Additional information, including login credentials are stored in the binary file, LCF.DAT.

lcfd_port=9494
gateway_port=9494
log_threshold=2
start_timeout=120
run_timeout=120
lcfd_version=2.1
logfile=C:\Tivoli\lcf\dat\08221500.467\\lcfd.log
config_path=C:\Tivoli\lcf\dat\08221500.467\\last.cfg
run_dir=C:\Tivoli\lcf\dat\08221500.467\
load_dir=C:\Tivoli\lcf\bin\w32-ix86\mrt\
lib_dir=.
cache_loc=C:\Tivoli\lcf\dat\08221500.467\\cache
cache_index=Index.v14
cache_limit=20480000
log_queue_size=1024
log_size=1024000
udp_interval=300
udp_attempts=6

Most of these values entries are self evident. The most important values here are:

By default, a newly installed Endpoint, issues a broadcast message looking for an Endpoint Gateway it can use to connect to a TMR. Gateways that receive this broadcast, pass this login request to the Endpoint Manager who chooses a Gateway. That Gateway is then notified, and the Gateway then contacts the Endpoint to initiate the actual login. By default, the TMR Server chooses the first Endpoint Gateway that has reported the broadcast login
request from an Endpoint.

In an environment with multiple Gateways or multiple TMRs, it is highly desirable to provide controls that limit which Endpoint Gateways may be chosen for a new Endpoint.

There are currently two ways of controlling how an Endpoint becomes associated with an Endpoint Gateway.

1. Endpoint Configuration Files - When the Endpoint is started, it first looks for the existence of various configuration files. If these files exist, it will use information within these files that identify a specific Endpoint
Gateway. The Endpoint will then try to login to this Endpoint Gateway without issuing a broadcast message. If the Endpoint Gateway specified in the configuration files does not respond, then the Endpoint will resort to the broadcast mechanism searching for a different Endpoint Gateway.

2. Endpoint Policies - Policies (implemented through policy scripts) can be put in place to control how the Endpoint Manager and Endpoint



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March, 12, 2019