Posts

Showing posts from March, 2014

forgot wep password

http://en.kioskea.net/faq/1527-wpa-wep-forgotten-or-lost http://en.kioskea.net/faq/1527-wpa-wep-forgotten-or-lost

VIOS NPIV configuration

Steps to insll AIX on SAN 1) check the SEA settings # ifconfig -a en26: flags=1e080863,180         inet 9.124.62.172 netmask 0xffffff00 broadcast 9.124.62.255          tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0 lo0: flags=e08084b,1c0         inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255         inet6 ::1%1/0          tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1         2) check SEA $ lsmap -all -net SVEA   Physloc ------ -------------------------------------------- ent24  U9117.MMC.06FF076-V1-C2-T1 SEA                 NO SHARED ETHERNET ADAPTER FOUND SVEA   Physloc ------ -------------------------------------------- ent25  U9117.MMC.06FF076-V1-C4-T1 SEA                   ent26 Backing device        ent12 Status                Available Physloc               U78C0.001.DBJU087-P2-C8-T3 3) check all virtual devices $ lsdev -virtual name             status      description ent24            Available   Virtual I/O Ethernet Adapter (l-lan) ent25            Avail

How to delete SEA in VIOS

Remove the network en0 #ifconfig en0 down #ifconfig en0 detach Delete SEA $ lsdev -type sea name             status      description ent27            Defined     Shared Ethernet Adapter $ chdev -dev en26 -attr state=detach en27 changed $ rmdev -dev ent26;rmdev -dev en26;rmdev -dev et26 ent27 deleted $ rmdev -dev en26 en27 deleted $ rmdev -dev et26 et27 deleted system information #prtconf|more rmdev -dev ent3;rmdev -dev en3;rmdev -dev et3

VIOS Installation Steps

Check current DISK in AIX # lsdev -c disk -S a hdisk0 Available  Virtual SCSI Disk Drive set the bootlist to hdisk0 # bootlist -m normal hdisk0 lspv --> to find the free disk lspv -free DISK MAPPING $ lsdev -virtual name             status      description ent2             Available   Virtual I/O Ethernet Adapter (l-lan) ent4             Available   Virtual I/O Ethernet Adapter (l-lan) vfchost0         Available   Virtual FC Server Adapter vfchost1         Available   Virtual FC Server Adapter vhost0           Available   Virtual SCSI Server Adapter vsa0             Available   LPAR Virtual Serial Adapter name             status      description ent5             Available   Shared Ethernet Adapter $ lsmap -vadapter vhost0 SVSA            Physloc                                      Client Partition ID --------------- -------------------------------------------- ------------------ vhost0          U8205.E6B.065469R-V2-C3                      0x00000001 VTD                   NO VIRTUA

VIOS Commands

http://www.aixmind.com/?p=1904 AIX Solaris HPUX UNIX Linux system storage administration ksh/perl scripting ? UNIX administrator blog tips experience command log knowledge base December 7, 2010 12:54 pm Virtual I/O Server(VIOS) useful commands by admin    in AIX Initialize the LPAR Configuration : # mkgencfg -o init [OS] Software Management : To display VIO Server level: # ioslevel To update the IOS software: # updateios –dev /update - To installs a new filesets (mainly used for TL updates): # updateios –dev /cd0 -install -accept To commit all applied : # updateios –commit To rejects all uncommitted updates : # updateios –reject To clean all incomplete pieces of the previous installation : # updateios –clean To remove a fileset : # updateios –remove fileset_name To take the OS backup in a CD ROM : # backupios –cd /dev/cd1 -cdformat To take the OS backup in a DVD-RAM : # backupios –cd /dev/cd1 -udf To take the OS backup in a tape drive : # backupios –tape /dev/rmt0 Just verifies the ba

IVM installation through blade center

system> env -T system:blade[5] ok>console DESTINATION BLADE IS IN POWER OFF STATE SOL session is temporarily not available. Attempting to re-establish your session ... SOL connection is re-established. SOL session is now active. SOL session is temporarily not available. Attempting to re-establish your session ... SOL connection is re-established. SOL session is now active. system:blade[5]> sol -status enabled SOL Session: Active SOL retry interval: 250 ms SOL retry count: 7 SOL bytes sent: 0 SOL bytes received: 105 SOL destination IP address: 192.199.199.85 SOL destination MAC: 00:1A:64:47:40:DA SOL I/O module slot number: 1 SOL console user ID: USERID SOL console login from: 9.126.97.184 (SSH) SOL console session started: 03/14/12 -- 11:30:47 SOL console session stopped: N/A Blade power state: On system:blade[5]> ping 192.199.199.85 Invalid syntax. Type 'ping -h' for help. system:blad

AIX Issues

# mount 9.124.62.16:/home_PHYP /home_PHYP  mount: 1831-008 giving up on: 9.124.62.16:/home_PHYP vmount: Operation not permitted. Answer: # nfso -p -o nfs_use_reserved_ports=1 Setting nfs_use_reserved_ports to 1 Setting nfs_use_reserved_ports to 1 in nextboot file # mount 9.124.62.16:/home_PHYP /home_PHYP --> Now its working fine nfso -a            client_delegation = 1            nfs_max_read_size = 65536           nfs_max_write_size = 65536                  nfs_rfc1323 = 1    nfs_securenfs_authtimeout = 0     nfs_server_base_priority = 0            nfs_server_clread = 1       nfs_use_reserved_ports = 1    nfs_v3_server_readdirplus = 1     nfs_v4_fail_over_timeout = 0                    portcheck = 0            server_delegation = 1              utf8_validation = 1  https://www-304.ibm.com/support/docview.wss?uid=isg3T1000590 # nfsstat -m /afs/rchland.ibm.com/usr5/phypbld/phyp from /afs/rchland.ibm.com/usr5/phypbld/phyp:9.124.62.25  Flags:   vers=3,proto=tcp,auth=u

For loop in VIOS

for i in 1 2 3 4 5 6 7 8 9 do rmdev -dev vhost$i -recursive done mkvdev -vdev hdisk3 -vadapter vhost0