Posts

Showing posts from July, 2022

NIM operations: List of nim operations

  We can perform from a NIM server on a NIM client. usplsaxphxd002(root)# nim -o uptime usplxaxphxp004MGM 0042-023 nim: "uptime" is not a valid NIM operation         valid operations:                 activate, allocate, alt_disk_install, alt_disk_mig,                 bos_inst, change, check, chwpar, create, cust, dbts,                 deactivate, deallocate, define, deploy, destroy,                 diag, dkls_init, dtls_init, eject, fix_query,                 linux_inst, load, lppchk, lppmgr, lslpp, lswpar,                 maint, maint_boot, reboot, remove, reset, restvg,                 select, showdump, showlog, showres, snap, swts,               ...

Difference between AIX 6.1 TL 5 and above and the lower level AIX OS:

 Processor affinity improves processor performance by reducing context switching. From AIX 6.1 TL5, the binding processor feature is available to applications running in shared LPAR.

HMC - List the Port VLAN IDs and Additional VLAN IDs ( tagged ) associated with the NICs of a LPAR.

 From HMC list the Port VLAN IDs and Additional VLAN IDs ( tagged ) associated with the NICs of a LPAR. Syntax is: #lshwres  -m      <Managed System> -r     <virtualio> --rsubtype     <eth> --level <lpar>  --filter "lpar_ids=" -F     slot_num:port_vlan_id:addl_vlan_ids -- header So the complete command in our case is: #lshwres -m USPLSVXPHXD002 -r virtualio --rsubtype eth --level lpar --filter lpar_names=dr-xprtam02 -F slot_num:port_vlan_id:addl_vlan_ids --header   hscroot@uxplxaophxd002:~> lshwres -m USPLSVXPHXD002 -r virtualio --rsubtype eth --level lpar --filter lpar_names=dr-xprtam02 -F slot_num:port_vlan_id:addl_vlan_ids --header slot_num:port_vlan_id:addl_vlan_ids 2:643: 3:511: 4:959:734 5:14: hscroot@uxplxaophxd002:~>

Virtual Ethernet Adapter - on HMC LPAR profile and AIX OS mapping identification

Image
  On HMC - Lpar -> Manage Profile -> normal ->  On the system: We can see the below output. 'V' means virtual. After 'C', we can find the adapter id. # lscfg | grep ent   Model Implementation: Multiple Processor, PCI bus * ent17            U8202.E4D.065685T- V1-C98 -T1  * ent16            U8202.E4D.065685T-V1-C97-T1  * ent15            U8202.E4D.065685T-V1-C96-T1  * ent13            U8202.E4D.065685T-V1-C99-T1  * ent11            U8202.E4D.065685T-V1-C5-T1   * ent10            U8202.E4D.065685T-V1-C4-T1   * ent9             U8202.E4D.065685T - V1-C3 -T1   * ent8             U8202.E4D.065685T-V1-C2-T1 ww

VIO - How to check the VIOS edition - Express/Standard/Enterprise

Image
  #chedition -list $ chedition -list standard $ $ uname -a AIX usplxaxphxp003 1 6 00F856854C00 $ $ date Thu Jul 21 09:10:30 EDT 2022 $ $

HMC - Check WWPN of a LPAR from HMC

lshwres -r virtualio --rsubtype fc --level lpar -m Server-8204-E8A-SN0686A92 -F lpar_name,wwpns --header --filter lpar_names=sf03s03ggd06 lpar_name,wwpns sf03s03ggd06,"c0507600a74d0022,c0507600a74d0023" sf03s03ggd06,"c0507600a74d0020,c0507600a74d0021" sf03s03ggd06,"c0507600a74d001e,c0507600a74d001f" sf03s03ggd06,"c0507600a74d001c,c0507600a74d001d" Note: There are four FCS in this LPAR and each FCS is having two WWPNs since it is NPIV. 'c****' virtual fcs' wwpn start with.

LPM - Live Partition Mobility - Preparation steps.

 LPM ==== Moving a partition from one physical server to another without downtime. 1. NPIV - two wwpns for a FCS. LPM - good only with NPIV 1. create zoning with secondary wwpn SAN team will multi map the LUN on the other machine.

How to identify if your Linux is a physical system and Virtual Machine ?

 dmidecode -t system [root@uscdcoie0056 ~]# dmidecode -t system # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x0001, DMI type 1, 27 bytes System Information         Manufacturer: VMware, Inc.         Product Name: VMware7,1         Version: None         Serial Number: VMware-42 02 59 9f 9d 04 92 f7-7b 39 72 e5 6c 0f 61 ff         UUID: 9f590242-049d-f792-7b39-72e56c0f61ff         Wake-up Type: Power Switch         SKU Number: Not Specified         Family: Not Specified

Some Linux and AIX interview Questions

  Linux: == Kernel parameters - how u will modify ? Check target level ? how to identify a physical system and vm ? hard and soft link ? files in /boot ? how to reduce a fs in rootvg ? how to increase a fs in rootvg ? how to remove paging space ? how to increase paging space ? how to list paging spaces available ? ways to check last reboot time ? some common ports in Linux ? how you will open them ? Advantages of systemd over init ? pid of init ? Default yum config file, default repository ? system logs location ? - /var/log/messages ? how you will modify the hostname of a Linux machine ? === AIX: ===== AIX migration from AIX 6.1 to AIX 7.1 ? VIOS patching ? A NPIV disk is faulty on vios client, how you will fix the issue ? HMCs and IBM Frames I use ? Backup tools in our environment ? RSCT daemon ? Schell scripts I have written ? AIX patching ? Live Partition Mobility ? Probable cause of NIM installation/migration failure ? -