How do I launch a root shell from within Eterm?

It is sometimes useful to spawn a UNIX shell from within an Eterm session. Here is the procedure:

  • From within your active Eclipse session in Eterm
  • Press F2
  • Press T to launch the TCL shell
  • Type the following to launch a UNIX shell:
    sh
  • Type the following to escalate the shell to superuser (root) mode:
    su -
  • Enter the root user’s password when prompted
  • You are now at the root (#) prompt
  • To exit, type:
    exit
    exit
  • Press ESC at the TCL (;) prompt
Note: the user logged into Eclipse must have access to TCL, and you must know the root password.

For further reference, view a screencast of this procedure.

Unable to display content. Adobe Flash is required.

How do I create a mksysb DVD backup on AIX?

Run:

smit mkdvd

When prompted to “Use an existing mksysb image?” choose “No”

When prompted for “DVD backup media format?” choose “1 ISO9660 (CD format)”.

Choose the following options:

                         Back Up This System to ISO9660 DVD

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  DVD-R or DVD-RAM Device                            []                           +

  mksysb creation options:
   Create map files?                                  yes                         +
   Exclude files?                                     yes                         +
  Disable software packing of backup?                 no                          +
  Backup extended attributes?                         yes                         +

  File system to store mksysb image                  [/u2/mksysb]                            /
     (If blank, the file system
       will be created for you.)

  File system to store DVD file structure            []                            /
     (If blank, the file system
       will be created for you.)

  File system to store final DVD images              []                            /
     (If blank, the file system
       will be created for you.)

  If file systems are being created:
    Volume Group for created file systems            [datavg]                     +

  Advanced Customization Options:
  Do you want the DVD to be bootable?                 yes                         +
  Remove final images after creating DVD?             no                          +
  Create the DVD now?                                 no                          +
  Install bundle file                                []                            /
  File with list of packages to copy to DVD          []                            /
  Location of packages to copy to DVD                []                           +/
  Customization script                               []                            /
  User supplied bosinst.data file                    []                            /
  Debug output?                                       no                          +
  User supplied image.data file                      []                            /

Press Enter to begin the system backup creation when you finish making selections. When the operation completes successfully, there is a file or files located in the /mkcd/cd_images directory.

Transfer the file to a workstation with DVD burner. You may transfer it via any method of your choosing (i.e. FTP, moving it to a samba share, etc.).

Create a bootable DVD from the ISO backup image using your DVD-burning software.

 

Resources:

 

 

How do I configure/Change IP address on AIX System

To configure/change the IP address you must be logged as a root user.

Prerequisites
Gather your network configuration information:
– IP address
– Host name
– Domain Name
– Subnetmask (optional)
– Name server (optional)
– Gateway address (optional)

On the command line,type the command:

smitty mktcpip

When prompted chose the Network interface you plan to use.

Available Network Interfaces                  
Move cursor to desired item and press Enter.                        
en0   03-08   Standard Ethernet Network Interface                 
en1   03-09   Standard Ethernet Network Interface                 
et0   03-08   IEEE 802.3 Ethernet Network Interface               
et1   03-09   IEEE 802.3 Ethernet Network Interface               

F1=Help                 F2=Refresh              F3=Cancel           
Esc+8=Image             Esc+0=Exit              Enter=Do            
/=Find                  n=Find Next

After you fill in the fields with the network information that you have collected, hit ENTER.

                        Minimum Configuration & Startup                       
 To Delete existing configuration data, please use Further Configuration menus
Type or select values in entry fields.                                        
Press Enter AFTER making all desired changes.                                 

[TOP]                                                   [Entry Fields]
* HOSTNAME                                        [eclipse]
* Internet ADDRESS (dotted decimal)     [172.22.30.100]
   Network MASK (dotted decimal)          [255.255.255.0]
* Network INTERFACE                              en0 
   NAMESERVER                                                                  
           Internet ADDRESS (dotted decimal) []                       
           DOMAIN Name                               []                       
 Default Gateway                                                             
  Address (dotted decimal or symbolic name) [172.22.30.1]            
       Cost                                          [0]                      
       Do Active Dead Gateway Detection?     no

The tool runs the mktcpip command in the background and makes the network available. Done!

How do I view or reset the attention indicator on my IBM AIX server?

The attention indicator (amber LED) is lit on an IBM AIX server to notify the administrator of potential problems. Once you have verified that no problems exist through running diagnostics or analysis of the errpt, you may reset this indicator.

To disable the attention indicator on your IBM AIX server:

  • Log into the server as root via Eterm (telnet), PuTTY (telnet, ssh), the HMC or the local console.
  • Launch diagnostics:
    diag
  • Press ENTER to continue
  • Select Task Selection
  • Select Identify and Attention Indicators
  • Select Set System Attention Indicator to NORMAL
  • Press ESC-7 or F7
  • Press ESC-0 to exit

For assistance with running diagnostics, or to answer any questions regarding your IBM server, you may contact IBM directly.

References:

How do I run diagnostics on my IBM AIX server?

To run diagnostics on your IBM AIX server:

  • Log into the server as root via Eterm (telnet), PuTTY (telnet, ssh), the HMC or the local console.
  • If you would like to display the previous diagnostic results, for instance, after noticing an amber attention indicator on the server:
/usr/lpp/diagnostics/bin/diagrpt -o
  • Note any on-screen messages regarding hardware problems to be reported to IBM
  • Press ENTER to continue
  • Use the arrow keys to select Diagnostic Routines and press ENTER
  • Use the arrow keys to select Problem Determination and press ENTER
  • If you are prompted to select resources, use the arrow keys to select All Resources and press ENTER
  • Press ESC-7 or F7 to begin the diagnostics
  • Follow the on-screen instructions to continue diagnostics
  • Note any on-screen messages regarding hardware problems
  • If you wish to cancel, press ESC-0 at any time

For assistance with running diagnostics, or to answer any questions regarding your IBM server, you may contact IBM directly.

References: