Down load from oracle website:
#cd /opt
# unzip LDoms_Manager-1_1.zip
#cd LDOms_Manager
#cd install
#./ install-ldm
--
root@murexhub # pkginfo -l SUNWldm
PKGINST: SUNWldm
NAME: Logical Domains Manager
CATEGORY: application
ARCH: sparc.sun4v
VERSION: 1.3,REV=2010.01.07.23.26
BASEDIR: /
VENDOR: Oracle Corporation
DESC: LDoms Manager - UltraSPARC CMT virtualization
PSTAMP: sanpen-on10-020100825190514
INSTDATE: Jun 16 2011 17:51
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 62 installed pathnames
11 shared pathnames
19 directories
18 executables
4321 blocks used (approx)
--
root@murexhub # pkginfo -l SUNWldmp2v
PKGINST: SUNWldmp2v
NAME: Logical Domains P2V tool
CATEGORY: application
ARCH: sparc
VERSION: 1.3,REV=2010.01.07.23.26
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Logical Domains (LDoms) Physical to Virtual (P2V) migration tool
PSTAMP: svlpen-on10-020100107232652
INSTDATE: Jun 15 2011 21:12
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 18 installed pathnames
6 shared pathnames
12 directories
2 executables
225 blocks used (approx)
--
# /usr/sbin/shutdown -y -g0 -i6
# svcadm enable svc:/ldoms/ldmd:default
Then
Vi /etc/profile
PATH=$PATH:/opt/SUNWldm/bin
Export PATH
:wq!
# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active ---c- SP 32 3264M
Enable the Virtual Network Terminal Server Daemon (in solaris10 it is mandatory)
# svcadm enable vntsd
#svcs -l vntsd
fmri svc:/ldoms/vntsd:default
name virtual network terminal server
enabled true
state online
next_state none
state_time Sat Jun 18 22:54:12 2011
logfile /var/svc/log/ldoms-vntsd:default.log
restarter svc:/system/svc/restarter:default
contract_id 72
dependency optional_all/error svc:/milestone/network (online)
dependency optional_all/none svc:/system/system-log (online)
# ifconfig –a
# ifconfig vsw0 plumb
# /usr/sbin/dladm show-link | grep vsw
vsw0 type: non-vlan mtu: 1500 device: vsw0
# ifconfig e1000g0 down unplumb
# ifconfig vsw0 10.66.10.101 netmask netmask_of_e1000g0 broadcast + up
# mv /etc/hostname.e1000g0 /etc/hostname.vsw0
# shutdown -y -g0 -i6
#cd /opt
# unzip LDoms_Manager-1_1.zip
#cd LDOms_Manager
#cd install
#./ install-ldm
--
root@murexhub # pkginfo -l SUNWldm
PKGINST: SUNWldm
NAME: Logical Domains Manager
CATEGORY: application
ARCH: sparc.sun4v
VERSION: 1.3,REV=2010.01.07.23.26
BASEDIR: /
VENDOR: Oracle Corporation
DESC: LDoms Manager - UltraSPARC CMT virtualization
PSTAMP: sanpen-on10-020100825190514
INSTDATE: Jun 16 2011 17:51
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 62 installed pathnames
11 shared pathnames
19 directories
18 executables
4321 blocks used (approx)
--
root@murexhub # pkginfo -l SUNWldmp2v
PKGINST: SUNWldmp2v
NAME: Logical Domains P2V tool
CATEGORY: application
ARCH: sparc
VERSION: 1.3,REV=2010.01.07.23.26
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Logical Domains (LDoms) Physical to Virtual (P2V) migration tool
PSTAMP: svlpen-on10-020100107232652
INSTDATE: Jun 15 2011 21:12
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 18 installed pathnames
6 shared pathnames
12 directories
2 executables
225 blocks used (approx)
--
# /usr/sbin/shutdown -y -g0 -i6
# svcadm enable svc:/ldoms/ldmd:default
Then
Vi /etc/profile
PATH=$PATH:/opt/SUNWldm/bin
Export PATH
:wq!
# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active ---c- SP 32 3264M
Enable the Virtual Network Terminal Server Daemon (in solaris10 it is mandatory)
# svcadm enable vntsd
#svcs -l vntsd
fmri svc:/ldoms/vntsd:default
name virtual network terminal server
enabled true
state online
next_state none
state_time Sat Jun 18 22:54:12 2011
logfile /var/svc/log/ldoms-vntsd:default.log
restarter svc:/system/svc/restarter:default
contract_id 72
dependency optional_all/error svc:/milestone/network (online)
dependency optional_all/none svc:/system/system-log (online)
# ifconfig –a
# ifconfig vsw0 plumb
# /usr/sbin/dladm show-link | grep vsw
vsw0 type: non-vlan mtu: 1500 device: vsw0
# ifconfig e1000g0 down unplumb
# ifconfig vsw0 10.66.10.101 netmask netmask_of_e1000g0 broadcast + up
# mv /etc/hostname.e1000g0 /etc/hostname.vsw0
# shutdown -y -g0 -i6
No comments:
Post a Comment