vncviewer jdstest27
beadm list
su
ifconfig -a //必需在root用户下使用該命令get mac,若不是,那么需要切换用户:su ,输入root用户的密码
uname -a //get the tyep of jdstest27
/ws/opg-lab-tools/addclient.pl -b 11 -o -e [MAC] jdstest27 s11u1 sun 4v
当输入init 0后,突然断开了本机器和jdstest27的连接。??????????????????????
然后ping jdstest27.发现连接中断。
//启动级别:init0,1,2,3,4,5,6-- http://blog.sina.com.cn/s/blog_7792f2dd0100ty45.html
在查找怎么远程启动jdstest27的命令。
因为怀疑是电源突然中断,所以查看:
1.在浏览器地址栏输入:jdstest27csl.cn.oracle.com到 ILOM
登录root / jdstest27csl
2.然后查看Remote Control 选项里面的配置--Power on是灰色的。//说明电源的问题/
3.打开终端。参照文档(文档3)进行Input:
bash
# ssh -l root jdstest27csl
//password input:jdstest27csl
//output: Waiting for daemons to initialize...
// Daemons ready
-> show /SP/network
-> start /SP/console
//output :
//...................................
// {0} ok
===============================================
bash-4.1$ bash
bash-4.1$ ssh -l root jdstest27csl
Warning: Permanently added 'jdstest27csl,10.113.202.164' (RSA) to the list of known hosts.
Password:
Waiting for daemons to initialize...
Daemons ready
Sun(TM) Integrated Lights Out Manager
Version 2.0.4.20.c
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-> show /SP/network
/SP/network
Targets:
Properties:
commitpending = (Cannot show property)
dhcp_server_ip = none
ipaddress = 10.113.202.164
ipdiscovery = static
ipgateway = 10.113.200.1
ipnetmask = 255.255.252.0
macaddress = 00:21:28:0F:82:65
pendingipaddress = 10.113.202.164
pendingipdiscovery = static
pendingipgateway = 10.113.200.1
pendingipnetmask = 255.255.252.0
state = enabled
Commands:
cd
set
show
-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type #.
Console session already in use. [view mode]
{0} ok
{0} ok
{0} ok
{0} ok boot
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0,0:a File and args:
SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
NOTICE: Hypervisor does not support CPU power management
Hostname: jdstest27
jdstest27 console login: Mar 15 13:13:30 jdstest27 nfs: WARNING: NFS server initial call to sorrento-a.us.oracle.com failed: Permission denied
Mar 15 13:13:30 jdstest27 automountd[578]: Mount of sorrento-a.us.oracle.com:/export/pool-0/ocm on /ws/ocm: Permission denied
................................//此处内容太多,于是略去。
参考文献:
SPARC怎么进入ok模式--http://dreamfromars.blog.sohu.com/154969375.html
启动级别:init0,1,2,3,4,5,6-- http://blog.sina.com.cn/s/blog_7792f2dd0100ty45.html
文档3:Setup sever--http://jdsbjwiki.cn.oracle.com/index.php/Setup_Server