DevTech101

DevTech101

Credit Card on web OVM for SPARC configuration

Click here for a T5-2 complete configuration example
Click here for a T5-4 complete configuration example
Need to reset a domain to factory default Click here for a complete example.

Primary domain config

ldm add-vcc port-range=5000-5100 primary-vcc0 primary
svcadm enable svc:/ldoms/vntsd:default
 
ldm set-vcpu 56 primary
ldm set-memory 240G primary

Primary network config

ldm add-vswitch pvid=20 net-dev=aggr1 primary-vsw0 primary

services domain config

ldm create srv-dom1
ldm set-vcpu 8 srv-dom1
ldm set-memory 14G srv-dom1
ldm set-variable auto-boot\?=false srv-dom1

services domain network config

ldm add-vnet pvid=20 srvd primary-vsw0 srv-dom1

Stoarge config

CD-Rom

ldm add-vdiskserver primary-vds0 primary
ldm add-vdsdev options=ro /var/tmp/sol-11_1-text-sparc.iso iso1@primary-vds0
ldm add-vdisk vdisk_iso iso1@primary-vds0 srv-dom1

Disk

zfs create -o volblocksize=128k -V 80g zone-pool/srv-dom1
ldm add-vdsdev /dev/zvol/rdsk/zone-pool/srv-dom1 disk1@primary-vds0
ldm add-vdisk disk1 disk1@primary-vds0 srv-dom1
 
ldm add-spconfig initial; reboot;
 
ldm bind srv-dom1
ldm start srv-dom1
telnet localhost 5000
boot vdisk_iso:f

How to create a p2p (Solaris 11 to Solaris 11)

Backup source system

zfs snapshot -r rpool@p2v
zfs send -R rpool@p2v | gzip > /var/tmp/srv-dom1.p2v.gz
share -o anone=0 /var/tmp

Restore to destination system

zpool create -R /a -f rpool /dev/dsk/c2d1s0
mount remote-storage:/var/tmp /b
gunzip /b/srv-dom1.p2v.gz
cat /b/srv-dom1.p2v | /usr/sbin/zfs receive -dF rpool
zpool set bootfs='rpool/ROOT/solaris' rpool
installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c2d1s0

Help References

http://docs.oracle.com/cd/E23824_01/html/821-1460/glntw.html
https://blogs.oracle.com/mrj/entry/solaris_10_opensolaris_p2p_p2v
LDOM availability best practices

SR-IOV

using direct io with ldoms
what is sr iov

%d bloggers like this: