10 Boot PROM Boot PROM 1 BOOT PROM

제 10 강 Boot PROM



Boot PROM 1. BOOT PROM 3). PROM command와 Description Command Description banner displays the power-on banner boots the system help lists te main help categories printenv displays all parameters' current and default values setenv sets the specified NVRAM parameter to some value reset-all resets the entire system; similar to a power cycle set-defaults resets all parameter values to the factory defaults sifting text displays the FORTH commands containing text . registers displays the contents of the registers

Boot PROM 1. BOOT PROM 2). EEPROM이란? probe-scsi identifies the devices on the internal Small Computer System Interface(SCSI) probe-scsi-all identifies the devices on all SCSI buses probe-ide identifies the devices on the internal intergrated device electronics (IDE) bus probe-fcal-all identifies devices on all Fibre Channel loops show-devs displays the entire device tree devalias identifies the current boot device alias for the system nvalias creates a new device alias name nvunalias removes a device alias name showdisks displays and allows a selection of device paths for the disks to be used for nvalias sync manually attempts to flush memory and synchronize file systems 커널자료덤프-> /var/crash/host명/덤프파일 test runs self-tests on specified devices

Boot PROM 1. BOOT PROM 4). 명령어 사용예제 명령어 사용방법 - 장비의 기본 옵션 보기 ok> banner Boot PROM의 버전과 출시일 보기 ok>. version - Devices 연결 상태 보기 ok> probe-scsi-all ok> probe-ide ok> probe-fcal - Alias 내용 보기 ok> devalias (physical name이 특정 이름으로 alias 되어 있는 리스트)


Boot PROM 1. BOOT PROM 4). 명령어 사용예제 명령어 사용방법 - Boot 명령어 option ok> boot -s ok> boot -v (부팅시 더 자세한 device 정보를 보여줌) ok> boot -a (사용자 입력을 기다리는 interactive mode로 부팅) Enter filename : kernel/unix (32 bit only) - 일시적(재 부팅하면 예전 값 복 원) kernel/sparcv 9/unix (32, 64 bit) -일시적 Name of system file : /etc/system or /dev/null ok> boot -r (새로 추가된 device들의 device 파일을 새로 만든다. ) - 도움말 보기 ok> help boot ok> help nvramrc ok> help diag ok> help misc

Boot PROM 1. BOOT PROM 4). 명령어 사용예제 명령어 사용방법 - 자동 부팅 설정/해제 ok> printenv auto-boot? = true ok> setenv auto-boot? false auto-boot? = false ok> reset-all Resetting. . . - 펌웨어 password 설정 / 해제 ok> setenv security-mode full (설정) ok> setenv security-password passwd명 ok> reset ok> setenv security-mode none (해제)

Boot PROM 1. BOOT PROM 4). 명령어 사용예제 명령어 사용방법 - NIC가 여러 개 일 때 1개의 mac address만 사용 ok> setenv local-mac-address? false ok> setenv local-mac-address? true ok> reset - 명령어 리스트 보기 ok> sifting probe - Network card 검사 ok> watch-net (Network card의 정상 동작 상태 확인)

Boot PROM 1. BOOT PROM 4). 명령어 사용예제 명령어 사용방법 - physical path 보기 ok> show-disks ok> show-nets ok> show-devs - mirror disk가 1개 따로 있어서 백업을 받아둔 상태에 원본 disk가 fail시 교체 ok> show-disks ; disk를 선택한다. ok> nvalias mydisk [ctrl+y]@target_numner ok> devalias ok> setenv boot-device mydisk ok> reset ok> nvunalias mydisk (alias 삭제) ok> setenv boot-device disk ok> reset-all

Boot PROM 1. BOOT PROM 4). 명령어 사용예제 명령어 사용방법 - eeprom 명령어 # eeprom boot-device=disk 2 # eeprom auto-boot? =true (sh, ksh) # eeprom 'auto-boot? =true' (csh)
- Slides: 12