How to truncate /var/adm/wtmp in AIX

/var/adm/wtmp contains login and logoff information in reverse chronological order. The last command can be used to view the contents of wtmp. An example of the output of last is shown below. $ last oracle pts/2 200.254.1.207 Jun 29 15:36 – 15:44 (00:08) oracle pts/2 192.253.1.20 Jun 29 15:34 – 15:35 (00:01) oracle pts/2 192.252.1.20 Jun 29 15:32 -…

Read More

How to disable telnet on a Brocade fibre channel switch?

ipfilter –clone BlockPort23 -from default_ipv4 ipfilter –show   ipfilter –delrule BlockPort23 -rule 2 ipfilter –addrule BlockPort23 -rule 2 -sip any -dp 23 -proto tcp -act deny ipfilter –save BlockPort23 ipfilter –activate BlockPort23   ipfilter –show Name: default_ipv4, Type: ipv4, State: defined Rule Source IP Protocol Dest Port Action 1 any tcp 22 permit 2 any…

Read More

Apache cookbook fail to start Chef

I write a cookbook on Chef.But I got an error.   package ‘apache2’ service ‘apache2’ do action [:enable, :start] end file ‘/var/www/html/index.html’ do content ‘<html> <body> <h1>Hello World</h1> </body> </html>’ end   Error: STDERR: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress…

Read More

HACMP- (PowerHA) Volume group-Logical Volume-Filesystems-(Mount-Point) Rename Operations

Hi, These days, I need a rename operations  volume group,logical volume and filesystems mount point on HACMP(PowerHA) cluster. Firstly rename logical volume name,You should do below steps smit hacmp-system management- storage-logical volumes- Set Characteristics of a Logical Volume-Rename a Logical Volume Volume Group Name emrevg Resource Group Name emrep_RG Node List emrep_cls1,emrep_cls2 * CURRENT logical…

Read More

Resize Hitachi VSP LUNS(Ldevs)

Resizing Hitachi VSP LUNs (LDEVs) is a quick and simple task. Unfortunately, due to Hitachi Storage Navigator’s archaic design, the LDEV resize function, while easy to use, is not easy to find. So, here’s a quick “how-to”: Log into HSN (Hitachi Storage Navigator), or whatever Hitachi decided to call their SAN GUI this week as…

Read More

tftpd service problem

I had a problem with tftpd service.So It doesnt start. # startsrc -s tftpd 0513-015 The tftpd Subsystem could not be started. Please check subsystem resources and try again later. Resolve: # ls -l /usr/sbin/tftpd  ———-    1 root     system       172980 Sep 11 2012  /usr/sbin/tftpd # chmod 555 /usr/sbin/tftpd                            …

Read More

IBM V7000f Performans Test with Vdbench Tool on IBM AIX

Firsty, you should download vdbench to oracle web site. You can see the name vdbench50406.zip like this. And you have to install java 8,because vdbench use Java8.Its required. Put java path to your root profile. vi .profile export PATH=/usr/java8_64/jre/bin:$PATH:/usr/DynamicLinkManager/bin:/opt/freeware/bin :wq check your path root@yedekdonus:/home/root # which java /usr/java8_64/jre/bin/java Give 40 raw disk of size 50GB set…

Read More

Stor2rrd – Hitachi VSP integration

For long time, I want to integrate my VSP to Stor2rrd.Finally they have supported new released.First you have to download Command Control Interface (CCI) Hitachi Export tool Firstly,log in support hds portal. For Command Control Interface,Click “Products Downloads “ For Hitachi Export Tool,Click “Products Downloads “ Lets Install.. loopmount -i  HS042_77.iso -o “-V cdrfs -o ro”…

Read More