RE: sunmanagers Digest, Vol 20, Issue 34

From: Bernard Hidayat (bhidayat_at_itdiv.kompasgramedia.com)
Date: 11/24/04

  • Next message: ert weerr: "Re: how to ufsdump a mirrored drive?"
    To: <sunmanagers@sunmanagers.org>
    Date: Wed, 24 Nov 2004 09:58:27 +0700
    
    

    Hi Managers,
    I want to create a script to monitor our sf280r machine with vmstat
    command from 7:00 to 19:00. This is OK. The problem is:

    I want to put the result in a directory that put month and date
    automatically (ex. 24th November result will be in 11_24 directory)
    My plan with the script is:
    - Put it in crontab so it would run automatically
    - The first step is creating directory that symbolized month and the
    date
    - run vmstat and put the result into directory in previous step above

    Can anyone help me please? Thanks in advance.

    Regards,
    Bernard Hidayat
    Staff Bagian Infrastruktur dan Perangkat Jaringan
    Divisi Teknologi Informasi Kelompok Kompas Gramedia
    Jln. Palmerah Selatan 22 - 28, Jakarta 10270
    Gedung Unit III Lantai 4
    Telp. (62-21) 5483008 Ext. 4502
    Fax. (62-21) 5482731

    -----Original Message-----
    From: sunmanagers-bounces@sunmanagers.org
    [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of
    sunmanagers-request@sunmanagers.org
    Sent: Wednesday, November 24, 2004 2:23 AM
    To: sunmanagers@sunmanagers.org
    Subject: sunmanagers Digest, Vol 20, Issue 34

    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. EMAIL SERVER SOFTWARE (Sam Mabjish)
       2. How to edit NVRAM in a SF 280R? (Tony Magtalas)
       3. SUMMARY: SDS/SVM on USB disks possible? (Webmaster - ITServ GmbH)
       4. Enterprise collaboration (Steve Rieger)
       5. SNMP on Solaris 2.6 (aggunia@comcast.net)
       6. Tips and tricks for running a busy mail server? (loonux fc)
       7. How to change MAC address and hostid in Sun's 280R
          (correction) (Tony Magtalas)
       8. SUMMARY: Solaris 8 to 9 upgrade problem with disk space
          (Pawel Branski)
       9. Not able to connect to system via terminal server (Geon Reuben)
      10. Update: Not able to connect to system via terminal server
          (Geon Reuben)

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

    Message: 1
    Date: Tue, 23 Nov 2004 11:30:52 -0500
    From: Sam Mabjish <sam@bernuth.com>
    Subject: EMAIL SERVER SOFTWARE
    To: sunmanagers@sunmanagers.org
    Message-ID: <41A365BC.6090302@bernuth.com>
    Content-Type: text/plain; charset=us-ascii; format=flowed

    Hello Folks,
    I am looking for a free or unexpensive email server software.
    Could you please give me your recommendation?
    Features needed are POP3, IMAP, web access, centralized address book.
    Thanks in advace, sam

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

    Message: 2
    Date: Tue, 23 Nov 2004 08:32:11 -0800 (PST)
    From: Tony Magtalas <ttk67@yahoo.com>
    Subject: How to edit NVRAM in a SF 280R?
    To: Sun Managers List <sunmanagers@sunmanagers.org>
    Message-ID: <20041123163211.64700.qmail@web81602.mail.yahoo.com>
    Content-Type: text/plain; charset=us-ascii

    Does anybody know how to modify the content of the
    NVRAM in a Sun's 280R?

    I used to be able to do it in older systems such as
    Ultra 1,2,10,220R using the "mkpl" commands.
    Now when I tried to use mpk and mpkl commands at the
    ok prompt on a 280R, it says command not recognized
    Please help.

    I will summarize if there is enough interest
    Tony

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

    Message: 3
    Date: Tue, 23 Nov 2004 17:41:50 +0100
    From: "Webmaster - ITServ GmbH" <webmaster@itserv.de>
    Subject: SUMMARY: SDS/SVM on USB disks possible?
    To: <sunmanagers@sunmanagers.org>
    Message-ID: <002801c4d17b$55a49ad0$1502a8c0@venus>
    Content-Type: text/plain; charset="iso-8859-1"

    Thanks to everybody for your feedback. Here are the official results:

    Summary: Yes, it works, but certainly not for the boot device.
    (currently,
    my USB stick is defined as a one-way mirror and holds the primary
    metadb).

    But read on...

    My test device (USB stick) was not recognized as a disk in format(1M),
    but
    is accessible as any other disk device (it became /dev/dsk/c3t0d0 after
    running devfsadm). Since format did not see it, I had to put a VTOC on
    it
    using fmthard. Not funny.

    After that, metadb -fac3 worked (slow - USB1.1), and so did the
    metainit.
    Next, I created a filesystem on the metadevice, entered it in
    /etc/vfstab
    with a mount-at-boot=yes, options=logging, mount-pass=2 (early boot!),
    and
    rebooted. Everything worked flawless, but: the VOLD tried to unmount the
    stick (and failed to do so). Not a real problem.

    Again, only USB 1.1, meaning: I have a write rate at 770kb/s. I dont
    have
    a PCI USB2.0 adapter in my machine.

    Interesting links:
    http://supportforum.sun.com/hardware/index.php?t=msg&goto=8964&rid=0#msg
    _8964
    (read ENTIRE!)

    1. SunBlade 100 has only USB1.1 - not enough bandwidth to seriously
    connect
    a hard disk.
    2. There are reports from users who installed a USB 2.0 card which was
    seen
    by cfgadm.
    3. There are users which succeeded to connect a large (>130GB) disk via
    USB
    without any problems (see link above)
    4. There are others, who reported that they still have a 130GB limit...

    5. The best solution by far seems to be a IDE-to-SCSI-Bridge, which will
    be
    the solution I tend to use. But be careful, there are bridges which also
    have a 130GB limit in it's controller.

    Using the IDE-to-SCSI-Bridge will give you the guerantee to have SDS and
    even boot support, if you have a bootable SCSI card. So this is the
    choice.

    Peter

    > ----- Original Message -----
    >
    > > Hi there,
    > >
    > > does anybody know if it's possible to mirror two USB disks connected
    to
    a
    > > SunBlade 100 using SDS/SVM?
    > >
    > > I'm planning to buy two such disks, but need to mirror them against
    each
    > > other to prevent data loss.
    > >
    > > Thank you for your thoughts.
    > >
    > > Peter
    > > _______________________________________________
    > > sunmanagers mailing list
    > > sunmanagers@sunmanagers.org
    > > http://www.sunmanagers.org/mailman/listinfo/sunmanagers

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

    Message: 4
    Date: Tue, 23 Nov 2004 11:44:40 -0500
    From: Steve Rieger <steve.rieger@tbwachiat.com>
    Subject: Enterprise collaboration
    To: "sunmanagers@sunmanagers.org" <sunmanagers@sunmanagers.org>
    Message-ID: <BDC8D328.37B7%steve.rieger@tbwachiat.com>
    Content-Type: text/plain; charset="US-ASCII"

    Hi all,

    Am looking at options out there for an alternative for MS Exchange. Am
    testing sun one server, currently. Problems are as follows, we use Mac
    os as
    desktop, and sun doesn't not talk the ical format nor does it talk
    webdav,
    which means that I do not have a desktop client for all the users. And
    yes
    it is a requirement here.

    I know that Rutgers is using sun cal server, and has a workaround for
    the
    ical. If anybody has some more insight please send me some pointers.

    Thanx

    --
    Steve Rieger
    Direct 212-804-1131
    Cell 646-335-8915
    ------------------------------
    Message: 5
    Date: Tue, 23 Nov 2004 16:53:32 +0000
    From: aggunia@comcast.net
    Subject: SNMP on Solaris 2.6
    To: sunmanagers@sunmanagers.org
    Message-ID:
    	
    <112320041653.8253.41A36B0C000627F30000203D22070016410E07029A09090E@comc
    ast.net>
    	
    Content-Type: text/plain; charset="us-ascii"
    Hi all,
    I have some old Solaris 2.6 boxes that our enterprise wants to monitor
    via SNMP.  I have configured the snmpd.conf and snmpdx.acl files
    accordingly, and when running '/etc/rc3.d/S76snmpdx start', I cannot
    view any MIB values (using SNMPview 2.5 from my workstation).  I've
    checked the community name, and made sure my workstation name (did
    nslookup on workstation) is listed in the manager line I am not getting
    any errors in my /etc/adm/messages.  I did confirm that the boxes have
    Solstice Enterprise Agent 1.0 installed.  Any thoughts from anyone out
    there would be appreciated.  Thanks!
    Anthony
    aggunia@comcast.net
    ------------------------------
    Message: 6
    Date: Tue, 23 Nov 2004 12:12:00 -0500
    From: loonux fc <loonux@gmail.com>
    Subject: Tips and tricks for running a busy mail server?
    To: sunmanagers@sunmanagers.org
    Message-ID: <93bef0760411230912783754f5@mail.gmail.com>
    Content-Type: text/plain; charset=US-ASCII
    Greetings,
    I am presently getting ready to build a new set of mail servers for
    our organization.  I will be using a set of Netra AC200 units [500Mhz]
    with 2Gb of RAM and dual 36Gb SCSI disks running on Solaris 8.  Due to
    the nature of our mail product, I must use sendmail as my MTA.  Given
    this constraint, I am looking to optimize this system as much as
    possible in terms of filesystem layout (RAID/mirroring) and sendmail
    configuration tweaks.
    Each system presently handles upwards of 200,000 messages a day.  I
    would like this to be able to scale as far as possible.  Here is how I
    plan to proceed, and I'd welcome any comments and feedback that you
    can give me.  After I have placed the systems into production I will
    write up a summary and post to the list.
    Since the systems will be installed 3500 miles away from our main
    facility, I would like to make them as resilient as possible.  I am
    planning on using disksuite (whatever it is called these days) to
    perform RAID0 mirroring between the two 36Gb drives.  Accordingly, I
    would create a rather large /var with more inodes than default, since
    mail spool files are generally small and copious.  I'm wondering,
    however, if using disk striping would be a better decision (for /var,
    anyway) since the filesystem will incur lots of reads and writes.  My
    concern with striping is that if one disk fails, how easily will I be
    able to remotely recover the machine having it use just one disk until
    I get another disk shipped out?  And are there any other performance
    penalties that I might incur here?
    As far as sendmail goes, I will most likely be compiling my own
    version of sendmail 8.13.1 and playing with some of the new options
    for fine tuning of queue runners and the like.  I figure that I will
    have some wiggle room here since our current performance isn't that
    bad (with 8.11.7p1+SUN running a fairly standard configuration).
    Anyway, I would appreciate any feedback or experience in dealing with
    busy mail servers and RAID/striping.  Thank you!
    ------------------------------
    Message: 7
    Date: Tue, 23 Nov 2004 09:15:50 -0800 (PST)
    From: Tony Magtalas <ttk67@yahoo.com>
    Subject: How to change MAC address and hostid in Sun's 280R
    	(correction)
    To: Sun Managers List <sunmanagers@sunmanagers.org>
    Message-ID: <20041123171550.26383.qmail@web81610.mail.yahoo.com>
    Content-Type: text/plain; charset=us-ascii
    Does anybody know how to modify the content of the
    NVRAM in a Sun's 280R, specifically to change the
    MAC address or hostid etc... after battery goes dead?
    I used to be able to do it in older systems such as
    Ultra 1,2,10,220R using the "mkpl" commands.
    Now when I tried to use mpk and mpkl commands at the
    ok prompt on a 280R, it says command not recognized
    Please help.
    I will summarize if there is enough interest
    Tony
    ------------------------------
    Message: 8
    Date: Tue, 23 Nov 2004 13:15:53 -0500
    From: "Pawel Branski" <pawel.branski@foreseeresults.com>
    Subject: SUMMARY: Solaris 8 to 9 upgrade problem with disk space
    To: <sunmanagers@sunmanagers.org>
    Cc: pbranski@gmail.com
    Message-ID:
    	<048CCF2084B1A24B9366E16D6AF177BECBEC21@MAIL.foreseeresults.com>
    Content-Type: text/plain; charset="us-ascii"
    Thank you to Caper *** for help - /usr file system was over 68% full.
    I was able to get the procedure to work.  I used jump start server with
    Solaris 09/04.  The upgrade recognized the SVM with out any problems - I
    did not have to un-mirror root.
    The problem I had was with the /usr file system too small.
    Pawel
    -----Original Message-----
    From: sunmanagers-bounces@sunmanagers.org
    [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Pawel Branski
    Sent: Tuesday, November 16, 2004 9:45 AM
    To: sunmanagers@sunmanagers.org
    Cc: pbranski@gmail.com
    Subject: Solaris 8 to 9 upgrade problem with disk space
    Hi,
    I am working on the Solaris 8 to Solaris 9 upgrade procedure.  The
    system is running Solaris 8 recommended patch level 08/04 with SVM
    (SDS), used to mirror the internal drives.
    According to sun docs starting from 04/04 upgrade will recognize SVM -
    this seems to be working.
    According to sun docs I would need around 2GB of free space to have full
    release of Solaris 9 installed.
    During the upgrade process installation I am always asked to provide
    more disk space.  The original swap file I have was 1.38GB size, I
    thought this could be a problem - so I have created additional swap
    space on slice 6 - size 5.00GB - still the same problem.  I am attaching
    some stats from the system as well as the error message from the
    installation process.
    I try the installation from Jump server and from the CD.
    Please let me know what I am missing in this procedure.  I will
    summarize.
    Thank you,
    Pawel
    Info from installation process:
    Searching disks for upgradable Solaris root devices...
    The following root devices were found to be upgradable:
            Release         Root Device
            -----------     --------------
            Solaris 8       d30 (c0t0d0s0 c0t1d0s0)
    Searching for locations to accommodate a temporary copy of the Solaris
    installation software.  Swap slices are usually erased at reboot, so it
    is
    preferable to place the Solaris installation software on slice labeled
    swap.
    No swap slices that begin at the first usable cylinder have enough space
    to accommodate a temporary copy of the Solaris installation software.
    Using a slice that begins at the first usable cylinder allows the most
    flexibility during filesystem layout. If you are doing an initial
    install and
    you are not preserving any filesystems, you can re-partition a disk with
    the
    swap slice starting at the first usable cylinder.
    .
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: ert weerr: "Re: how to ufsdump a mirrored drive?"