Previous Topic: ExampleNext Topic: Example


modify—Modify Target Computers

This action modifies target computer attributes.

This action has the following format:

targetcomputer action=modify name=computer_name
[address=network_address]
[calendarname=calendar_name]
[user=user_name]
[phone=phone]
[location=location]
[comment=comment]
[softwareManagedSystem={y|n}]
[racpolicy={automatic|common|deferred|disabled}]
[downloadMethod={NOS|NOSLESS|DTS}]
address

Specifies the network address.

This entry should not be the empty string.

calendarname

Specifies the name of the calendar that drives the activities at the target computer

Note: If an empty string is entered no calendar is assumed any longer.

comment

Specifies a comment.

If an empty string is entered, no comment is assumed any longer.

downloadMethod

Optional parameter.

If coded the download method of the addressed target system is switched as follows:

NOS

"Internal - NOS"

NOSLESS

"Internal - NOS-less"

DTS

"DTS - NOS-less"

If not coded the download method remains unchanged.

location

Specifies the location of the computer.

If an empty string is entered, no location is assumed any longer.

name

Specifies the name of the target to be modified.

phone

Specifies the phone number or email address of the user. If an empty string is entered, no phone number or email address is assumed any longer.

racpolicy

Optional parameter which specifies the Reinstall after Crash (RAC) policy of the system.

The following values can be used:

common

The common policy will be used for this computer.

disabled

RAC is disabled on this computer. No job container is set up for this computer. However, its installation records in the installations folder on the SD server will be marked as removed, when the SD agent of the computer reports a new OS installation (by a changed UUID).

deferred

A RAC job container will be created. It can be reviewed and modified, since it has to be activated manually.

automatic

A RAC job container will be created and activated, starting the delivery of job orders to the computer.

Default = common.

Note: If you try to change the RAC policy of a computer when it is in the offline mode, the cadsmcmd targetComputer action=modify command generates an error message.

softwareManagedSystem

If softwareManagedSystem=y, then the system is considered as a Software Managed System. If softwareManagedSystem=n, then it is considered to be not a Software Managed System anymore.

user

Specifies the name of the user.

If an empty string is entered, no user name entry is assumed any longer.

Note: If a parameter is not coded, the related target computer attribute remains unchanged.