Peter,

Is there a way to do this w/out having to do a OS reinstall? It has been a while since I have worked with this software but hoping an option would be to do the ILOM step you give below in conjunction with removal of LDOM packages to get back to "whole" system.

Thoughts?
-tomg

Peter Wilson wrote:
To wipe LDOMs froma  amachine and install a fresh OS...

You can set up all that is neccessary from the service processor, run the following commands...

(using the ILOM CLI)
    stop /SYS
    set /HOST/bootmode config='factory-default'
    start /SYS

(or Using ALOM CLI)
poweroff -y -f
bootmode config="factory-default"
poweron

This forces the system to reboot as a whole machine single domain on the next reboot (the setting is only active for a few minutes, so reboot soon after setting this)

Then a conventional re-install can be done... by DVD or network.

You can further streamline this by adding
script="boot net - install"
on the end of the 'set' or 'bootmode' command lines, this will force a network install on reboot presuming you have a jumpstart environment setup.

Peter




On 7/28/10 3:55 AM, [email protected] wrote:
On 28/07/2010 11:52, [email protected] wrote:
Hi Smith,

Thanks for prompt reply !

I tried

r...@server_ldom # ldm list
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      4     4G       0.8%  37d 21m
dev01-lgdm01     active   -n---   5000    8     8G       0.1%  37d 21m
dev01-lgdm02     active   -n---   5001    4     4G       0.2%  37d 21m
dev01-lgdm03     active   -n---   5002    4     4G       0.2%  37d 21m
dev01-lgdm04     active   -n---   5003    4     4G       0.3%  37d 21m
dev01-lgdm05     active   -n---   5004    4     4G       7.3%  37d 21m
dev01-lgdm06     active   -n---   5005    4     3G       0.2%  37d 21m
r...@server_ldom # ldm stop dev01-lgdm05
LDom dev01-lgdm05 stopped
r...@server_ldom # ldm unbind-domain dev01-lgdm06
r...@server_ldom # ldm list
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      4     4G       0.9%  37d 3h
35m
dev01-lgdm01     active   -n---   5000    8     8G       0.1%  37d 3h
35m
dev01-lgdm02     active   -n---   5001    4     4G       0.2%  37d 3h
35m
dev01-lgdm03     active   -n---   5002    4     4G       0.2%  37d 3h
35m
dev01-lgdm04     active   -n---   5003    4     4G       0.3%  37d 3h
35m
dev01-lgdm05     active   -n---   5004    4     4G       7.6%  37d 3h
35m
dev01-lgdm06     inactive -----           4     3G
r...@server_ldom # ldm remove-domain dev01-lgdm06
r...@server_ldom # ldm list
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      4     4G       0.9%  37d 3h
35m
dev01-lgdm01     active   -n---   5000    8     8G       0.1%  37d 3h
35m
dev01-lgdm02     active   -n---   5001    4     4G       0.2%  37d 3h
35m
dev01-lgdm03     active   -n---   5002    4     4G       0.2%  37d 3h
35m
dev01-lgdm04     active   -n---   5003    4     4G       0.3%  37d 3h
35m
dev01-lgdm05     active   -n---   5004    4     4G       7.6%  37d 3h
35m


I am able to delete the domains.Now issue is that if I delete all the
Domains thn the assigned Memory/CPU/Disk all things will go back to the
Main domain or not.If it ll go to Primary domain thn how to delete the
Primary domain and assign the resources to the server.

Cheers!!
> Madhulika Kherwa

Hi

Do a ldm set-vcpu <all cpus> primary
ldm set-vmem <all mem> primary

reboot
this will put all resources in domain primary

do a package remove of the SUNWldm package ( and SUNWldmp2v )

and reboot again

All domain information will have gone

T


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, July 28, 2010 4:15 PM
To: [email protected]
Subject: Re: [ldoms-discuss] LDOM Removal

Hi

Have you tried

ldm stop -f dev01-lgdm06

that should force the domain to stop.

Failing that do

ldm set-var auto-boot\?=false dev01-lgdm06

ldm add-config<newconfig name>
(just to make sure you have kept settings)

powercycle the box

on rebooting the control domain dev01-lgdm06 if started will be at the
ok prompt and so a normal ldm stop will stop it.

T


On 28/07/2010 10:43, [email protected] wrote:
Hi All,

We have T2000 Server and on the same we need to remove all the logical
domains and need to re-install OS .Kindly suggest how to remove the
Primary and other 6 guest domains.

Also after LDOM removal we want to get all the hardware back to the
physical server for the same if require additional to do something
then
please suggest.

I done with command ldm remove-domain dev01-lgdm06 but it is showing
problem as "LDom dev01-lgdm06 cannot be deleted because it is not
inactive".Also ldm list o/p ="dev01-lgdm06 active -n--- 5005 4 3G 0.3%
4m " , I m unable to make the state as inactive in the domain. Kindly
suggest some inputs. Thanks in advance!

*Madhulika Kherwa *

* Please do not print this email unless it is absolutely necessary. *

The information contained in this electronic message and any
attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information.
If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately
and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of
viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com



_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss





--



Oracle
Peter Wilson | +1.650.786.0526(Office)
Oracle Systems x86 Technical Product Manager
16 Network Circle | Menlo Park, CA 94025

Green Oracle Oracle is committed to developing practices and products that help protect the environment



_______________________________________________ ldoms-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

--




My contact info...


Oracle
Tom Gendron | Principal Sales Consultant
Phone: +1 781.442.2622  | Mobile: +1  603.498.3380
45 Network Drive | Burlington, MA 01803

Green Oracle

Oracle is committed to developing practices and products that help protect the environment

 

 

_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to