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
Thursday, July 23, 2015
HPUX LVM commands
To add one PV to existing VG03
#vgextend vg03 /dev/dsk/c5t2d0
#vgdisplay -v vg03
To extend 500MB LV into a disk
#lvextend -L 500 /dev/vg01/lvdata /dev/dsk/c5t2d0
To mirror LV into a different disk
#lvextend -m 1 /dev/vg03/lvol1 /dev/dsk/c1t3d0
#lvextend -m 1 /dev/vg03/lvol1 /dev/dsk/c1t3d0
How to create a file system in HPUX
1) Identify new disk by using ioscan command.
#ioscan -fnC disk # pvcreate /dev/rdsk/c2t5d0
2) creating a Volume Group vg03
#mkdir /dev/vg03
3) creating vg major and minor number
#mknod /dev/vg03/group c 64 0x030000
4) Creating vg03
# vgcreaate /dev/vg03 /dev/dsk/c2t5d0
5) Creating Logical Volume (Lvol) 1GB size
#lvcreate -L 1024 -n lvol1 vg03
6) Create a file system
#newfs -F vxfs -o largefiles /dev/vg03/rlovl1
7) Mount the filesystem
# mount /dev/vg03/lvol1 /myfilesystem)
8) To mount permanently, add entry in /etc/fstab file.
#ioscan -fnC disk # pvcreate /dev/rdsk/c2t5d0
2) creating a Volume Group vg03
#mkdir /dev/vg03
3) creating vg major and minor number
#mknod /dev/vg03/group c 64 0x030000
4) Creating vg03
# vgcreaate /dev/vg03 /dev/dsk/c2t5d0
5) Creating Logical Volume (Lvol) 1GB size
#lvcreate -L 1024 -n lvol1 vg03
6) Create a file system
#newfs -F vxfs -o largefiles /dev/vg03/rlovl1
7) Mount the filesystem
# mount /dev/vg03/lvol1 /myfilesystem)
8) To mount permanently, add entry in /etc/fstab file.
Tuesday, April 3, 2012
Sunday, March 21, 2010
Wednesday, March 17, 2010
Wednesday, March 3, 2010
September 2009 rx7640 Setup
Subscribe to:
Posts (Atom)