The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.
To create a package profile from the set of packages that are currently installed on a system, use the system_createpackageprofile command.
spacecmd {SSM:0}> system_createpackageprofile svr1.mydom.com -n svr1-profile1 -d "svr1 profile 1"
INFO: Created package profile 'svr1-profile1'To compare the packages installed on this system with a stored package profile for this system or for another system, use the system_comparepackageprofile command.
spacecmd {SSM:0}> spacecmd {SSM:0}> system_comparepackageprofile svr2.mydom.com svr1-profile1
svr2.mydom.com:
Package This System Other System Difference
------- ----------- ------------ ----------
zsh 4.3.10-9.el6 None Only hereTo compare the packages installed on this system with those installed on another system, use the system_comparepackageprofile command.
spacecmd {SSM:0}> spacecmd {SSM:0}> system_comparepackages svr1.mydom.com svr2.mydom.com
svr2.mydom.com:
Package This System Other System Difference
------- ----------- ------------ ----------
ypbind 1.20.4-30.el6:3 None Only here
zsh None 4.3.10-9.el6 Only thereTo display the details of an installable package, use the package_details command.
spacecmd {SSM:0}> package_details zsh
...
Name: zsh
Version: 4.3.10
Release: 9.el6
Epoch:
Arch: x86_64
File: zsh-4.3.10-9.el6.x86_64.rpm
Path: redhat/1/f5a/zsh/4.3.10-9.el6/x86_64/f5a...59c/zsh-4.3.10-9.el6.x86_64.rpm
Size: 2238632
MD5: None
Installed Systems: 1
Description
-----------
The zsh shell is a command interpreter usable as an interactive login
shell and as a shell script command processor. Zsh resembles the ksh
shell (the Korn shell), but includes many enhancements. Zsh supports
command line editing, built-in spelling correction, programmable
command completion, shell functions (with autoloading), a history
mechanism, and more.
Available From Channels
-----------------------
oraclelinux6-x86_64
...To install a package on a system, use the system_installpackage command.
spacecmd {SSM:0}> system_installpackage svr1.mydom.com zsh
svr1.mydom.com:
** Generating package cache **
zsh-4.3.10-9.el6.x86_64
Install these packages [y/N]: y
INFO: Scheduled 1 system(s)
spacecmd {SSM:0}> schedule_list
ID Date C F P Action
-- ---- --- --- --- ------
401 20150618T15:22:51 0 0 1 Package Install
...
spacecmd {SSM:0}> schedule_details 401
ID: 401
Action: Package Install
User: swadmin
Date: 20150618T15:22:51
Completed: 0
Failed: 0
Pending: 1
Pending Systems
---------------
svr1.mydom.comTo list the package upgrades that are available for a system, use the system_listupgrades command.
spacecmd {SSM:0}> system_listupgrades svr1.mydom.com
bash-4.1.2-29.el6.0.1.x86_64
wget-1.12-5.el6_6.1.x86_64To upgrade the packages on a system, use the system_upgradepackage command.
spacecmd {SSM:0}> system_upgradepackage svr1.mydom.com *
svr1.mydom.com:
bash-4.1.2-29.el6.0.1.x86_64
wget-1.12-5.el6_6.1.x86_64
Install these packages [y/N]: y
INFO: Scheduled 1 system(s)To remove a package from a system, use the system_removepackage command.
spacecmd {SSM:0}> system_removepackage svr1.mydom.com busybox*
svr1.mydom.com:
busybox-1.15.1-20.el6:1.x86_64
Remove these packages [y/N]: y
INFO: Action ID: 403
INFO: Scheduled 1 system(s)
