Step to install Solaris 11.3
1. Try to boot the server (if have OS)
- Connect to server using serial cable
- start system of the server
: start /SYS
- console to the server
: start /SP/console
- after OK prompt appear, check device availability
: devalias
- boot the server to OS
: boot
- connect to ldom
: telnet localhost 5000
- exit from ldom
: ~.
- shutdown the server
: init 0
- exit from OK prompt
: #.
- stop system of the server
: stop /SYS
- check status in ILOM
: show /SYS
2. Install OS in LDOM
- Create Repo in CDOM
: zfs create -p rpool/ldoms/OSImages
: ldm add-vdsdev /rpool/ldoms/OSImages/sol-10-u10-ga2-sparc-dvd.iso solaris10_media@primary-vds0
- Create LDOM
: ldm add-domain ldom01
: ldm add-vcpu 4 ldom01
: ldm add-memory 2G ldom01
: ldm add-vnet vnet0 primary-vsw0 ldom01
- Add installation media to vdsdev
: ldm add-vdsdev /export/home/os/sol-11_3-text-sparc.iso sol_11_iso@primary-vds0
- Add installation media to newly LDOM
: ldm add-vdisk sol-11_3-text-sparc.iso sol_11_iso@primary-vds0 ldom01
- Add vdsdev
: ldm add-vdsdev /dev/dsk/c2t0d0s0 ldom_os@primary-vds0
- Add vdisk to newly LDOM
: ldm add-vdisk ldom_os ldom_os@primary-vds0 ldom01
- Disable autoboot
: ldm set-var auto-boot\?=false ldom01
- Bind LDOM
: ldm bind-domain ldom01
- Start LDOM
: ldm start-domain ldom01
- Telnet LDOM
: telnet 0 5000
- Check devices
: devalias
- Boot to installation media
: boot .iso
3. Remove LDOM
- Check list of ldom
: ldm ls / ldm list
- Remote/Console to ldom
: telnet localhost 5000
- Shutdown ldom
: init 0
or
: shutdown -y -g0 -i0
- Stop ldom at CDOM
: ldm stop-domain ldom01
- Unbind ldom
: ldm unbind-domain ldom01
- Remove ldom. Make sure ldom is in inactive state
: ldm remove-domain ldom01
- Remove vdsdev
: ldm list -o disk
: ldm remove-vdsdev OSdisk1@primary-vds0 (remove disk partially)
: ldm remove-vdisk -f usp0_0143-p1 ldom01
: ldm remove-vdsdev -f usp0_01d3-p1@primary-vds0
- Remove vnet
: ldm rm-vnet <interface-name> ldom
: ldm remove-vsw primary-vsw0 (total remove)
4. Check physical network in Solaris 11.3
: ipadm show-addr
: dladm show-phys
5. Save LDOM config
: ldm list-spconfig
: ldm add-spconfig ldom01
6. Remove LDOM config
: ldm remove-spconfig ldom01
7. Check user
: who -u |grep admin
: who -q
: whoami
: w
8. Kill user using pid
: kill -9 "pid number"
9. Set network ILOM
: cd /SP/network
: set pendingipdiscovery=static
: set pendingipaddress=<ip address>
: set pendingipnetmask=<subnet>
: set pendingipgateway=<gateway>
: set pendingmanagementport=/SYS/MB/NET0
: set commitpending=true
Friday, August 18, 2023
Step to install Solaris 11.3 and LDOM
Subscribe to:
Posts (Atom)