Chinaunix首页 | 论坛 | 博客
  • 博客访问: 641125
  • 博文数量: 70
  • 博客积分: 145
  • 博客等级: 入伍新兵
  • 技术积分: 1150
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-11 08:15
个人简介

没有简介就是最好的简介

文章分类

全部博文(70)

文章存档

2020年(1)

2018年(2)

2017年(3)

2016年(11)

2015年(12)

2014年(16)

2013年(19)

2012年(6)

我的朋友

分类: 服务器与存储

2013-08-07 10:01:19

1,hp unix网上下载文件时怎样区分Architecture(体系结构)
pa-risc的产品号以rp打头,itanium的产品号以rx打头,
使用model可以看到
# model
ia64 hp server rx6600
2,hp unix安装bash
首先去下载所需软件包
make-3.81-hppa-11.23.depot termcap-1.3.1-hppa-11.23.depot libiconv-1.12-hppa-11.23.depot gettext-0.17-hppa-11.23.depot bash-3.2-hppa-11.23.depot
然后依次安装上述软件包
#swinstall -s /tmp/zznode/make-3.81-hppa-11.23.depot \*
#swinstall -s /tmp/zznode/termcap-1.3.1-hppa-11.23.depot \*
#swinstall -s /tmp/zznode/libiconv-1.12-hppa-11.23.depot \*
#swinstall -s /tmp/zznode/gettext-0.17-hppa-11.23.depot \*
#swinstall -s /tmp/zznode/bash-3.2-hppa-11.23.depot \*
编辑环境变量
#vi .profile
增加一行:
export PATH=$PATH:/usr/local/bin
退出再登录检查是否可用
2013年10月12日
今天一台机器重启,记录手动拉起服务及其数据库的过程
# cmviewcl -v

CLUSTER      STATUS       
cluster1     up           

  NODE         STATUS       STATE                     
  test1        down         failed       

    Network_Parameters:
    INTERFACE    STATUS       PATH                NAME         
    PRIMARY      unknown      1/0/14/0/0          lan7         
    PRIMARY      unknown      1/0/12/0/0          lan6         

  NODE         STATUS       STATE                     
  test2        up           running      

    Network_Parameters:
    INTERFACE    STATUS       PATH                NAME         
    PRIMARY      up           1/0/14/0/0          lan7         
    PRIMARY      up           1/0/12/0/0          lan6   
# su - oracle
(c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.


                           RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.

                           Hewlett-Packard Company
                           3000 Hanover Street
                           Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
                                                                                                                                                        
Value of TERM has been set to "vt100".
WARNING:  YOU ARE SUPERUSER !!

$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
将节点加进集群软件
# cmrunnode -v test1
cmrunnode  : Validating network configuration...
Gathering configuration information ......... Done
cmrunnode  : Network validation complete
Successfully started $SGLBIN/cmcld on test1.
cmrunnode  : Waiting for cluster to form.....
cmrunnode  : Cluster successfully formed.
cmrunnode  : Check the syslog files on all nodes in the cluster
cmrunnode  : to verify that no warnings occurred during startup.
手动激活卷组
# vgchange -a s /dev/vgdata
Activated volume group in Shared Mode.
This node is a Client.
Volume group "/dev/vgdata" has been successfully changed.
拉起数据库
# /sbin/init.d/init.crs start
Startup will be queued to init within 30 seconds.
节点恢复正常

2013年11月7日
1,修改/etc/inetd.conf文件
用vi编辑器打开文件/etc/inetd.conf,找到如下三行: #ftp          stream tcp6 nowait root /usr/lbin/ftpd     ftpd -l #telnet       stream tcp6 nowait root /usr/lbin/telnetd  telnetd  #login        stream tcp6 nowait root /usr/lbin/rlogind  rlogind 取消前面的注释符。 
2,重启inetd服务 #/sbin/init.d/inetd stop Internet Services stopped #/sbin/init.d/inetd start Internet Services started
inetd服务重启之后,ftp和telnet服务就应该打开了。
阅读(2419) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~