본문 바로가기

Work/Solaris

(78)
zfs 싱글모드 마운팅 ** zfs 파일시스템 싱글모드에서 마운트 **ok>boot cdrom -s#zpool import#zfs list#zfs set mountpoint=legacy rpool/ROOT/t5120#mount -F zfs rpool/ROOT/t5120 /mnt #umount /mnt#zpool export rpool ** ufs 파일시스템 싱글모드에서 마운트 **ok>boot cdrom -s #mount /dev/dsk/c0t0d0s0 /a#cd /a
ldom guest domain rename ** ldm - guest domain rename **ldm list ldm stop guest-domain ldm unbind guest-domain ldm list-constraints -x guest-domain > /var/tmp/guest-domain.xml cp -p /var/tmp/guest-domain.xml /var/tmp/new-domain.xml vi /var/tmp/new-domain.xml 기존 guest-domain 이름 수정 -> new-domain 으로 ldm destroy guest-domain ldm add-domain -i /var/tmp/new-domain.xml ldm list ldm bind new-domain ldm start new-domain
ldom 관련 명령어들 3 ( iso 파일 추가 ) [t5120:/iso]ldm add-vds primary-vds3 primary>> primary-vds3 추가 [t5120:/iso]ldm lsNAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIMEprimary active -n-cv- SP 8 8G 2.3% 1d 2h 4myj-test inactive ------ 16 6G[t5120:/iso]ldm ls-servicesVCC NAME LDOM PORT-RANGE primary-vcc0 primary 5000-5100 VSW NAME LDOM MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK primary-vsw1 primary 0..
ldom 관련 명령어들 2 ( Guest domain 추가 ) ldm add-domain domain1ldm add-vcpu 8 domain1ldm add-mem 4g domain1 [t5120:/]ldm ls-servicesVCC NAME LDOM PORT-RANGE primary-vcc0 primary 5000-5100 VSW NAME LDOM MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK primary-vsw1 primary 00:14:4f:f9:de:6f e1000g2 0 switch@0 1 1 1500 on primary-vsw2 primary 00:14:4f:f9:35:33 e1000g3 1 switch@1 1 1 1500 on VDS NAME LDOM VO..
ldom 관련 명령어들 1 ( vcc,vsw,vds 삭제 추가 ) [t5120:/]ldm ls NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIMEprimary active -n-cv- SP 8 8G 0.2% 27d 1h 17myj-test inactive ------ 16 6G => primary 물리 서버 O/S [t5120:/]ldm rm-domain yj-test => domain 삭제 [t5120:/]ldm lsNAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIMEprimary active -n-cv- SP 8 8G 0.4% 27d 1h 17m [t5120:/]ldm ls-devicesCORE ID %FREE CPUSET 1 100 (8, 9, 10, 11, 12, 13, 14, 15) 2 100 (16,..
ldom 설치, 삭제 http://www.oracle.com/technetwork/server-storage/vm/downloads/index.html 에서 OS 와 CPU 에 맞는 패치 다운로드 sol 10, sparc 기준p17291713_31_SOLARIS64_oracle_vm_for_sparc_3.1.zip 다운로드 unzip p17291713_31_SOLARIS64_oracle_vm_for_sparc_3.1.zip ********** 설치 *********** [t5120:/kdk]lsOVM_Server_SPARC-3_1 p17291713_31_SOLARIS64_oracle_vm_for_sparc_3.1.zip cd OVM_Server_SPARC-3_1 [t5120:/kdk/OVM_Server_SPARC-3_1]ls..
solaris 자동완성 .profile 에 set -o vi 설정 후 cd /etc/sys 까지 치고 esc + \ ==> 자동완성 cd /etc/sys 까지 치고 esc+ = ==> 사용 가능한 리스트 보기 오우 예~
tcp 파라미터 tcp 파라미터 보기 #!/bin/sh# Check TCP/IP Parameter#echo "tcp_time_wait_interval: " `/usr/sbin/ndd -get /dev/tcp tcp_time_wait_interval`# echo "tcp_mss_max: " `/usr/sbin/ndd -get /dev/tcp tcp_mss_max`# echo "tcp_fin_wait_2_flush: " `/usr/sbin/ndd -get /dev/tcp tcp_fin_wait_2_flush_interval`echo "tcp_conn_req_max_q: " `/usr/sbin/ndd -get /dev/tcp tcp_conn_req_max_q`echo "tcp_conn_req_max_q0: " `/usr/sb..