Operating System - HP-UX
1847897 Members
3852 Online
104021 Solutions
New Discussion

can any one help me to safe my server from destroing

 
SOLVED
Go to solution
mohamed_42
Frequent Advisor

can any one help me to safe my server from destroing

hi every one .....
i want to describe what i want to do ...
i have this server"HP-UX SERVER B.11.11 U 9000/800" and i want to install oracle 9i ,to install it i need to install some of patches to system to be ready ,i am listen from some beady many of warring about the problem that incorrect patches makes in the system , for that i need to safe my system from destroying ,can any one help me to do that with easer method and how can i restore it if it destroy "it is big problem".
note : i don't have tape drive but i have R/W DVD .
27 REPLIES 27
Sanjay_6
Honored Contributor

Re: can any one help me to safe my server from destroing

Hi,

you can install the patches from the HP support plus cd or you can download standard patch bundles from this link. Do remember this may not have some latest patch that were released after the bundle was released.

http://www6.itrc.hp.com/service/patch/locateBundles.do

Or you can do a patch analysis of your system and then download the patches or download a ftp script that will download and build a patch depot which you can use to install the patches.

http://www6.itrc.hp.com/service/patch/assessSystemsPage.do

You may still have to download / install a patch or two that may be specific to the version of application / oracle you are installing. The documentation for the oracle install will probably list the patches you may need.

Also check out the patch management guide,

http://www.docs.hp.com/en/5991-0686/index.html

Hope this helps.

Regds


Kent Ostby
Honored Contributor

Re: can any one help me to safe my server from destroing

mohamed --

1) Back up your key data first.

2) If you have a spare disk, install and boot off of that disk instead of your current disk.

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

but i did not have any knowledge with any method of backup ...
How can i do a backup for my system first step by step??

How can do analysis for any patch that will be install.??
Simon Hargrave
Honored Contributor
Solution

Re: can any one help me to safe my server from destroing

You should use Ignite/UX to take a full backup of the server. As you say you don't have a tape drive you will need to do this over the LAN to another HPUX server (I assume you have more than one).

An Ignite/UX backup is the only way to have true full recovery.

You can get the software from here: -

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB

Make sure you have installed the latest pax patch first (PHCO_30420 is the latest recommended): -

http://www5.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_30420&context=hpux:800:11:11

Then read the Ignite/UX admin guide page on make_net_recovery: -

http://docs.hp.com/en/B2355-90872/index.html

Bear in mind that this is more work as you have no tape drive - you will need to setup the other HPUX server as an Ignite server, which you wouldn't have to do if you had a tape drive.
Kevin O'Donovan
Regular Advisor

Re: can any one help me to safe my server from destroing

Hi Mohamed,

If you go into the itrc.hp.com, there is an option for the patch/firmware database, in which you can enter a patch name, and it will come back giving you the selected patch name, the recommended patch, and the latest patch. If you're not sure, go for the recommended patch.

I think you might be overly concerned about the patches, in general there are critical warnings in patches or new problems introduced, but if you check your patches though the patch database you should be fine.

To backup your system, if you have a tape drive on the system you could create an Ignite backup onto tape. If worst comes to the worst you can then boot from the Ignite tape and restore your system to where it was when you took the backup. Check the Ignite manuals (docs.hp.com) for details.

hope that helps,
Kevin.
Kevin O'Donovan
Regular Advisor

Re: can any one help me to safe my server from destroing

Oop, sorry, missed that you don't have a tape drive. Do a network ignite backup instead then, if you have another server you can use to put the Ignite image onto.

Simon Hargrave
Honored Contributor

Re: can any one help me to safe my server from destroing

Another method, if you have mirrored root disks then you could use lvsplit to split the mirrored logical volumes off. You can then patch freely, knowing you can reinstate the "split" logical volumes if you require.
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

sorry .... but i don't have anather hp server on network .....and i dont have a tape drive ...dose any one help my to backup the important files or folders that may be effected when the wrong patch is istalled ,dose any one known these files???
How can i test the patch it's does not effect my system..???
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

Okay - you need HP-UX dvd+rw-tools:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXDVDWRITE

Also you will need a ReWritable DVD (get more then 1).

Then you can backup files to the DVD...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

yes i have dvd R/w but how can i do a backup through it.
which command should i can use to backup my system ???
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

There should be docs in:

The README and Getting Started documents, as well as, other supporting documentation is found in /usr/local/doc/dvd+rw-tools.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

You can use the growisofs command to write to the dvd:

Example:

growisofs -Z /dev/rdsk/c#t#d# -r -U -max-iso9660-filenames /etc

overwrites media contents with the content of /etc

growisofs -M /dev/rdsk/c#t#d# -r -U -max-iso9660-filenames /tmp

adds the content of /tmp to media, intermixed with the previously existing content

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

I did not know how can i thank you mr. jeoff . but need to small thing can i please ....
What is the files that i should backup in my system , or there is a command can make a full backup to my system in my DVD R/W.
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

Well - what to backup - just about everything...though it might not fit on the same dvd...

Do a bdf - look at the file systems...

if total is less then 5.7 GB, then do all of /

You will want at least:

/etc
/sbin
/stand
/home
/opt
/usr
/var

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Vic S. Kelan
Regular Advisor

Re: can any one help me to safe my server from destroing



Hi Mohammed,

You can try "growisofs -Z /dev/rdsk/c#t#d# -r -U -max-iso9660-filenames /"

This will backup everything under root directory, the entire system. You will still of course need to reinstall your OS and then copy over necessary files from the DVD.....with ignite you wouldnt need that step....

Make sure you have enough space though, with a bdf or df -k
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

sorry but growisofs command not found in my system (HP-UX SERVER B.11.11 U 9000/800)
WHAT IS THE SOLUTION TO I CAN WRITE TO A DVD??????
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

HI EVERY BODY .....
I NEED A HELP .....GROWISOFS COMMAND CAN'T WORK ON MY SYSTEM WHY?????
HOW CAN I SAVE MY BACKUP ON MY DVD?
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

Should be in /usr/local/bin:

/usr/local/bin/growisofs

if you installed the package:

DVD_RW-TOOLS_5.18_HP-UX_B.11.11_32+64.depot

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

how can i install this pakege and from ware ... i thenk when you see me u will fight me becouse for my quistion....but iam sorry jeoff i need it very important...sorry
Patrick Wallek
Honored Contributor

Re: can any one help me to safe my server from destroing

You can get the package from here:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXDVDWRITE

Installation instructions should be there as well.
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

Look up....way up - see my earlier post:

May 24, 2005 18:49:10 GMT unassigned

Just scroll up... :)
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
mohamed_42
Frequent Advisor

Re: can any one help me to safe my server from destroing

hi....
i am install the DVD_R/W on my server succefly . but when i enter a blank DVD media and exe. the command the out put come :

#growisofs -Z /dev/rdsk/c0t0d0 -r -U -max-iso9660-filenames /

the output will:

:-( unable to open ("dev/rscsi/c0t0l0",O_RDONLY):NO such file or Directory
:-! consider 'mknod /dev/rscsi/c0t0l0 c 203 0x000002;chmod 0600 /dev/rscsi/c0t'

then i do :
#mknod /dev/rscsi/c0t0l0 c 203 0x000002
#chmod 0600 /dev/rscsi/c0t
chmod:can't access /dev/rscsi/c0t

then i repeat first step but with /etc :
#growisofs -Z /dev/rdsk/c0t0d0 -r -U -max-iso9660-filenames /etc
the outpu came:
:-(/dev/rdsk/c0t0d0 : media is not recognized as recordable DVD : 0
the media is "BenQ""DVD-R""4.7 GB""2x.4x"
what is the solution for this problem my friends i need to back up my folder to My DVD.
Dino_4
Frequent Advisor

Re: can any one help me to safe my server from destroing


Hi,

do a

# ioscan -fnCdisk

What is the output??

Somewhere should be the model and type of your DVD-Write, also the word CLAIMED should stand there.
Underneath devicefiles pop up.
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0

Is this all correct?
Can you post this output?
Geoff Wild
Honored Contributor

Re: can any one help me to safe my server from destroing

See /usr/local/doc/dvd+rw-tools/GettingStarted.txt

If c0t0d0 is indeed your DVD drive,
ls -l /dev/rdsk /dev/rscsi
and look for a pass through device file with a minor number that
matches the minor number of the character device file.

If you do not have the correct /dev/rscsi device file, you can
create it as follows:

Using the major number 203 and the minor number from the
character device file associated with the DVD+RW drive (e.g.
0x0XYZ00), execute the following mknod command, substituting
the correct value of X, Y and Z:

$ mknod /dev/rscsi/cXtYlZ c 203 0x0XYZ00
^ ^ ^ ^^^
Please note that the pass through device file naming
convention required by the dvd+rw-tools software uses an 'l'
to specify logical unit rather than a 'd' for device unit.


Once that is done, then you can write:

growisofs -Z /dev/rdsk/c#t#d# -r -U -max-iso9660-filenames /

Again, good docs in /usr/local/doc/dvd+rw-tools

Keep us up to date - as I don't have a DVD RW drive to test myself...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.