使用HMC接管透過串列埠或顯示卡安裝的分割槽作業系統
這是一個真實的案例,客戶有一臺P550的伺服器,最開始使用串列埠的方式安裝的作業系統,隨著時間的推移和HMC的發展,客戶想將這臺伺服器接入HMC,從而更方便的管理和維護,HMC接管該伺服器的過程並不是我想象的那麼簡單。
首先要明白一個知識點,對於在IBM Power伺服器上安裝作業系統的方式有很多,包括CDROM光碟安裝,隨身碟安裝,磁碟克隆等等;可使用的終端包括HMC,顯示卡(接顯示器),串列埠三種方式,如果伺服器使用串列埠方式安裝的作業系統,之後將伺服器接入HMC,HMC的終端無法開啟分割槽作業系統,同樣透過顯示卡終端也無法開啟作業系統,只能透過相同位置的串列埠終端才能正常開啟,原因在於系統使用的終端資訊被記錄在了SMS選單和作業系統中,HMC要想順利接管作業系統就必須對這些資訊進行修改,下面就來詳細討論一下HMC接管過程:
1.選擇退出MDC
1) power off server
2) power on in stand-by
3) activate lpar : choose "exit the MDC" in activate options
如果出現螢幕提示"Open
Completed"就卡住不動,或者提示出現"The open failed - The session is reserved for physical serial
port communication",請執行下面一步,SMS選單配置。
2.SMS選單配置
啟用分割槽之後,在最開始出現的選單中按下1或F1選擇進入SMS選單(如果啟用分割槽後無法看到SMS選單選項,那麼在開啟一個HMC分割槽終端的情況下重啟分割槽,在顯示器或串列埠方式的終端上開啟SMS選單),進入主選單,如下圖所示:
按下4,回車。
在每種型別的終端都會出現類似下面的提示(例如,HMC終端press 0,顯示器終端press 1,串列埠終端press 2),在相應的終端中按下指定的數字。預設啟動介面只顯示在顯示器圖形終端的。
按下0。
之後鍵入x退出,出現如下的介面,鍵入1,回車,即退出終端配置。
退出終端配置後會自動引導作業系統,之後會出現"Welcome to AIX"的提示,出現該提示證明SMS選單配置是生效的。如果出現"Welcome to AIX"提示就不動了,且重新開啟一個終端也是停留在"Open Completed"又不動了,那麼需要執行下面的步驟,刪除作業系統中的終端裝置。
3.刪除作業系統中的終端裝置
參考如下文件,執行相關步驟:
AIX Console (HMC vterm) not working with new System p server
AIX family?
Software version:?5.2, 5.3, 6.1
Operating system(s):?AIX
Reference #:?T1010609 ?
Modified date:?2007-12-06?
AIX Console (HMC vterm) not working with new System p server
Technote (troubleshooting)
Problem(Abstract)
System p is newly attached to a hardware management console (HMC) and the server property for manufactoring default configuration (MDC) is false. The vterm console works in hardware mode (i.e. SMS and for displaying hardware parameters when lpar is activating). However, the vterm does not display login prompt after AIX has been booted.
Symptom
Cause
AIX was installed on system p server when it was attached to an async console prior to attaching system to HMC.
Resolving the problem
To reconfigure the AIX's console device to use the new hardware connection you will need to do the following:
Either telnet (or SSH) into the server if networking had been configured or boot into a maintenance shell and run following procedure.
The procedure will completely remove vty0, vsa0 (and any other vty or vsa device) and syscons objects from the ODM and allow them to be recreated by AIX when system reboots.
Once telneted in or in a maintenance shell, as root execute the following:
# odmdelete -q name=vty0 -o CuDv
# odmdelete -q name=vty0 -o CuDv
# odmdelete -q name=vsa0 -o CuDv
# odmdelete -q name=vsa1 -o CuDv
# odmdelete -q attribute=syscons -o CuAt(可以不執行)
# bosboot -ad /dev/ipldevice
command
# sync
#reboot
When system comes up it should reconfigure vsa0 and vty0
and since we removed "syscons" from ODM it should prompt
you to select a terminal. This time, the only device
connected for a console should be the HMC's vterm.
You should messages similar to following when LPAR is booting back up:
-------------------------------------------------------
******* Please define the System Console. *********
Type a 1 and press Enter to use this terminal as the
system console.
1
-------------------------------------------------------
At this point you should see AIX console output being displayed in
the HMC vterm.
一定確保ODM庫中所有的vty和vsa裝置都刪除乾淨,確保執行以下的命令沒有返回:
# lsdev | grep vty
# lsdev | grep vsa
/dev/目錄下的vty和vsa相應的裝置檔案最好也一起刪除。
ODM庫和/dev/目錄下的vty和vsa裝置全部刪除成功後,重啟分割槽,在開啟的HMC終端會出現如下的提示:
按下2,回車,即可繼續引導系統。
系統引導完成,出現如下介面:
重新開啟一個終端,即可正常登入:
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-1062084/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 使用HMC接管通過串列埠或顯示卡安裝的分割槽作業系統串列埠作業系統
- 對《使用HMC接管通過串列埠或顯示卡安裝的分割槽作業系統》一文的補充串列埠作業系統
- 作業系統 『動態(可變)分割槽分配』作業系統
- 重灌p690分割槽的作業系統作業系統
- 安裝Windows 7 "安裝程式無法建立新的系統分割槽"Windows
- 實戰-使用 Cobbler 安裝作業系統作業系統
- RedHat 7.6作業系統安裝Redhat作業系統
- 怎麼在guid分割槽格式中安裝win10系統|uefi gpt分割槽如何安裝win10GUIWin10GPT
- 將windows系統安裝在行動硬碟的一個分割槽中Windows硬碟
- 線上透過dd命令備份分割槽
- 【Oracle安裝與作業系統使用者組】Oracle作業系統
- 裝win10分割槽時選擇什麼格式_win10系統安裝分割槽格式的選擇方法Win10
- Mac安裝win8.1雙系統多個分割槽教程Mac
- 透過chroot構建Linux作業系統(轉)Linux作業系統
- 關於安裝VMware以及Linux作業系統過程Linux作業系統
- RHEL7.3通過PXE啟動安裝作業系統作業系統
- 透過作業系統PID查詢執行的SQL作業系統SQL
- 恆訊科技分析:如何使用IPMI安裝作業系統?作業系統
- oam系統安裝,windows作業系統註冊列表影響系統安裝Windows作業系統
- 安裝win10系統出現無法安裝到分割槽如何解決Win10
- Oracle drop分割槽表單個分割槽無法透過閃回恢復Oracle
- Solaris 8 for Intel 作業系統的安裝(轉)Intel作業系統
- slot號造成的作業系統不能安裝作業系統
- 安裝Win10系統提示“無法建立新的分割槽也找不到現有的分割槽”如何解決Win10
- 在windows透過作業系統認證登入ORACLEWindows作業系統Oracle
- 帶amd顯示卡的debian系統的安裝
- 作業-安裝虛擬機器以及CentOS作業系統虛擬機CentOS作業系統
- 安裝Ubuntu時的硬碟分割槽方案Ubuntu硬碟
- vmware中的linux安裝分割槽Linux
- 安裝Kali Linux作業系統Kali Linux無線網路滲透Linux作業系統
- Powershell 命令列安裝 Windows 作業系統命令列Windows作業系統
- 在Ubuntu作業系統裡安裝DockerUbuntu作業系統Docker
- 多種方式批量安裝作業系統作業系統
- VMWare安裝蘋果作業系統OS X蘋果作業系統
- Solaris8作業系統安裝(轉)作業系統
- 硬碟中安裝Linux作業系統硬碟Linux作業系統
- 透過作業系統的程式號檢視資料庫的session作業系統資料庫Session
- 獲取windows 作業系統下的硬體或作業系統資訊等Windows作業系統