Hi Ed,

the changes look fine to me.

Just want to mention that should svcadm/svccfg for whatever reason 
provide output to stdout or stderr, it would appear within the calling 
tty when invoked at line 9353 (stdout is ok/expected there), 9388 and 9397

Greets
       Thorsten

Ed McKnight wrote:
> http://cr.opensolaris.org/~emk/CO-IPS-15/
> 
> Note that the new functions are factored down pretty far to enable as 
> much code sharing between the 'update' and 'complain' paths.
> 
> thx,  --emk
> 
> Description:
> --------------
> The OpenSolaris default installation does have the property 
> config/local_only for the SMF service rpc/bind to true.
> 
> Sun Cluster does need that value to be false, because other nodes need 
> to be ablte to communicate via rpc with each other.
> 
> This is specifically true at installation time.
> 
> Attempt to use scinstall on the second node to add the node to the 
> cluster does fail by saying "Attempting to contact "sponsorhostname" at 
> this time.", which is not giving the hint to look for the rpc/bind setup 
> on the sponsor node.
> 
> scinstall should really check for config/local_only to be false, 
> otherwise either error out and advise the user to set it to false, or 
> give the user the option to set it to false and continue the installation.
> 
> Comments:
> ---------
>  From email:
> 
> "...Note that for centralized install the user runs scinstall only on 
> one node. We probably can safely assume that if local node has this bad 
> setting that other nodes will, too. The message should say to fix the 
> setting on all nodes, then rerun scinstall. Small window for problem if 
> local node is already OK, for some reason, but remote nodes are not..."
> 
> Evaluation:
> ------------
> ...Consensus is that rpc must be set properly for cluster communication 
> so it's OK to force the value to 'false' when that will still enable the 
> user to continue. In the case of configure just first node we can force 
> it because subsequent nodes will be installed via addnode, which again 
> is a single node operation where we can forse the setting.
> 
> For centralized install we cannot force the setting on all nodes because 
> rpc must be correctly configured in order to reach out to other nodes. 
> In this case we check local node (before attempting other remote node 
> checks) and if the value is wrong, issue a complaint instructing the 
> admin to execute the given commands on each node, then exit.
> 
> noninteractive_centralized_install() is invoked only (indirectly) by 
> 'cluster create -f' and must be treated like interactive centralized 
> install.
> 
> -- END --

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Sitz der Gesellschaft:
   Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
   Amtsgericht Muenchen: HRB 161028
   Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
   Vorsitzender des Aufsichtsrates: Martin Haering
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to