Sun Cluster Geographic Edition 安装指南

Procedure如何升级 Sun Cluster Geographic Edition 软件

请在群集中的所有节点上执行此过程。可以同时在多个节点上执行该过程。


注意 – 注意 –

如果群集处于伙伴关系中,则伙伴关系双方必须都升级到 Sun Cluster Geographic Edition 3.2 2/08 软件才能启动 Sun Cluster Geographic Edition 3.2 2/08 软件。


  1. 要在 GUI 中使用 uninstall 程序,请确保要卸载的群集节点的显示环境被设置为显示 GUI。


    % xhost +
    % setenv DISPLAY nodename:0.0
    

    如果显示环境未被设置为显示 GUI,uninstall 程序将在基于文本的模式下运行。

  2. 在您打算卸载 Sun Cluster Geographic Edition 软件的节点上成为超级用户。

  3. 卸载当前 Sun Cluster Geographic Edition 软件。

    Sun Cluster Geographic Edition 软件的版本 

    Solaris OS 的版本 

    卸载方法 

    3.1 8/05 

    8 或 9 

    Sun Cluster Geographic Edition 3.1 8/05 附带的 uninstall 程序。有关更多信息,请参见《Sun Cluster Geographic Edition Installation Guide》中的第 4  章 “Uninstalling the Sun Cluster Geographic Edition Software”。

    10 

    pkgrm 命令。有关更多信息,请参见《Sun Cluster Geographic Edition 3.1 8/05 Release Notes》中的“Limitations on Running Sun Cluster Geographic Edition Software on Solaris OS 10”。

    3.1 2006Q4 

    8 

    pkgrm 命令。有关更多信息,请参见《Sun Cluster Geographic Edition Installation Guide》中的“Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 8”。

    9 或 10 

    uninstall 程序。有关更多信息,请参见《Sun Cluster Geographic Edition Installation Guide》中的“Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 9 and 10”。

    3.2 

    9 或 10 

    uninstall 程序。有关更多信息,请参见《Sun Cluster Geographic Edition Installation Guide》中的“Uninstalling Sun Cluster Geographic Edition Software on Solaris OS 9 and 10”。

  4. 确保所有节点都处于联机状态,并且都是群集的一部分。

    要查看群集的当前状态,请从任意节点运行以下命令:


    % scstat
    

    有关更多信息,请参见 scstat(1M) 手册页。

    在位于同一节点的 /var/adm/messages 日志中搜索未解决的错误消息或警告消息。

  5. 升级到 Sun Cluster 3.2 或 Sun Cluster 3.2 2/08 软件。

    有关更多信息,请参见《Sun Cluster Software Installation Guide for Solaris OS》。

  6. 按照第 2 章,安装 Sun Cluster Geographic Edition 软件中所述安装 Sun Cluster Geographic Edition 软件。

  7. 按照安装修补程序中所述安装所有必需的修补程序。

  8. 在群集的所有节点上执行上述步骤。


    注 –

    伙伴关系中的所有群集必须运行 Sun Cluster 3.2 或 Sun Cluster 3.2 2/08 软件。如果某个群集已经在运行 Sun Cluster 3.2 软件,则不需要通过将其升级到 Sun Cluster 3.2 2/08 软件来将该群集升级到 Sun Cluster Geographic Edition 3.2 2/08 软件。


  9. 在每个已升级的伙伴群集的一个节点上启用 Sun Cluster Geographic Edition 软件。


    # geoadm start
    
  10. 更新伙伴关系中双方群集的所有节点上的公钥。

    1. 在本地群集的每个节点上删除公钥。


      localnode# geops remove-trust -c remotecluster
      
    2. 在远程群集的每个节点上删除公钥。


      remotenode# geops remove-trust -c localcluster
      
    3. 在本地群集的一个节点上,从远程群集中导入公钥。


      localnode# geops add-trust -c remotecluster
      
    4. 在远程群集的一个节点上,从本地群集中导入公钥。


      remotenode# geops add-trust -c localcluster
      
    5. 在每个群集中的每个节点上检验信任关系。


      # geops verify-trust -c partnercluster
      

    有关如何配置和加入伙伴关系的完整示例,请参见《Sun Cluster Geographic Edition System Administration Guide》中的“How to Join a Partnership”。

  11. 如果是从 Sun Cluster Geographic Edition 3.1 8/05 软件升级的,请在伙伴关系双方群集上将 ICRM 插件从所有心跳中删除。

    在以下命令中,群集名称 cluster-paris 和 cluster-newyork 以及心跳标识符 hb_paris~newyork 和 hb_newyork~paris 提供了清楚的说明。


    phys-paris-1# geohb remove-plugin pluginname hb_cluster-paris~cluster-newyork
    phys-paris-1# geohb remove-plugin pluginname hb_cluster-newyork~cluster-paris
    phys-newyork-1# geohb remove-plugin pluginname hb_cluster-paris~cluster-newyork
    phys-newyork-1# geohb remove-plugin pluginname hb_cluster-newyork~cluster-paris
    
  12. 从某个伙伴群集的某个节点上,将您在准备群集升级时删除的所有应用程序资源组重新添加回保护组中。


    # geopg add-resource-group resourcegroup protectiongroup
    

    有关更多信息,请参见 geopg(1M) 手册页。

  13. 启动您添加的所有保护组。


    # geopg start protectiongroup -e local [-n]
    

    有关更多信息,请参见 geopg(1M) 手册页。

接下来的操作

转至如何检验 Sun Cluster Geographic Edition 软件的升级情况。