You are on page 1of 3

SD-UX IPD(Installed Product Database) is a special instance of SD catalog & will be fo und in /var/adm/sw/products to list each bundle and

product in IPD # ll /var/adm/sw/products ============= Control Directories (contains ctrl information): ifiles - IPD pfiles - Bundle and product dfiles - Depot ============== Master index file: Containing all value pairs in location: /var/adm/sw/products/INDEX Session files: Invocation options, source information and target hosts are saved before command execution commences. Each session is saved in $HOME/.sw/sessions/{ command}.last and overwritten each time. From CUI sessions can be saved by "swinstall or swcopy -C session_file" default location for session file is "$HOME/.sw/sessions/" To re-execute saved session: Use Recall session(GUI) Use "swinstall or swcopy -S session_file"(CUI) Precedance values considered(Doubt) NOTE: Use of session files is not recommended with swremove because the session file could include software selections that you do not want included in the removal o peration. Templates to lists options - "/usr/lib/sw/sys.defaults" Options listed as comments in "/var/adm/sw/defaults" or personal defaults file ( $HOME/.sw.defaults). Option values can be specified using "[command.]option=value" ================================ Rules that governs this options:

These rules govern the way the defaults work: 1. Option values in /usr/lib/sw/sys.defaults is only usable as a template for copying to other option files. 2. Option values in /var/adm/sw/defaults file affect all users in a system. 3. Option values in your personal $HOME/.sw.defaults file affect only you and no t the entire system. 4. Option values in a session file affect activities only for that session and r evert when that session is completed. 5. Option values changed on the command line affect only that activity. ================================ The values can be overridden by "-x option=value" After changing option values need to restart daemon using "/usr/sbin/swagentd r"

SD-UX Commands: ####################################### 1.swinstall (GUI also available) Loads software from source depot to a target system synopsis - swinstall [-i] [-p] [-v] [-s source] [-x option=value]...[s/w _selections] i - Interactive user interface p - Previews the installation v - verbose s - Specifies the depot(source) containing sw to be installed x Option=value - Sets the specified value to that option (Patch related commands have seperate options list) s/w_selections - one or more software specifications 2.swcopy (GUI also available) Copies software from one depot to another. Note: automatically registers (enables remote access to) any depot that it creat es and do not need to use the swreg command on depots created by swcopy. synopsis - swcopy [-i] [-p] [-v] [-s source] [-x option=value] [s/w_sele ctions] [@ target_selection] i - Interactive user interface p - Previews the installtion operation v - Verbose mode s - Specifies the depot (source) containing the software to be c opied x option=value - Sets the specified value to that option (Patch related commands have seperate options list) s/w_selections - One or more software specifications target_selections - The absolute path name (target directory loc ation) host:/directory (host - name, domain name or internet ad dress)

3.swremove (GUI also available)

Deletes installed software from system or removes from depots synopsis - swremove [-i] [-d] [-p] [-v] [-x option=value] [s/w_selection s] [ @ target] 4.swlist (GUI also available) Provides information on software installed on a system or located on a depot. * whats installed on system * what software is in a depot * check attributes of software * browse the patch documentation * what depots are available on remote systems synopsis - swlist [-i] [-d] [-v] [-a attribute] [-l level] [-s source] [ s/w_selections] [ @ target] i - Invokes GUI/TUI d - lists sw depots instead of sw currently installed on target system v - if -a then specify one or more selected attributes in "Keywo rd Value" format else all attributes for an object a attribute s source s/w_selections - One or more software specifications target - The depot to be listed. If not specified, the target is assumed to be the system itself l - specifies the details of the swlist file, fileset, product, bundle, depot, patch, category, default(no level specified) 5.swreg 6.swmodify 7.swpackage 8.swverify 9.swconfig 10.cleanup 11.show_patches #######################################

You might also like