본문 바로가기

Work

(154)
solaris 복구 1. newfs /dev/rdsk/c0t1d0s0 /mnt2. mount /dev/dsk/c0t1d0s0 /mnt3. ufsrestore rf /Fullpath/filename4. rm /mnt/restoresymtable5. umount /mnt6. fsck -y /dev/rdsk/c0t1d0s07. cd /usr/platform/`uname -i`/lib/fs/ufs/8. installboot bootblk /dev/rdsk/c0t1d0s0 9. ldm start guest-domain name
solaris 10 prtdiag 관련 서비스 solaris prtdiag 관련 서비스 picl #svcs -a | grep piclonline 5¿ù_29 svc:/system/picl:default
solaris 10 Disk fault 불 점등 시키기 # cfgadm -x led=fault,mode=blink -> fault blink # cfgadm -x led=fault,mode=off -> fault off [solaris10:/]cfgadm -alAp_Id Type Receptacle Occupant Conditionc1 scsi-sas connected configured unknownc1::dsk/c1t0d0 disk connected configured unknownc1::dsk/c1t1d0 disk connected configured unknownc1::dsk/c1t2d0 disk connected configured unknownc1::dsk/c1t3d0 disk connected configured unknown
solaris set disk channel parameter and reboot the system Set fp channel timeout# vi /kernel/drv/fp.conffp_offline_ticker=45; Disable auto failback# vi /kernel/drv/scsi_vhci.confauto-failback="disable"; Enable MPxIO# stmsboot -D fp -e reboot? yes
Disable lso Packet Disable lso Packet # vi /kernel/drv/e1000g.conflso_enable=0,0,0,0,0,0,0,0; e1000g 드라이버에서 작업부하가 높으면 손상된 LSO 패킷을 생성하여, 이더넷 칩이 정지 되고 재설정 될 수 있다.위의 줄을 추가해서 LSO 비활성화 https://docs.oracle.com/cd/E19253-01/821-0592/gjbcw/index.html
solaris system parameter 설정 Add kernel parameters to /etc/system file# vi /etc/system * set zfs archive cache size 3Gset zfs:zfs_arc_max = 0xc0000000 * arc_meta_limit 512Mset zfs:zfs_arc_meta_limit = 0x20000000 * zfs_arc_min 256Mset zfs:zfs_arc_min = 0x10000000 * file descriptor parameter set rlim_fd_max=65535set rlim_fd_cur=8192 * oracle parameterset noexec_user_stack=1set semsys:seminfo_semmni=1024set semsys:seminfo_semm..
solaris echo 사용.1 # echo "## echo test IP Address ##" >> /etc/hosts# echo "xxx.xxx.xxx.xxx `hostname`_hme0_t" >> /etc/hosts# echo "xxx.xxx.xxx.xxx `hostname`_hme2_t" >> /etc/hosts# echo "`hostname`_hme0_t group `hostname`-ipmp deprecated \-failover netmask 255.255.255.0 broadcast + up" \ >> /etc/hostname.hme0# echo "addif `hostname`_hme2_t group `hostname`-ipmp deprecated \-failover standby netmask 255.255.255.0 ..
solaris 10 SVM 관련 Device driver : /kernel/drv/md, /kernel/misc/md_*Configuration files : /etc/init.d/lvm.init, lvm.sync, /etc/lvm/md.tab, /etc/lvm/mddb.cf, /etc/systemmetadb replicas : 유효 metadb 개수 System 정상 운영 System Boot Level 50% 초과 Yes Yes, Multi-user mode boot 50% Yes No, Single-user mode boot 50% 미만 No, System Panic No, Single-user mode boot SVM commnads : growfs, mdlogd, metaclear, metadb, metadetach, meta..