Hi Smith,

Thanks will do the same and update you..If any issue then will again
question will be for U.Thanks

Cheers!!
Madhulika Kherwa

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Wednesday, July 28, 2010 4:25 PM
To: Madhulika Kherwa (WI01 - Enterprise Services)
Cc: [email protected]
Subject: Re: [ldoms-discuss] LDOM Removal

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
>
>


-- 
Terry Smith
Principal Sales Consultant
Mobile: +44 7802 212151
Oracle Server Specialist
EMEA United Kingdom

ORACLE Corporation UK Ltd is a company incorporated in England & Wales
Company Reg. No. 1782505
Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA


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

Reply via email to