탐색 링크 건너뛰기 | |
인쇄 보기 종료 | |
![]() |
Oracle Solaris 관리: 기본 관리 Oracle Solaris 10 1/13 Information Library (한국어) |
2. Solaris Management Console 작업(작업)
3. Oracle Java Web Console 작업(작업)
11. Oracle Solaris 부트 동작 수정(작업)
SPARC: 시스템을 실행 레벨 3으로 부트하는 방법(다중 사용자 레벨)
SPARC: 시스템을 실행 레벨 S로 부트하는 방법(단일 사용자 레벨)
SPARC: 기본 커널이 아닌 다른 커널을 부트하는 방법
SPARC 기반 시스템의 지정된 ZFS 루트 파일 시스템에서 부트
SPARC: ZFS 부트 풀에서 사용 가능한 부트 가능 데이터 세트를 나열하는 방법
SPARC: 지정된 ZFS 루트 파일 시스템에서 부트하는 방법
SPARC 기반 시스템을 비상 안전 모드로 부트하는 방법
GRUB를 사용하여 x86 기반 시스템 부트(작업 맵)
x86: 시스템을 실행 레벨 3으로 부트하는 방법(다중 사용자)
x86: 시스템을 실행 레벨 S로 부트하는 방법(단일 사용자 레벨)
x86: 손상된 부트 아카이브를 강제로 업데이트하기 위해 비상 안전 모드로 부트하는 방법
x86: 네트워크에서 GRUB 기반 부트를 수행하는 방법
SPARC 플랫폼에서 빠른 재부트 프로세스 수행(작업 맵)
13. Oracle Solaris 부트 아카이브 관리(작업)
14. Oracle Solaris 시스템 부트(작업) 문제 해결
16. x86: GRUB가 구현되지 않은 시스템 부트(작업)
17. Oracle Configuration Manager 작업
21. Oracle Solaris 시스템 관리 도구를 사용하여 소프트웨어 관리(작업)
x86 플랫폼의 Oracle Solaris ZFS 루트 파일 시스템에서 부트할 수 있도록 지원하기 위해 새 GRUB 키워드 $ZFS-BOOTFS가 추가되었습니다. 루트 장치에 ZFS 풀이 포함된 경우, 이 키워드에 값이 지정된 다음 -B 옵션을 사용하여 커널에 전달됩니다. 이 옵션은 부트할 데이터 세트를 식별합니다. ZFS 부트 로더를 지원하는 Oracle Solaris 릴리스로 시스템을 설치 또는 업그레이드하는 경우 GRUB menu.lst 파일과 GRUBZFS 부트 메뉴에 기본적으로 이 정보가 포함됩니다.
역할에는 권한 부여 및 권한이 있는 명령이 포함됩니다. 역할에 대한 자세한 내용은 System Administration Guide: Security Services의 Configuring RBAC (Task Map)를 참조하십시오.
~# bootadm list-menu
# lustatus
lustatus 명령은 SPARC 기반 시스템에서도 사용할 수 있습니다.
주 - lustatus 명령을 실행할 때 다음 오류가 표시된다면 이는 새 설치가 수행되었으며 Solaris Live Upgrade는 사용되지 않았음을 나타냅니다. lustatus 출력에서 BE를 확인하기 전에 먼저 시스템에 BE를 새로 만들어야 합니다.
# lustatus ERROR: No boot environments are configured on this system ERROR: cannot determine list of all boot environment names
Solaris Live Upgrade를 사용하여 UFS 루트 파일 시스템을 ZFS 루트 파일 시스템으로 마이그레이션하는 방법은 Oracle Solaris ZFS 관리 설명서의 ZFS 루트 파일 시스템으로 마이그레이션 또는 ZFS 루트 파일 시스템 업데이트(Live Upgrade)를 참조하십시오.
예 12-12 lustatus 명령을 사용하여 사용 가능한 ZFS 부트 가능 데이터 세트 목록 표시
이 예에서 lustatus 명령의 출력은 세 개의 ZFS 부트 가능 데이터 세트의 상태를 보여줍니다. 기본 부트 환경은 be1이며 삭제할 수 없습니다.
# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- -------- ------ --------- ------ ---------- s10s_nbu6wos yes no no yes - zfs2BE yes yes yes no - zfsbe3 no no no yes - #
BE가 생성되었으며 부트 가능한 경우 Is Complete(완료됨) 열에 “yes(예)”가 표시됩니다. BE가 생성되었지만 아직 활성화되지 않은 경우 이 열에 “no(아니오)”가 표시됩니다. BE를 활성화하려면 luactivate 명령을 사용하십시오. 이후에 lustatus 명령을 실행하여 BE가 성공적으로 활성화되었는지 확인합니다.
자세한 내용은 lustatus(1M) 및 luactivate(1M) 매뉴얼 페이지를 참조하십시오.
이 절차는 ZFS 부트 로더를 지원하는 x86 시스템의 ZFS 루트 파일 시스템에서 부트하는 방법에 대해 설명합니다.
ZFS 부트 로더를 지원하는 Oracle Solaris 릴리스로 시스템을 설치 또는 업그레이드하는 경우 GRUB 메뉴 항목에 기본적으로 -B $ZFS-BOOTFS 부트 인수가 포함되므로, 추가 부트 인수 없이 시스템이 ZFS에서 부트됩니다.
# reboot
시스템에 Press any key to reboot(재부트하려면 아무 키나 누르십시오.) 프롬프트가 표시되면 아무 키나 눌러 시스템을 재부트합니다.
이 프롬프트에서 Reset(재설정) 버튼을 사용해도 됩니다. 시스템이 종료되면 전원 스위치를 눌러 시스템을 켭니다.
부트 시퀀스가 시작되면 GRUB 주 메뉴가 표시됩니다. 기본 부트 항목이 ZFS 파일 시스템인 경우 메뉴는 다음과 비슷합니다.
GNU GRUB version 0.95 (637K lower / 3144640K upper memory) +----------------------------------------------------------------+ | be1 | be1 failsafe | be3 | be3 failsafe | be2 | be2 failfafe +---------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line.
항목을 10초 내에 선택하지 않으면 시스템에서 자동으로 실행 레벨 3으로 부트합니다.
부트 시 GRUB 메뉴 항목에 대한 자세한 내용은 x86: 부트 시 GRUB 메뉴를 편집하여 부트 동작 수정 방법을 참조하십시오.
예 12-13 x86: x86 기반 시스템에서 새 부트 환경 활성화
이 예는 시스템에서 부트 환경 be10을 활성화할 때 수행할 단계를 보여줍니다. lustatus 명령을 먼저 실행하면 시스템에서 활성 상태인 BE와 활성화가 필요한 BE를 확인할 수 있습니다.
# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status ----------------------------------------------------------------- be1 yes yes yes no be10 yes no no yes # luactivate be10 System has findroot enabled GRUB Generating boot-sign, partition and slice information for PBE <be1> WARNING: The following file s have change on both the current boot environment <be1> zone <global> and the boot environment to be activitate <be10> /etc/zfs/zpool.cache INFORMATION: The files listed above are in conflict between the current boot environment <be1> zone <global> and the boot environment to be activated <be10>. These files will not be automatically synchronized from the current boot environment <be1> when boot environment <be10> is activated. Setting failsafe console to <ttyb> Generating boot-sign for ABE <be10> Generating partition and slice information for ABE <be10> Copied boot menu from top level dataset. Generating direct boot menu entries for PBE. Generating direct boot menu entries for ABE. Disabling splashimage Current GRUB menu default setting is not valid title Solaris bootenv rc No more bootadm entries. Deletion of bootadm entries is complete. GRUB menu default setting is unchanged Done eliding bootadm entries. ************************************************************** The target boot environment has been activated. It will be used when you reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You MUST USE either the init or the shutdown command when you reboot. If you do not use either init or shutdown, the system will not boot using the target BE. *************************************************************** ,,, # reboot May 30 09:52:32 pups reboot: initiated by root on /dev/console syncing file systems... done rebooting... CE SDRAM BIOS P/N GR-xlint.007-4.330 * BIOS Lan-Console 2.0 Copyright (C) 1999-2001 Intel Corporation . . . GNU GRUB version 0.95 (637K lower / 3144640K upper memory) +-------------------------------------------------------------------+ | be1 | be1 failsafe | be10 | be10 failsafe +------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. SunOS Release 5.10 Version Generic_144500-10 64-bit Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Hostname: pups NIS domain name is sunsoft.eng.sun.com Reading ZFS config: done. Mounting ZFS filesystems: (8/8) pups console login: # lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status ----------------------------------------------------------------- be1 yes yes yes no be10 yes yes yes no #