HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Need to make a tool
Operating System - Linux
1829347
Members
4738
Online
109991
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 08:52 AM
06-20-2007 08:52 AM
Need to make a tool
I need to make a tool ( through the use of unix scripts ) which can shutdown the app and install the application and start it. Also additional capabilities of rolling back the install if the need be.
Has someone done similar activity and what new ideas can you suggest in terms of additional features , look etc ...please let me know.
Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 09:19 AM
06-20-2007 09:19 AM
Re: Need to make a tool
Your problem description is extremely vague.
But in general it goes like this:
use the application vendor provided method to stop the application
e.g.
/sbin/init.d/myappcontrol stop
copy the contents of application directory to an archiving spot
e.g. cp -R /my/application/dir /my/archive/dir/todaysdate
use a script provided by your vendor or swinstall to install the new version of the application
use the application vendor provided method to start the application
e.g.
/sbin/init.d/myappcontrol start
If the doo-doo hits the fan, copy the contents of the archive directory you just created over to the application directory, provided this can restore the old version functionality. Sometimes this is not possible, due to less than perfect coding skills of the application developers and packagers.
I am sure if you can provide the name of the application, someone who has done what you are looking for, can help you with more accurate terms.
HTH
But in general it goes like this:
use the application vendor provided method to stop the application
e.g.
/sbin/init.d/myappcontrol stop
copy the contents of application directory to an archiving spot
e.g. cp -R /my/application/dir /my/archive/dir/todaysdate
use a script provided by your vendor or swinstall to install the new version of the application
use the application vendor provided method to start the application
e.g.
/sbin/init.d/myappcontrol start
If the doo-doo hits the fan, copy the contents of the archive directory you just created over to the application directory, provided this can restore the old version functionality. Sometimes this is not possible, due to less than perfect coding skills of the application developers and packagers.
I am sure if you can provide the name of the application, someone who has done what you are looking for, can help you with more accurate terms.
HTH
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 09:44 AM
06-20-2007 09:44 AM
Re: Need to make a tool
Hi Hunki:
To understand and follow the standard HP-UX startup and shutdown paradigm see this (still valid) whitepaper:
http://docs.hp.com/en/934/startup.pdf
...or reference the 'rc(1M)' manpages:
http://docs.hp.com/en/B2355-60105/rc.1M.html
For creating an installation and removal mechanism, you should look at the Software Package Builder (SPB) product:
http://docs.hp.com/en/5187-4539/5187-4539.pdf
http://www.docs.hp.com/en/SPB/
Regards!
...JRF...
To understand and follow the standard HP-UX startup and shutdown paradigm see this (still valid) whitepaper:
http://docs.hp.com/en/934/startup.pdf
...or reference the 'rc(1M)' manpages:
http://docs.hp.com/en/B2355-60105/rc.1M.html
For creating an installation and removal mechanism, you should look at the Software Package Builder (SPB) product:
http://docs.hp.com/en/5187-4539/5187-4539.pdf
http://www.docs.hp.com/en/SPB/
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP