Tuesday, December 1, 2020

server’s logs | unmounted during shutdown & remounted during boot

 Filesystems are unmounted during shutdown and remounted during boot. 

 fuser -cux /abc

URL 

ibm information 

Monday, November 16, 2020

shutdown -Fr Reboot

 r

use the command "w" to see who's logged in before rebooting

101 command PDF

linux 37 essential command 

 vtmenu HMC information 

Reboot 

Procedure for rebooting the server:

  • Login as the “root” user. You must have password for the root user.
  • At the “#” prompt, type in the following command:
    shutdown -Fr

Procedure for shutting down the server:

  • Login as the “root” user. You must have password for the root user.
  • At the “#” prompt, type in the following command:
    shutdown -F

lsvg -l rootvg

  1. Disks, Volumes and File Systems
  2. Command

    Description

    lsvg

    Displays information about volume groups.

    lsvg rootvg

    Display information about rootvg.

    lsvg -p rootvg

    Display physical volumes.

    lsvg -l rootvg

    Display logical volumes.

    Mkvg

    Create a new volume group, using the physical volumes

    extendvg

    Adds physical volumes to a volume group.

    Reducevg

    Remove physical volumes from a volume group. When all physical volumes removed from the volume group, the group is deleted.

    Command

    Description

    Lspv

    Displays information about a physical volume within a vg.

    lspv hdisk0

    Display information about physical volume hdisk0.

    varyonvg datavg

    Activates volume group.

    varyonvg datavg

    Deactivates volume goup.

    exportvg datavg

    Removes the definition of the volume group datavg from the system.

    importvg

    Imports a volume group definition from a set of physical volumes.

Unix Group Name 

WWPN

patching 

Friday, November 13, 2020

user management passwd steps

1 ) use smitty to change password,
 2) use smitty to reset failed login count 
3) then use smitty to unlock account

chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s tuser1

chuser "account_locked=false" tuser1


 chuser account_locked=false

passwd user !Connie1@Dch1596!Qza5sbx

 !Active1  !Active4

ssh tusernum@dch1596za5sbx

lsuser -a unsuccessful_login_count <userid>

chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>

Tuesday, November 10, 2020

AIX - bash_64

lsgroup testgrp1

 ls -l /bin | grep bash

Video  

Tuesday, November 3, 2020

add 10G on multiple servers , 1 x 50GB SAN disk

1 - login and run chfs -a size=+10G

2 -  df -g 

 How To Expand A Filesystem in AIX (df, lsvg, chfs)

chfs -a size=+10G 

VG LV Scalable VG (mkvg -S) 

AN120 AIX II

minimum, desired, maximum

add 1 x 50GB SAN disk sever0 and sever1

Add disks to the following hosts & add them to the respective VGs:

sever0 (8GB to vgxxx03)

sever1 (17Gb to vgxxx03)

 lparstat -i |grep -i mem

Online Memory                              : 4096 MB

Maximum Memory                             : 8192 MB

Minimum Memory                             : 2048 MB

Memory Mode                                : Dedicated

Total I/O Memory Entitlement               : -

Variable Memory Capacity Weight            : -

Memory Pool ID                             : -

Physical Memory in the Pool                : -

Unallocated Variable Memory Capacity Weight: -

Unallocated I/O Memory entitlement         : -

Memory Group ID of LPAR                    : -

Desired Memory                             : 4096 MB

Target Memory Expansion Factor             : -

Target Memory Expansion Size               : -

Storage Area Network 

Virtual I/O (VIO)

Central Electronics Complex (CEC)

volume groups (VG)

(Advanced Interactive eXecutive)  a series of proprietary Unix operating systems.

Monday, January 13, 2014

No valid Oracle Clients found :...at least one 32-bit client ...

We got the challenges: "No valid Oracle clients found. You need at least one 32-bit client properly configured." After research, https://support.software.dell.com/kb/SOL71545 ********************************************** ORACLE CLIENT SOFTWARE INSTALLATION NOTES: - Download ‘directly’ to your “DESKTOP” location (and run it from there too). This can avoid many potential download and installation problems. - Ensure that your Windows User has Administrator Rights before installing an Oracle Client (or Toad). - Toad for Oracle 11.5.1 and lower supports 32-bit Oracle Clients only. - The above 32-bit client will work on a 64-bit Windows OS’s. - During the Oracle Client installation, choose “Full” or “Administrator” installation type (this is not automatically selected). - Ensure you apply or copy over your TNSNAMES.ORA file (this file usually comes from your company). The default location for this file in 10g and 11g is: 10g - C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\ 11g - C:\app\\product\11.2.0\client_1\NETWORK\ADMIN\ NOTE: After installing the new client, ensure you select it in Toad’s / SQL Navigator’s login screen | under “Connect Using:” / “Oracle Home/Client:” (ensure you are NOT connected to any database for this setting to be available). ================================================================== It does work.