If we want to reset our T5-server to its original state, i.e we dont want any ldoms which are currently present on our server we need to perform a factory-reset.
In T5120 to achieve a control domain back with all its resources we need to perform a boot with factory-default.
OUTPUT of T5120 Control Domain before boot :
root-myt5server:~# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 8 12160M 0.3% 3d 2h 43m
test1 active -n---- 5000 8 8G 0.0% 4h 48m
test2 active -n---- 5001 8 8G 0.0% 5h 50m
Now login to T5's ILOM :
Waiting for daemons to initialize...
Daemons ready
Oracle(R) Integrated Lights Out Manager
Version 3.0.12.4.y r77080
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
->
->
->
-> help
The help command is used to view information about commands and targets
Usage: help [-o|-output terse|verbose] [<command>|legal|targets|<target>|<target > <property>]
Special characters used in the help command are
[] encloses optional keywords or options
<> encloses a description of the keyword
(If <> is not present, an actual keyword is indicated)
| indicates a choice of keywords or options
help <target> displays description if this target and its propertie s
help <target> <property> displays description of this property of this target
help targets displays a list of targets
help legal displays the product legal notice
Commands are:
cd
create
delete
dump
exit
help
load
reset
set
show
start
stop
version
->
-> show /SYS
/SYS
Targets:
SERVICE
LOCATE
ACT
PS_FAULT
TEMP_FAULT
FAN_FAULT
MB
HDD0
HDD1
HDD2
HDD3
PDB
SASBP
DVD
TTYA
USBBD
FANBD0
FANBD1
PS0
PS1
VPS
Properties:
type = Host System
ipmi_name = /SYS
keyswitch_state = Normal
product_name = SPARC-Enterprise-T5120
product_part_number = 602-3580-08
product_serial_number = BEL07482GU
product_manufacturer = Oracle Corporation
fault_state = OK
power_state = On ---------- My T5 is in powered on state.
Commands:
cd
reset
set
show
start
stop
->
Now poweroff our server to change and boot with new bootmode.
-> stop /SYS
Are you sure you want to stop /SYS (y/n)? y
Stopping /SYS
-> show
/
Targets:
HOST
SYS
SP
Properties:
Commands:
cd
show
->
->
->
-> show /SYS ------- check the status ..
/SYS
Targets:
SERVICE
LOCATE
ACT
PS_FAULT
TEMP_FAULT
FAN_FAULT
MB
HDD0
HDD1
HDD2
HDD3
PDB
SASBP
DVD
TTYA
USBBD
FANBD0
FANBD1
PS0
PS1
VPS
Properties:
type = Host System
ipmi_name = /SYS
keyswitch_state = Normal
product_name = SPARC-Enterprise-T5120
product_part_number = 602-3580-08
product_serial_number = BEL07482GU
product_manufacturer = Oracle Corporation
fault_state = OK
power_state = On ---------- still in poweron state, takes sometime..
Commands:
cd
reset
set
show
start
stop
-> show /HOST ---------- show /HOST also shows status..
/HOST
Targets:
bootmode
console
diag
domain
tpm
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
bootrestart = none
boottimeout = 0
hypervisor_version = Hypervisor 1.10.7.d 2012/12/11 22:17
macaddress = 00:14:4f:98:4a:18
maxbootfail = 3
obp_version = OpenBoot 4.33.6.b 2012/12/11 20:50
post_version = POST 4.33.6 2012/03/14 08:28
send_break_action = (Cannot show property)
status = Solaris running
sysfw_version = Sun System Firmware 7.4.5 2012/12/11 23:47
Commands:
cd
set
show
->
->
Now check the status again,
-> show /SYS
/SYS
Targets:
SERVICE
LOCATE
ACT
PS_FAULT
TEMP_FAULT
FAN_FAULT
MB
HDD0
HDD1
HDD2
HDD3
PDB
SASBP
DVD
TTYA
USBBD
FANBD0
FANBD1
PS0
PS1
VPS
Properties:
type = Host System
ipmi_name = /SYS
keyswitch_state = Normal
product_name = SPARC-Enterprise-T5120
product_part_number = 602-3580-08
product_serial_number = BEL07482GU
product_manufacturer = Oracle Corporation
fault_state = OK
power_state = Off ---------- Now my T5 is in powered off state.
Commands:
cd
reset
set
show
start
stop
->
->
-> show /HOST
/HOST
Targets:
bootmode
console
diag
domain
tpm
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
bootrestart = none
boottimeout = 0
hypervisor_version = Hypervisor 1.10.7.d 2012/12/11 22:17
macaddress = 00:14:4f:98:4a:18
maxbootfail = 3
obp_version = OpenBoot 4.33.6.b 2012/12/11 20:50
post_version = POST 4.33.6 2012/03/14 08:28
send_break_action = (Cannot show property)
status = Powered off
sysfw_version = Sun System Firmware 7.4.5 2012/12/11 23:47
Commands:
cd
set
show
->
Set the bootmode to factory-default as follows :
-> set /HOST/bootmode config=factory-default
Set 'config' to 'factory-default'->
-> show /HOST/bootmode
/HOST/bootmode
Targets:
Properties:
config = factory-default
expires = (none)
script = (none)
state = normal
Commands:
cd
set
show
->
->
Now start the server to boot with new bootmode.
->
-> start /SYS
Are you sure you want to start /SYS (y/n)? y
Starting /SYS -> show /HOST
/HOST
Targets:
bootmode
console
diag
domain
tpm
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
bootrestart = none
boottimeout = 0
hypervisor_version = Hypervisor 1.10.7.d 2012/12/11 22:17
macaddress = 00:14:4f:98:4a:18
maxbootfail = 3
obp_version = OpenBoot 4.33.6.b 2012/12/11 20:50
post_version = POST 4.33.6 2012/03/14 08:28
send_break_action = (Cannot show property)
status = Powered on
sysfw_version = Sun System Firmware 7.4.5 2012/12/11 23:47
Commands:
cd
set
show
-> start /HOST/console
Are you sure you want to start /HOST/console (y/n)? y
Serial console started. To stop, type #.
2014-05-04 15:25:53.588 0:1:0>End : FPU Move Registers
2014-05-04 15:25:53.802 0:2:0>End : FPU Move Registers
2014-05-04 15:25:53.902 0:3:0>End : FPU Move Registers
2014-05-04 15:25:53.974 0:4:0>End : FPU Move Registers
2014-05-04 15:25:54.053 0:5:0>End : FPU Move Registers
2014-05-04 15:25:54.129 0:6:0>End : FPU Move Registers
2014-05-04 15:25:54.204 0:7:0>End : FPU Move Registers
2014-05-04 15:25:54.401 0:1:0>Begin: FSR Read/Write
... OUTPUT TRUNCATED ...
2014-05-04 15:27:15.012 0:0:0>End : Network Tests
2014-05-04 15:27:15.224 0:0:0>Extended Memory Tests.....
2014-05-04 15:27:15.281 0:0:0>Begin: Print Mem Config
2014-05-04 15:27:15.289 0:0:0>Caches : Icache is ON, Dcache is ON.
2014-05-04 15:27:15.294 0:0:0> Total Memory = 00000000.00000000 -> 00000008.00000000
2014-05-04 15:27:15.302 0:0:0>End : Print Mem Config
2014-05-04 15:27:15.371 0:0:0>Begin: Block Mem Test
2014-05-04 15:27:15.526 0:0:0>Block Mem Test 00000000.10000000->00000000.10800000
2014-05-04 15:27:16.413 0:0:0>........
2014-05-04 15:27:25.543 0:0:0>Testing Gaps..
2014-05-04 15:27:25.598 0:0:0>........
2014-05-04 15:27:52.569 0:0:0>End : Block Mem Test
2014-05-04 15:27:52.657 0:0:0>INFO:
2014-05-04 15:27:52.715 0:0:0> POST Passed all devices.
2014-05-04 15:27:52.771 0:0:0>POST: Return to VBSC.
2014-05-04 15:27:52.826 0:0:0>Master set ACK for vbsc runpost command and spin...
/
SPARC Enterprise T5120, No Keyboard
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.33.6.b, 32640 MB memory available, Serial #77067241.
Ethernet address 0:14:4f:98:4a:18, Host ID: 84984a18.
Boot device: disk File and args:
SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
sorry, variable 'ssfcp_enable_auto_configuration' is not defined in the 'fcp' module
WARNING: Illegal stack size. Using 32768
Hostname: myt5server
myt5server console login: root
Password:
May 4 15:35:27 myt5server login: ROOT LOGIN /dev/console
Last login: Sun May 4 15:01:08 from 10.36.5.179
Oracle Corporation SunOS 5.11 11.1 May 2013
You have new mail.
root-myt5server:~#
root-myt5server:~#
Check the status of ldm list ,
root-myt5server:~# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-c-- SP 64 32640M 0.2% 7m
test1 inactive ------ 8 8G
test2 inactive ------ 8 8G
root-myt5server:~#
root-myt5server:~#
root-myt5server:~# ldm list-services
root-myt5server:~#
root-myt5server:~#
Now our control domain is with its full resources 32GB memory and 8 cores CPU(i.e 64VCPU).
We can also observe there are no services dedicated to my control domain like , vds (virtualdiskservices) , vsw (virtual switch) and vcc (virtual console concentrator).
So now we can start creating new ldoms by destroying existing inactive ldoms.
##################################################################################
In T5120 to achieve a control domain back with all its resources we need to perform a boot with factory-default.
OUTPUT of T5120 Control Domain before boot :
root-myt5server:~# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 8 12160M 0.3% 3d 2h 43m
test1 active -n---- 5000 8 8G 0.0% 4h 48m
test2 active -n---- 5001 8 8G 0.0% 5h 50m
Now login to T5's ILOM :
Waiting for daemons to initialize...
Daemons ready
Oracle(R) Integrated Lights Out Manager
Version 3.0.12.4.y r77080
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
->
->
->
-> help
The help command is used to view information about commands and targets
Usage: help [-o|-output terse|verbose] [<command>|legal|targets|<target>|<target > <property>]
Special characters used in the help command are
[] encloses optional keywords or options
<> encloses a description of the keyword
(If <> is not present, an actual keyword is indicated)
| indicates a choice of keywords or options
help <target> displays description if this target and its propertie s
help <target> <property> displays description of this property of this target
help targets displays a list of targets
help legal displays the product legal notice
Commands are:
cd
create
delete
dump
exit
help
load
reset
set
show
start
stop
version
->
-> show /SYS
/SYS
Targets:
SERVICE
LOCATE
ACT
PS_FAULT
TEMP_FAULT
FAN_FAULT
MB
HDD0
HDD1
HDD2
HDD3
PDB
SASBP
DVD
TTYA
USBBD
FANBD0
FANBD1
PS0
PS1
VPS
Properties:
type = Host System
ipmi_name = /SYS
keyswitch_state = Normal
product_name = SPARC-Enterprise-T5120
product_part_number = 602-3580-08
product_serial_number = BEL07482GU
product_manufacturer = Oracle Corporation
fault_state = OK
power_state = On ---------- My T5 is in powered on state.
Commands:
cd
reset
set
show
start
stop
->
Now poweroff our server to change and boot with new bootmode.
-> stop /SYS
Are you sure you want to stop /SYS (y/n)? y
Stopping /SYS
-> show
/
Targets:
HOST
SYS
SP
Properties:
Commands:
cd
show
->
->
->
-> show /SYS ------- check the status ..
/SYS
Targets:
SERVICE
LOCATE
ACT
PS_FAULT
TEMP_FAULT
FAN_FAULT
MB
HDD0
HDD1
HDD2
HDD3
PDB
SASBP
DVD
TTYA
USBBD
FANBD0
FANBD1
PS0
PS1
VPS
Properties:
type = Host System
ipmi_name = /SYS
keyswitch_state = Normal
product_name = SPARC-Enterprise-T5120
product_part_number = 602-3580-08
product_serial_number = BEL07482GU
product_manufacturer = Oracle Corporation
fault_state = OK
power_state = On ---------- still in poweron state, takes sometime..
Commands:
cd
reset
set
show
start
stop
-> show /HOST ---------- show /HOST also shows status..
/HOST
Targets:
bootmode
console
diag
domain
tpm
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
bootrestart = none
boottimeout = 0
hypervisor_version = Hypervisor 1.10.7.d 2012/12/11 22:17
macaddress = 00:14:4f:98:4a:18
maxbootfail = 3
obp_version = OpenBoot 4.33.6.b 2012/12/11 20:50
post_version = POST 4.33.6 2012/03/14 08:28
send_break_action = (Cannot show property)
status = Solaris running
sysfw_version = Sun System Firmware 7.4.5 2012/12/11 23:47
Commands:
cd
set
show
->
->
Now check the status again,
-> show /SYS
/SYS
Targets:
SERVICE
LOCATE
ACT
PS_FAULT
TEMP_FAULT
FAN_FAULT
MB
HDD0
HDD1
HDD2
HDD3
PDB
SASBP
DVD
TTYA
USBBD
FANBD0
FANBD1
PS0
PS1
VPS
Properties:
type = Host System
ipmi_name = /SYS
keyswitch_state = Normal
product_name = SPARC-Enterprise-T5120
product_part_number = 602-3580-08
product_serial_number = BEL07482GU
product_manufacturer = Oracle Corporation
fault_state = OK
power_state = Off ---------- Now my T5 is in powered off state.
Commands:
cd
reset
set
show
start
stop
->
->
-> show /HOST
/HOST
Targets:
bootmode
console
diag
domain
tpm
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
bootrestart = none
boottimeout = 0
hypervisor_version = Hypervisor 1.10.7.d 2012/12/11 22:17
macaddress = 00:14:4f:98:4a:18
maxbootfail = 3
obp_version = OpenBoot 4.33.6.b 2012/12/11 20:50
post_version = POST 4.33.6 2012/03/14 08:28
send_break_action = (Cannot show property)
status = Powered off
sysfw_version = Sun System Firmware 7.4.5 2012/12/11 23:47
Commands:
cd
set
show
->
Set the bootmode to factory-default as follows :
-> set /HOST/bootmode config=factory-default
Set 'config' to 'factory-default'->
-> show /HOST/bootmode
/HOST/bootmode
Targets:
Properties:
config = factory-default
expires = (none)
script = (none)
state = normal
Commands:
cd
set
show
->
->
Now start the server to boot with new bootmode.
->
-> start /SYS
Are you sure you want to start /SYS (y/n)? y
Starting /SYS -> show /HOST
/HOST
Targets:
bootmode
console
diag
domain
tpm
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
bootrestart = none
boottimeout = 0
hypervisor_version = Hypervisor 1.10.7.d 2012/12/11 22:17
macaddress = 00:14:4f:98:4a:18
maxbootfail = 3
obp_version = OpenBoot 4.33.6.b 2012/12/11 20:50
post_version = POST 4.33.6 2012/03/14 08:28
send_break_action = (Cannot show property)
status = Powered on
sysfw_version = Sun System Firmware 7.4.5 2012/12/11 23:47
Commands:
cd
set
show
-> start /HOST/console
Are you sure you want to start /HOST/console (y/n)? y
Serial console started. To stop, type #.
2014-05-04 15:25:53.588 0:1:0>End : FPU Move Registers
2014-05-04 15:25:53.802 0:2:0>End : FPU Move Registers
2014-05-04 15:25:53.902 0:3:0>End : FPU Move Registers
2014-05-04 15:25:53.974 0:4:0>End : FPU Move Registers
2014-05-04 15:25:54.053 0:5:0>End : FPU Move Registers
2014-05-04 15:25:54.129 0:6:0>End : FPU Move Registers
2014-05-04 15:25:54.204 0:7:0>End : FPU Move Registers
2014-05-04 15:25:54.401 0:1:0>Begin: FSR Read/Write
... OUTPUT TRUNCATED ...
2014-05-04 15:27:15.012 0:0:0>End : Network Tests
2014-05-04 15:27:15.224 0:0:0>Extended Memory Tests.....
2014-05-04 15:27:15.281 0:0:0>Begin: Print Mem Config
2014-05-04 15:27:15.289 0:0:0>Caches : Icache is ON, Dcache is ON.
2014-05-04 15:27:15.294 0:0:0> Total Memory = 00000000.00000000 -> 00000008.00000000
2014-05-04 15:27:15.302 0:0:0>End : Print Mem Config
2014-05-04 15:27:15.371 0:0:0>Begin: Block Mem Test
2014-05-04 15:27:15.526 0:0:0>Block Mem Test 00000000.10000000->00000000.10800000
2014-05-04 15:27:16.413 0:0:0>........
2014-05-04 15:27:25.543 0:0:0>Testing Gaps..
2014-05-04 15:27:25.598 0:0:0>........
2014-05-04 15:27:52.569 0:0:0>End : Block Mem Test
2014-05-04 15:27:52.657 0:0:0>INFO:
2014-05-04 15:27:52.715 0:0:0> POST Passed all devices.
2014-05-04 15:27:52.771 0:0:0>POST: Return to VBSC.
2014-05-04 15:27:52.826 0:0:0>Master set ACK for vbsc runpost command and spin...
/
SPARC Enterprise T5120, No Keyboard
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.33.6.b, 32640 MB memory available, Serial #77067241.
Ethernet address 0:14:4f:98:4a:18, Host ID: 84984a18.
Boot device: disk File and args:
SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
sorry, variable 'ssfcp_enable_auto_configuration' is not defined in the 'fcp' module
WARNING: Illegal stack size. Using 32768
Hostname: myt5server
myt5server console login: root
Password:
May 4 15:35:27 myt5server login: ROOT LOGIN /dev/console
Last login: Sun May 4 15:01:08 from 10.36.5.179
Oracle Corporation SunOS 5.11 11.1 May 2013
You have new mail.
root-myt5server:~#
root-myt5server:~#
Check the status of ldm list ,
root-myt5server:~# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-c-- SP 64 32640M 0.2% 7m
test1 inactive ------ 8 8G
test2 inactive ------ 8 8G
root-myt5server:~#
root-myt5server:~#
root-myt5server:~# ldm list-services
root-myt5server:~#
root-myt5server:~#
Now our control domain is with its full resources 32GB memory and 8 cores CPU(i.e 64VCPU).
We can also observe there are no services dedicated to my control domain like , vds (virtualdiskservices) , vsw (virtual switch) and vcc (virtual console concentrator).
So now we can start creating new ldoms by destroying existing inactive ldoms.
##################################################################################
No comments:
Post a Comment