You can move a device only if you want to move it to a different container on 
the same landscape. If you want to move it to a container on a different 
landscape then you must delete and rediscover.

To move a device to a different container on the same landscape you just 
destroy the existing association between the device and its existing container 
and create a new association between the device and its new container.

# Destroy the existing association (-n does not prompt you to destroy. I use 
this when running in a script)
destroy association -n rel=Collects lmh=<existingContainerMH> rmh=<deviceMH>

# Create a Collects association to place the device into the destination 
container
create association rel=Collects lmh=<destinationContainerMH> rmh=<deviceMH>

where:
<deviceMH> is the model handle of the device you want to move
<existingContainerMH> is the model handle of the existing container (the one 
the device is currently in)
<destinationContainerMH> is the model handle of the destination container (the 
one you want to move the device to)

Hope that helps.

Craig Porter, Enterprise Systems Management - Availability & Performance 
Monitoring
Marsh & McLennan Companies
Global Technology Infrastructure (MGTI) | Centralized Operations
Sackville House 1.6, 143-149 Fenchurch Street, London EC3M 6BN, Great Britain
+44 (0)20 7178 4827 | Mobile +44 (0)7585 803 093 | 
craig.por...@mmc.com<mailto:craig.por...@marsh.com>
www.mmc.com<http://www.mmc.com/>

From: susana jimenez [mailto:susana.jimene...@gmail.com]
Sent: 20 October 2014 08:48
To: spectrum
Subject: [spectrum] move devices with CLI

Hello,

Anybody knows how can I do to move devices through topology with the CLI 
command ?

SUSANA


 *   --To unsubscribe from spectrum, send email to 
lists...@unc.edu<mailto:lists...@unc.edu> with the body: unsubscribe spectrum 
craig.por...@marsh.com<mailto:craig.por...@marsh.com>

________________________________

Marsh Ltd. Registered in England and Wales Number: 1507274
Registered office 1 Tower Place West, Tower Place, London, EC3R 5BU.

Marsh Ltd is authorised and regulated by the Financial Conduct Authority.

This message and any attachments are confidential.
If you have received this message in error please delete it from your system.
If you require any assistance please notify the sender. Thank you.

---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum arch...@mail-archive.com

Reply via email to