JavaScript is required to for searching.
跳過導航連結
結束列印檢視
Oracle Solaris 10 8/11 安裝指南:Solaris Live Upgrade 與升級規劃     Oracle Solaris 10 8/11 Information Library (繁體中文)
search filter icon
search icon

文件資訊

前言

第 1 部分使用 Solaris Live Upgrade 升級

1.  Solaris 安裝規劃資訊的位置

2.  Solaris Live Upgrade (簡介)

3.  Solaris Live Upgrade (規劃)

4.  使用 Solaris Live Upgrade 建立啟動環境 (作業)

5.  使用 Solaris Live Upgrade 升級 (作業)

6.  失敗回復:轉至備用原始啟動環境 (作業)

7.  維護 Solaris Live Upgrade 啟動環境 (作業)

8.  在已安裝非全域區域的系統上升級 Oracle Solaris 作業系統

在已安裝非全域區域的情況下使用 Solaris Live Upgrade 進行升級 (簡介)

瞭解 Solaris Zones 和 Solaris Live Upgrade

在具有非全域區域的情況下使用 Solaris Live Upgrade 的準則 (規劃)

當非全域區域位於獨立檔案系統時建立啟動環境

安裝非全域區域時建立和升級啟動環境 (作業)

在系統上安裝非全域區域時使用 Solaris Live Upgrade 進行升級 (作業)

升級已安裝非全域區域的系統 (範例)

在系統上安裝非全域區域時使用 Solaris Live Upgrade 進行升級 (作業)

管理內含非全域區域的啟動環境

檢視啟動環境之非全域區域檔案系統的配置

比對已安裝非全域區域之系統的多個啟動環境

在包含非全域區域的系統上使用 lumount 指令

9.  Solaris Live Upgrade (範例)

10.  Solaris Live Upgrade (指令參考)

第 2 部分使用 Solaris Live Upgrade 升級和遷移至 ZFS 根池

11.  Solaris Live Upgrade 和 ZFS (簡介)

12.  針對 ZFS 執行 Solaris Live Upgrade (規劃)

13.  為 ZFS 根池建立啟動環境

14.  針對已安裝非全域區域的 ZFS 執行 Solaris Live Upgrade

第 3 部分附錄

A.  疑難排解 (作業)

B.  附加的 SVR4 封裝需求 (參考)

C.  升級時使用修補程式分析器 (作業)

字彙表

索引

管理內含非全域區域的啟動環境

下列小節提供關於管理內含非全域區域之啟動環境的資訊。

檢視啟動環境之非全域區域檔案系統的配置

使用此程序顯示全域區域和非全域區域的檔案系統清單。

  1. 成為超級使用者,或者假定一個對等身份。

    身份包含授權指令與特權指令。如需角色的更多資訊,請參閱「System Administration Guide: Security Services」中的「Configuring RBAC (Task Map)」

  2. 顯示檔案系統清單。
    # lufslist -n BE_name
    BE_name

    指定啟動環境的名稱以檢視檔案系統詳情

範例 8-1 列出具備非全域區域的檔案系統

下列範例會顯示內含非全域區域的檔案系統清單。

# lufslist -n s3
boot environment name: s3
This boot environent is currently active.
This boot environment will be active on next system boot.
Filesystem              fstype    device size Mounted on Mount Options
------------------------------------------------------------------
/dev/dsk/c0t0d0s1         swap     2151776256   -        -
/dev/dsk/c0t0d0s3         ufs     10738040832   /        -
/dev/dsk/c0t0d0s7         ufs     10487955456   /export  -
                zone <zone1> within boot environment <s3>
/dev/dsk/c0t0d0s5         ufs      5116329984   /export  -

比對已安裝非全域區域之系統的多個啟動環境

lucompare 指令現在可進行包含所有非全域區域內容之多個啟動環境之間的比對。

  1. 成為超級使用者,或者假定一個對等身份。

    身份包含授權指令與特權指令。如需角色的更多資訊,請參閱「System Administration Guide: Security Services」中的「Configuring RBAC (Task Map)」

  2. 比對目前啟動環境和新啟動環境。
    # /usr/sbin/lucompare -i  infile (or) -t -o  outfile BE_name
    -i  infile

    比對列於 infile 中的檔案。要進行比對的檔案名稱必須是絕對的。若檔案中的項目為目錄,則比對將會遞迴至該目錄中。使用此選項或 -t,不能同時使用兩者。

    -t

    只比對非二進位檔案。此比對會在每個檔案上使用 file (1) 指令來決定該檔案是否為文字檔案。使用此選項或 -i,不能同時使用兩者。

    -o  outfile

    將差異的輸出重新導向至 outfile

    BE_name

    指定比對至使用中啟動環境的啟動環境名稱。

範例 8-2 比對啟動環境

在此範例中,目前的啟動環境 (來源) 會與 second_disk 啟動環境進行比對,並將結果傳送至檔案。

# /usr/sbin/lucompare -i  /etc/lu/compare/ -o /var/tmp/compare.out second_disk

在包含非全域區域的系統上使用 lumount 指令

lumount 指令可為非全域區域提供權限,以便存取其位於非使用中啟動環境中的對應檔案系統。當全域區域管理員使用 lumount 指令來掛載非使用中的啟動環境時,非全域區域也會一併掛載啟動環境。

在下列範例中,會為位於全域區域的 /mnt 上的啟動環境 newbe 掛載適當的檔案系統。若為正在執行、已掛載或準備使用的非全域區域,其在 newbe 內的對應檔案系統亦會在每個區域內的 /mnt 上提供。

# lumount -n newbe /mnt

如需掛載的更多資訊,請參閱「lumount(1M) 線上手冊」。