# ldm add-vdsdev /apps/solaris/sol-10-u11-ga-sparc-dvd.iso iso_sol_10_11@primary-vds0
# ldm add-vdisk vdisk_iso iso_sol_10_11@primary-vds0 vmsolaris02
Login LDOM Console
# ldm list-domain
NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME
primary active -n-cv- UART 8 8G 0.5% 0.5% 61d 22h 52m
vmsolaris01 active -n---- 5000 64 64G 0.0% 0.0% 60d 23h 8m
vmsolaris02 active -n---- 5001 48 32G 0.2% 0.2% 54d 23h 23m
# ldm list-variable auto-boot? vmsolaris02
auto-boot?=true
# ldm set-var auto-boot\?=false vmsolaris02
# telnet <hostname> 5001
Trying 17.1.20.164...
Connected to sun04.
Escape character is '^]'.
Connecting to console "vmsolaris02" in group "vmsolaris02" ....
Press ~? for control options ..
vmsolaris02 console login:
VNTSD commands
~# --Send break
~^B --Send alternate break
~. --Exit from this console
~w --Force write access
~n --Console next
~p --Console previous
~? --Help
Press ~# to stop ldom
~#
Password: Debugging requested; hardware watchdog suspended.
c)ontinue, s)ync, r)eset? r
Resetting...
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
SPARC T4-2, No Keyboard
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.36.1, 32.0000 GB memory available, Serial #83577585.
Ethernet address 0:14:4f:fb:4a:f1, Host ID: 84fb4af1.
{0} ok devalias
vdisk_iso /virtual-devices@100/channel-devices@200/disk@1
disk0 /virtual-devices@100/channel-devices@200/disk@0
vnet2 /virtual-devices@100/channel-devices@200/network@0
net /virtual-devices@100/channel-devices@200/network@0
disk /virtual-devices@100/channel-devices@200/disk@0
virtual-console /virtual-devices/console@1
name aliases
{0} ok boot -s /virtual-devices@100/channel-devices@200/disk@1
Boot device: /virtual-devices@100/channel-devices@200/disk@0:a File and args: -s /virtual-devices@100/channel-devices@200/disk@1
krtld: Unused kernel arguments: `/virtual-devices@100/channel-devices@200/disk@1'.
SunOS Release 5.10 Version Generic_147147-26 64-bit
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Booting to milestone "milestone/single-user:default".
Hostname: vmsolaris02
Requesting System Maintenance Mode
SINGLE USER MODE
Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
Dec 23 13:53:47 su: 'su root' succeeded for root on /dev/console
Oracle Corporation SunOS 5.10 Generic Patch January 2005
#
To reset user role
# rolemod -K type=normal root
UX: rolemod: root is currently logged in, some changes may not take effect until next login.
To reset password
# passwd
# ldm set-var auto-boot\?=true vmsolaris02
No comments:
Post a Comment