탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
![]() |
Oracle Solaris 관리: 기본 관리 Oracle Solaris 10 1/13 Information Library (한국어) |
2. Solaris Management Console 작업(작업)
3. Oracle Java Web Console 작업(작업)
11. Oracle Solaris 부트 동작 수정(작업)
SPARC 기반 시스템의 지정된 ZFS 루트 파일 시스템에서 부트
SPARC: ZFS 부트 풀에서 사용 가능한 부트 가능 데이터 세트를 나열하는 방법
SPARC: 지정된 ZFS 루트 파일 시스템에서 부트하는 방법
SPARC 기반 시스템을 비상 안전 모드로 부트하는 방법
GRUB를 사용하여 x86 기반 시스템 부트(작업 맵)
x86: 시스템을 실행 레벨 3으로 부트하는 방법(다중 사용자)
x86: 시스템을 실행 레벨 S로 부트하는 방법(단일 사용자 레벨)
x86: x86 기반 시스템의 지정된 ZFS 루트 파일 시스템에서 부트
x86: 사용 가능한 ZFS 부트 환경 목록을 표시하는 방법
x86: 지정된 ZFS 루트 파일 시스템에서 부트하는 방법
x86: 손상된 부트 아카이브를 강제로 업데이트하기 위해 비상 안전 모드로 부트하는 방법
x86: 네트워크에서 GRUB 기반 부트를 수행하는 방법
SPARC 플랫폼에서 빠른 재부트 프로세스 수행(작업 맵)
13. Oracle Solaris 부트 아카이브 관리(작업)
14. Oracle Solaris 시스템 부트(작업) 문제 해결
16. x86: GRUB가 구현되지 않은 시스템 부트(작업)
17. Oracle Configuration Manager 작업
21. Oracle Solaris 시스템 관리 도구를 사용하여 소프트웨어 관리(작업)
시스템 전원이 꺼진 경우 전원을 켜면 다중 사용자 부트 시퀀스가 시작됩니다. 다음 절차는 ok PROM 프롬프트에서 다른 실행 레벨로 부트하는 방법을 보여줍니다. 이 절차는 별다른 언급이 없는 한 시스템이 정상적으로 종료되었다고 간주합니다.
who -r 명령을 사용하여 시스템이 지정된 실행 레벨에 있는지 확인하십시오. 실행 레벨에 대한 설명은 18 장서비스 관리(개요)를 참조하십시오.
이 절차에 따라 현재 실행 레벨 0에 있는 시스템을 실행 레벨 3으로 부트할 수 있습니다.
ok boot
자동 부트 절차에 따라 일련의 시작 메시지가 표시되고 시스템이 실행 레벨 3으로 설정됩니다. 자세한 내용은 boot(1M) 매뉴얼 페이지를 참조하십시오.
부트 프로세스가 성공적으로 완료되면 로그인 프롬프트가 표시됩니다.
hostname console login:
예 12-1 SPARC: 시스템을 실행 레벨 3으로 부트(다중 사용자 레벨)
다음 예는 시스템을 실행 레벨 3으로 부트할 때 표시되는 메시지를 보여줍니다.
ok boot Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz) OpenBoot 3.15, 128 MB memory installed, Serial #number. Ethernet address number, Host ID: number. Rebooting with command: boot Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a File and args: kernel/sparcv9/unix SunOS Release 5.10 Version s10_60 64-bit Copyright 1983-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. configuring IPv4 interfaces: hme0. add net default: gateway 172.20.27.248 Hostname: starlite The system is coming up. Please wait. NIS domain name is example.com starting rpc services: rpcbind keyserv ypbind done. Setting netmask of hme0 to 255.255.255.0 Setting default IPv4 interface for multicast: add net 224.0/4: gateway starlite syslog service starting.The system is ready. Starting Sun(TM) Web Console Version 2.1-dev.. volume management starting. The system is ready. starlite console login:
위 예에서 sparcv9는 예시용으로만 사용되었습니다. 이 문자열은 isainfo - k 명령의 출력과 일치합니다.
이 절차에 따라 현재 실행 레벨 0으로 실행되는 시스템을 실행 레벨 S로 부트할 수 있습니다. 이 실행 레벨은 파일 시스템 백업과 같은 시스템 유지 관리 작업을 위해 사용됩니다.
ok boot -s
SINGLE USER MODE Root password for system maintenance (control-d to bypass): xxxxxx
# who -r
예 12-2 SPARC: 시스템을 실행 레벨 S로 부트(단일 사용자 레벨)
다음 예는 시스템을 실행 레벨 S로 부트할 때 표시되는 메시지를 보여줍니다.
ok boot -s . . . Sun Microsystems Inc. SunOS 5.10 Version Generic_120012-14 32-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. configuring IPv4 interfaces: hme0. Hostname: starlite SINGLE USER MODE Root password for system maintenance (control-d to bypass): xxxxxx single-user privilege assigned to /dev/console. Entering System Maintenance Mode Oct 14 15:01:28 su: 'su root' succeeded for root on /dev/console Sun Microsystems Inc. SunOS 5.10 # who -r . run-level S Sep 19 08:49 S 0 ? (Perform some maintenance task) # ^D
이 부트 옵션은 대체 커널 또는 /etc/system 파일을 지정해야 하는 경우에 사용됩니다.
시작하기 전에
boot -a 명령을 사용하여 SPARC 기반 시스템을 대화식으로 부트하는 경우에 대체 /etc/system 파일을 지정하려면 시스템을 부트하기 전에 다음 단계를 수행해야 합니다.
1. /etc/system 및 boot/solaris/filelist.ramdisk 파일의 백업 사본을 만듭니다.
# cp /etc/system /etc/system.bak # cp /boot/solaris/filelist.ramdisk /boot/solaris/filelist.ramdisk.orig
2. etc/system.bak 파일 이름을 /boot/solaris/filelist.ramdisk 파일에 추가합니다.
# echo "etc/system.bak" >> /boot/solaris/filelist.ramdisk
3. 부트 아카이브를 업데이트합니다.
# bootadm update-archive -v
ok boot -a
기본 커널 파일 이름을 사용하려면 Enter 키를 누릅니다. 그렇지 않은 경우 대체 커널의 이름을 입력하고 Enter 키를 누릅니다.
기본 모듈 디렉토리를 사용하려면 Enter 키를 누릅니다. 그렇지 않은 경우 모듈 디렉토리에 대한 대체 경로를 입력하고 Enter 키를 누릅니다.
/etc/system 파일이 손상된 경우 /dev/null을 입력합니다.
로컬 디스크 부트를 위해 UFS(기본값)를 선택하려면 Enter 키를 누르고, 네트워크 부트를 사용하려면 NFS를 입력합니다.
대체 장치 이름을 입력하거나 Return 키를 눌러 기본값을 사용합니다.
예 12-3 SPARC: 대화식으로 시스템 부트
이 예에서는 기본 선택 사항(대괄호 []로 표시됨)이 사용되었습니다. boot -a 명령을 사용하여 대체 파일 시스템을 부트하는 방법에 대한 지침과 예제를 보려면 SPARC: 시스템을 대화식으로 부트하는 방법을 참조하십시오.
ok boot -a . . . Rebooting with command: boot -a Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a File and args: -a Enter filename [kernel/sparcv9/unix]: Press Return Enter default directory for modules [/platform/SUNW,Ultra-5_10/kernel /platform/sun4u/kernel /kernel /usr/kernel]: Press Return Name of system file [etc/system]: Press Return SunOS Release 5.10 Version S10_60 64-bit Copyright (c) 1983-2004 by Sun Microsystems, Inc. All rights reserved Use is subject to license terms. root filesystem type [ufs]: Press Return Enter physical name of root device [/pci@1f,0/pci@1,1/ide@3/disk@0,0:a]: Press Return configuring IPv4 interfaces: hme0. Hostname: starlite The system is coming up. Please wait. checking ufs filesystems . . . The system is ready. starlite console login:
역할에는 권한 부여 및 권한이 있는 명령이 포함됩니다. 역할에 대한 자세한 내용은 System Administration Guide: Security Services의 Configuring RBAC (Task Map)를 참조하십시오.
# echo "kernel.name" >> /boot/solaris/filelist.ramdisk
# cat > /etc/boot/solaris/filelist.ramdisk
# bootadm update-archive
# init 0
ok PROM 프롬프트가 표시됩니다.
ok boot alternate-kernel
예:
ok boot kernel.myname/sparcv9/unix
ok setenv boot-file kernel.name/sparc9/unix
ok printenv boot-file
ok boot
# prtconf -vp | grep whoami
예 12-4 기본 부트 파일을 변경하여 대체 커널 부트
# cp -r /platform/sun4v/kernel /platform/sun4vu/kernel.caiobella # echo "kernel.caiobela" >> /boot/solaris/filelist.ramdisk # cat > /etc/boot/solaris/filelist.ramdisk /platform/sun4v/kernel.caiobella ^D (control D) ok setenv boot-file kernel.caiobells/sparcv9/unix ok printenv boot-file boot-file = kernel.caiobella/sparcv9/unix ok boot SC Alert: Host System has Reset SC Alert: Host system has shut down. Sun Fire T200, No KeyboardCopyright 2006 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.25.0.build_01***PROTOTYPE BUILD***, 32760 MB memory available, Serial #69060038. Ethernet address 0:x:4f:x:c5:c6, Host ID: 8xxc5c6. Rebooting with command: boot Boot device: /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk@0,0:a File and args: kernel.caiobella/sparcv9/unix SunOS Release 5.10 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. DEBUG enabled misc/forthdebug (176650 bytes) loaded Hostname: seasonz NIS domain name is lab.domain.sun.com Reading ZFS config: done. seasonz console login: Password: Last login: Mon Nov 12 18:02:00 on console Sun Microsystems Inc. SunOS 5.10 . . . You have new mail. # # # prtconf -vp | grep whoami whoami: '/platform/sun4v/kernel.caiobella/sparcv9/unix'