Posts

Showing posts from 2016

Watchguard T30 Mobile VPN with SSL

1> Configure AD authentication CN=domainname, CN=local or com memberOf 2> Test AD authentication 3> Configure Mobile VPN with SSL VPN Please make a note, insert the gateway IP address instead of domainname 4> Download/install the T30 VPN ssl from watchguard T30 website: https://watchguardsupport.secure.force.com/software/SoftwareDownloads?current=true&familyId=a2RF0000001AWogMAG

GPFS useful command

# ./mmlsconfig Configuration data for cluster xxxxxx: ---------------------------------------------------------- clusterName xxxxxx clusterId 14987384132872343235 autoload no dmapiFileHandleSize 32 minReleaseLevel 4.2.0.0 ccrEnabled yes cipherList AUTHONLY pagepool 2048M adminMode central File systems in cluster xxx.ibm.com: --------------------------------------------------- /dev/xxxxx /dev/xxxxx /dev/xxxxx /dev/xxxxx /dev/xxxxx Check each GPFS filesystem's attributions # ./mmlsfs all File system attributes for /dev/xxxxxx: ========================================= flag                value                    description ------------------- ------------------------ -----------------------------------  -f                 8192                     Minimum fragment size in bytes  -i                 4096                     Inode size in bytes  -I                 16384                    Indirect block size in bytes  -m                 1                        Default number of me

GPFS -- Add/Remvoe additional disks into

#vi adddisk_fm1.txt #DiskName:serverlist::DiskUsage:FailureGroup:DesiredName:StoragePool /dev/hdisk5:::dataAndMetadata::nsd6: /dev/hdisk6:::dataAndMetadata::nsd7: "adddisk_fm1.txt" 3 lines, 143 characters # mmcrnsd -F  adddisk_fm1.txt mmcrnsd: Processing disk hdisk5 mmcrnsd: Processing disk hdisk6 mmcrnsd: 6027-1371 Propagating the cluster configuration data to all   affected nodes.  This is an asynchronous process. # mmlsnsd  File system   Disk name    NSD servers                                    ---------------------------------------------------------------------------  ftm1data      mynsd1       (directly attached)       ftm2data      mynsd2       (directly attached)       ftm3data      mynsd3       (directly attached)       ftm4data      mynsd4       (directly attached)       ftm5data      mynsd5       (directly attached)       (free disk)   nsd6         (directly attached)       (free disk)   nsd7         (directly attached)      # mmadddisk f

AIX usful command

# chdev -l fscsi3 -a attach=pt_to_pt Method error (/usr/lib/methods/chggen):         0514-018 The values specified for the following attributes                  are not valid:      attach     How this adapter is CONNECTED # lsattr -El fscsi3 attach       switch    How this adapter is CONNECTED         False dyntrk       yes       Dynamic Tracking of FC Devices        True+ fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True+ scsi_id      0x9a28a9  Adapter SCSI ID                       False sw_fc_class  3         FC Class for Fabric                   True # lsattr -El fscsi2 attach       pt_to_pt  How this adapter is CONNECTED         False dyntrk       yes       Dynamic Tracking of FC Devices        True+ fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True+ scsi_id      0x2       Adapter SCSI ID                       False sw_fc_class  3         FC Class for Fabric                   True lscfg * pci1             U78CD.001.FZH6167-P1    

AIX VIOS NPIV support

Login VIOS as padmin $ lsnports name             physloc                        fabric tports aports swwpns  awwpns fcs1             U78CD.001.FZH6167-P1-C2-T2          1     64     64   3088    3088 fcs2             U78CD.001.FZH6167-P1-C4-T1          0     64     64   3088    3087 fcs3             U78CD.001.FZH6167-P1-C4-T2          1     64     64   3088    3088 fcs4             U78CD.001.FZH6167-P2-C1-T1          0     64     64   3088    3087 fcs5             U78CD.001.FZH6167-P2-C1-T2          1     64     64   3088    3088 fcs7             U78CD.001.FZH6167-P2-C4-T2          1     64     64   3088    3088 If the value for the ‘fabric’ parameter shows as ‘0’ that means that HBA port is not connected to a SAN switch supporting the NPIV feature.  Please connect fibre cable between Physical fibre channel adapter and San switches. If the value for the ‘fabric’ parameter shows as ‘1’ that means that HBA port is connected to a SAN switch supporting the NPIV feature 

AIX VIOS NPIV support

Login VIOS as padmin $ lsnports name             physloc                        fabric tports aports swwpns  awwpns fcs1             U78CD.001.FZH6167-P1-C2-T2          1     64     64   3088    3088 fcs2             U78CD.001.FZH6167-P1-C4-T1          0     64     64   3088    3087 fcs3             U78CD.001.FZH6167-P1-C4-T2          1     64     64   3088    3088 fcs4             U78CD.001.FZH6167-P2-C1-T1          0     64     64   3088    3087 fcs5             U78CD.001.FZH6167-P2-C1-T2          1     64     64   3088    3088 fcs7             U78CD.001.FZH6167-P2-C4-T2          1     64     64   3088    3088 If the value for the ‘fabric’ parameter shows as ‘0’ that means that HBA port is not connected to a SAN switch supporting the NPIV feature.  Please connect fiber cable between Physical fibre channel adapter and San switches. If the value for the ‘fabric’ parameter shows as ‘1’ that means that HBA port is connected to a SAN switch supporting the NPIV feature 

M10 XSCF commands

localhost login: admin XSCF> XSCF> adduser xxxxx XSCF> password xxxxx Password: BAD PASSWORD: it is based on a dictionary word Retype new password: passwd: password updated successfully XSCF> setprivileges xxxxx useradm platadm platop XSCF> setssh -c enable Permission denied. XSCF> exit localhost login: xxxxxx Password: XSCF> setssh -c enable Continue? [y|n] :y XSCF> settelnet -c enable Continue? [y|n] :y XSCF> version -c xcp BB#00-XSCF#0 (Master) XCP0 (Current): 2290 XCP1 (Reserve): 2290 XSCF> showboards -v -a PSB  R PPAR-ID(LSB) Assignment  Pwr  Conn Conf Test    Fault ---- - ------------ ----------- ---- ---- ---- ------- -------- 00-0 * 00(00)       Assigned    n    n    n    Unknown Normal XSCF> setcod -p 0 -s cpu 8 XSCF> showboards -v -a PSB  R PPAR-ID(LSB) Assignment  Pwr  Conn Conf Test    Fault ---- - ------------ ----------- ---- ---- ---- ------- -------- 00-0 * 00(00)       Assigned    n    n    n    Unknown Normal XSCF>  poweron -a  

GPFS troubleshooting

# ./mmlscluster GPFS cluster information ========================   GPFS cluster name:         b570gw1-gpfs   GPFS cluster id:           723401712311966547   GPFS UID domain:           b570gw1-gpfs   Remote shell command:      /usr/bin/ssh   Remote file copy command:  /usr/bin/scp GPFS cluster configuration servers: -----------------------------------   Primary server:    b570gw1-gpfs   Secondary server:  b570gw2-gpfs  Node  Daemon node name            IP address       Admin node name             Designation    -----------------------------------------------------------------------------------------------    1   b570gw1-gpfs                10.10.10.6       b570gw1-gpfs                quorum-manager    2   b570gw2-gpfs                10.10.10.8       b570gw2-gpfs                quorum-manager    3   b570its-gpfs                10.10.10.24      b570its-gpfs                quorum-manager    4   b570was-gpfs                10.10.10.21      b570was-gpfs                # /usr/lpp/mmfs/bin/mm

Build the PHP_7.0.5 under Linux (CentOS & RHEL 7)

 To build the PHP_7.0.5 under Linux (CentOS & RHEL 7)  `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE.  See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration:   -h, --help              display this help and exit       --help=short        display options specific to this package       --help=recursive    display the short help of all the included packages   -V, --version           display version information and exit   -q, --quiet, --silent   do not print `checking ...' messages       --cache-file=FILE   cache test results in FILE [disabled]   -C, --config-cache      alias for `--cache-file=config.cache'   -n, --no-create         do not create output files       --srcdir=DIR        find the sources in DIR [configure dir or `..']