Hi Liam,
gaxgpvw64xu# ldm ls -l
Thanks, I really appreciate your help.
Regards.
Roberto Ballan
Southernco - UNIX Admin
ATLANTA,GA
========================================================================
========================================================================
========
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 4G 0.4% 4d 19h
40m
SOFTSTATE
Solaris running
VCPU
VID PID UTIL STRAND
0 0 0.5% 100%
1 1 0.3% 100%
2 2 0.5% 100%
3 3 0.2% 100%
MAU
CPUSET
(0, 1, 2, 3)
MEMORY
RA PA SIZE
0x8000000 0x8000000 4G
VARIABLES
boot-device=/pci at 780/pci at 0/pci at 9/scsi at 0/disk at 0,0:a disk net
IO
DEVICE PSEUDONYM OPTIONS
pci at 780 bus_a
pci at 7c0 bus_b
VDS
NAME VOLUME OPTIONS DEVICE
primary-vds0 vol1 /dev/dsk/c0t0d0s2
VCC
NAME PORT-RANGE
primary-vcc0 5000-5100
VSW
NAME MAC NET-DEV DEVICE MODE
primary-vsw0 00:14:4f:f8:d4:4b e1000g0 switch at 0 prog,promisc
VCONS
NAME SERVICE PORT
SP
------------------------------------------------------------------------
------
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
ldg1 active -t--- 5000 4 512M 25% 4d 20h
25m
SOFTSTATE
Openboot initializing
VCPU
VID PID UTIL STRAND
0 4 100% 100%
1 5 0.0% 100%
2 6 0.0% 100%
3 7 0.0% 100%
MEMORY
RA PA SIZE
0x8000000 0x108000000 512M
VARIABLES
auto-boot?=true
boot-device=vdisk
NETWORK
NAME SERVICE DEVICE MAC
vnet1 primary-vsw0 at primary network at 0
00:14:4f:fa:1d:f6
DISK
NAME VOLUME TOUT DEVICE SERVER
vdisk1 vol1 at primary-vds0 disk at 0 primary
VCONS
NAME SERVICE PORT
ldg1 primary-vcc0 at primary 5000
gaxgpvw64xu#
========================================================================
=====================================================
-----Original Message-----
From: Liam.Merwick at Sun.COM [mailto:[email protected]]
Sent: Tuesday, February 05, 2008 9:52 AM
To: Ballan, Roberto
Cc: ldoms-discuss at opensolaris.org
Subject: Re: [ldoms-discuss] Install/setting LDOM Guest Domains
Hi Roberto,
Ballan, Roberto wrote:
> I have a T2000 Server with Solaris 10 installed.
> The T2000 has: 4GB RAM memory; 4 CPU (that is 4 core); 2 HBA's SUN
> Branded;
> And one NIC card.
> I have 2 internal disks that are h/w mirrored so if I run format I
can
> see
> A 68GB logical disk. (see below the format output).
> I am trying to find out the right steps/procedure in order to
install
> a
> Guest Domain.
> I have read the documentation in the LDOM Administration Guide
however
> I did not see all the steps in order to
> Install/configure a Guest Domain.
> Any help will be great.
>
Can you include the output from 'ldm ls -l' of the guest you created and
are
having trouble with.
In order to guest a guest domain you will need to do something like:
mkfile 4G /export/home/guest1disk.img
ldm add-vdsdev /export/home/guest1disk.img file at primary-vds0
ldm add-vdisk vdisk1 file at primary-vds0 guest1
Then 'bind' and 'start' the guest and Jumpstart the guest like you would
a bare-metal machine. Note, not all your disk below seems to be used,
you
could add a larger slice and put the file on that.
-- Liam
> Thanks.
> Roberto Ballan
> e-mail: x2ballan at southernco.com
>
> =======================================================
>
> gaxgpvw64xu# format
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
> 0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16
sec
> 136>
> /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0
> Specify disk (enter its number): 0
> selecting c0t0d0
> [disk formatted]
> Warning: Current Disk has mounted partitions.
> /dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
> /dev/dsk/c0t0d0s1 is currently used by swap. Please see swap(1M).
> /dev/dsk/c0t0d0s3 is currently mounted on /usr/local. Please see
> umount(1M).
> /dev/dsk/c0t0d0s4 is currently mounted on /export/home. Please see
> umount(1M).
>
>
> FORMAT MENU:
> disk - select a disk
> type - select (define) a disk type
> partition - select (define) a partition table
> current - describe the current disk
> format - format and analyze the disk
> repair - repair a defective sector
> label - write label to the disk
> analyze - surface analysis
> defect - defect list management
> backup - search for backup labels
> verify - read and display labels
> save - save new disk/partition definitions
> inquiry - show vendor, product and revision
> volname - set 8-character volume name
> !<cmd> - execute <cmd>, then return
> quit
> format> p
>
>
> PARTITION MENU:
> 0 - change `0' partition
> 1 - change `1' partition
> 2 - change `2' partition
> 3 - change `3' partition
> 4 - change `4' partition
> 5 - change `5' partition
> 6 - change `6' partition
> 7 - change `7' partition
> select - select a predefined table
> modify - modify a predefined partition table
> name - name the current table
> print - display the current table
> label - write partition map and label to the disk
> !<cmd> - execute <cmd>, then return
> quit
> partition> p
> Current partition table (original):
> Total disk cylinders available: 65533 + 2 (reserved cylinders)
>
> Part Tag Flag Cylinders Size Blocks
> 0 root wm 7711 - 22167 15.00GB (14457/0/0)
> 31458432
> 1 swap wu 0 - 7710 8.00GB (7711/0/0)
> 16779136
> 2 backup wm 0 - 65532 68.00GB (65533/0/0)
> 142599808
> 3 usr wm 22168 - 26117 4.10GB (3950/0/0)
> 8595200
> 4 home wm 26118 - 30936 5.00GB (4819/0/0)
> 10486144
> 5 unassigned wm 0 0 (0/0/0)
> 0
> 6 unassigned wm 0 0 (0/0/0)
> 0
> 7 unassigned wm 0 0 (0/0/0)
> 0
>
> partition>