Monday, November 23, 2015

AIX commands


to compress content in current directory tar -cvf zip.tar .
to compress content in home directory tar -cvf zip.tar /home
to gzip content gzip scripts.tar
to extract to .tar file  gzip -d scripts.tar.gz or gunzip scripts.tar.gz
to decompress tar file tar -xvf scripts.tar

to check if port is assigned or not 

$ cat /etc/services | grep 6001
#                                26001-26207            # Unassigned

Volume Group 

With LVM, "logical" partitions can span across physical hard drives and can be resized (unlike traditional ext3 "raw" partitions). A physical disk is divided into one or more physical volumes (Pvs), and logical volume groups (VGs) are created by combining PVs as shown in Figure





$ lsvg -o
datavg
rootvg
$ lsvg -l datavg
datavg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
logdatavg           jfs2log    1       2       2    open/syncd    N/A
webspherelv         jfs2       40      80      2    open/syncd    /usr/IBM/WebSphere
itmlv               jfs2       16      32      2    open/syncd    /IBM/itm
$ df -g /usr/IBM/WebSphere
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/webspherelv     10.00      8.10   20%    40540     3% /usr/IBM/WebSphere

refer to link for details https://www.redhat.com/magazine/009jul05/features/lvm2/






General WAS Issues


Please use the below command to synchronize if you are not able to access the deployment manager console to synchronize.

Command: syncNode.sh <Hostname of Dmgr> <SOAP Connector Port address>

to find the boot strap port goto dmgr profiles /config /cells /cellname and refer serverindex.xml

to get info on various ports used in WAS refer to below link
     http://www-01.ibm.com/support/knowledgecenter/SS7JFU_8.5.5/com.ibm.websphere.migration.express.iseries.doc/ae/rmig_portnumber.html

password decoder for was
http://www.poweredbywebsphere.com/decoder.html

to add a user to admin / was console goto System administration -> Console settings -> Console users -> Console groups

it gets saved at security.xml at

/opt/InfoSphere/WebSphere/AppServer/profiles/default/config/cells/cellname
/opt/was/AppServer/profiles/dmgrprofile/config/cells/cellname

search with serverId to check if user added after recycle or to check existing users




General Issue Resolutions


to find out a process used by a port 

# netstat -anp | grep 12345
# netstat -anp | grep 12345
tcp    0   0 127.0.0.1:12345   0.0.0.0:*    LISTEN   6629/ssh
tcp    0   0 ::1:12345              :::*    LISTEN   6629/ssh

netstat -aAn|grep 9043
f1000e0006e9a3b8 tcp4       0      0  *.9043                *.*                   LISTEN
$ rmsock f1000e0006e9a3b8 tcpcb




msinfo32 will give processor info in windows server



Thursday, November 12, 2015

General Terms / Definitions


Network Appliance
  a relatively low cost computer designed to provide Internet access and without the full capabilities of a standard computer. 
  





NIM Server 

NIM provides a central management point for installing and maintainingAIX* images for both LPARs and individual servers. It allows for the creation of a master image (also called a golden image), which is used to install cloned LPARs that have the same OS kernel and characteristics.

A logical partition (LPAR) is the division of a computer's processor s, memory , and storage into multiple sets of resources so that each set of resources can be operated independently with its own operating system instance and application s.

HMC - Hardware Management Console is a technology created by IBM to provide a standard interface for configuring and operating partitioned (also known as an LPAR or virtualized system) and SMP systems such as IBM System i, IBM System p, IBM System z, and IBM Power Systems.


Forward lookup zone we give the name it will pick up the ip address

Reverse lookup if we give the number it will give the name 

dhcp The Dynamic Host Configuration Protocol (DHCP) is a network protocol that is
 used to configure network devices so that they can communicate on an IP network

NAS - network attached storage. Network-attached storage (NAS) is a file-level computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. NAS is specialized for serving files either by its hardware, software, or configuration.

SANstorage area network (SAN) is a network that provides access to consolidated, block level data storage. SANs are primarily used to enhance storage devices, such as disk arrays, tape libraries, and optical jukeboxes, accessible to servers so that the devices appear to the operating system as locally attached devices.

TSM - IBM Spectrum Protect (Tivoli Storage Manager) is a data protection platform that gives enterprises a single point of control and administration for backup and recovery. It is the flagship product in the IBM Spectrum Protect (Tivoli Storage Manager) family.