Previous Topic: Add a CI to a ServiceNext Topic: Delete a CI


Update a CI

You can manage CIs in two different XML tag contexts—<Events> tag and <Services> tag.

Note: For a complete list of USM property tags, see the USM schema to determine which USM properties are required for the specific class of CI.

The following example lets you update a CI description by running the batch program as follows:

GCEventAddCmd -hSOIserver.ca.com:7090 -fUpdateCI.xml

The UpdateCI.xml file includes the following information:

<Events>
	<Event>
	  <property tag="eventType" value="UpdateCIEvent" /> 
	  <property tag="MdrElementID" value="MyMachine" /> 
	  <property tag="className" value="ComputerSystem" /> 
	  <property tag="Label" value="MyMachine" /> 
	  <property tag="Description" value="Update to the Description" /> 
	  <property tag="AdministrativeStatus" value="Managed" /> 
	  <property tag="Vendor" value="Dell" /> 
	  <property tag="PrimaryDnsName" value="MyMachine.ca.com" /> 
	  <property tag="ComputerName" value="MyMachine" /> 
	  <property tag="MemoryInGB" value="1024" /> 
	</Event>
</Events>

The parameters used in this example XML file are as follows:

eventType

Specifies the type of event. For this example, the value is UpdateCIEvent.

MdrElementID

Specifies a unique identifier for the CI. For this example, the value is MyMachine.

className

Specifies the USM class name. For this example, the value is ComputerSystem.

Label

Specifies a short description for identification of the CI. It is important that the value of the Label uniquely distinguishes entities in the interface. For this example, the value is MyMachine.

Description

Specifies a description of the CI. For this example, the value is "Update to the Description".

AdministrativeStatus

Specifies the high-level administrative status of the CI. For this example, the value is Managed.

Vendor

Specifies the hardware vendor name. For this example, the value is Dell.

PrimaryDnsName

Specifies the fully qualified DNS name of the entity. For this example, the value is MyMachine.ca.com.

ComputerName

Specifies the name of the computer. For this example, the value is MyMachine.

MemoryInGB

Specifies the amount of system memory. For this example, the value is 1024.