Solaris 8 on chroot in Solaris 10

I've copied all nessesary Sol8 system files to machine with Sol10. After executing "chroot /home/chroot/sol8 /bin/bash" almost everything is OK except running programs which need the "libthread.so.1" library (for example java). These programs cause error: "_sys_thread_create() failed, errno = 22".
bash-3.00#uname -a
SunOS xxxx 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-480R
bash-3.00# mount -F proc proc /home/chroot/sol8/proc
bash-3.00# mount -F fd /dev/fd /home/chroot/sol8/dev/fd
bash-3.00# chroot /home/chroot/sol8 /bin/bash
bash-2.05b#
bash-2.05b# ldd /usr/bin/java
libthread.so.1=> /usr/j2re1.4.1/bin/../../../lib/sparcv9/libthread.so.1
libdl.so.1 => /usr/j2re1.4.1/bin/../../../lib/sparcv9/libdl.so.1
libc.so.1 => /usr/j2re1.4.1/bin/../../../lib/sparcv9/libc.so.1
/usr/platform/SUNW,Sun-Fire-480R/lib/sparcv9/libc_psr.so.1
bash-2.05b# /usr/bin/java
systhread_create() failed, errno = 22
The "libthread.so.1" file is dated on 19th may 06 (patch no. 108993-57)
Other machine with native Sol8 does not have such problem.
Can anyone explain me what the "errno=22" mean ?
Best regards.
Tom

We a lot of machines with Solaris 8 at our customer which cannot be upgraded in near future (for some security reasons). I've decided to install Solaris 10 on our development server (V480) but we have to produce binaries (aplications and libraries) which will be running in "clean" Sol8 environment.
The best solution would be to prepare Sol8 temporary environment on our server till then the customer will upgrade own machines to Sol10.
In reference to "Dynamic System Domains" option:
We are using[b] Sun-Fire V480 server not Sunfire 6800 - is that option applicable to such servers (V480) ???

Similar Messages

  • Solaris 8 in a Solaris 10 Container

    Dear all,
    we came upon the question whether it's possible to run Solaris 8 in a Solaris 10 container. Hereby, the idea is to be able to use Solaris 10 with its great ability of server virtualisation but also to use a Oracle 8i certified operating system at the same time.
    Any ideas?
    Greetings
    /Marc

    Ok, that was exactly my first impression. Anyway, i
    came to know that there's a project about running
    FreeBSD in a Solaris 10 Container. How does this work
    if there's just a single (so shared) kernel? Can't
    image a FreeBSD system running a Solaris kernel.Here's a quote from a Sun blog on the project:
    An example of what I mean is ZoneBSD, an opensource initiative with as goal "will be to factor as much Solaris code as necessary into FreeBSD in order to support running a FreeBSD container within a Solaris 10 Zone", really cool stuff... or as they say around here "Sweeet".
    (I can no longer find any current link to the project).
    So yes, it appears to have been quite an ambitious project involving merging kernel bits. Not something that's going to help you do anything with Oracle on Solaris 10 GA.
    Darren

  • Cannot start Solaris Management Console in Solaris 9

    I cannot start the Solaris Management Console in Solaris 9. The splash screen appears for a few seconds, then nothing else.
    There is a error: "Assertion Fail: Offset < fFileSize ..." something like that.
    Please help me~~~~~~~

    Java Bug 4838130:
    http://developer.java.sun.com/developer/bugParade/bugs/4838130.html
    suggests to trace the problem by running the java application with JAVA2D_DEBUGFONTS defined, so try
    env JAVA2D_DEBUGFONTS=1 smc
    The bug report also documents a workaround: Set the environment variable JAVA_FONTS to
    /usr/openwin/lib/X11/fonts/TrueType, i.e.
    env JAVA_FONTS=/usr/openwin/lib/X11/fonts/TrueType smc

  • I want to downgrade Solaris 2.7 to Solaris 2.5

    We have Solaris 2.7 pre-installed operating system. i want to change Solaris 2.7 to Solaris 2.5 operating system. Because our softwares is running under 2.5. Do you have procedure on how to downgrade OS?
    Thanks in Advance,
    [email protected] or
    [email protected]

    Might be advisable to also ask in this forum area:
    Servers and Enterprise Software
    if you still have trouble.

  • Solaris 2.6 to Solaris 8

    Hi,
    we have deliver a Motif 1.2 application to a customer a few years ago. This application is currently running under Solaris 2.6 on IBM PC computer (Pentium II), is built using X11R6 and is using MWM.
    Now this customer is replacing the old computers by new SUN Blade 150 and would like us to port our application to run on these new machines with Solaris 8.
    I'm trying to figure out the details of this port. Anyone has been through something similar? Is it as simple as recompiling the application under Solaris 8? Where can I find more information about this?
    Thanks in advance...
    Luc Leblanc

    To make sure the upgrade does not touch the mountpoints you mention, I would recommend that you comment them out of the /etc/vfstab file before the upgrade.
    RE: the HP software. You will need to check with HP to see if that version of that software is compatible with Solaris 8. The Solaris upgrade should not modify this software, but that does not guarantee it will work under Solaris 8.
    Solaris 8 does not have seperate upgrade and full versions. Any Solaris 8 media kit can be used to do an initial or upgrade installation.
    If you have sunsolve access, I recommend looking for infodoc 16141, which has a list of general suggestions to help insure the Solaris OS is upgradable.
    Something else to look at is the LiveUpgrade program. This allows you to make a copy of your current OS, upgrade the copy, and verify that its functionality meets your needs. If the upgrade is does not function as you hope, you can easily go back to the previous version of Solaris. More info can be found at http://docs.sun.com/?p=/doc/806-7933
    HTH,
    ct

  • Ldmp2v : Solaris 8 (v440 ) to Solaris 10 ldom v3 ( T4-2 )

    Hi ,
    Is it possible to do migration from solaris 8 which is on h/w V440 to Solaris 10 Oracle VM - V3 ? If yes , Can I follow the procedure provided @ link -
    Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool - Oracle VM Server for SPARC 2.1 Administration Guide
    Does ldmp2v convert upgrade to Solaris 10 directly from Solaris 8 O/S ?
    Regards,
    Satish Singh

    Yes, this is possible.
    Make sure the conditions on hardware type and prerequisites are met according to Installing the Oracle VM Server for SPARC P2V Tool - Oracle VM Server for SPARC 2.1 Administration Guide.
    Analyze whether the current running application has any dependency on current OS version.
    Check whether application downtime is acceptable in your environment. This is must for ldmp2v collection phase.

  • How to upgrade from Solaris 10 u2 to Solaris 10 u3 using Live Upgrade?

    Does anyone know how I can use "live upgrade" (or any other method) for upgrading my solaris 10 u2 to Solaris 10 u3?
    I can't find instructions anywhere! ugh.
    Thank you for your help!

    Try the following documentation:
    http://docs.sun.com/app/docs/doc/819-6396
    For future reference, I found this by going to sun.com -> documentation -> Solaris Operating Systems -> Solaris 10 Operating System -> Solaris 10 11/06 Release and Installation Collection.
    -- Alan

  • Migrating C/C++Development environment from Solaris 6 OS to Solaris 10 OS.

    Hi,
    I have several questions. Hope i can get some advises.
    I am tasks to do a migration for my current Development environment from Solaris 6 OS to Solaris 10 OS.
    Current Scenaros:
    =============
    My Development environment is on Solaris 6 OS machine ( 5.6 Generic_105181-31 sun4u sparc SUNW,Ultra-2 )
    and where i did my C/C++ codings and compilation for my company software application.
    We have purchased a new machine Solaris 10 OS machine ( 5.10 Generic_125100-07 sun4u sparcSUNW,Sun-Fire-V210 )
    with the objective to replace the old development H/W and OS.
    The machine ( Solaris 6 OS) where the software application currently is running will also be replace with a new machine ( Solaris 10 OS).
    The Software application is purely C/C++ codings and has no database requirements.
    The application is make up of several executables and they utilise the Solaris Unix queues.
    The source codes are compiled using Sun compiliers and libraries.
    Problems:
    ========
    I did the followings:
    1. Installed the Solaris 10 OS machine with all the necessary compilers and libraries for my C/C++ codes.
    2. I ported over all my sourcecodes and makefiles from the old machine ( Solaris 6 ) to the new machine ( Solaris 10 )
    3. I did a recompilation of the source codes on the new Solaris 10 machine and hit many errors as followings:
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The type "istream" is incomplete.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 82: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: eofbit is not a member of ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/locale.h", line 115: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 151: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwerr.h", line 197: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/cstring.h", line 347: Error: The name istream is ambiguous, istream and std::istream.
    Questions:
    ========
    1. Can anyone advise on these errors messages that i am seeing?
    2. Can i say that as long i can successful recompile my codes on Solaris 10 , my application will work?
    3. Can i simply copy my application ( Compiled in Solaris 6 ) directly to the new Solaris 10 machine and expect it to run properly? What are the concerns if i adopt this approach.
    Regards,
    Edwin

    I did the followings:
    1. Installed the Solaris 10 OS machine with all the necessary compilers and libraries for my C/C++ codes.
    2. I ported over all my sourcecodes and makefiles from the old machine ( Solaris 6 ) to the new machine ( Solaris 10 )
    3. I did a recompilation of the source codes on the new Solaris 10 machine and hit many errors as followings:
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rstream.h", line 46: Error: The type "istream" is incomplete.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/stringid.h", line 50: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 82: Error: The name istream is ambiguous, istream and std::istream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/vstream.h", line 92: Error: eofbit is not a member of ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/locale.h", line 115: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwdate.h", line 151: Error: The name ostream is ambiguous, ostream and std::ostream.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/rwerr.h", line 197: Error: The name ios is ambiguous, ios and std::ios.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/cstring.h", line 347: Error: The name istream is ambiguous, istream and std::istream.
    Questions:
    ========
    1. Can anyone advise on these errors messages that i am seeing?My guess would be that the names have changed from Solaris 6 to Solaris 10.
    2. Can i say that as long i can successful recompile my codes on Solaris 10 , my application will work?No. I've seen GNU utilities that compile without error and then fail on make test or make check. A clean compile only means that, a clean compile nothing more.
    3. Can i simply copy my application ( Compiled in Solaris 6 ) directly to the new Solaris 10 machine and expect it to run properly? What are the concerns if i adopt this approach.It might. The easiest way to find out is to just move it and see what happens. On a test machine of course.
    alan

  • Upgrade from Solaris 11 Express to Solaris 11 Release (11/11); Guide MIA?

    Would there be an easy way to upgrade from Solaris 11 Express to Solaris 11 Release (11/11)? The FAQ for Solaris 11 Release has the following hopeful text:
    Can I upgrade to Oracle Solaris 11 from Oracle Solaris 11 Express or Oracle Solaris 11 Early Adopter?
    Yes. Customers can upgrade to Oracle Solaris 11 by using the package management tools. Refer to the Oracle Solaris 11
    Transition Guide (http://www.oracle.com/pls/topic/lookup?ctx=E23824&id=MF JAI) for more information
    But that link comes up with an error page 404, "topic not found".
    The one transition guide I can find is:
    http://download.oracle.com/docs/cd/E23824_01/html/E21799/index.html
    But that covers Solaris 10 jumpstart, not Solaris 11 Express or Early Adopter.
    The Solaris 11 documentation at:
    http://www.oracle.com/technetwork/server-storage/solaris11/documentation/index.html
    Also seems to mention only Solaris 10, not 11 Express or Early Adopter.
    I have already downloaded the full repo for Solaris 11 Release, and the live installer, but I'm hoping it's something as simple as pointing the ips manager to a new repository, or just loading the full repo I already have as a local source. I would also like to keep the dtrace and sun studio set up I have now in the Express version, without reinstalling them on a new release version on bare metal.
    If it keeps the features of the express version while ironing out a few kinks (gdm authentication bug, etc.), that would rock.
    Many Thanks,
    Gordon

    Alan, Thank You, that worked with no problem at all. 11 Express was already using the correct repository, and only required a pkg command update, then other updates.
    So here's what I'm guessing:
    1. The Oracle Solaris maintained repository for Express and Early Adopter are now the same as Release, but they do require an updated pkg executable and pkg update command.
    2. The second form of the command mentioned in the update guide:
    # pkg set-publisher -g http://pkg.oracle.com/solaris/release
    -G http://internal.co.com/solaris solaris
    is for using a local copy of the repository within our lan or vpn wan.
    3. Updates should be fairly regular now that Solaris 11 is in release version.
    I think the new hash (SHA 256) fried some of our old gdm settings for our users, so we're creating new user accounts, and migrating the older accounts. We don't have too many, so it's not a problem for us. But that brings up another point:
    4. The graphical user manager in Express is now gone, and user and group management are now done with command line interface.
    That's fine with me as well. I always use ssh to connect to the machine and then run the screen command for administration. The graphical user manager was always kludgy in Express, and I couldn't get it to work correctly anyway.
    This is great stuff so far. Well done.
    Gordon

  • IWS6.0SP2 Question: CGI chroot on Solaris 8

    Dear all,
    I follow the Programmer's Guide (Chapter 1) to setup the Chroot directory (say, /mychroot/) for my existing CGI programs. It works fine, but I wonder why I don't need to update the CGI directory setting (the directory to chdir to after chroot but before execution). Its original value before the chroot setup is /mychroot/mycgi-bin (absolute path); after the chroot setup, I think I need to change it to "/mycgi-bin"; its absolute path after chroot should become /mycgi-bin instead, right?!
    However, the web server could not find the cgi programs after this update. Once I fall back the CGI directory settings and applied the configuration again, it works again!
    What's wrong with me?!
    Please advise.
    Thanks in advance.
    Desmond

    The webserver starts the cgi program and knows the real location. The cgi is that only program that sees the new chroot location. So the web server calls the cgi from the location as it knows it (the real location) and the cgi must call anything is runs from the new chrooted location.
    It gets to be even more fun when the webserver is chrooted as well.

  • Solaris 8 Container in Solaris 10 Zone

    Hi All,
    one of our customers wants to run Solaris 8 with Oracle 8.1.7 in a BrandZ Zone. Does anybody have an idea about how stable Solaris 8 is in a Zone environment? Are there any known issues with Solaris 8 running in a Zone?
    Since Solaris 8 is EndOfShipment, are there chances to get up-to-date Sun Hardware bundled with Solaris 8 apart of using Solaris 10 Zones?
    Thanks in Advace,
    Dog

    i didnt however i wasnt hammering it. if the load was expected to be high i would have done the io layout diff (try and follow some of oracles ideas: SAME for one, if possible).
    some depends on the load and the load from the other zones. you can use allocate resource limits to give more priority to more important zones or make sure you have enough resources to start. what type of load are you expecting?

  • Can�t upgrade Solaris 2.6 to Solaris 9 ? HELP

    Hi,
    I'm trying to upgrade one Sun Enterprise 3500 with Solaris 2.6 to new Solaris 9.
    I've already use SUNINSTALL and WEB START methods, without sucess.
    There is no error messages in WEB START method..
    When using "suninstall" method, I follow all the manual instructions with CLI mode and the instalation returns "install sucess", but when rebooting, some erros apears and starts a reboot cycle:
    ------ ERROR WITH SUNINSTALL ----------
    Use is subject to license terms.
    WARNING: add_spec: No major number for fp
    WARNING: add_spec: No major number for fp
    WARNING: add_spec: No major number for scsi_vhci
    WARNING: add_spec: No major number for fp
    WARNING: add_spec: No major number for scsi_vhci
    WARNING: mod_installdrv: no major number for fcp
    Cannot assemble drivers for root /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020372b4363,0:a
    Cannot mount root on /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020372b4363,0:a fstype ufs
    panic[cpu14]/thread=140a000: vfs_mountroot: cannot mount root
    0000000001409970 genunix:vfs_mountroot+70 (0, 0, 0, 200, 14569d8, 0)
    %l0-3: 000000000144a400 000000000144a400 0000000001415bc8 0000000001415bd0
    %l4-7: 0000000001415800 0000000001411a80 000000000144ac00 000000000144dc00
    0000000001409a20 genunix:main+98 (1409ba0, f00584cc, 1409ec0, 32a7af, 2000, 500)
    %l0-3: 0000000000000001 0000000000000000 0000000001412b18 0000000078002000
    %l4-7: 000000000140a000 0000000000330000 0000000001480dc8 00000000010628d0
    skipping system dump - no dump device configured
    rebooting...
    Resetting...
    Software Power ON
    When using WEB START, the instalation gives some strange messages at the midle of wizard (using CLI), but continues the instalation. At the end, says "Installing Solaris Software Group", and shows a progression bar, but at same time, changes to prompt and without any error stops the installation. Some process are running but none indicates that install is in progress...
    ----- WITH WEB START ------ STRANGE MESSAGE:
    Reading disc for Solaris Operating Environment...
    The system is being initialized, please wait... \
    To perform an initial install of the Solaris Operating Environment select
    Initial Install. Existing contents of your hard disk will be destroyed.
    To perform an upgrade of the Solaris Operating Environment select Upgrade. The
    Solaris Operating Environment will be updated and other contents on the hard
    disk will be left unchanged. Backing up the existing Solaris Operating
    Environment is recommended.
    1. Initial Install
    2. Upgrade Install
    Select Upgrade or Initial install [1] 2
    Gathering upgrade information, please wait... \
    Could not reinitialize system state. Please exit the installer and restart the
    installation.
    <Press ENTER to continue|
    The system is being initialized, please wait../
    To install basic Solaris products into their default directory locations,
    select Default Install.
    Custom install provides a choice of which Solaris products to install. For each
    product, it also provides an option to customize the products install.
    Note: Default install is not possible. Default boot disk could not be
    determined.
    <Press ENTER to continue>
    Select the geographic regions and software localizations you want to install.
    The English version of Solaris will be installed by default.
    [ ] 0 Northern Africa
    [ ] 1 Eastern Europe
    [ ] 2 Southern Europe
    ------ AT THE END OF PROCESS -----
    Testing the upgrade profile, please wait... /
    The following items will be installed:
    Solaris Operating Environment: Solaris 9 Software 4/03
    Solaris Software Group: Entire Group
    Backup Media Type: None
    64-Bit Selection: Yes
    Region and Locales:
    Southern Europe
    Portuguese (Portugal) ( pt_PT )
    North America
    English (United States) ( en_US )
    English (POSIX C) ( C )
    System Locale: English (United States,ISO8859-1) ( en_US.ISO8
    Products:
    Solaris 9 Software Supplement CD 385.
    Java3D 1.2.1_04 18.3 MB
    OpenGL 1.3 105.7 MB
    PC launcher 1.0.2 0.9 MB
    RSC 2.2.1 8.8 MB
    Solaris On Sun Hardware Documentation
    SunATM 5.1 9.1 MB
    SunForum 3.2 27.1 MB
    <--[90%]--[ENTER To Continue]--[n To Finish]-->
    SunHSI PCI 3.0 0.5 MB
    SunVTS 5.1 PS2 124.4 MB
    Enter 'y' to accept these values and start the installation, or 'n' to
    return to the beginning and make changes (y/n): y
    Installing...
    Installing Solaris software group
    |-1%--------------25%-----------------50%-----------------75%--------------100%|
    # ps -ef
    UID PID PPID C STIME TTY TIME CMD
    root 0 0 0 17:50:55 ? 0:00 sched
    root 1 0 0 17:50:57 ? 0:01 /etc/init -r
    root 2 0 0 17:50:57 ? 0:00 pageout
    root 3 0 0 17:50:57 ? 0:11 fsflush
    root 80 1 0 17:51:57 console 0:00 /bin/ksh /sbin/disk0_install
    root 130 1 0 17:52:14 ? 0:00 /usr/sbin/syslogd
    root 7407 250 0 19:10:06 console 0:00 ps -ef
    root 32 1 0 17:51:01 ? 0:00 /usr/lib/sysevent/syseventd -r /tmp
    root 34 1 0 17:51:16 ? 0:00 /usr/lib/devfsadm/devfsadmd -r /tmp -p /tmp/root/etc/path_to_inst
    root 242 1 0 17:55:29 ? 0:02 /usr/sbin/nscd
    root 250 80 0 17:55:30 console 0:00 sh
    root 215 1 0 17:55:29 ? 0:00 /usr/sbin/rpcbind
    root 238 1 0 17:55:29 ? 0:00 /usr/sbin/inetd -s
    Any ideia whts going wrong?
    Thanks for your attention,
    Buy
    Angelo Faria

    Well, there is no replys to this, so I presume no one else had this problem...

  • HOWTO: Create 2-node Solaris Cluster 4.1/Solaris 11.1(x64) using VirtualBox

    I did this on VirtualBox 4.1 on Windows 7 and VirtualBox 4.2 on Linux.X64. Basic pre-requisites are : 40GB disk space, 8GB RAM, 64-bit guest capable VirtualBox.
    Please read all the descriptive messages/prompts shown by 'scinstall' and 'clsetup' before answering.
    0) Download from OTN
    - Solaris 11.1 Live Media for x86(~966 MB)
    - Complete Solaris 11.1 IPS Repository Image (total 7GB)
    - Oracle Solaris Cluster 4.1 IPS Repository image (~73MB)
    1) Run VirtualBox Console, create VM1 : 3GB RAM, 30GB HDD
    2) The new VM1 has 1 NIC, add 2 more NICs (total 3). Setting the NIC to any type should be okay, 'VirtualBox Host Only Adapter' worked fine for me.
    3) Start VM1, point the "Select start-up disk" to the Solaris 11.1 Live Media ISO.
    4) Select "Oracle Solaris 11.1" in the GRUB menu. Select Keyboard layout and Language.
    VM1 will boot and the Solaris 11.1 Live Desktop screen will appear.
    5) Click <Install Oracle Solaris> from the desktop, supply necessary inputs.
    Default Disk Discovery (iSCSI not needed) and Disk Selection are fine.
    Disable the "Support Registration" connection info
    6) The alternate user created during the install has root privileges (sudo). Set appropriate VM1 name
    7) When the VM has to be rebooted after the installation is complete, make sure the Solaris 11.1 Live ISO is ejected or else the VM will again boot from the Live CD.
    8) Repeat steps 1-6, create VM2 and install Solaris.
    9) FTP(secure) the Solaris 11.1 Repository IPS and Solaris Cluster 4.1 IPS onto both the VMs e.g under /home/user1/
    10) We need to setup both the packages: Solaris 11.1 Repository and Solaris Cluster 4.1
    11) All commands now to be run as root
    12) By default the 'solaris' repository is of type online (pkg.oracle.com), that needs to be updated to the local ISO we downloaded :-
    +$ sudo sh+
    +# lofiadm -a /home/user1/sol-11_1-repo-full.iso+
    +//output : /dev/lofi/N+
    +# mount -F hsfs /dev/lofi/N /mnt+
    +# pkg set-publisher -G '*' -M '*' -g /mnt/repo solaris+
    13) Setup the ha-cluster package :-
    +# lofiadm -a /home/user1/osc-4_1-ga-repo-full.iso+
    +//output : /dev/lofi/N+
    +# mkdir /mnt2+
    +# mount -f hsfs /dev/lofi/N /mnt2+
    +# pkg set-publisher -g file:///mnt2/repo ha-cluster+
    14) Verify both packages are fine :-
    +# pkg publisher+
    PUBLISHER                   TYPE     STATUS P LOCATION
    solaris                     origin   online F file:///mnt/repo/
    ha-cluster                  origin   online F file:///mnt2/repo/
    15) Install the complete SC4.1 package by installing 'ha-cluster-full'
    +# pkg install ha-cluster-full+
    14) Repeat steps 12-15 on VM2.
    15) Now both VMs have the OS and SC4.1 installed.
    16) By default the 3 NICs are in the "Automatic" profile and have DHCP configured. We need to activate the Fixed profile and put the 3 NICs into it. Only 1 interface, the public interface, needs to be
    configured. The other 2 are for the cluster interconnect and will be automatically configured by scinstall. Execute the following commands :-
    +# netadm enable -p ncp defaultfixed+
    +//verify+
    +# netadm list -p ncp defaultfixed+
    +#Configure the public-interface+
    +#Verify none of the interfaces are listed, add all the 3+
    +# ipadm show-if+
    +# run dladm show-phys or dladm show-link to check interface names : must be net0/net1/net2+
    +# ipadm create-ip net0+
    +# ipadm create-ip net1+
    +# ipadm create-ip net2+
    +# ipadm show-if+
    +//select proper IP and configure the public interface. I have used 192.168.56.171 & 172+
    +# ipadm create-addr -T static -a 192.168.56.171/24 net0/publicip+
    +#IP plumbed, restart+
    +# ipadm down-addr -t net0/publicip+
    +# ipadm up-addr -t net0/publicip+
    +//Verify publicip is fine by pinging the host+
    +# ping 192.168.56.1+
    +//Verify, net0 should be up, net1/net2 should be down+
    +# ipadm+
    17) Repeat step 16 on VM2
    18) Verify both VMs can ping each other using the public IP. Add entries to each other's /etc/hosts
    Now we are ready to run scinstall and create/configure the 2-node cluster
    19)
    +# cd /usr/cluster/bin+
    +# ./scinstall+
    select 1) Create a new cluster ...
    select 1) Create a new cluster
    select 2) Custom in "Typical or Custom Mode"
    Enter cluster name : mycluster1 (e.g)
    Add the 2 nodes : solvm1 & solvm2 and press <ctrl-d>
    Accept default "No" for <Do you need to use DES authentication>"
    Accept default "Yes" for <Should this cluster use at least two private networks>
    Enter "No" for <Does this two-node cluster use switches>
    Select "1)net1" for "Select the first cluster transport adapter"
    If there is warning of unexpected traffic on "net"1, ignore it
    Enter "net1" when it asks corresponding adapter on "solvm2"
    Select "2)net2" for "Select the second cluster transport adapter"
    Enter "net2" when it asks corresponding adapter on "solvm2"
    Select "Yes" for "Is it okay to accept the default network address"
    Select "Yes" for "Is it okay to accept the default network netmask"Now the IP addresses 172.16.0.0 will be plumbed in the 2 private interfaces
    Select "yes" for "Do you want to turn off global fencing"
    (These are SATA serial disks, so no fencing)
    Enter "Yes" for "Do you want to disable automatic quorum device selection"
    (we will add quorum disks later)
    Enter "Yes" for "Proceed with cluster creation"
    Select "No" for "Interrupt cluster creation for cluster check errors"
    The second node will be configured and 2nd node rebooted
    The first node will be configured and rebootedAfter both nodes have rebooted, verify the cluster has been created and both nodes joined.
    On both nodes :-
    +# cd /usr/cluster/bin+
    +# ./clnode status+
    +//should show both nodes Online.+
    At this point there are no quorum disks, so 1 of the node's will be designated quorum vote. That node VM has to be up for the other node to come up and cluster to be formed.
    To check the current quorum status, run :-
    +# ./clquorum show+
    +//one of the nodes will have 1 vote and other 0(zero).+
    20)
    Now the cluster is in 'Installation Mode' and we need to add a quorum disk.
    Shutdown both the nodes as we will be adding shared disks to both of them
    21)
    Create 2 VirtualBox HDDs (VDI Files) on the host, 1 for quorum and 1 for shared filesystem. I have used a size of 1 GB for each :-
    *$ vboxmanage createhd --filename /scratch/myimages/sc41cluster/sdisk1.vdi --size 1024 --format VDI --variant Fixed*
    *0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%*
    *Disk image created. UUID: 899147b9-d21f-4495-ad55-f9cf1ae46cc3*
    *$ vboxmanage createhd --filename /scratch/myimages/sc41cluster/sdisk2.vdi --size 1024 --format VDI --variant Fixed*
    *0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%*
    *Disk image created. UUID: 899147b9-d22f-4495-ad55-f9cf15346caf*
    22)
    Attach these disks to both the VMs as shared type
    *$ vboxmanage storageattach solvm1 --storagectl "SATA" --port 1 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk1.vdi --mtype shareable*
    *$ vboxmanage storageattach solvm1 --storagectl "SATA" --port 2 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk2.vdi --mtype shareable*
    *$ vboxmanage storageattach solvm2 --storagectl "SATA" --port 1 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk1.vdi --mtype shareable*
    *$ vboxmanage storageattach solvm2 --storagectl "SATA" --port 2 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk2.vdi --mtype shareable*
    The disks are attached to SATA ports 1 & 2 of each VM. On my VirtualBox on Linux, the controller type is "SATA", whereas on Windows it is "SATA Controller".
    The "--mtype shareable' parameter is important
    23)
    Mark both disks as shared :-
    *$ vboxmanage modifyhd /scratch/myimages/sc41cluster/sdisk1.vdi --type shareable*
    *$ vboxmanage modifyhd /scratch/myimages/sc41cluster/sdisk2.vdi --type shareable*
    24) Start both VMs. We need to format the 2 shared disks
    25) From VM1, run format. In my case, the 2 new shared disks show up as 'c7t1d0' and 'c7t2d0'.
    +# format+
    select disk 1 (c7t1d0)
    [disk formated]
    FORMAT MENU
    fdisk
    Type 'y' to accept default partition
    partition
    0
    <enter>
    <enter>
    1
    995mb
    print
    label
    <yes>
    quit
    quit26) Repeat step 25) for the 2nd disk (c7t2d0)
    27) Make sure the shared disks can be used for quorum :-
    On VM1
    +# ./cldevice refresh+
    +# ./cldevice show+
    On VM2
    +# ./cldevice refresh+
    +# ./cldevice show+
    The shared disks should have the same DID (d2,d3,d4 etc). Note down the DID that you are going to use for quorum (e.g d2)
    By default, global fencing is enabled for these disks. We need to turn it off for all disks as these are SATA disks :-
    +# cldevice set -p default_fencing=nofencing-noscrub d1+
    +# cldevice set -p default_fencing=nofencing-noscrub d2+
    +# cldevice set -p default_fencing=nofencing-noscrub d3+
    +# cldevice set -p default_fencing=nofencing-noscrub d4+
    28) It is better to do one more reboot of both VMs, otherwise I got a error when adding the quorum disk
    29) Run clsetup to add quorum disk and to complete cluster configuration :-
    +# ./clsetup+
    === Initial Cluster Setup ===
    Enter 'Yes' for "Do you want to continue"
    Enter 'Yes' for "Do you want add any quorum devices"
    Select '1) Directly Attached Shared Disk' for the type of device
    Enter 'Yes' for "Is it okay to continue"
    Enter 'd2' (or 'd3') for 'Which global device do you want to use'
    Enter 'Yes' for "Is it okay to proceed with the update"
    The command 'clquorum add d2' is run
    Enter 'No' for "Do you want to add another quorum device"
    Enter 'Yes' for "Is it okay to reset "installmode"?"Cluster initialization is complete.!!!
    30) Run 'clquorum status' to confirm both nodes and the quorum disk have 1 vote each
    31) Run other cluster commands to explore!
    I will cover Data services and shared file system in another post. Basically the other shared disk
    can be used to create a UFS filesystem and mount it on all nodes.

    The Solaris Cluster 4.1 Installation and Concepts Guide are available at :-
    http://docs.oracle.com/cd/E29086_01/index.html
    Thanks.

  • Solaris 8 upgrade to solaris 10 terminology questio

    I have been researching upgrading my E420R and V440's from solaris 8 to solaris 10. I have solaris 10 cds and am confused about the terminology that said "If you want to upgrade a system that has non-global zones installed you have to use the DVDs". There are no zones in solaris 8 so is the entire system considered the global zone? Can I just upgrade with the CDs I have.
    I just want to upgrade (not live upgrade, etc).
    Thank yo ufor clearing this up.

    I'm a little confused about the statement about the zone. Because it is solaris 8, is the entire OS considered a 1 global zone?Solaris 8 has never had zone support nor will it ever have zone support. So from that perspective I guess you could call it a global zone if you wish but at the time Solaris 8 was active the concept of a global zone did not exist. For the purposes of your question, yes, it's only a global zone with no non global zones.
    You're reading way to much into this.
    alan

  • Solaris 10 Zone for Solaris 11.1 creation with template fails.

    Hi,
    We are trying to use the Oracle VM Template for Oracle Solaris 10 Zone to create a solaris 10 zone on a solaris 11.1 GZ
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -v
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    Version: 1.0.9.12
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -p /rpool -a 10.83.128.35/24 -i net6 -z testzone
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    IMAGE: ./solaris-10u11-sparc
    ZONE: testzone
    ZONEPATH: /rpool/testzone
    VNIC: vnicZBI83273795
    IP ADDR: 10.83.128.35
    NETMASK: 255.255.255.0
    DEFROUTER: 10.83.128.1
    TIMEZONE: Europe/Copenhagen
    Checking disk-space for extraction
    Ok
    Extracting in /opt/scripts/bootimage.8Ham6r ...
    100% [===============================>]
    Checking data integrity
    Ok
    Checking platform compatibility
    The host and the image do not have the same Solaris release:
    host Solaris release: 5.11
    image Solaris release: 5.10
    Will create a Solaris 10 branded zone.
    Checking disk-space for installation
    Ok
    Installing in /rpool/testzone ...
    100% [===============================>]
    Attaching testzone
    Problem attaching testzone.
    More details in /var/sadm/install/logs/solaris-10u11-sparc.log
    Cleaning up and exiting.
    Friday, May 10, 2013 03:18:01 PM CEST: cleaning up
    root@exsolh0005:/opt/scripts#
    root@exsolh0005:/opt/scripts# cat /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] ==== Starting: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    [Friday, May 10, 2013 03:17:56 PM CEST] Progress being logged to /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:17:56 PM CEST] Log File: /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:57 PM CEST] Converting detached zone boot environment 'zbe'.
    [Friday, May 10, 2013 03:17:57 PM CEST] Unmounting /rpool/testzone/root
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property zoned=on on rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property canmount=noauto on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property mountpoint=legacy on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Mounting boot environment in rpool/testzone/rpool/ROOT/zbe-0 at /rpool/testzone/root (including child datasets)
    cannot open 'ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1': invalid dataset name
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: refresh of ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1 failed
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: Error: rpool/testzone/rpool/ROOT/zbe-0: No such dataset.
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:18:01 PM CEST] Result: Attach Failed.
    [Friday, May 10, 2013 03:18:01 PM CEST] Exiting with exit code 254
    [Friday, May 10, 2013 03:18:01 PM CEST] ==== Completed: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    Looks like a script bug..
    Regards
    Claus

    Hello All,
    I would love to know if someone has a solution to this as I am seeing a similar issue with a slightly different setup.
    Solaris 8 and Netra 240. I get the same result with and without patches and finish scripts. After the jumpstart and the failed boot attempt from disk. I can boot from cd, copy the glm driver from the cd to disk, and then everything works as it should. Obviously this is not a solution but only a work around.
    Is it something to do with the SCSI hardware architecture used in the *240s?
    Edited by: Gareth_Mann on Oct 2, 2007 7:41 PM

Maybe you are looking for