Server wipe tool for AIX and Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Server wipe tool for AIX and Linux
# 1  
Old 07-16-2014
Server wipe tool for AIX and Linux

Hi Friends,

I am looking for a opensource/inbuilt server wipe tools similar to DBAN for the server decommissions.
I have several AIX and Linux machines to decom as part of datacenter shutdowns. But these 'DOESNT' have console access and I need to do the wipe remotely. Can you please suggest me some tools for it. I know the challenge here is the 'no console' part.
As per company standards full OS wipe is required.

Thanks in advance
# 2  
Old 07-16-2014
You can use dd and write zeros on the data disks.
That will leave maybe the OS itself.

AIX also has the diag tool which has the following option:
Code:
       -T taskname
            Fastpath to specific task to run. Current fastpath tasks are the following:
              format
                   Format Media Task

For the OS disks you can try to kill it with dd until your session is dead.
# 3  
Old 07-16-2014
I'd destroy the non-rootvg volume groups first with something like this:-for
Code:
vg in `lsvg |grep -Ev "^rootvg$"`
do
   # List and unmount filesystems
   lsvg -l $vg | grep "/" | while read a b c d e f mnt
   do
      echo $mnt
   done | sort -r | while read mnt        # Reverse sort to ensure sub-directories unmounted first
   do
      umount $mnt
   done

   # List disks and drop VG (forcing LV removal at same time)
   hdlist=
   lsvg -p $vg | grep hdisk | while read hd rest
   do
      hdlist="$hdlist $hd"
   done
   reducevg -f $vg $hdlist
done

This might hit problems if you have sibdirectories from other volume groups mounted under the ones you are trying to work on, but you are then pretty free to work with dd or the diag tools as suggested by Zaxxon. If you need to destroy the rootvg volume group, you will really need the console, from where you could boot from media and then run diag to format that device too or perhaps force a complete overwrite install onto the same disks.

Failing that, you can remove and degauss the disks or get them shredded. There are disposal contractors who will do this for you and you can get certification statements about device destruction with some detailing the serial numbers if you feel you need to go that far.

You then have to consider your backup media that you would use for a DR and destroy that too, else the server could be re-created. Again a disposal company can do this for you.



May I ask why you need to destroy everything and not just reuse the hardware? If you drop the logical volumes, then AIX will only create them empty again if you recreate them, even if you use the same disk blocks, the old data is not really available to you.



Robin
# 4  
Old 07-16-2014
Thanks zaxxon
'dd' was in my mind, but concern was wiping the OS completely and shutting down server after it.

Thanks
Shyam

---------- Post updated at 06:49 PM ---------- Previous update was at 06:44 PM ----------

Thanks Robin. I missed your reply.
So that explains enough.
I may need to destroy as per the company security guidelines. And also these hardwares are out of warranty.

Thanks
Shyam
# 5  
Old 07-16-2014
This sounds difficult to do remotely... Destroying it would mean overwriting data being used, causing it to crash.
# 6  
Old 07-17-2014
Quote:
Originally Posted by shyam2j
'dd' was in my mind, but concern was wiping the OS completely and shutting down server after it.
In AIX you do not need to wipe the OS completely. If you overwrite the first GB (or thereabouts) of the rootvgs hdisk device(s) with hexadecimal zeroes you will destroy the VGDA and upon reboot the VG will not be recognizable any more by the OS. This will prevent data recovery with "normal" measures offered by the OS, but it will perhaps not prevent specialized laboratories doing some "extreme" data recovery.

You will have to decide if you want to prevent only "normal" people from getting anything or if you need to even fool the NSA (which probably had your data even before you from tapping the wires ;-)) ).

I hope this helps.

bakunin
# 7  
Old 07-17-2014
My suggestion would be to ignore the OS, which people would just buy if they want it that badly, and wipe the client data -- the stuff really meant to be confidential. Not to mention, stuff you can be confident will be wiped without breaking down halfway through. Also, logs. Trashing the hdisks after would be a good parting shot Smilie

Last edited by Corona688; 07-17-2014 at 12:11 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX LDAP client authenticate against Linux Openldap server over TLS/SSL

Hi folks, How can i configure an AIX LDAP client to authenticate against an Linux Openldap server over TLS/SSL? It works like a charm without TLS/SSL. i would like to have SSL encrypted communication for ldap (secldapclntd) and ldapsearch etc. while accepting every kind of certificate/CA.... (6 Replies)
Discussion started by: paco699
6 Replies

2. AIX

Is nagios monitoring tool supported on AIX 7.1 ?

Hi, is any one using nagios monitoring solution on AIX ? if yes, is it supported on AIX 7.1 TL 03 as well ? I tried to search online and unix.com , could not find it. Thank you (5 Replies)
Discussion started by: aaron8667
5 Replies

3. AIX

C profiling tool for AIX

Hello everybody, Please let me know if there are any free C profiling tool for AIX environment Thanks in advance (0 Replies)
Discussion started by: SteAlma
0 Replies

4. HP-UX

Wipe tool for HP-UX

Hi, Please suggest wipe tool for hp-ux. (2 Replies)
Discussion started by: manoj.solaris
2 Replies

5. AIX

can not mount from aix client to linux nfs server

Hi, I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error: # mount 128.127.11.121:/aix /to_be_del mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies

6. Red Hat

Print server Migration from AIX to Linux

Hi, Can anyone help me on migration the print server from AIX to RHEL 4? Appreciate your help? (1 Reply)
Discussion started by: brby07
1 Replies

7. AIX

AIX Monitoring Tool - under preparing

Guy's AIX Monitoring Tool - under preparing ..... I'm working to make and prepare tool to monitor AIX system and my idea it's based on the following outputs I want command to give me shout outpous about the following ... CPU load Memory load Used load Number of... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

8. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

9. Fedora

Installation Of Linux on an AIX server

Hi, Is it possible to install Linux on an AIX server? Is there any doc available with anyone for installation? Please help. (1 Reply)
Discussion started by: dwiravi
1 Replies

10. UNIX for Dummies Questions & Answers

Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server

I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies
Login or Register to Ask a Question