TCP receive/transmit windows

From: hmnguyen@verizongni.com
Date: Wed May 04 2005 - 07:52:12 EDT


Chuck;

To improve network and application data frames, you need to create a
scripts let call "S85buffer_TCP" in /etc/rc3.d. Why you just wanted to
increase it to 32Kb? let go for 64Kb TCP window size because majority of
applications now aday are written to accept TCP packet size at 64kb and
more. Besides, this new change will definitely improve your backup
performance. Just put two lines below in your new script:

ndd -set /dev/tcp tcp_xmit_hiwat 65536
ndd -set /dv/tcp tcp_recv_hiwat 65536

cheers,

Hoang Nguyen
Tel. 703-248-3158
Verizon GNS

                                                                                                                                            
                      sunmanagers-request@sunm
                      anagers.org To: sunmanagers@sunmanagers.org
                      Sent by: cc:
                      sunmanagers-bounces@sunm Subject: sunmanagers Digest, Vol 26, Issue 4
                      anagers.org
                                                                                                                                            
                                                                                                                                            
                      05/03/2005 05:37 PM
                      Please respond to
                      sunmanagers
                                                                                                                                            

Send sunmanagers mailing list submissions to
             sunmanagers@sunmanagers.org

To subscribe or unsubscribe via the World Wide Web, visit
             http://www.sunmanagers.org/mailman/listinfo/sunmanagers
or, via email, send a message with subject or body 'help' to
             sunmanagers-request@sunmanagers.org

You can reach the person managing the list at
             sunmanagers-owner@sunmanagers.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sunmanagers digest..."

Today's Topics:

   1. Sun CPU's (Robert)
   2. RE: Matching Billing Numbers (Alistair McKeown)
   3. ODBC Driver for Solaris (Dat Do)
   4. Sun 3310 Disk Array (L. Nguyen)
   5. Group limit (Rachid BOUKHARI)
   6. TCP receive window (Chuck)
   7. /dev/rdsk/c5t0d0s5 (/opt) gone after manual VxVM removal
      (NetComrade)
   8. [Q] ON-LINE replace T3 battary ?? (bbb bb)
   9. vnc 4.1 on solaris 8 inetd not working (Malhotra, Dave)
  10. Disk wiping tool (Vishal Gupta)

----------------------------------------------------------------------

Message: 1
Date: Tue, 3 May 2005 07:34:49 -0700 (PDT)
From: Robert <rgoud@yahoo.com>
Subject: Sun CPU's
To: sunmanagers@sunmanagers.org
Message-ID: <20050503143449.16837.qmail@web52402.mail.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hi list,
Is it possible to restrict an application to use only one particular CPU on
Sun Fire V210's
running Solaris 9. I remember doing it before, can't recall the command.
Thanks in advance
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

------------------------------

Message: 2
Date: Tue, 3 May 2005 12:24:59 +0100
From: Alistair McKeown <Alistair.Mckeown@jacobsrimell.com>
Subject: RE: Matching Billing Numbers
To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
Message-ID:

<642FA4A7A15DD611B44C00B0D0789CF201F695DA@kingscross.internal.jacobsrimell.com>

Content-Type: text/plain

Hi,
             Sorted many thanks for all your help seems theres a few ways
of
doing it.

It worked by putting both files into one file, sorting them, then using
uniq
-u which takes out lines which are not repeated.

Cat file1 > testfile
Cat file2 >> testfile
Sort testfile
Uniq -u testfile

-----Original Message-----
From: Alistair McKeown
Sent: 03 May 2005 11:59
To: sunmanagers@sunmanagers.org
Subject: Matching Billing Numbers

Hi there,

             I have two files containing billing numbers what I want to do
is to
get the billing numbers out of the first file which don't exist in the 2nd
file.
             Even with a sort and a diff, this still doesn't work, is there
some
sed or awk command which would do the trick. I.e it takes the first line of
the file and tries to match it to any lines in the 2nd. If it can't it
prints it out.

Alistair.

------------------------------

Message: 3
Date: Tue, 3 May 2005 08:16:21 -0700
From: Dat Do <ddo@telepacific.com>
Subject: ODBC Driver for Solaris
To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
Message-ID:

<551C84CF2317DD4988B76F1532F261D0C125@la2003mail2.latelephone.telepacific.int>

Content-Type: text/plain; charset="us-ascii"

Greetings,

My DBA is looking for an ODBC driver to connect her Microsoft-SQL-Server
Database from our Solaris 8 server. Can someone please let me know where I
can get a free ODBC driver for Solaris.

Thank you.
Dat

------------------------------

Message: 4
Date: Tue, 3 May 2005 11:23:11 -0400
From: "L. Nguyen" <ngclist@gmail.com>
Subject: Sun 3310 Disk Array
To: sunmanagers@sunmanagers.org
Message-ID: <ed7b7159050503082357c481a4@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

Does the Sun 3310 disk array comes with any built in VERITAS Volume
Manager license like how the A5200 does?

Thank you in advance for your help!

------------------------------

Message: 5
Date: Tue, 03 May 2005 15:41:01 +0000
From: Rachid BOUKHARI <rachid.boukhari@st.com>
Subject: Group limit
To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
Message-ID: <42779B8D.7020101@st.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi Gurus,

In Solaris8 AnswerBook , it is said that group names can have a maximum
of 8 characters.

Do you know any problem caused by group names of more than 8 characters,
is there any problem somewhere ?

Regards,

--
****************************************
* Rachid BOUKHARI                      *
* Unix/Linux System Administrator      *
* Rabat Information Security Officer   *
* STMicroelectronics-Rabat             *
*                                      *
* BP 765 Av IbnSina Agdal Rabat-Morocco*
* Phone: +212 22 93 63 29              *
* Fax: +212 22 93 63 34                *
****************************************
------------------------------
Message: 6
Date: Tue, 3 May 2005 08:49:58 -0700 (PDT)
From: Chuck <steeler_dude99@yahoo.com>
Subject: TCP receive window
To: sunmanagers@sunmanagers.org
Message-ID: <20050503154958.67503.qmail@web51110.mail.yahoo.com>
Content-Type: text/plain; charset="us-ascii"
Folks, I ran a Network Applicace (aka NetApp) netdiag comand and it says
that I should adjust a TCP parameter on my solaris box.  I would like to
incrase my TCP receive window to 32768 bytes, per NetApp but I can not seem
to see what solaris name adjusts this value.  I am pretty sure it's
tcp_recv_hiwat value, but wanted to check here 1st.  The list is below. I
will summarize.  Thanks in advance.
chuck
FILER> netdiag
Performing physical layer diagnostics.....OK
Performing network layer diagnostics.....OK
Performing transport layer diagnostics.....
The TCP receive window advertised by NFS client sun010-ge.usmc is 24820.
This is less than the recommended value of 32768 bytes.
You should increase the TCP receive buffer size for NFS on the client.
Press enter to continue ...
Here is the tcp list.
bash-2.03# ndd /dev/tcp \?
?                             (read only)
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_ipv4_ttl                  (read and write)
tcp_keepalive_interval        (read and write)
tcp_maxpsz_multiplier         (read and write)
tcp_mss_def_ipv4              (read and write)
tcp_mss_max_ipv4              (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_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)
tcp_trace                     (read and write)
tcp_compression_enabled       (read and write)
tcp_ipv6_hoplimit             (read and write)
tcp_mss_def_ipv6              (read and write)
tcp_mss_max_ipv6              (read and write)
tcp_rev_src_routes            (read and write)
tcp_ndd_get_info_interval     (read and write)
tcp_rst_sent_rate_enabled     (read and write)
tcp_rst_sent_rate             (read and write)
tcp_use_smss_as_mss_opt       (read and write)
tcp_wroff_xtra                (read and write)
tcp_extra_priv_ports          (read only)
tcp_extra_priv_ports_add      (write only)
tcp_extra_priv_ports_del      (write only)
tcp_status                    (read only)
tcp_bind_hash                 (read only)
tcp_listen_hash               (read only)
tcp_conn_hash                 (read only)
tcp_acceptor_hash             (read only)
tcp_host_param                (read and write)
tcp_time_wait_stats           (read only)
tcp_host_param_ipv6           (read and write)
tcp_1948_phrase               (write only)
tcp_reserved_port_list        (read only)
tcp_close_wait_interval(obsoleted- use tcp_time_wait_interval) (no read or
write)
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------
Message: 7
Date: Tue, 3 May 2005 15:42:08 -0400 (EDT)
From: NetComrade <netcomrade@bookexchange.net>
Subject: /dev/rdsk/c5t0d0s5 (/opt) gone after manual VxVM removal
To: sunmanagers@sunmanagers.org
Message-ID:
<Pine.LNX.4.21.0505031541310.20467-100000@karlson.dmitriev.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
All,
We had a test server running vxvm3.1, where we tried removing VxVM3.1,
together with dbed2.1. Can opt be recovered, and why was it lost?
Here are the steps taken:
a) /etc/system edited to take out all vxvm3.1
b) system rebooted, but VxVM license was missing
c) system rebooted off second disk (which had pre-vm disk config) (system
refused to boot from cdrom with MMU error)
d) /etc/vfstab overwritten with /etc/vfstat.prevm on original boot disk
e) system rebooted again with -s
f) all veritas pkgs removed
g) system rebooted
/dev/rdsk/c5t0d0s5: I/O error
Can't open /dev/rdsk/c5t0d0s5
/dev/rdsk/c5t0d0s5: CAN'T CHECK FILE SYSTEM.
/dev/rdsk/c5t0d0s5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
fsck fails
[root@v880]-> format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
Unable to open /dev/tty.
[root@v880]-> prtvtoc  /dev/rdsk/c5t0d0s5
* /dev/rdsk/c5t0d0s5 partition map
*
* Dimensions:
*     512 bytes/sector
*     424 sectors/track
*      24 tracks/cylinder
*   10176 sectors/cylinder
*   14089 cylinders
*   14087 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*     4019520 4290947776 4294967295
*   143349312 4155637504   4019519
*    12414720  79382976  91797695
*    99999552  43339584 143339135
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0   4019520   4019519   /
       1      7    00    4019520   8395200  12414719   /var
       2      5    00          0 143349312 143349311
       4     15    01  143339136     10176 143349311
       6      4    00   91797696   8201856  99999551   /usr
       7     14    01          0 143349312 143349311
this is the only thing I had saved:
[root@v880]-> cat rootdg.vxprint
dg rootdg       default      default  0        1112383996.1025.v880
dm rootdisk     c5t0d0s2     sliced   10175    143339136 -
v  opt          -            ENABLED  ACTIVE   12292608 fsgen     -
ROUND
pl opt-01       opt          ENABLED  ACTIVE   12292608 CONCAT    -
RW
sd rootdisk-04  opt-01       rootdisk 79505087 12292608 0         c5t0d0
ENA
v  rootdisk3vol -            ENABLED  ACTIVE   67090368 swap      -
ROUND
pl rootdisk3vol-01 rootdisk3vol ENABLED ACTIVE 67090368 CONCAT    -
RW
sd rootdisk-01  rootdisk3vol-01 rootdisk 12414719 67090368 0      c5t0d0
ENA
v  rootvol      -            ENABLED  ACTIVE   4019520  root      -
ROUND
pl rootvol-01   rootvol      ENABLED  ACTIVE   4019520  CONCAT    -
RW
sd rootdisk-B0  rootvol-01   rootdisk 143339135 1       0         c5t0d0
ENA
sd rootdisk-02  rootvol-01   rootdisk 0        4019519  1         c5t0d0
ENA
v  usr          -            ENABLED  ACTIVE   8201856  fsgen     -
ROUND
pl usr-01       usr          ENABLED  ACTIVE   8201856  CONCAT    -
RW
sd rootdisk-03  usr-01       rootdisk 91797695 8201856  0         c5t0d0
ENA
v  var          -            ENABLED  ACTIVE   8395200  fsgen     -
ROUND
pl var-01       var          ENABLED  ACTIVE   8395200  CONCAT    -
RW
sd rootdisk-05  var-01       rootdisk 4019519  8395200  0         c5t0d0
ENA
------------------------------
Message: 8
Date: Tue, 03 May 2005 19:21:23 +0000
From: "bbb bb" <mccux1@hotmail.com>
Subject: [Q] ON-LINE replace T3 battary ??
To: sunmanagers@sunmanagers.org
Message-ID: <BAY103-F23854108EFCC1BC655657D9E180@phx.gbl>
Content-Type: text/plain; format=flowed
I got message on /var/admin/message file said "SCHD[1]: W: u1pcu1 37 days
battery life left, Replace battery."
The T3 disk array (NOT T3+) have two "power and cooling" units and Replace
battery need replace whole set of "power and cooling" unit.  The power unit
need power off and unplug power cable.
Due to this server is very important database server, I don't want take any
risk.  My questions are:
1. Does there has any problem  ON-LINE replace power unit?
2.   any suggestion on replacement battery?
Thanks.
------------------------------
Message: 9
Date: Tue, 3 May 2005 14:44:17 -0500
From: "Malhotra, Dave" <dave.malhotra@qwest.com>
Subject: vnc 4.1 on solaris 8 inetd not working
To: <sunmanagers@sunmanagers.org>
Message-ID:
<04265F12C245EC449834C23C2D481827023BCEC4@itomae2km09.AD.QINTRA.COM>
Content-Type: text/plain; charset="us-ascii"
Whenever I connect with vncviewer I get the window manager and I put in
my login and password but as soon as I do the session dies before I get
the full desktop. Here is my configuration:
In my /etc/services:
# grep vnc /etc/services
vnc             5901/tcp        vnc             #Virtual Network
Computing
#
In my /etc/inetd.conf:
# grep vnc /etc/inetd.conf
vnc        stream  tcp     nowait  root    /usr/local/bin/Xvnc     Xvnc
-inetd -query localhost -once securitytypes=none -desktop DISPLAY=mail:1
#
Permissions of /tmp/.X11
# ls -las /tmp/.X11-unix
total 32
  16 drwxrwxr-x   2 root     root         176 May  3 15:17 .
  16 drwxrwxrwt  12 root     sys         1653 May  3 15:17 ..
#
The fontserver is running on 7100. I ran my inetd daemon with the -d
option to see if it would give me any hints. Here is what it says:
attempting incoming service vnc
accept, ctrl 4
7850 reaped
So it seems when vnc is about to open the full desktop the process gets
reaped. But why?
-dave
------------------------------
Message: 10
Date: Tue, 3 May 2005 14:34:57 -0700 (PDT)
From: Vishal Gupta <vishal_ki_mail@yahoo.com>
Subject: Disk wiping tool
To: sunmanagers@sunmanagers.org
Message-ID: <20050503213457.39723.qmail@web31509.mail.mud.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Could anybody please suggest a good method of wiping/
scrubbing disks on a Solaris machine (primarily
internal drives). I am looking for a tool which would
let me do this when we prepare a solaris box for lease
return.
I know we can do it through format --> analyze but I
was just wondering if anybody knows of a better and
more efficient way of doing it.
thanks and regards,
Vishal
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
End of sunmanagers Digest, Vol 26, Issue 4
******************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:38 EDT