zoukankan      html  css  js  c++  java
  • HPUX启动和关闭

    HP-UX启动和关闭

    按硬件平台分:
    HP 9000 Systems — PA-RISC processor family
    HP Integrity Servers — Itanium processor family

    HP IS启动过程:
    EFI shell 将自动装入vmunix内核启动hp-ux.
    如果auto没有打开,系统将进入EFI shell,就需要用下面命令启动unix
    >boot vmunix
    打开或关闭自启动的命令:
    EFI shell环境下:Shell> autoboot on,Shell> autoboot off
    运行的hpunix环境下:/usr/sbin/setboot -b on, /usr/sbin/setboot -b off
    在自启动hp-ux内核时,可以按任何键终止自启动,切换到交换式启动,然后可以指定不同的内核启动:
    >boot testunix
    查看自启动是否打开:
    # setboot -v
    Primary bootpath : 0/1/1/0.0.0
    HA Alternate bootpath : 0/1/2/0
    Alternate bootpath : 0/1/2/1
    Autoboot is ON (enabled)
    setboot: error accessing firmware - Function is not available
    The firmware of your system does not support querying or changing the SpeedyBoot
    settings.

    HP9000启动过程:
    Boot Console Handler (BCH)将发起自启动,auto文件内容:hpux vmunix
    打开或关闭自启动的命令:
    BCH环境下:
    Main Menu: Enter Command > co au bo on,Main Menu: Enter Command > co au bo off
    运行的hpunix环境下:
    /usr/sbin/setboot -b on, /usr/sbin/setboot -b off
    打开或关闭自搜索(按顺序自搜索启动的位置)启动的命令:
    BCH环境下:
    Main Menu: Enter Command > co au sea on,Main Menu: Enter Command > co au sea off
    运行的hpunix环境下:
    /usr/sbin/setboot -s on, /usr/sbin/setboot -s off

    系统启动级别说明:
    Run level 1: minimal system configuration
    Run level 2: multi-user services, except NFS server
    Run level 3: NFS server (to export local file systems)

    定制自启动程序:
    假如在级别3加自启动程序
    创建/sbin/rc3.d/S99DB_Auto_Start脚本,然后做一个软连接
    ln -s /sbin/init.d/DB_Auto_Start /sbin/rc3.d/S99DB_Auto_Start

    立即关闭并重启
    /sbin/shutdown -r 0
    立即关闭并停止等待关掉电源
    /sbin/shutdown -h 0
    立即切换到单用户模式
    /sbin/shutdown 0

  • 相关阅读:
    jmeter 插件
    jmeter beanshell
    Linux awk&sed
    Linux 各文件系统配置
    Linux常用基本命令 1
    testNg自动化,读取excel的数据
    jmeter 控制器
    Web
    SQL语句
    HTML
  • 原文地址:https://www.cnblogs.com/weaver1/p/2362934.html
Copyright © 2011-2022 走看看