- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- what problem will be when using other's /var?
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
what problem will be when using other's /var?
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 03:56 AM
11-18-2010 03:56 AM
HP_UX 11.23, /var corrupted, copy /var from other server, will it be a serious mistake?
regards
Stephen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 04:17 AM
11-18-2010 04:17 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
You would be much, much better off to rebuild your /var from backup.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 04:27 AM
11-18-2010 04:27 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 04:47 AM
11-18-2010 04:47 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 05:31 AM
11-18-2010 05:31 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
fsck failed to recover /var, and no backup for restoring.
regards
Stephen
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 05:48 AM
11-18-2010 05:48 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
Since you have no backup (shame on you!), the only other possibility is to rebuild the machine from scratch, so it might be worth running with the copied /var until something goes wrong and then rebuild it.
It really comes down to a question of whether you can afford the downtime to rebuild it now or you would rather *try* to wait until later.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 05:57 AM
11-18-2010 05:57 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
Cheers!
Pankaj
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 06:46 AM
11-18-2010 06:46 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
How can u say that /var is corruted? did u getting any error?
Pls reply with all the information.
Fire these commands and give me the o/p
1.vgdispaly -v vg00
2.cmviewcl
3.lvlnboot -v
4.setboot
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 07:30 AM
11-18-2010 07:30 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
this copy job has been done, and the server looks not bad now. of course there were something weird happened.
but it seems that no one has ever explain what harm would do to the server using other's /var.
regards
Stephen
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 08:37 AM
11-18-2010 08:37 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
/var/opt contains files required by the various optional software packages you may have loaded on your system. /var/adm/sw contains the SD "database". Those two would be my main concern. If you have software that is loaded into /opt which expects to record data into /var/opt, it won't work. If you attempt to do anything involving SD (applying or removing patches, loading software, etc), you will have difficulty if/because things don't match between what is loaded in /opt and what is recorded in the database.
I'm sure the list goes on, but that's the start.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 09:37 AM
11-18-2010 09:37 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 09:46 AM
11-18-2010 09:46 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
Having two completely identical machines is virtually impossible and the differences might cause problems for you some day.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2010 10:30 AM
11-18-2010 10:30 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
Also be aware that your btmps and wtmps will not be accurate since they were copied from another server.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-19-2010 06:47 AM
11-19-2010 06:47 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
Any softwares that uses /var might get some trouble. If there is any software product configuration file customized to the system will be replaced with different settings.
As far as Performance Agent is concerned, it would start appending data on /var/opt/perf/datafiles (copied from identical box).
I don't see any issue with glance execution. It should be fine.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-19-2010 10:53 AM
11-19-2010 10:53 AM
Solution> HP_UX 11.23, /var corrupted, copy /var from
> other server, will it be a serious mistake?
Yes, it would be a serious mistake to copy a /var from another system to this system.
In a mc/sg cluster were the 2 nodes are alike, the better option would have been, when no rootdisk backup is available, to take a "ignite backup" of the "good" mc/sg node rootdisk and restore/clone that to the "bad" mc/sg rootdisk.
The problem is offcourse all patches/products/INDEX file that are beneath /var/adm/sw and that must be consistent with the binaries that are "installed on" the system.
If there are now inconsistencies between what is installed "on" the system and the information that is found in "/var/adm/sw" then there will probably be problems in the future with installing, new patches/product updates.
But anyway now that its done anyway, do a "swverify \*" , on the system that has the /var "copied to", and see how consistent the information in /var/adm/sw is, with what is installed on the system.. (and compare the swverify \* output, found in /var/adm/sw/swagent.log, on the system that has the /var "copied to", with a swverify \* output on the node were the /var filesystem is "copied from".. errors that come in both swagent.log can then be discarded as not interesting.. the others that come on the system were the /var is "copied to" and not on the system were the /var is "copied from" are the errors that probably will give problems in the future)
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-20-2010 12:32 AM
11-20-2010 12:32 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
Like the wizard said, /var/adm/sw might create a problem especially your installed product database from which all your sw* commands work (/var/adm/sw/products). And recovering a curropted IPD is not an easy task. And what about the troubleshooting and security aspects. As of my knowledge a successful attempt on the adoptive node or an unsuccessful attempt will not be matching on the primary and adoptive nodes as the last and lastb commands are basic and integral commands for security aspects.
Regards
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-23-2010 09:33 AM
11-23-2010 09:33 AM
Re: what problem will be when using other's /var?
Re: what problem will be when using other's /var?
regards
Stephen
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP