zoukankan      html  css  js  c++  java
  • Solrais LU PATCH

    LU CREATE

    This step is to create a new boot enviroment. It contains the following steps.

    • detach mirror
    • modified detached root mirror so it can be a boot device if error happens
    • prepare exclusive list 
    • housekeep var, determine zone infor, shutdown zone if you can
    • lucreate

    detach mirror

    Use metastat -a , metastat -p to check mirror information. And detache the mirror.

    modified detached root mirror so it can be a boot device if error happens

    Modify the detached root mirror. For example the root mirror used to be d3 and it contains d13,d23. Now the d23 is detached, we need to mount the d23 and modify its /etc/vfstab and /etc/system to make it bootable.

    prepare exclusive list 

    When lu create , we need to copy the current root and var to the target root var. Some file system like nfs need to be exclueded.

    Housekeep var,determine zone infor

    The reasone to housekeep var is to speed up the lucreate. And for the upgrade procedure you may need more var space.

    Use zoneadm list -vc to check the zone infor. If there are zones not in running but in installed status. You need to modify the /etc/zone/index file. Remove the installed zone infor from this file.

    If it is ok to shutdown the zone. Then shut the zone done. Or there may be some warrnnings like the zone having some nfs file system and can not be copied to the new BE.

    Lucreate

    Now you can lucreate 

  • 相关阅读:
    Cocos Creator之生命周期函数
    Cocos Creator之基本概念
    Cocos Creator之菜单栏和工具栏
    Cocos Creator之认识
    lvs nat模式+iptables实现fullnat
    k8s cpu绑定
    arp代理
    确定veth pair在容器和宿主机的对应关系
    k8s 滚动发布
    http长连接
  • 原文地址:https://www.cnblogs.com/kramer/p/3118478.html
Copyright © 2011-2022 走看看