Presentation is loading. Please wait.

Presentation is loading. Please wait.

솔라리스 10 Chapter 23 점프 스타트 서버 관리 Solaris1. 점프 스타트 서버 구성.

Similar presentations


Presentation on theme: "솔라리스 10 Chapter 23 점프 스타트 서버 관리 Solaris1. 점프 스타트 서버 구성."— Presentation transcript:

1 솔라리스 10 Chapter 23 점프 스타트 서버 관리 Solaris1. 점프 스타트 서버 구성

2 점프 스타트 서버 – 네트워크를 통한 솔라리스 운영체제 설치. 점프 스타트 서버 구성 /jump config 구성 정보 서버 install 설치 OS 이미지서버, 부트서버

3 설치 OS 이미지 서버 만들기 # mkdir -p /jump/install # pwd /cdrom/cdrom0/s0/Solaris_10/Tools #./setup_install_server -b /jump/install Verifying target directory... Calculating space required for the installation boot image Copying Solaris_10 Tools hierarchy... Copying Install Boot Image hierarchy... Install Server setup complete #

4 구성 정보 서버 만들기 # cd /cdrom/cdrom0/Solaris_10/Misc/jumpstart_sample # pwd /cdrom/cdrom0/s0/Solaris_10/Misc/jumpstart_sample # mkdir -p /jump/config # cp -r./* /jump/config # ls any_machine net924_sun4c set_nfs4_domain* x86-begin check* rules x86-classhost_class upgrade

5 점프 스타트 구성 파일 편집하기 파일 명설명 rules 클라이언트에 대한 구성 정보를 포함하고 있다. 어떤 프로 파일 (profile) 을 사용할 지를 결정한다. check check 스크립트는 rules 파일의 오류를 확인하는 스크립트 이다. 만약 오류가 없다면 rules.ok 파일이 만들어 진다. sysidcfg 기본 파일이 아니므로 새로 만들어줘야 한다. 시스템 로케 일, 타임 서버, 터미널 타입, DNS 설정, 네트웍 설정, 커브로 스 보안 설정, root 암호등을 설정하는 파일이다.

6 Rules 파일 예제 # cd /jump/config # mv rules rules.OLD # vi rules hostname client - profile finish_script

7 프로파일 ( 클래스 파일 ) 편집하기 – 설치 타입, 로케일, 파티션을 자동설정하는 단계이다. # cat /jump/config/profile install_type initial_install system_type standalone locale ko partitioning explicit filesys c0t0d0s0 free / filesys c0t0d0s1 2048 swap filesys c0t0d0s3 100 /p3 filesys c0t0d0s4 100 /p4 filesys c0t0d0s5 100 /p5 cluster SUNWCXall

8 Finish 스크립트 # vi /jump/config/finish_script #!/bin/sh mount /dev/dsk/c0t0d0s0 /a touch /a/noautoshutdown umount /a # chmod 755 finish_script

9 rules.ok 파일 생성 – 설정 파일에 이상이 없는지 체크한다. #./check Validating rules... Validating profile host_class... The custom JumpStart configuration is ok. solaris10 # ls rules.ok rules.ok

10 sysidcfg 파일 편집 ( 새로 생성 ) – 설치 과정에서 설정 정보를 입력하는 단계에 해당한다. # vi /jump/config/sysidcfg nfs4_domain=dynamic system_locale=ko timezone=ROK timeserver=localhost terminal=vt100 name_service=NONE security_policy=NONE root_password=jYhSZ9rtKKbo6 network_interface=primary {netmask 255.255.255.0 protocol_ipv6=no default_route=192.168.64.2}

11 점프 스타트 서버에서 점프 스타트 클라이언트 추 가하기 /etc/hosts /etc/ethers # cat /etc/hosts 127.0.0.1 localhost 192.168.64.3 sol10 sol10. loghost 192.168.64.4 client # cat /etc/ethers 0:3:ba:4:33:78 client

12 점프 스타트 클라이언트 추가 # dfshares RESOURCE SERVER ACCESS TRANSPORT sol10:/jump/config solaris10 - - # ls # cd /jump/install/Solaris_10/Tools #./add_install_client -c sol10:/jump/config -p sol10:/jump/config -s sol10:/jump/install client sun4u Adding "share -F nfs -o ro,anon=0 /jump/install" to /etc/dfs/dfstab making /tftpboot enabling tftp in /etc/inetd.conf Converting /etc/inetd.conf enabling network/tftp/udp6 service enabling network/rarp service enabling network/rpc/bootparams service updating /etc/bootparams copying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1 #

13 /etc/bootparams 파일 확인 – 점프 스타트 클라이언트가 등록된 파일이다. # cat /etc/bootparams jc_client root=sol10:/jump/install/Solaris_10/Tools/Boot install=sol10:/jump/install boottype=:in sysid_config=sol10:/jump/config install_config=sol10:/jump/config rootopts=:rsize=8192 #

14 점프 스타트 서버에서 모니터링 # snoop sol10 client ns= client -> sol10 TCP D=2049 S=518 Ack=2659297870 Seq=377060 Len=0 Win=49100 Options= ~~ 중략 ~~ client -> sol10 TCP D=2049 S=518 Ack=2661155046 Seq=536404 Len=0 Win=42356 Options= client -> sol10 NFS C READ3 FH=D7EA at 933888 for 8192

15 점프 스타트 클라이언트에서 작업 # halt {0} ok boot net - install ok boot net - install Boot device: /pci@1f,0/pci@1,1/network@1,1 File and args: - install SunOS Release 5.10 Version Generic_127127-11 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. whoami: no domain name Configuring devices. Using RPC Bootparams for network configuration information. Attempting to configure interface hme0... /dev/rdsk/c0t0d0s5 is clean Creating new rsa public/private host key pair Creating new dsa public/private host key pair jc_client console login: root Password: ****** Oct 8 jc_client login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.10 Generic January 2005 #

16


Download ppt "솔라리스 10 Chapter 23 점프 스타트 서버 관리 Solaris1. 점프 스타트 서버 구성."

Similar presentations


Ads by Google