본문 바로가기

Work

(154)
ldom 관련 명령어들(config) [t5120:/]ldm ls-configfactory-default2015012620150216_default_setting [current] --> ldom 에 관련된 설정들을 저장하는 것과 관련된 것 [t5120:/]ldm add-config test1[t5120:/]ldm ls-configfactory-default2015012620150216_default_settingtest1 [current] --> test1 이란 설정 이름으로 config 추가 [t5120:/]ldm set-config 20150216_default_setting[t5120:/]ldm ls-configfactory-default2015012620150216_default_setting [next poweron]test1 [..
tcp_wrappers 를 통한 접속 가능 ip 설정 1. tcp_wrappers 설치 ex) sol 9 #gunzip tcp_wrappers-7.6-sol9-sparc-local.gz #pkgadd -d tcp_wrappers-7.6-sol9-sparc-local 2. tcp_wrappers 사용 설정------------------ solaris 10 -----------------#inetadm -l network/telnet SCOPE NAME=VALUE name="telnet" endpoint_type="stream" proto="tcp6" isrpc=FALSE wait=FALSE exec="/usr/sbin/in.telnetd" user="root"default bind_addr=""default bind_fail_max=-1default bin..
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
최대 file opens 개수 설정 ulimit -a or ulimit -n 명령어로 확인가능default 값 1024 해당 변경 하기 위해선 /etc/security/limits.conf # /etc/security/limits.conf##Each line describes a limit for a user in the form:## ##Where:# can be:# - an user name# - a group name, with @group syntax# - the wildcard *, for default entry# - the wildcard %, can be also used with %group syntax,# for maxlogin limit## can have the two values:# - "soft" for enfor..
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,..