The following are some of the sample options with DSU:
To point to a repository hosted at https://<ip_address>/<directory>(for example, https://192.168.10.11/16.08.00), the config XML file is:
<DSUConfig> <Repository Type="REPOSITORY"> <RepoLocation IP="192.168.10.11" Directory="16.08.00" UseLatestDSU="True"/> </Repository> <AuthenticationSequence> <Authentication Type="PLAIN" ExecPort="22" Username="name" Password="password1" OrderID="4" ExecProto="SSH"/> <Authentication Type="PLAIN" ExecPort="22" Username="name" Password="password2" OrderID="1" ExecProto="SSH"/> <Authentication Type="PLAIN" ExecPort="22" Username="name" Password="password3" ExecProto="SSH"/> </AuthenticationSequence> <RemoteSystem> <System Address="192.200.14.145"> <AuthenticationSequence> <Authentication Type="PLAIN" Username="name" Password="password1" OrderID="1" ExecProto="SSH"/> </AuthenticationSequence> <ApplySequence> <Sequence Type="ApplyFirst"> <Category OrderID="1" Value="BI"/> <Category OrderID="2" Value="NI"/> <Category OrderID="3" Value="DI"/> </Sequence> <Sequence Type="ApplyLast"> <Category OrderID="3" Value="SA"/> <Category OrderID="0" Value="DD"/> </Sequence> </ApplySequence> </System> <System Address="192.150.12.132"> <AuthenticationSequence> <Authentication Type="PLAIN" Username="name" Password="password2" OrderID="2" ExecProto="SSH"/> </AuthenticationSequence> </System> </RemoteSystem> </DSUConfig>
<DSUConfig> <Repository Type="YUM"> <RepoLocation IP="192.168.10.11" Directory="16.08.00" UseLatestDSU="False"/> </Repository> <ApplySequence> <Sequence Type="ApplyFirst"> <Category Value="NI" OrderID = "1"/> <Category Value="BI" OrderID = "2"/> </Sequence> <Sequence Type="ApplyLast"> <Category Value="SV" OrderID = "0"/> </Sequence> </ApplySequence> </DSUConfig>
Linux Operating System:
dsu --non-interactive --destination-type=ISO --destination-location=/root/home/output.iso --config=/root/home/config.xml --source-type=REPOSITORY --source-location="ftp.dell.com/catalog"Microsoft Windows Operating System:
dsu --non-interactive --destination-type=ISO --destination-location= C:\output.iso –—config=C:\config.xmlLinux Operating System:
dsu --destination-type=ISO --destination-location=/root/home/output.isoMicrosoft Windows Operating System:
dsu --destination-type=ISO --destination-location= C:\output.isoLinux Operating System:
dsu --destination-type=CBD --destination-location=/root/home/outdirectory --bootable-log-location=/var/log/bootmsg.logMicrosoft Windows Operating System:
dsu --destination-type=CBD --destination-location= C:\outdirectory --bootable-log-location=/var/log/bootmsg.logDSU can update a system based on a custom-built Server Update Utility (SUU) offline repository exported from Dell Repository Manager (DRM):
Once the export task for the SUU image has completed then issue the following:
Linux Operating System:
dsu --source-type=REPOSITORY --source-location= ="<path_to_suu>/repository\" --ic-location="<path_to_suu>/bin/Linux/invcolMicrosoft Windows Operating System:
dsu --source-type=REPOSITORY --source-location=="<path_to_suu>\Repository\" --ic-location="<path_to_suu>\bin\Windows\invcol.exedsu --source-type=REPOSITORY --source-location="ftp.dell.com/catalog"
dsu --source-type=OSNATIVE
Linux Operating System:
dsu --destination-type=ISO --destination-location="/home/demo.iso" -n -source-type=REPOSITORY --source-location="192.168.10.11/16.08.00" --config="/usr/libexec/dell_dup/dsuconfig.xml"
Windows Operating System:
dsu --destination-type=ISO --destination-location="C:\demo.iso" -n -source-type=REPOSITORY --source-location="192.168.10.11/16.08.00" --config="C:\dsuconfig.xml"
dsu --reboot
Restarts the system for updates to take effect.
dsu --config="<configFile Path>" --remote --category=BI -e --reboot
The command restarts the remote systems specified in the config file if the update requires a restart of the system and will relaunch DSU to check the status of the same.
dsu --push-remote-updates --remote --config="<filepath>" --category=BI
To push all the required updates to the remote system from the system where DSU is running, runs the update and provides the status back.
dsu --dsu-lin64-installer-location="<location>"
dsu --remote --config=/home/dsu/config.xml --dsu-lin64-installer-location=/home/dsu/Systems-Management_Application_FT56W_LN64_1.6.0_A00.BIN
--dsu-win64-installer-location=C:\dsu\ Systems-Management_Application_FT56W_WN64_1.6.0_A00.EXE
--dsu-lin64-installer-location=/home/dsu/ Systems-Management_Application_FT56W_LN64_1.6.0_A00.BIN
To pick the location provided and install at remote system if DSU is not installed. Alternatively if uselatestdsu attribute is true then following DUP will be used to replace the DSU at remote system.
--remote="username:password@hostIP" : option used to provide for a single machine
Config file is used when we need multiple connections.
When using the remote option with two separate credentials and IP address.
dsu --remote=root:password1@100.100.10.11
dsu --remote=root:password2@100.100.10.22
If using the config file for the two IP address
dsu --remote --config=/root/dsuconfig.xml
<DSUConfig> <RemoteSystem> <System Address="100.100.10.11"> <AuthenticationSequence> <Authentication Type="PLAIN" Username="root" Password="password1" ExecProto="SSH"/> </AuthenticationSequence> </System> <System Address="100.100.10.22"> <AuthenticationSequence> <Authentication Type="PLAIN" Username="root" Password="password2" ExecProto="SSH"/> </AuthenticationSequence> </System> </RemoteSystem> </DSUConfig>
<DSUConfig> <AuthenticationSequence> <Authentication Type="PLAIN" ExecPort="22" Username="name" Password="password1" OrderID="1" ExecProto="SSH"/> <Authentication Type="PLAIN" ExecPort="22" Username="name" Password="password2" OrderID="2" ExecProto="SSH"/> </AuthenticationSequence> <RemoteSystem> <System Address="100.100.10.11"> </System> <System Address="100.100.10.22"> </System> </RemoteSystem> </DSUConfig>