Sponsored Content
Operating Systems Solaris LU - Reverting to original Boot Enviroment Post 302573297 by sonic72 on Monday 14th of November 2011 04:34:20 AM
Old 11-14-2011
Hi Vishal

What I did which seems to have sorted the problem is:

- I had previously been on LU patch 121430-67 which may well have been causing th problem. I'd removed that and install 121430-57 and there was still an issue.

So in the end I did the following:
- Remove 121430-57 and 121428-15 (LU zones patch-Remove the /etc/lutab
- Remove the /etc/lu directory
- Remove and reapply the lu packages from from 8/07 install media SUNWlucfg SUNWlur SUNWluu
- Apply 121430-57 and 121428-15
- Created current_be and Solaris10_910_be again.
- I was then able to activate and boot from both environments with no problem. I switched between the two a few times to make sure.

So now the next step is to carry out the Live Upgrade to 10 9/10.

Thanks for your assistance!

Paul
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help! - How do I compile C++ in UNIX Enviroment?

:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
Discussion started by: Kahuashi
3 Replies

2. UNIX for Dummies Questions & Answers

Files in work directory reverting to root ownership

Hi, I have a problem with a Unix server we do not adminster but have an application running on. The problem is that overnight, files in the /user4/work directory revert to root ownership. This causes problems as we cannot process the files. 1) What would be causing files to revert to root... (1 Reply)
Discussion started by: canman
1 Replies

3. UNIX for Dummies Questions & Answers

Enviroment variables...

Hi guys, thanks in advance for this easy answer.... :s Ok I am trying to output the enviroment varable for host in Solaris. I have tried $HOST, $HOST_NAME, $HOSTNAME carn't find it anywhere, does someone want to put me out of my misary and tell me what it is??? :confused: :eek: Thanks... (2 Replies)
Discussion started by: B14speedfreak
2 Replies

4. Shell Programming and Scripting

enviroment settings

What are the environment setting during a cron session? I have HP-UX and I want to send the output/file from a script to several e-mail addresses. I want to create an env-var to store the e-mail addresses in my .profile, but I do not know if it will be visible when a script is executed in a cron. (4 Replies)
Discussion started by: ALTRUNVRSOFLN
4 Replies

5. Solaris

Save enviroment variables

I need to save my enviroment variables,specially the $PATH.When I put it on .cshrc at next reboot I lost the configuration.How can avoid this?Thanks (2 Replies)
Discussion started by: bgf0
2 Replies

6. UNIX for Dummies Questions & Answers

setting enviroment variables help

Hello everyone, I am currently trying to program in java in unix platform for the first time, so far it is OK as long as I use class libraries which come with java distribution. Unfortunately when I try to use external libraries I have to use -classpath option which I rather not doing all the... (1 Reply)
Discussion started by: run123
1 Replies

7. Shell Programming and Scripting

Reverting to system Perl - downgrading

Not how I expected my weekend to go. My redhat server previously had perl 5.8.0 installed on it. Downloading a mysql utility, it asked for that and I blindly installed it. Broke a whole bunch of things. Now I'm hearing that I should revert back to my "system perl" because there may be further... (3 Replies)
Discussion started by: dheian
3 Replies

8. Shell Programming and Scripting

Killing all the process of a particular enviroment

Hi Folks, I have the below command that will kill all the process of an environment, lets say if I have reached to the location cont directory under which I want to kill multiple process so the command will be .... kill -9 `ps -ef | grep cont | grep -v grep | awk '{print $2}'` Now please... (4 Replies)
Discussion started by: punpun66
4 Replies

9. SCO

File permissions reverting back?

After running integrity -e ( may not have done this code thing correctly ) I got the following .io/bootdisk/boot group root should be backup mode 0600 should be 0440 .io/bootdisk/swap group root should be mem ... (3 Replies)
Discussion started by: bigbug
3 Replies

10. Shell Programming and Scripting

Question about enviroment variable.

Hi Gurus, I am stuck on below issue. in my .profile. I have two variable: x=abc$123 t=xyz$ when running env command, I got below: x=abc t=xyz$ my OS is SunOS 5.10 sun4v sparc SUNW,SPARC-Enterprise-T5220 I am wondering why t=xyz$ shows exactly value? I try below: (9 Replies)
Discussion started by: ken6503
9 Replies
luactivate(1M)						  System Administration Commands					    luactivate(1M)

NAME
luactivate - activate a boot environment SYNOPSIS
/usr/sbin/luactivate [-l error_log] [-o outfile] [-s] [BE_name] [-X] DESCRIPTION
The luactivate command is part of a suite of commands that make up the Live Upgrade feature of the Solaris operating environment. See live_upgrade(5) for a description of the Live Upgrade feature. The luactivate command, with no arguments, displays the name of the boot environment (BE) that will be active upon the next reboot of the system. When an argument (a BE) is specified, luactivate activates the specified BE. luactivate activates a BE by making the BE's root partition bootable. On an x86 machine, this might require that you take steps following the completion of luactivate. If so, luactivate displays the correct steps to take. To successfully activate a BE, that BE must meet the following conditions: o The BE must have a status of "complete," as reported by lustatus(1M). o If the BE is not the current BE, you cannot have mounted the partitions of that BE (using lumount(1M) or mount(1M)). o The BE you want to activate cannot be involved in an lucompare(1M) operation. After activating a specified BE, luactivate displays the steps to be taken for fallback in case of any problem on the next reboot. Make note of these instructions and follow them exactly, if necessary. Note - Before booting a new BE, you must run luactivate to specify that BE as active. luactivate performs a number of tasks, described below, that ensure correct operation of the BE. In some cases, a BE is not bootable until after you have run the command. The luactivate command performs the following tasks: o The first time you boot from a newly created BE, Live Upgrade software synchronizes this BE with the BE that was last active. (This is not necessarily the BE that was the source for the newly created BE.) "Synchronize" here means that certain system files and directo- ries are copied from the last-active BE to the BE being booted. (See synclist(4).) Live Upgrade software does not perform this syn- chronization after a BE's initial boot, unless you use the -s option, described below. o If luactivate detects conflicts between files that are subject to synchronization, it issues a warning and does not perform the syn- chronization for those files. Activation can complete successfully, in spite of such a conflict. A conflict can occur if you upgrade one BE or another to a new operating system version or if you modify system files (for example, /etc/passwd) on one of the BEs. o luactivate checks to see whether upgrade problems occurred. For example, packages required for the correct operation of the operating system might be missing. The command can issue a warning or, if a BE is incomplete, can refuse activation. o luactivate determines whether the bootstrap program requires updating and takes steps to update if necessary. If a bootstrap program changed from on operating release to another, an incorrect bootstrap program might render an upgraded BE unbootable. See install- boot(1M). o luactivate modifies the root partition ID on a Solaris x86 disk to enable multiple BEs to reside on a single disk. In this configura- tion, if you do not run luactivate, booting of the BE will fail. See fmthard(1M) and dkio(7I). The luactivate command requires root privileges. OPTIONS
The luactivate command has the following options: -l error_log Error and status messages are sent to error_log, in addition to where they are sent in your current environment. -o outfile All command output is sent to outfile, in addition to where it is sent in your current environment. -s Causes synchronization to occur (see DESCRIPTION) even if next boot of a specified BE is not the first boot of that BE. Use this option with great caution, because you might not be aware or in control of changes that might have occurred in the last-active BE. If using -s, take special care when booting to an earlier release of Solaris than what is installed on the last-active BE. For example, consider that the last-active BE contains Solaris 9 and you want to activate a BE that contains Solaris 2.6. If you forced synchroniza- tion with the -s option, the BE containing Solaris 2.6 might be synchronized with files that, while compatible with Solaris 9, might not work under Solaris 2.6. -X Enable XML output. Characteristics of XML are defined in DTD, in /usr/share/lib/xml/dtd/lu_cli.dtd.<num>, where <num> is the version number of the DTD file. OPERANDS
BE_name Name of the BE to be activated. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/lutab list of BEs on the system /usr/share/lib/xml/dtd/lu_cli.dtd.<num> Live Upgrade DTD (see -X option) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWluu | +-----------------------------+-----------------------------+ SEE ALSO
lu(1M), lucancel(1M), lucompare(1M), lucreate(1M), lucurr(1M), ludelete(1M), ludesc(1M), lufslist(1M), lumake(1M), lumount(1M), lure- name(1M), lustatus(1M), luupgrade(1M), lutab(4), attributes(5), live_upgrade(5) SunOS 5.10 20 Nov 2003 luactivate(1M)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy