I have created a helper menu script to extend the delivered psadmin
program. The script is called psadmin-plus
and I have created a repository for it on psadmin.io’s GitHub account. This was built as a self-study side project while I was on paternity leave this summer. I wanted to learn a little more about bash scripting and how to use git, and at the same time try to make a useful tool for myself and others to use. As of this writing, the tool is usable but far from complete. At the moment it only has support for Linux. I hope to make improvements over time and would invite others to summit issues on GitHub for questions, bugs or enhancement ideas. If anyone wants to contribute themselves, that would be great too!
There are two main uses for psadmin-plus
. The first is actually calling the delivered psadmin
program. The value add here is that it will auto-discover all your PS_CFG_HOME
directories for you and source environment variables as needed. This all assumes you follow a few conventions, which should be documented in the GitHub readme or wiki pages. As mentioned in a previous blog post, this is useful if you use a single user to run your PeopleSoft environments. If you have a different user for each environment and source at login, then this feature doesn’t really help.
The second use is executing actions against multiple PS_CFG_HOME
s and domains at once. An example would be to stop all Process Scheduler domains on a machine. With this tool, you can do this with a few key strokes. You also have the option to execute now or later. If you select later, a script will generate to file. This allows you to run at a future time, maybe during a maintenance window. Again, there are a few assumed conventions that must be followed.
If you want to try it out for yourself, I have created a setup script to run against a PeopleSoft Image(VBox or Linux DPK install only). This will create a few extra PS_CFG_HOMEs
and domains for you to play with in the menu. You can find instructions in the GitHub readme.
Below is a quick demo of psadmin-plus
in use. For more information please see GitHub.
Pingback: psadmin-plus 2.0
Hi,
This sounds like a great tool! I’ve a quick question:
Can this be used for different PS_HOME on different drives but, on the same server?
(OR) Can I run 3 instances of it using one for each domain?
Thanks!
Hi Kyle/Team,
I’ve tried installing in our Linux OS, got successful message but not seeing any files/folder inside the base folder.
Have Ruby running as well.
rpm -qa | grep -i ruby
ruby-libs-2.0.0.648-36.el7.x86_64
rubygem-rdoc-4.0.0-36.el7.noarch
rubygem-psych-2.0.0-36.el7.x86_64
rubygem-bigdecimal-1.2.0-36.el7.x86_64
ruby-2.0.0.648-36.el7.x86_64
rubygem-io-console-0.4.2-36.el7.x86_64
rubygem-json-1.7.7-36.el7.x86_64
rubygems-2.0.14.1-36.el7.noarch
ruby-irb-2.0.0.648-36.el7.noarch
/opt/puppetlabs/puppet/bin/gem install psadmin_plus –user-install
Successfully installed psadmin_plus-2.0.3
Parsing documentation for psadmin_plus-2.0.3
Done installing documentation for psadmin_plus after 0 seconds
1 gem installed
pwd
/nfs/fs/psadmin_plus
ls -altr
total 8
drwxr-xr-x 2 psoft psoft 152 Nov 2 05:55 .
drwxrwxr-x 41 psoft psoft 8192 Nov 2 05:55 ..
Kindly help.