Professional Web Applications Themes

Multi OS sun environment, running into pkg issues.. - Linux / Unix Administration

"Alan Perry" <alan_perrysbcglobal.net> wrote in message news:<pHq5b.116$Uk6.10683694newssvr13.news.prodig y.com>... > Hello all.... > > I need to set up a server that can serve of say Top for solaris 2.6, 2.7, > 2.8, 2.9 all at the same time. I am at a loss, and am not sure how to intall > all these packages on say 1 solaris 2.8 box and get all the libraries and OS > specific files right, as well then have each of my client boxes check and > mount the proper /usr/local/bin directory! > > Can anyone help, or point me in the right direction? ...

  1. #1

    Default Re: Multi OS sun environment, running into pkg issues..

    "Alan Perry" <alan_perrysbcglobal.net> wrote in message news:<pHq5b.116$Uk6.10683694newssvr13.news.prodig y.com>...
    > Hello all....
    >
    > I need to set up a server that can serve of say Top for solaris 2.6, 2.7,
    > 2.8, 2.9 all at the same time. I am at a loss, and am not sure how to intall
    > all these packages on say 1 solaris 2.8 box and get all the libraries and OS
    > specific files right, as well then have each of my client boxes check and
    > mount the proper /usr/local/bin directory!
    >
    > Can anyone help, or point me in the right direction?
    So, you want to copy the binary from a solaris 6,7,9 box to the solaris 8 box. T
    And set up NFS shares /usr/local.SunOS6, /usr/local.SunOS7, etc.
    and mount the appropriate shares on the clients. Right?

    The easiest way to do this is first share the NFS read/write, and mount the
    share on the client, install top on the client on the approriate NFS share.
    (I'm assuming everything goes under /usr/local in the package.)

    If you pay attention to the library dependencies, and as long as the binary
    does not depend on anything other than standard Solaris libraries, then you
    should be OK. ( I had problems with Solaris 6 before though. pray!)

    Don't try to compile the binaries statically since this is not a good
    approach for Solaris, and it's not advised.

    If there's a, say libstdc++ dependency, then you might want to make sure
    all the same type clients (say Solaris 6) have the compatible library, or
    the worst case you can compile the NFS shared tool with LD_RUN_PATH and include
    the problematic libraries in the NFS share like /usr/local/lib.

    It's a challenge.. But it's fun!

    Tolga Ceylan
    Tolga Ceylan Guest

  2. #2

    Default Re: Multi OS sun environment, running into pkg issues..

    "Alan Perry" <alan_perrysbcglobal.net> writes:
    >I need to set up a server that can serve of say Top for solaris 2.6, 2.7,
    >2.8, 2.9 all at the same time. I am at a loss, and am not sure how to intall
    >all these packages on say 1 solaris 2.8 box and get all the libraries and OS
    >specific files right, as well then have each of my client boxes check and
    >mount the proper /usr/local/bin directory!

    Current versions of top (3.5beta<mumble>) will actually work regardless
    of OS release version.

    Since there's usually only a handful of executables that requires
    an OS specific version, you'd typically write a wrapper script:

    #!/bin/sh

    osrev=`uname -r`
    if [ -x "$0.$osrev" ]
    then
    exec "`basename $0`.$osrev" "$"
    exec "$0.$osrev" "$"
    else
    echo "$0: not found" 1>&2
    exit 1
    fi


    Urban legends have it that you'd also need to take the architecture
    (sun4u/sun4m/sun4d) into account but that has never been true on
    Solaris 2.x.

    With the advent of 64 bit Solaris the picture is somewhat muddier:

    find . -name top\*
    ./top (wrapper script)
    ./top.5.3
    ./top.5.4
    ./top.5.5
    ./top.5.5.1
    ./sparcv7/top.5.7
    ./sparcv7/top.5.8
    ./sparcv7/top.5.9
    ./sparcv9/top.5.7
    ./sparcv9/top.5.8
    ./sparcv9/top.5.9
    ./top.5.7 (copy of isaexec)
    ./top.5.8 (copy of isaexec)
    ./top.5.9 (copy of isaexec)

    As early as 5.5.1 I had a version of top that ignored /dev/kmem open
    failures and still runs on Solaris 9 (32 bit binary on 64 bit OS)

    Casper
    --
    Expressed in this posting are my opinions. They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    Casper H.S. Dik Guest

Similar Threads

  1. Multi-participant conference environment
    By buckey goldstein in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: February 9th, 04:29 PM
  2. PC and Mac Mixed Environment issues
    By RowanWeb in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: September 23rd, 04:17 AM
  3. Verity running in a multi-server MX 7 environment
    By theozdude in forum Coldfusion - Advanced Techniques
    Replies: 3
    Last Post: March 23rd, 05:21 PM
  4. Proper way to setup multi-user environment?????
    By atomseed webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 1
    Last Post: July 16th, 11:14 PM
  5. PhotoShop crashes in Multi-User environment
    By Dennis Falling in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 2
    Last Post: July 8th, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139