LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs_dr and solaris

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: lvs_dr and solaris
From: Andy Wettstein <awettstein@xxxxxxxx>
Date: Fri, 14 Sep 2001 10:05:37 -0500
On Fri, Sep 14, 2001 at 10:52:15AM +0200, Roberto Nibali wrote:
> Hello,
> 
> > It is something on solaris called nca. From nca(1)
> 
> Oh man, I completely missed [1]. I now understand it. This is a very
> similar 'tool' to khttpd except that its roots lie on rpc calls.
> 
> > We were testing it out I guess.  I didn't know it was turned on when I
> > tried the lvs_dr.  It is supposed to cache http requests or something of
> > that sort through a kernel module.  It was causing all kinds of other
> > weird problems with iplanet along with breaking lvs_dr.
> 
> Reading [2], I would like to ask you, if you disabled KeepAlive in
> the iPlanet configuration?

Well I just looked into it.  iPlanet makes no mention of a KeepAlive in
their setup manual.  Apparently iPlanet knows about snca and you can
configure a listener for nca by putting a family="nca" line in its
config file.  Unfortunately after I put that line in the config file the
web server fails to start with this:

iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 00:58
startup failure: could not bind to port 80 (Protocol not supported)

So something is broken somewhere, which isn't all that surprising, i
guess.

If you're really interested in iPlanet's setup guide for SNCA, you can
follow this link and scroll down a little:
http://docs.iplanet.com/docs/manuals/enterprise/50/tuning/contents.htm#18185

>  
> > Nope, these are ultra 10's.  It wasn't my decision to use solaris or
> > iplanet.  I've not really been impressed with either. Hopefully lvs
> 
> I now understand why the guys did test with the SNCA :)
> BTW, what are typical `ndd /dev/nca \?` settings? I just don't have
> a Solaris 8 ready back here.

Here they are:
# ndd /dev/nca \?
?                             (read only)
ip_forwarding                 (read and write)
ip_respond_to_address_mask_broadcast(read and write)
ip_respond_to_echo_broadcast  (read and write)
ip_respond_to_timestamp       (read and write)
ip_respond_to_timestamp_broadcast(read and write)
ip_send_redirects             (read and write)
ip_forward_directed_broadcasts(read and write)
ip_debug                      (read and write)
ip_mrtdebug                   (read and write)
ip_ire_cleanup_interval       (read and write)
ip_ire_flush_interval         (read and write)
ip_ire_redirect_interval      (read and write)
ip_def_ttl                    (read and write)
ip_forward_src_routed         (read and write)
ip_wroff_extra                (read and write)
ip_ire_pathmtu_interval       (read and write)
ip_icmp_return_data_bytes     (read and write)
ip_send_source_quench         (read and write)
ip_path_mtu_discovery         (read and write)
ip_ignore_delete_time         (read and write)
ip_ignore_redirect            (read and write)
ip_output_queue               (read and write)
ip_broadcast_ttl              (read and write)
ip_icmp_err_interval          (read and write)
ip_reass_queue_bytes          (read and write)
ip_strict_dst_multihoming     (read and write)
ip_addrs_per_if               (read and write)
tcp_time_wait_interval        (read and write)
tcp_conn_req_max_q            (read and write)
tcp_conn_req_max_q0           (read and write)
tcp_conn_req_min              (read and write)
tcp_conn_grace_period         (read and write)
tcp_cwnd_max                  (read and write)
tcp_debug                     (read and write)
tcp_smallest_nonpriv_port     (read and write)
tcp_ip_abort_cinterval        (read and write)
tcp_ip_abort_linterval        (read and write)
tcp_ip_abort_interval         (read and write)
tcp_ip_notify_cinterval       (read and write)
tcp_ip_notify_interval        (read and write)
tcp_ip_ttl                    (read and write)
tcp_keepalive_interval        (read and write)
tcp_maxpsz_multiplier         (read and write)
tcp_mss_def                   (read and write)
tcp_mss_max                   (read and write)
tcp_mss_min                   (read and write)
tcp_naglim_def                (read and write)
tcp_rexmit_interval_initial   (read and write)
tcp_rexmit_interval_max       (read and write)
tcp_rexmit_interval_min       (read and write)
tcp_wroff_xtra                (read and write)
tcp_deferred_ack_interval     (read and write)
tcp_snd_lowat_fraction        (read and write)
tcp_sth_rcv_hiwat             (read and write)
tcp_sth_rcv_lowat             (read and write)
tcp_dupack_fast_retransmit    (read and write)
tcp_ignore_path_mtu           (read and write)
tcp_rcv_push_wait             (read and write)
tcp_smallest_anon_port        (read and write)
tcp_largest_anon_port         (read and write)
tcp_xmit_hiwat                (read and write)
tcp_xmit_lowat                (read and write)
tcp_recv_hiwat                (read and write)
tcp_recv_hiwat_minmss         (read and write)
tcp_fin_wait_2_flush_interval (read and write)
tcp_co_min                    (read and write)
tcp_max_buf                   (read and write)
tcp_strong_iss                (read and write)
tcp_rtt_updates               (read and write)
tcp_wscale_always             (read and write)
tcp_tstamp_always             (read and write)
tcp_tstamp_if_wscale          (read and write)
tcp_rexmit_interval_extra     (read and write)
tcp_deferred_acks_max         (read and write)
tcp_slow_start_after_idle     (read and write)
tcp_slow_start_initial        (read and write)
tcp_co_timer_interval         (read and write)
tcp_sack_permitted            (read and write)
nca_log_cycle                 (read and write)
no_caching                    (read and write)
nca_log_size                  (read and write)
nca_max_cache_size            (read and write)
nca_http_timeout              (read and write)
nca_http_keep_alive_timeout   (read and write)
nca_http_keep_alive_max       (read and write)
nca_version                   (read only)
nca_httpd_version             (read only)
nca_logd_version              (read only)
httpd_door_address            (read and write)
httpd_door_instance           (read and write)
httpd_door_path               (read and write)
nca_ppmax                     (read and write)
nca_vpmax                     (read and write)
nca_availrmem                 (read only)
nca_maxkmem                   (read only)
nca_debug_counter             (read and write)
nca_logging_on                (read and write)
nca_log_file                  (read and write)
conn_status                   (read only)
conn_status_all               (read only)

> 
> > will just work, and I won't have to deal with trying to configure
> > anything on these servers.  I usually let the system administrators
> > deal with those pieces of software.
> 
> Good luck to them.
> 
> [1]: http://docs.sun.com:80/ab2/coll.47.11/SYSADV3/@Ab2PageView/823?\
>      DwebQuery=nca&oqt=nca&Ab2Lang=C&Ab2Enc=iso-8859-1
> [2]: http://grex.cyberspace.org/~fhejazi/solaris/snca.html
> 
> Best regards,
> Roberto Nibali, ratz
> 
> -- 
> echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users


<Prev in Thread] Current Thread [Next in Thread>