使用HMC接管通过串口或显卡安装的分区操作系统

原文:http://m.blog.itpub.net/23135684/viewspace-1062084/

这是一个真实的案例,客户有一台P550的服务器,最开始使用串口的方式安装的操作系统,随着时间的推移和HMC的发展,客户想将这台服务器接入HMC,从而更方便的管理和维护,HMC接管该服务器的过程并不是我想象的那么简单。

首先要明白一个知识点,对于在IBM Power服务器上安装操作系统的方式有很多,包括CDROM光盘安装,U盘安装,磁盘克隆等等;可使用的终端包括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

http://www-01.ibm.com/support/docview.wss?uid=isg3T1010609

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 <---- customer hung trying to run this

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,回车,即可继续引导系统。

系统引导完成,出现如下界面:

重新打开一个终端,即可正常登录:

(转)使用HMC接管通过串口或显卡安装的分区操作系统的更多相关文章

  1. CentOS 7.0 Nvidia显卡安装步骤

    from: http://blog.sina.com.cn/s/blog_49c0985a0102v3fa.html CentOS 7.0 Nvidia显卡安装步骤: 1 在英伟达官网下载相应驱动 搜 ...

  2. Ubuntu16笔记本双显卡安装NVIDIA驱动

    blockquote { direction: ltr; color: rgb(0, 0, 0) } blockquote.western { font-family: "Liberatio ...

  3. Centos ATI 显卡安装,“LCD 信号超出范围” 解决方法

    centso ATI 显卡驱动安装 centos 版本 32位 6.4 Final ATI 显卡版本:Radeon HD 7400 Series 之前由于很久自己安装了centos显卡,分辨率很低不能 ...

  4. Ubuntu 13.04 双显卡安装NVIDIA GT 630M驱动

    [日期:2013-05-24]   Linux系统:Ubuntu 13.04 安装 bumblebee 以管理双显卡,下面命令会自动安装NVIDIA显卡驱动 sudo add-apt-reposito ...

  5. ubuntu 下串口调试工具 minicom安装与配置cutecom安装

    安装minicom:     $sudo apt-get install minicom 配置minicom:    如果您的系统的默认语言不是英文,请执行下面的命令:     $LANG=EN    ...

  6. 【嵌入式linux】(第三步):安装串口终端 (ubuntu安装minicom串口终端)

    1.前言 我使用的是USB转串口,芯片是PL2303,貌似ubuntu自带了PL2303的USB驱动,可以直接使用,其它的USB转串口的没试过. 2.minicom安装 在终端中输入 : sudo a ...

  7. debian 9 双显卡安装NVIDIA显卡驱动

    最近用debian,给debian装n卡驱动折腾了好几天了,主要还是网络不好,官方wiki的方法下载经常卡死..摸索了几天感觉已经摸到了头绪,决定写下来供大家参考参考 先提供单显卡NVIDIA驱动的安 ...

  8. 小草手把手教你LabVIEW串口仪器控制—安装使用仪器现有驱动

    声明:很多仪器是没有驱动的.所以,具体问题具体分析.另外声明:所谓的驱动,也就是封装好的底层的串口通信程序,也是程序而已,只不过别人帮你做成了子 VI,让自己容易用.所以:不要弄混淆了概念.国外的很多 ...

  9. 笔记本1050ti显卡安装最新驱动版本 (415.27) 记录 NVIDIA显卡GeForce系列 (Ubuntu18.04)

    在Linux上安装驱动,这事情多半是跑CUDA程序的人才会搞的,多年前学CUDA时为这一步骤头疼的很,现如今已经比较熟悉了,今日给出一些记录. 首先,在NVIDIA官方网站上找到驱动下载页面: htt ...

随机推荐

  1. ubuntu重新安装 apache2

    $ sudo apt-get --purge remove apache2 $ sudo apt-get --purge remove apache2.2-common $ sudo apt-get ...

  2. javascript jquery插入元素后事件会被注销

      js jquery插入元素后事件会被注销 document.body.innerHTML += <div id="dd">test</div>  //这 ...

  3. 阿里开源混沌工程工具 ChaosBlade

    https://github.com/chaosblade-io/chaosblade

  4. Java从入门到放弃——05.修饰符static,final,权限修饰符

    本文目标 static final: 权限修饰符:public,private,protected,缺省 1.static 静态修饰符,被static修饰的变量或者方法会被加载进静态区内存,不需要创建 ...

  5. day06.2-软链接与硬链接

    1. 建立软链接:ln   -s   源文件   链接文件 特点:a). 相当于Windons系统中的快捷方式:        b). 删除链接文件不影响源文件内容,而删除源文件后链接文件随即失效: ...

  6. JavaScript之DOM实践

    前言 HTML的DOM是JavaScript有能力对HTML作出反应,有时候,我们需要一些网页效果,为了更好地适应用户的效果,比如,我们平时接触,点击某个按钮,按下去的瞬间会变色,再比如,有时候鼠标经 ...

  7. 程序员趣味读物:谈谈Unicode编码

    这是一篇程序员写给程序员的趣味读物.所谓趣味是指可以比较轻松地了解一些原来不清楚的概念,增进知识,类似于打RPG游戏的升级.整理这篇文章的动机是两个问题: 问题一: 使用Windows记事本的“另存为 ...

  8. ReentrantReadWriteLock原理

    原文链接:https://www.jianshu.com/p/9f98299a17a5 前言 本篇适用于了解ReentrantLock或ReentrantReadWriteLock的使用,但想要进一步 ...

  9. SP705 SUBST1 - New Distinct Substrings

    \(\color{#0066ff}{ 题目描述 }\) 给定一个字符串,求该字符串含有的本质不同的子串数量. \(\color{#0066ff}{输入格式}\) T- number of test c ...

  10. springboot整合mybatis,redis,代码(五)

    redis注解开发过程中包含许多注解 1.@Cacheable 可以标记在方法上,也可以标记在类上.当标记在方法上时表示该方法是支持缓存的,当标记在类上时则表示该类所有的方法都是支持缓存的.应用到读取 ...