Friday, 12th March 2010.

Posted on Tuesday, 3rd November 2009 by admin

This scenario applies only to the update or installation of optional software products. If you’re AIX 5L Version 5.3 BOS installation was unsuccessful, Note: It is recommended that you first perform a system backup before installing software updates to ensure safe system recovery.

The cleanup procedure attempts to revert the update to its previous state. For example, when cleaning up an update that was interrupted in the COMMITTING state, the cleanup procedure attempts to return the update to its APPLIED state.

If an update installation is interrupted, run the lslpp -l command to see the current state of the update. For example, if you run lslpp -l on an interrupted update installation, it might report the update status as APPLYING rather than APPLIED.

If the interruption occurs during the initial state of an installation, then the cleanup procedure attempts to delete the installation entirely and restore the previous version of the product (if there is one). When the previous version is restored, it becomes the active version. When the previous version cannot be restored, the software is listed by the lslpp -l command as BROKEN.

When the product is deleted or BROKEN, you can attempt to reinstall the software. Any product in the BROKEN state cannot be cleaned up; it can only be reinstalled or removed.

To initiate a cleanup procedure using SMIT:

  1. Type smit maintain_software on the command line.
  2. Select Clean Up After Failed or Interrupted Installation and press Enter.

To initiate a cleanup procedure from the command line, type installp -C on the command line and press Enter.

If prompted to reboot (restart) the system after running the cleanup procedure, then do so now.

If you get a message indicating that no products were found that could be cleaned up, you might have executed the cleanup procedure when it was not needed. Try your installation again.

Posted in How to's | Comments (0)

Posted on Monday, 26th October 2009 by admin

• Mirror the logical volumes:

a. If you don’t care what disks the lvs get mirrored to, execute

mirrorvg rootvg

b. Otherwise:

for lv in $(lsvg -l rootvg | grep -i open/syncd | \
grep -v dumplv | awk ‘{print $1}’)
do
mklvcopy ${lv} 1 ${disk}
done

• Change the quorum checking if you did not use mirrorvg:

chvg -Q n rootvg


• Run bosboot on the new drive to copy boot files to it:

bosboot hdiskx


• Update the bootlist with the new drive:

bootlist -m normal hdisk0 hdisk1

• Reboot the system to enable the new quorum checking parameter

Posted in How to's | Comments (0)

Posted on Thursday, 22nd October 2009 by admin

Step 1. Prepare for the alternate disk installation

1.   Check the status of physical disks on your system. Type

Output similar to the following displays:

You can use hdisk1 as our alternate disk because no volume group is assigned to this physical disk.

2.   Check to see if the alt_disk_install fileset has been installed by running the following

(Note: This command is obsolete in AIX 5L Version 5.3. It has been replaced by alt_disk_copy, lt_disk_mksysb,

and alt_rootvg_op.):

Output similar to the following displays if the alt_disk_install fileset is not installed:

3.   Using Volume 1 of the AIX installation media, install the alt_disk_install fileset by running the following:

Output similar to the following displays:

4.   Create a user-defined bundle called /usr/sys/inst.data/user_bundles/MyBundle.bnd that contains the following filesets:

5.   Create the /home/scripts directory:

6.   Create a user-defined customization script called AddUsers.sh in the /home/scripts directory:

7.   Edit /home/scripts/AddUsers.sh to contain the following lines:

Step 2. Perform the alternate disk installation and customization

1. To clone the rootvg to an alternate disk, type the following at the command line to open the SMIT menu:

2.   Select hdisk1 in the Target Disk to Install field.

3.   Select the MyBundle bundle in the Bundle to Install field.

4.   Insert Volume 1 of the installation media.

5.   Type /dev/cd0 in the Directory or Device with images field.

6.   Type /home/scripts/AddUsers.sh in the Customization script field.

7.   Press Enter to start the alternate disk installation.

8.   Check that the alternate disk was created by running the following:

Output similar to the following displays:

Step 3. Boot from the alternate disk

1.   By default, the alternate disk installation process changes the boot list to the alternate disk. To check this, run the following:

Output similar to the following displays:

2.   Reboot the system. Type:

The system boots from the boot image on the alternate disk (hdisk1).

Step 4. Verify the operation

1.   When the system reboots, it will be running off the alternate disk. To check this, type the following:

Output similar to the following displays:

2.   Verify that the customization script ran correctly by typing the following:

Output similar to the following displays:

3.   Verify that the contents of your software bundle was installed by typing the following:

Output similar to the following displays:

Tags: , , ,
Posted in How to's | Comments (0)

Posted on Thursday, 22nd October 2009 by admin

Step 1. Boot from the AIX product CD

  1. nsert the AIX Volume 1 CD into the CD-ROM device.
  2. Make sure all external devices attached to the system, such as CD-ROM drives, tape drives, DVD drives, and terminals, are turned on. Only the CD-ROM drive from which you will install AIX should contain the installation media.
  3. Power on the system.
  4. When the system beeps twice, press F5 on the keyboard or 5 on an ASCII terminal. If you have a graphics display, you will see the keyboard icon on the screen when the beeps occur. If you have an ASCII terminal, you will see the word keyboard when the beeps occur.
  5. Select the system console by pressing F1 or 1 on an ASCII terminal and press Enter.
  6. Select the English language for the BOS installation menus by typing a 1 in the Choice field. Press Enter to open the Welcome to Base Operating System Installation and Maintenance screen.
  7. Type 2 to select 2 Change/Show Installation Settings and Install in the Choice field and press Enter.

Step 2. Set and verify BOS installation settings

  1. In the Installation and Settings screen, verify that the installation settings are correct by checking the method of installation (new and complete overwrite), the disk or disks you want to install, the primary language environment settings, and the advanced options.If the default choices are correct, type 0 and press Enter to begin the BOS installation. The system automatically reboots after installation is complete. Go to Step 4. Configure the system after installation.Otherwise, go to sub-step 2.
  2. To change the System Settings, which includes the method of installation and disk where you want to install, type 1 in the Choice field and press Enter.
  3. Type 1 for New and Complete Overwrite in the Choice field and press Enter. The Change Disk(s) Where You Want to Install screen now displays.
  4. In the Change Disk(s) Where You Want to Install screen:
  • Select hdisk0 by typing a 1 in the Choice field and press Enter. The disk will now be selected as indicated by >>>. To unselect the destination disk, type the number again and press Enter.
  • To finish selecting disks, type a 0 in the Choice field and press Enter. The Installation and Settings screen now displays with the selected disks listed under System Settings.

5.  Change the Primary Language Environment Settings to English (United States). Use the following steps to change

the Cultural Convention, Language, and Keyboard to English.

  • Type 2 in the Choice field on the Installation and Settings screen to select the Primary Language Environment Settings option.
  • Type the number corresponding to English (United States) as the Cultural Convention in the Choice field and press Enter.
  • Select the appropriate keyboard and language options.

6.  Verify that the selections are correct in the Overwrite Installation Summary screen, as follows:

7.  Press Enter to begin the BOS installation. The system automatically reboots after installation is complete.

Step 3. Configure the system after installation

  1. After a new and complete overwrite installation, the Configuration Assistant opens on systems with a graphics display. On systems with an ASCII display, the Installation Assistant opens.
  2. Select the Accept Licenses option to accept the electronic licenses for the operating system.
  3. Set the date and time, set the password for the administrator (root user), and configure the network communications (TCP/IP).
    Use any other options at this time. You can return to the Configuration Assistant or the Installation Assistant by typing  smitty assist at the command line.
  4. Select Exit the Configuration Assistant and select Next. Or, press F10 or ESC+0 to exit the Installation Assistant.
  5. If you are in the Configuration Assistant, select Finish now. Do not start the Configuration Assistant when restarting AIX and select Finish.

At this point, the BOS Installation is complete, and the initial configuration of the system is complete.

Tags: , , ,
Posted in How to's | Comments (0)

Posted on Thursday, 22nd October 2009 by admin

1. backup data you intend to migrate
2. unmount fs where lv resides
3. copy the source logical volume to the desired volume group with the cplv
command.
For example, where myvg is the NEW volume group and mylv is the name of
the user’s logical volume, enter:

cplv -v myvg mylv

4. All JFS require a log device. If JFS log does not already exists on the
new volume group,

mklv -t jfslog myvg 1

This will return a new jfslog such as loglv00. This will need to be
reformatted with the
logform command to function as a JFS log.

logform /dev/loglv00

5. Change the filesystem to reference a log device that exists in the new vg
and the new
logical volume with the chfs command.

For example where myfilesystem is the name of the user’s filesystem,
enter:

chfs -a dev=/dev/lv00 -a log=/dev/loglv00 /myfilesystem

6. RUn fsck to ensure filesystem integrity,

fsck -p /dev/lv00

7. Mount the file system. For example, where myfilesystem is the name of the
user’s
file system, enter:

mount /myfilesystem

At this point the migration is complete and any applications or users can
now access the
data in this filesystem. To change the logical volume name, proceed to
step 8. Note: If  you receive errors from the preceding step do not continue, contact AIX
support center.

8. Remove the source logical volume with the rmlv command:

rmlv mylv

9. Rename and reset any needed attributes on the new logical volume with the
chlv or chmod commands.

For example, where mylv is the name of the user’s logical volume, enter:

chlv -n mylv lv00

Tags: , ,
Posted in How to's | Comments (0)

Posted on Wednesday, 21st October 2009 by admin

1.Log in to the system

2.Configure the system to boot from CD ROM by issuing below command :

  • bootlist –m normal cd0 hdisk0
  • reboot the system by issuing
  • shutdown –Fr now

3.On SMS options press 1 until you are promted to Language Keyboard Selection Menu :

  • Choose option #3 and press Enter
  • Input Admin Password and press Enter to Continue
  • Let the system boot from CDrom.

4.On Please Define System Console Menu

  • Press F1 and Enter
  • On the next menu, choose option #1 for English and press Enter

5.On Base Operating  System Installation and Maintenance

  • Choose option #1 to Change/Show Installation Setting and Install

6.On the Installation and Settings Menu

  • Choose option#1 for System Settings
    • Choose option #1 for New and Complete Overwrite and press Enter
    • Type 0 to continue. You will be sent back to the Installation and Settings Menu.
    • Choose option #3 for More Options
    • On the Install options, choose #2 to Enable Trusted Computing Base to YES
    • Type 99 then press Enter to go back to the previous menu.
    • Again, Type 99 then press Enter to go back to Base Operating System Installation Menu

7.On Base Operating  System Installation and Maintenance

  • Choose option #3 for Start Maintenance Mode for System Recovery then press Enter

8.On the Maintenance Menu

  • Choose option #4 to Install from a System Backup

9.On Choose Myksysb Device

  • Choose your Tape device (eg. /dev/rmt0)
  • Type 0 to continue the Installation

Tags: , , , ,
Posted in How to's | Comments (0)

About