Posts

Showing posts from June, 2015

Difference between LDOM and Zones

Sun Logical Domains or LDoms is a full virtual machine that runs an independent operating system instance and contains virtualized CPU, memory, storage, console, and cryptographic devices. This technology allows you to allocate a system resources into logical groupings and create multiple, discrete systems, each with their own operating system, resources, and identity within a single computer system. We can run a variety of applications software in different logical domains and keep them independent of performance and security purposes. A zone is a virtual operating system abstraction that provides a protected environment in which applications run. The applications are protected from each other to provide software fault isolation. To ease the labor of managing multiple applications and their environments, they co-exist within one operating system instance, and are usually managed as one entity. LDOMs allow you to assign your hardware to different virtual hosts for ...

LDom creation/installation setup - step by step

  Virtualization - Using logical domains (LDom) You have heard about this word  "virtualization" now days in the  IT world. Logical domains (LDOM) is one of the para virtualization available with the Sun Sparc T1 and T 2 systems(Sun4v).   You can follow these simple steps to create your logical domains on your T1 and T2 systems. If you want to try it on x86 boxes , please use XEN Before going to the install , understand the  key components in LDOM's. Hypervisor Software piece works on the top of the hardware. Responsible for maintaining the isolation of domains. Interacts between the hardware  and the OS. Control Domain  Creats and manages the other logical domains ans service and services Service, I/O domains Provides the virtual network switch or virtual disk Guest Domain Uses the services from the services and I/O domains and is managed by the control domain. In broad term , can be  considere...

Script to label multiple disks in Solaris

Many a times when storage team allocates storage from a EMC storage box , the disks are not labeled. Due to this you would see errors in the /var/adm/messages file like: Jan 31 16:50:48 geeklab Corrupt label; wrong magic number Jan 31 16:50:48 geeklab scsi: [ID 583861 kern.info] ssd12 at fp5: unit-address w20220080e517e28c,1: e8 Jan 31 16:50:48 geeklab genunix: [ID 936769 kern.info] ssd12 is /pci@12,600000/SUNW,qlc@0/fp@0,0/ssd@w20220080e517e28c,1 Jan 31 16:50:49 geeklab scsi: [ID 583861 kern.info] ssd8 at fp5: unit-address w20220080e517e28c,0: e8 Jan 31 16:50:49 geeklab genunix: [ID 936769 kern.info] ssd8 is /pci@12,600000/SUNW,qlc@0/fp@0,0/ssd@w20220080e517e28c,0 Jan 31 16:50:49 geeklab scsi: [ID 583861 kern.info] ssd2 at fp6: unit-address w20230080e517e28c,1f: e0 Jan 31 16:50:49 geeklab genunix: [ID 936769 kern.info] ssd2 is /pci@13,700000/SUNW,qlc@0/fp@0,0/ssd@w20230080e517e28c,1f Jan 31 16:50:50 geeklab scsi: [ID 107833 kern.warning] WARNING: /pci@13,700000/SUNW,qlc@0/fp@0,0/ssd...

Correcting device paths when replacing fiber boot disks after a ufsrestore

Goal A Sun Microsystems platform, with a fiber disk as the boot disk, is dependent on the disk's World Wide Number (WWN) being included in its physical device path, in order for the system to boot properly. Below is a detail from a Sun Fire 280R system: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w210000203746f423,0:a Physical Device Path /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w210000203746f423,0:a WWN If the primary boot device is replaced by a disk which has been ufsrestore'd (from a backup via ufsdump), then the WWN of this disk must be implemented into the Solaris Operating System device path, and must be associated with the correct  Solaris OS logical device. Solution Procedure for correcting device paths on the Sun Fire 280R: To show this as a working example, we copied c1t0d0s0 to c1t1d0s0 on a Sun Fire 280R via ufsdump and ufsrestore, then installed the boot-block. The two disks were switched, emulating the replacement of the primary disk. Note: The...

System Panics During the Boot Sequence with "Can't invoke /etc/init, error "

Symptoms During the boot sequence an error message with the following synopsis is reported on the console. panic[cpu< n >]/thread=< thread_id >: Can't invoke /etc/init, error < errno > where < n > represents the CPU number, < thread_id > represents the thread currently on the CPU at the time of the panic and < errno > represents an error code. For example, panic[cpu0]/thread=300004f9d00: Can't invoke /etc/init, error 2 The boot sequence is restarted and the message reported again resulting in a  panic cycle which will loop indefinitely. Cause Interpreting the Error Code: In order to arrive at a resolution it is necessary to understand what the error message is stating. The error code reported may be found in the /usr/include/sys/errno.h file, delivered with the "SunOS Header Files" (SUNWhea) package, and this should give a good indication as to the nature of the problem. Solution Since the system will ...

Steps to FW upgradation of M9000 XSCF unit

Steps to FW upgradation of M9000 XSCF unit: login: user Password: XSCF&gt; getflashimage -l Existing versions:     Version                Size  Date     DCXCP1100.tar.gz   43786982  Sat Jan 06 09:47:55 IST 2001 XSCF&gt; getflashimage -v file:///media/usb_msd/DCXCP1112.tar.gz Free space: 124MB Making sure mount point is clear umount: /media/usb_msd is not mounted (according to mtab) Trying to mount USB device /dev/sda1 as /media/usb_msd Mounted USB device transfer from '/scf/firmtmp/hcp/archive//DCXCP1112.tar.gz' to 'file:///media/usb_msd/DCXCP1112.tar.gz'   0MB received   1MB received   2MB received   3MB received   4MB received   5MB received   6MB received   7MB received   8MB received   9MB received  10MB received  11MB received  12MB received  13MB rec...