﻿deploy


 
Enables you to perform the deployment for nodes in the current working set for the current session. If you do not specify any nodes, the default is all in the currently selected list. 

Syntax 

smartupdate deploy [--nodes [nodelist]] 

Parameters 
 --nodes [nodelist]  
A list of the nodes to perform the deploy operation on. You can specify each node in three ways: 

domain_name: localhost 

ip: 127.0.0.1 

ipv6: ::1 

If you do not provide a nodelist, all nodes in the session are deployed. 
--cleanup_onexit 
Deletes the following files:   
•Firmware RPMs copied to the Linux directory /usr/lib/i386-linux-gnu or /usr/lib/x86_64-gnu. 

 
•Extracted firmware RPM directory and folder contents. 

 
•Un-extracted components of a baseline. 

 
•If SUM is launched from a read-only location, this parameter deletes the localsum directory. 

--cleanupall_onexit 
Deletes the following files:   
•Firmware RPMs copied to the Linux directory /usr/lib/i386-linux-gnu or /usr/lib/x86_64-gnu. 

 
•Extracted firmware RPM directory and folder contents. 

 
•Un-extracted components of a baseline. 

 
•If SUM is launched from a read-only location, this parameter deletes the localsum directory. 

 
•Debug logs. 


Restrictions 

If there are no updates for a node, SUM might indicate that it deployed updates to the node, but nothing was deployed. 

Windows usage 

C:\> smartupdate deploy /nodes 10.7.0.0 

Linux usage 

$ ./smartupdate deploy --nodes 10.7.0.0 
Return codes SUCCESS_NO_REBOOT  
Windows: 0 

Linux: 0 

Text: The command was successful. 
SUCCESS_REBOOT  
Windows: 1 

Linux: 1 

Text: The command was successful but a reboot is required. 
SUCCESS_NOT_REQUIRED  
Windows: 3 

Linux: 3 

Text: The command completed successfully, but was not required or everything was already current. 
FAILURE_GENERAL  
Windows: -1 

Linux: 255 

Text: A general failure occurred. For details, see the logs. 
FAILURE_BAD_PARM  
Windows: -2 

Linux: 254 

Text: A bad input parameter was encountered. For details, see the logs. 
FAILURE_COMPONENT_FAILED  
Windows: -3 

Linux: 253 

Text: The installation of the component failed. 
FAILURE_COMMAND_FAILED  
Windows: -4 

Linux: 252 

Text: The command failed. For details, see the logs. 
