Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1476362.1
Update Date:2012-07-18
Keywords:

Solution Type  Technical Instruction Sure

Solution  1476362.1 :   Key Management Station 1.x - How to replace new 500GB Seagate USB drive  


Related Items
  • Sun StorageTek Crypto Key Management System
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Backup Software-Filesystems>SN-TP: Encryption
  •  




In this Document
Goal
Fix


Applies to:

Sun StorageTek Crypto Key Management System - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.

Goal

The purpose of this document is to outline the steps required to replace the new 500GB Seagate USB drive for the Key Management Station 1.x appliance.

Fix

Steps to Follow:

1) Remove/Disconnect existing 100/120GB USB drive from KMS

2) With system powered up, connect new 500GB USB drive to the same USB port as old drive

3) At this point you can either proceed to step 4 and execute the run_kmsdrive_prepare script to format the drive to the default 120 GB capacity, or you can edit the kmsdrive_prepare file to change the default drive capacity to 500 GB.  Below are the instructions to edit the kmsdrive_prepare script if desired:

Login and open terminal window as user root

cd  /opt/SUNWkms/app/setup

vi kmsdrive_prepare

Change the following lines to be the following:
                                                                           
NEWOURDRIVEINFO["slice_size"] = "467GB"
NEWOURDRIVEINFO["sector_count"] = 976562500

:wq!
Save the file.   

4) Run the prepare script.
/opt/SUNWkms/app/setup/run_kmsdrive_prepare
This script formats and partitions the hard drive using a ufs file system
It takes about 15 minutes to complete.

5) Run script to mount the USB drive
/opt/SUNWkms/app/setup/run_kmsdrive_setup
This will update the /etc/vfstab file to mount the external drive

6) Reboot the System.

The preferred way to reboot the system is to:
1. Close all open terminal windows, type:  exit and press enter.
2. Go to Launch in the lower left corner of the desktop.
3. Select Log Out kmsadmin and click OK.
4. At the operating system login screen, select Options ➪ Command Line Login.
5. Press enter to get a prompt.
6. Login as root. 
Login: root 
Password: {stkEAL33} 
Enter:  reboot
The operating system reboots.
Observe that the drive is mounted during the boot process (mnt_backups).


Verify the USB Drive Availability
To verify the external hard drive is mounted:
1. After the system reboots, enter the operating system using the kmsadmin login
and password.
■ Login: kmsadmin
■ Password: kmsadmin
2. Open a terminal window.
3. Verify that the USB drive is mounted, Enter:  df -k
4. Look for the pathname: /export/home/kms/mnt_backups


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback