gomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gomd-devel] Re: <GOMD> GOMDVIEW & DAEMON updated


From: Matthias Rechenburg
Subject: Re: [gomd-devel] Re: <GOMD> GOMDVIEW & DAEMON updated
Date: Sun, 11 Apr 2004 19:21:14 +0000
User-agent: KMail/1.4.3

Ciao JP,

On Sonntag 11 April 2004 17:11, Gian Paolo Ghilardi wrote:
> Hi Matt.
>
> Uhm... But.... what if openmosix is not available (like on MacOSX => johnny
> cache, roeles?) or it's stopped: all gomds will cease to work!

mhm ;) ok, no prob to stay with the cache file

.... can we have something automatic to create this cache file ?

>
> I prefer a cache file mecahism (with autodisc) + a local check for nodes so
> we can handle all cases so if you don't want, you could NOT to start
> autodisc. Ok?

i am ok with that

>
> <rejected>
>
> PS: what if we met on IRC (irc.freenode.net => #gomd), 2 hour from now
> (around 21:00)?

;) will give my best to be there,

Matt

>
> ----- Original Message -----
> From: "Matthias Rechenburg" <address@hidden>
> To: "Gian Paolo Ghilardi" <address@hidden>
> Cc: "gomd developers mailing list" <address@hidden>
> Sent: Sunday, April 11, 2004 9:01 PM
> Subject: Re: [gomd-devel] Re: <GOMD> GOMDVIEW & DAEMON updated
>
> > Hi JP, me again,
> >
> > On Sonntag 11 April 2004 16:51, Gian Paolo Ghilardi wrote:
> > > Hi Matt.
> > >
> > > GOMS uses its cache file (/etc/gomd/knownGomds.conf) to contact other
> > > daemons.
> > > I've notice you use the omdiscd to get the IP so you've to manually add
> > > daemon entries in that file.
> > > - touch /etc/gomd/knownGomds.conf
> > > - add a line (IP:NODE_ID) for every node
> > >
> > > Maybe I've to kill the cache file: could we think an equation like
> > > one_node==one_running_gomd???
> >
> > yes, we can safely assume that the gomd is running on every node
> > It is our concept ;)
> > I am fine with removing the cache file functionality (if possible)
> >
> > > Bye.
> > >
> > > <rejected>
> >
> > howdy,
> >
> > Matt
> >
> > > ----- Original Message -----
> > > From: "Matthias Rechenburg" <address@hidden>
> > > To: "Gian Paolo Ghilardi" <address@hidden>
> > > Cc: "gomd developers mailing list" <address@hidden>
> > > Sent: Sunday, April 11, 2004 8:37 PM
> > > Subject: Re: [gomd-devel] Re: <GOMD> GOMDVIEW & DAEMON updated
> > >
> > > > Ciao,
> > > >
> > > > On Sonntag 11 April 2004 16:23, Gian Paolo Ghilardi wrote:
> > > > > Matt: can you try this simple test:
> > > > >
> > > > > try executing
> > > > > - exec cmd ls /usr
> > > > > - exec cwc ls /usr
> > > > > - exec con (PLEASE_SET_LOCAL_NODE_ID) ls /usr
> > > > > and let me know, pls. :)
> > > >
> > > > Escape character is '^]'.
> > > > Welcome to generic openMosix daemon at node8.juggle from socket 8
> > > > Here is node #22536
> > > > Timeout set to: 60 s
> > > > address@hidden # exec cmd ls /usr
> > > > bin
> > > > dict
> > > > doc
> > > > etc
> > > > games
> > > > h8300-hitachi-hms
> > > > include
> > > > info
> > > > java
> > > > kerberos
> > > > lib
> > > > libexec
> > > > local
> > > > man
> > > > qlusters
> > > > sbin
> > > > share
> > > > src
> > > > tmp
> > > > X11R6
> > > > [EOA]
> > > > [SCX]: command executed.
> > > > address@hidden # exec cwc ls /usr
> > > > - end of remote process output.
> > > > address@hidden # exec con (22536) ls /usr
> > > > - end of remote process output.
> > > > address@hidden # quit
> > > > closing session...
> > > > Connection closed by foreign host.
> > > > address@hidden gomdview]$
> > > >
> > > > > Pls, can you write me the contents of /etc/knownGomds.conf file?
> > > >
> > > > do not have such a file
> > > >
> > > > here the config i am running:
> > > >
> > > > address@hidden root]# cat /etc/gomd/*
> > > > # GOMD ACL CONFIGURATION FILE
> > > > #
> > > > # Syntax:
> > > > # IPADDRESS:SECURITY_LEVEL
> > > > #
> > > > # Available macros for IPADDRESS
> > > > # ANY_IP                (any provided IP)
> > > > # LOCAL_IP              (all local IPs, loopback included)
> > > > # LOCAL_SUBNET          (any IP on the local subnet)
> > > > #
> > > > # Available macros for SECURITY_LEVEL .
> > > > # ACL_DENY_CONTROL      (deny all permissions)
> > > > # ACL_FULL_CONTROL      (all permissions granted)
> > > > # ACL_LOCAL_INFOS_ONLY  (only local-infos granted)
> > > > #
> > > > # Examples:
> > > > # LOCAL_IP:ACL_FULL_CONTROL (all permissions granted on local
> > > > machine) #
> > > > #192.168.0.2:ACL_DENY_CONTROL
> > > > #192.168.0.2:ACL_FULL_CONTROL
> > > > #LOCAL_IP:ON_LOCAL_SUBNET
> > > > #ANY_IP:ACL_FULL_CONTROL
> > > > LOCAL_SUBNET:ACL_FULL_CONTROL# GOMD CHPOX SUPPORT (CHP) CONFIGURATION
> > > > FILE #
> > > > # Syntax:
> > > > # AUTODUMP_TYPE:APPNAME
> > > > #
> > > > # Available macros for AUTODUMP_TYPE .
> > > > # CHPOX_DUMP_ONCE_PROC                  (dump once the process)
> > > > # CHPOX_DUMP_PERSISTENT_PROC    (periodically dump the process)
> > > > #
> > > > # Available macros for APPNAME .
> > > > # CHPOX_ALL_APPS                                        (all apps)
> > > > #
> > > > # Examples:
> > > > # bash:CHPOX_DUMP_PERSISTENT_PROC (all registered bash instances will
>
> be
>
> > > > periodically dumped)
> > > > #
> > > > #
> > > > #bash:CHPOX_DUMP_ONCE_PROC
> > > > CHPOX_ALL_APPS:CHPOX_DUMP_ONCE_PROC
> > > > # /etc/gomd.conf
> > > > # gomd configuration file
> > > >
> > > > # Port: The port to which gomd listens. For ports < 1023,
> > > > # you will need gomd to be run as root initially.
> > > > Port=9889
> > > >
> > > > # Logfile: log messages into a file
> > > > Logfile=/var/log/gomd.log
> > > >
> > > > ##################
> > > > # openMosix stuff:
> > > > ##################
> > > >
> > > > # Clusterdir:
> > > > Cluster_dir=/proc/hpc/nodes
> > > >
> > > > # Clustercommand:
> > > > Cluster_command=mosctl
> > > > # GOMD LOADLIMIT SUPPORT (LLS) CONFIGURATION FILE
> > > > #
> > > > # Syntax:
> > > > # KEY:VALUE
> > > > #
> > > > # Please consult the LoadLimit HOWTO for more infos about this
>
> feature.
>
> > > > # Link: "http://howto.ipng.be/openMosixWiki/index.php/The openMosix
> > > > LoadCPULimit Howto: (Revised for completeness and clarity)"
> > > > #
> > > > # Just set the values as you need.
> > > > #
> > > > LOADLIMIT:0
> > > > LLIMITMODE:0
> > > > CPULIMIT:0
> > > > CPULIMITMODE:0# GOMD SECURED CLUSTER-WIDE EXECUTION (SCX)
>
> CONFIGURATION
>
> > > FILE
> > >
> > > > #
> > > > # Syntax:
> > > > # COMMAND:SECURITY_LEVEL
> > > > #
> > > > # Available macros for COMMAND .
> > > > # SCX_ALL_CMDS_ALLOWED          (all commands are enabled by default)
> > > > # SCX_ALL_CMDS_BLOCKED          (all comands are blocked by default)
> > > > #
> > > > # Available macros for SECURITY_LEVEL .
> > > > # SCX_NO_ACL_CHECK_REQUIRED     (no ACL check required)
> > > > # SCX_ACL_CHECK_REQUIRED        (ACL check required)
> > > > #
> > > > # Examples:
> > > > # ls /:SCX_NO_ACL_CHECK_REQUIRED (execute "ls /" on all the nodes)
> > > > #
> > > > ls /usr:SCX_NO_ACL_CHECK_REQUIRED
> > > > reboot:SCX_NO_ACL_CHECK_REQUIRED
> > > > nmap:SCX_NO_ACL_CHECK_REQUIRED
> > > > SCX_ALL_CMDS_ALLOWED:address@hidden root]#
> > > >
> > > > > Thanks.
> > > > >
> > > > > <rejected>
> > > >
> > > > howdy,
> > > >
> > > > Matt
> > > >
> > > > > ----- Original Message -----
> > > > > From: "Matthias Rechenburg" <address@hidden>
> > > > > To: "gomd developers mailing list" <address@hidden>; "Gian
>
> Paolo
>
> > > > > Ghilardi" <address@hidden>
> > > > > Sent: Sunday, April 11, 2004 6:58 PM
> > > > > Subject: Re: [gomd-devel] Re: <GOMD> GOMDVIEW & DAEMON updated
> > > > >
> > > > > > Ciao JP, Matt again,
> > > > > >
> > > > > > On Sonntag 11 April 2004 08:32, Gian Paolo Ghilardi wrote:
> > > > > > > > > > btw2 : updated gomdview.cpp in the cvs and changed the
> > > > > > > > > > open_remotecon method to use the lg object.
> > > > > > > > > > Could you please re-check ? it is not yet working for me
>
> ;))
>
> > > > > > > > > > (take your time, will look into it a bit more the next
>
> days
>
> > > > > > > > > > if
> > > > >
> > > > > time)
> > > > >
> > > > > > > Uhm... Maybe I've not understood the meaning of this method.
> > > > > > > Pls, can you explain what this method should do? :)
> > > > > >
> > > > > > i debugged it a bit more and the "exec con (nodeid) .." is not
> > > > > > yet working correctly ;)) I telneted to the gomd and ran
> > > > > > exact the commands the gomdview runs while open-a-remote-console
> > > > > > (in the configuration dialog of a node or all-nodes)
> > > > > > If i execute the command with "exec cmd" it works, if executed
> > > > > > as "exec con (nodeid) ..." it does not .
> > > > > > here some debug output :
> > > > > > Welcome to generic openMosix daemon at node8.juggle from socket 8
> > > > > > Here is node #22536
> > > > > > Timeout set to: 60 s
> > > > > > address@hidden # exec con (22536) /usr/bin/X11/xterm -display
> > > > > > 192.168.88.8:0.0
> > > > > > - end of remote process output.
> > > > > > address@hidden # ^[[
> > > > > > <ERR>: request is invalid! <-- stupid Matt ;)
> > > > > > address@hidden # exec cmd /usr/bin/X11/xterm -display
> > >
> > > 192.168.88.8:0.0
> > >
> > > > > > [EOA] <---- here i get the "wanted" xterm
> > > > > > [SCX]: command executed.
> > > > > > address@hidden # exec cmd /usr/bin/X11/xterm
> > > > > > [EOA] <--- here again
> > > > > > [SCX]: command executed.
> > > > > > address@hidden # exec con (22536) /usr/bin/X11/xterm
> > > > > > - end of remote process output. <--- here not ;)
> > > > > > address@hidden #
> > > > > >
> > > > > > hope this helps a bit, please let me know if you
> > > > > > need more debug infos.
> > > > > >
> > > > > > all the best + take your time,
> > > > > >
> > > > > > Matt
> > > > > > --
> > > > > > E-mail :  address@hidden
> > > > > > www : http://www.openmosixview.com
> > > > > > an openMosix-cluster management GUI
> > > > > >
> > > > > > Experience, n.:
> > > > > >         Something you don't get until just after you need it.
> > > >
> > > > --
> > > > E-mail :  address@hidden
> > > > www : http://www.openmosixview.com
> > > > an openMosix-cluster management GUI
> > > >
> > > > "Please remain calm...I may be mad, but I am a professional."
> >
> > --
> > E-mail :  address@hidden
> > www : http://www.openmosixview.com
> > an openMosix-cluster management GUI
> >
> > Men are from Mars.  Women are from Venus. Idiots are Universal.

-- 
E-mail  :  address@hidden
www     : http://www.openmosixview.com
an openMosix-cluster management GUI

for n in `ps -eo pid`; do migrate $n balance"; done;
have fun





reply via email to

[Prev in Thread] Current Thread [Next in Thread]