本程序提供使用設定檔安裝 Solaris Flash 歸檔或差動歸檔的步驟。
在設定檔中增加語言環境前,應先使用附加的磁碟空間建立啟動環境。
將 Solaris Live Upgrade SUNWlucfg、SUNWlur 和 SUNWluu 套裝軟體安裝到您的系統。這些套裝軟體必須是將要升級至之發行版本的套裝軟體。如需逐步程序,請參閱使用 pkgadd 指令安裝 Solaris Live Upgrade。
成為超級使用者,或者假定一個對等身份。
身份包含授權指令與特權指令。如需角色的更多資訊,請參閱「System Administration Guide: Security Services」中的「Configuring RBAC (Task Map)」。
建立設定檔。
如需可以在 Solaris Live Upgrade 設定檔中使用的關鍵字清單,請參閱建立用於 Solaris Live Upgrade 的設定檔。
鍵入:
# luupgrade -f -n BE_name -s os_image_path -j profile_path |
表示從 Solaris Flash 歸檔安裝作業系統。
指定欲升級的啟動環境名稱。
指定包含作業系統影像的目錄路徑名稱。此目錄可以在安裝媒體 (如 DVD-ROM、CD-ROM) 上,或者其可以為 NFS 或 UFS 目錄。此作業系統影像提供 miniroot,可啟動最小的可開機根 (/) 檔案系統,以利於 Solaris Flash 歸檔的安裝。此 miniroot 不是要安裝的影像。-j 選項提供含有 Solaris Flash 歸檔作業系統影像之設定檔的路徑。
針對 Flash 安裝所配置的 JumpStart 設定檔路徑。這個設定檔必須儲存在本機目錄中。-s 選項的作業系統版本和 Solaris Flash 歸檔作業系統版本必須相同。
該啟動環境已準備就緒,可以啟動。請參閱啟動某啟動環境。
在本範例中,設定檔提供要安裝的歸檔位置。
# profile keywords profile values # ---------------- ------------------- install_type flash_install archive_location nfs installserver:/export/solaris/flasharchive/solarisarchive
設定檔建立後,您可以執行 luupgrade 指令並安裝歸檔。-s 選項提供 miniroot,可啟動最小的可開機根 (/) 檔案系統,以利於 Solaris Flash 歸檔的安裝。此 miniroot 不是要安裝的影像。-j 選項提供含有 Solaris Flash 歸檔作業系統影像路徑之設定檔的路徑。-j 選項可用來存取設定檔。pkgadd 指令會增加將要升級至之發行版本的 Solaris Live Upgrade 套裝軟體。
# pkgadd -d /server/packages SUNWlucfg SUNWlur SUNWluu # luupgrade -f -n second_disk \ -s /net/installmachine/export/solarisX/OS_image \ -j /var/tmp/profile |
該啟動環境已準備就緒,可以啟動。請參閱啟動某啟動環境。
若要建立設定檔,請參閱建立用於 Solaris Live Upgrade 的設定檔。