Since wget is unavailable to us - an issue that no one seems to quite get - this is how we created a reusable repo setup that didn't involve have to run a webserver on each server that requires upgrading:
#!/bin/sh # # Developed to enable command-line updates to the Dell R720xd servers: 20170329 # Prep: # RSYNC: See "Creating a local mirror" on http://linux.dell.com/repo/hardware/omsa.html # For *only* the latest, change the command to pull down repo/hardware/dsu (the whole repo is >1.5TB) # Copy rsync'd Dell Linux repo to NFS server dell directory: [NFS_base_dir]/dell/DSU_yy.mo.nn # Link 'dsu' to point to the new repo (from within the "dell" directory): # >ln -s DSU_yy.mo.nn dsu # Download the catalogs from http://downloads.dell.com/catalog: # Catalog.xml.gz did not have the pointers to the inventory collector (invcol), # so the catalog from Catalog.gz was used instead, by moving it to # [NFS_base_dir]/dell/DSU_yy.mo.nn and renaming it Catalog.xml # Download the DSU installation script (*BIN) and place in the [NFS_base_dir]/dell/DSU_yy.mo.nn directory. # Find the 'invcol' link in the catalog and determine the folder name tree, and what the # the invcol RPM will be named when installed, you can create a directory tree for the catalog entry, e.g: # [NFS_base_dir]/dell/DSU_yy.mo.nn> mkdir -p FOLDER04184306M/1 # 'cd' to that directory create a soft link to the executable that will be installed on the NFS clients, e.g.: # >ln -s /usr/libexec/dell_dup/invcol_RPTVF_LN64_17.03.200.987_A00 invcol_RPTVF_LN64_17.03.200.987_A00 # Run the script below on each server to be upgraded, and follow the directions Dell has conveniently given at: # http://www.youtube.com/watch?v=6xLsArT8i_s # # ################################################################################################################ # mkdir -p /var/www/html/dell mount -t nfs NFSserver:[NFS_base_dir]/dell /var/www/html/dell/ /var/www/html/dell/DSU_17.03.00/Systems-Management_Application_YKMFW_LN64_1.4.0_A00.BIN rpm -ivh /var/www/html/dell/DSU_17.03.00/os_independent/x86_64/invcol_RPTVF_LN64_17.03.200.987_A00-17.03.00.987-RPTVF.x86_64.rpm dsu --source-type="PDK" --source=/var/www/html/dell/dsu Thanks to DavidE and Sashi for clues to how to work this out. MJ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Saturday, March 25, 2017 11:28 AM To: [email protected] Subject: Re: [Linux-PowerEdge] Using local repository with DSU on RHEL6.8 Hi, For RedHat/SUSE Linux based systems, DSU uses "wget" to download from the set repository location. However, we also have a DSU 1.4 version which works on Microsoft Windows and Ubuntu(pre-enablement only) operating systems which uses "curl" for downloading the update packages. The Dell Update Packages (DUPs) for DSU 1.4 are available at http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=YKMFW in a .exe (for Windows) and .bin (for Ubuntu and RHEL/SUSE OS's). Alternatively you can also use the RPM for Linux as follows: 1) wget -q -O -http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash 2) yum install dell-system-update If you want to set some other repository location instead of the default one, you may use the command (Linux): dsu --source-type=PDK --source=/mnt/DRM_REPO/ For Windows: dsu --source-type=PDK --source=C:\DRM_REPO As of now we do not have an option to set the proxy from DSU. Please let us know if you need more help. Regards, Sashi Software Dev Senior Engineer Dell EMC | Server Solutions [email protected] -----Original Message----- Message: 3 Date: Fri, 24 Mar 2017 14:50:17 +0000 From: "Watson, Michael" <[email protected]> Subject: [Linux-PowerEdge] Using local repository with DSU on RHEL6.8 To: "'[email protected]'" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Being new here and not seeing a way to search the archives (except via Google, of course, BTDT), I'm hoping someone might have already done what we're looking to do. We have 40+ r730xd remote servers on which we'd like to upgrade the firmware by using DSU. Our firewall proxy needs more information than wget can provide, our normal command-line downloads require curl. Not all of our iDRACs are set up, which is another reason for using DSU. We have managed to download the DSU_17.03.00 part of the repository, but the --source parameter isn't being recognized. Even a simple 'dsu -g' is still trying to download the catalog, which of course fails. Installing the dsucatalog RPM in the downloaded repository doesn't help, as it specifies a directory structure that's incompatible with our local repo. Can we create a usable catalog from the repo we have? Or, perhaps, is there a way to create a config file that allows us to specify using curl plus our proxy settings that will allow DSU to access web-based repositories. Thanks, MJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20170324/a62c1995/attachment.html ------------------------------ _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge End of Linux-PowerEdge Digest, Vol 154, Issue 26 ************************************************ _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge
