> > William Reich pisze: >> Hello all... >> >> I have two machines that are in a Sun Cluster configuration. >> In this configuration, I have two private LANs that are managed by >> the Sun Cluster software. >> >> I have been able to successfully establish UDP connections over the >> same LANs that are used by SUN CLUSTER. >> by using the correct LAN names. >> ( for example : clusternode1-priv-physical1 and >> clusternode1-priv-physical2 ) >> >> I am now trying to establish SCTP connections over the same LANs that
>> are used by SUN CLUSTER. >> >> Can anyone confirm whether or not it is allowed to establish SCTP >> connections over the same LANs that are used by SUN CLUSTER? >> ( My first attempts to do so have not been successful... ) >> >William, > >SCTP connections are not allowed over the cluster private interconnect because the >protocol is not used by the cluster infrastructure, or any known agents or utilities. The >SCTP packets are explicitly dropped. > >You can, of course, create SCTP connections between nodes over the public network. >Can you give a bit more detail about your configuration? Are you writing a cluster agent >that would like to use SCTP to communicate between nodes? >Thanks, >Nick In this configuration, there are two sparc machines connected together with two private LANs. For the purposes of this discussion, you can think of one machine as ACTIVE and the other as STANDBY. The two machines will to stay in sync so that when the ACTIVE fails, the STANDBY can pick up. The applications on each machine are setup to accomodate this idea. So, to stay in sync, the machines/applications send messages back and forth to each other. Now, in a normal deployment, everything is very generic. The traffic over the private LANs is UDP. BUT, now there is a feature enhancement to convert the UDP traffic to SCTP since SCTP is more reliable than UDP ( and our own home-grown protocol that was placed over top of UDP ). So, everything is working fine with the SCTP. Now the issue - we have this one customer that is using SunCluster with the above configuration. After working with SUN previously, we were able to get "our" UDP traffic used for machine sync to travel over the private LANs used by SunCluster. The customer has been using this for several years now. So, as you would expect, we have/want to bring our SCTP enhancement to this customer that wants to use SunCluster. Therefore, we need to get our SCTP traffic to traverse the private SunCluster LANs. ( In general, the configuration has two private LANs between the machines. We don't want to tell the customer that four private LANs are needed just because the customer wants to use SunCluster. ) Investigation reveals that the solaris kernel call sctp_get_opt() with options SCTP_GET_NLADDRS and/or SCTP_GET_LADDRS returns information that does not include the SunCluster private LANs. Interestingly, if the sctp_get_opt() calls are ignored ( by hacking ), the sctp sockets that are needed can be created, and everything that is required seems to work ( the SCTP traffic travels nicely over the SunCluster private LANs) . comments ? thanks wr