Solaris Resource Manager 1.3 系統管理指南

不以 Solaris Resource Manager 開機

如果您必須在不使用 Solaris Resource Manager 的情況下開機,就必須變更 /etc/system 檔案中的 initclass 變數以參考分時 (TS) 而非 SHR。最簡單的方法就是使用 boot 指令的-a (詢問) 選項,提示您輸入一個系統檔案。然後再按下 RETURN 鍵以接受其他提示的預設值,直到您被提示要輸入系統檔的名稱。在系統出現提示時請輸入系統檔案名稱,鍵入 etc/system.noshrload (沒有前導斜線)作為回應。以下是程序範例:

ok boot -a  
Booting from: sd(0,0,0) -a 
Enter filename [kernel/unix]:
Enter default directory for modules
 [/platform/SUNW,UltraSPARC/kernel /kernel /usr/kernel]: 
SunOS Release 5.6 Version ... [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1997, Sun Microsystems, Inc. 
Name of system file [etc/system]: etc/system.noshrload
root filesystem type [ufs]: 
Enter physical name of root device 
 [/sbus@1,f8000000/esp@0,800000/sd@3,0:a]:

Note that /etc/system.noshrload is a backup copy of /etc/system made at the time Solaris Resource Manager was installed.If there have been subsequent edits to /etc/system, then /etc/system.noshrload should be maintained in parallel so that it differs only by the occurrence of the Solaris Resource Manager modification:

# diff /etc/system /etc/system.noshrload 
< # enable srm < set initclass='SHR'