Monday Dec 29, 2008

When someone is talking about cluster (in it's common meaning) we see the picture of big machines with a lots of cables and storage attached. But can you imagine a cluster on a chip? No cables. Cluster Interconnect is on the chip. Moreother, it can be 1U server which you can put on the back seat of your car and take it to your customer for demo. So it will be “mobile 1U cluster on a chip”.


Here is an exercise for you to build mobile 1U cluster on a chip.


Input:

  • Sun Cluster as it now supports guest Logical Domains.

With the latest release of Ldoms 1.1 you can get extra HA features, just to name a few closely related to this exercise:

  • Virtual Switch Support for Link Aggregated Interface

  • Virtual Disk Multipathing and Failover

  • Network Virtual I/O Performance Enhancement


Tip: Since you will be limited by storage then put ZFS on single drive and use it as a back end for each node system disk, also use clone feature to setup multiple nodes.



del.icio.us digg technorati

Monday Oct 20, 2008

Question: I want to install more than one guest domain. Is there any way to speedup process.

Answer: Yes, sure.

This instruction can be used as supplimental to «Run your first Logical Domain in 10 minutes» as well as a separate guide.

  1. First setup the Control Domain and install the First Guest Domain ldg1. Use ZFS volume (In example, data/demo/ldg1) as back end drive for the system drive of guest domain. You can install Solaris either through a Network Install or by mounting a DVD or ISO file.

  2. Log in to the First guest domain Console and do 'sys-unconfig' in the domain.

  3. # sys-unconfig
                            
    WARNING
    
    This program will unconfigure your system.  It will cause it
    to revert to a "blank" system - it will not have a name or know
    about other systems or networks.
    
    This program will also halt the system.
    
    Do you want to continue (y/n) ? y
    
    
  4. Wait for the system to come down and answer h — halt.

  5.  svc.startd: The system is down. 
     syncing file systems... done 
     Program terminated 
      r)eboot, o)k prompt, h)alt?  h

  6. From Control domain verify that guest domain ldg1 is stopped.

  7.  # ldm ls 
     NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME 
     primary active -n-cv SP 4 4G 0.5% 1h 30m 
     ldg1 bound ----- 5000 14 1984M 
  8. Unbind domain

  9.  # ldm unbind ldg1 
  10. Create a ZFS snapshot of the First Guest Domain's disk image:

  11. # zfs snapshot data/demo/ldg1@install
    
  12. Bind and Start domain back

  13. # ldm bind ldg1 
    # ldm start ldg1

  14. Clone the snapshot using the name ldg2 as the target volume

  15. # zfs clone data/demo/ldg1@install data/demo/ldg2
    
  16. Setup 2 nd Guest domain by using newly created ZFS clone data/demo/ldg2 as back-end to system disk.

  17. Repeat steps 8 and 9 for each next domain.


del.icio.us digg technorati

Friday Oct 03, 2008

Here you will find the script which will help you to run your first Logical Domain in 10 minutes.


Checklist:

  • Do you have spare server with Niagara chip(s) inside? Check your server's room.

  • It runs latest firmware? Check Sun System Handbook at SunSolve

  • It runs Solaris 10 U5 or later? cat /etc/release

  • Do you have ZFS pool with at least 10GB of free space? Check by running zpool list


If you answered YES to all questions above then do this free steps.

[Read More]
del.icio.us digg technorati

This blog copyright 2009 by Roman Ivanov