Reuse old/configured server for new purpose problems. | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Reuse old/configured server for new purpose problems.

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-24-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
Error Reuse old/configured server for new purpose problems.

Greetings.

First of all I consider myself a newbe in Linux, that's why I'm seeking your help so please be patient!

I was given an old server (Solaris) that has Oracle (10.2.0) installed with a few databases. I'm supposed to reuse this server for this new application which will process data and create reports with a web interface (so Ill have to install tomcat,glassfish etc..)

My problems:

1. The server has been previously configured for something else, so I have no password for Oracle.
2. I thought of reinstalling Oracle but I have no idea how because of the way things have been partitioned


Code:
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         15G    13G   1.2G    93%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   6.7G   1.7M   6.7G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/SUNW,T5240/lib/libc_psr/libc_psr_hwcap2.so.1
                        15G    13G   1.2G    93%    /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,T5240/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        15G    13G   1.2G    93%    /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   6.7G    64K   6.7G     1%    /tmp
swap                   6.7G    72K   6.7G     1%    /var/run
app                    667G    44K   748M     1%    /app
app/backup              40G    45K    40G     1%    /backup
oslocal/export_home     60G    15G    45G    26%    /export/home
app/home_app            12G   3.5G   8.5G    30%    /home/app
app/oradata_smart_ora1
                        13G   1.1G    12G     9%    /oradata/SMART/ora1
app/oradata_smart_ora2
                        18G   7.1G    11G    40%    /oradata/SMART/ora2
app/oradata_smart_ora3
                        36G    20G    16G    56%    /oradata/SMART/ora3
app/oradata_smart_ora4
                       166G   136G    30G    82%    /oradata/SMART/ora4
app/oradata_smart_ora5
                        55G    12G    43G    22%    /oradata/SMART/ora5
app/oradata_smart_ora6
                        75G    47G    28G    63%    /oradata/SMART/ora6
app/oradata_smart_ora7
                       147G   122G    25G    84%    /oradata/SMART/ora7
app/oradata_smart_redo1
                       3.0G   601M   2.4G    20%    /oradata/SMART/redo1
app/oradata_smart_redo2
                       3.0G   601M   2.4G    20%    /oradata/SMART/redo2
app/oradata_smart_redo3
                       3.0G   601M   2.4G    20%    /oradata/SMART/redo3
oslocal                100G    20K    25G     1%    /oslocal
app/smart               95G    45K    95G     1%    /smart

3. I will need to maximize space for the application since I theres q requirement of 400GB+

4. I really really really want to avoid wiping the server and configuring from scratch...


What are your thoughts of this? What approach should I take? If you need more information let me know...

Thanks in advance
Sponsored Links
    #2  
Old 01-24-2013
bartus11's Avatar
bartus11 bartus11 is offline Forum Staff  
Moderator
 
Join Date: Apr 2009
Last Activity: 1 September 2014, 3:25 PM EDT
Posts: 3,710
Thanks: 7
Thanked 1,142 Times in 1,113 Posts
You don't need to wipe the server, but you should probably recreate the application ZFS pool in a way that will suit your new application. To list ZFS pools and check their sizes:
Code:
zpool list

To check what filesystems are created there:
Code:
zfs list

Next you should confirm that all of those filesystems are not needed anymore. After that you should unmount all of them (zfs umount). Then you can list disks used by ZFS pools:
Code:
zpool status

And destroy them:
Code:
zpool destroy pool_name

Now you will have some spare disks that can be used by your application. You should choose enough disks from destroyed pools to meet your application's requirements. With the disk list at hand, you can combine them into ZFS pool:
Code:
zpool create new_pool disk1 disk2 ...

If your application needs disk failure protection, then you should use mirroring or RAIDZ, described here: Creating a ZFS Storage Pool (Solaris ZFS Administration Guide)After that you can start creating application specific filesystems, using
Code:
zfs create new_pool/new_fs

To change their mountpoints use:
Code:
zfs set mountpoint=/new_mountpoint new_pool/new_fs

The Following 3 Users Say Thank You to bartus11 For This Useful Post:
jim mcnamara (04-16-2013), Neo (01-24-2013), RedSpyder (01-29-2013)
Sponsored Links
    #3  
Old 01-24-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
Okay! In the first two steps I got this:


Code:
# zpool list
NAME      SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
app       816G   422G   394G    51%  ONLINE  -
oslocal   102G  15.8G  86.2G    15%  ONLINE  -


Code:
# zfs list
NAME                      USED  AVAIL  REFER  MOUNTPOINT
app                       666G   749M  44.8K  /app
app/backup               44.8K  40.0G  44.8K  /backup
app/home_app             3.54G  8.46G  3.54G  /home/app
app/oradata_smart_ora1   1.09G  11.9G  1.09G  /oradata/SMART/ora1
app/oradata_smart_ora2   7.07G  10.9G  7.07G  /oradata/SMART/ora2
app/oradata_smart_ora3   19.8G  16.2G  19.8G  /oradata/SMART/ora3
app/oradata_smart_ora4    136G  30.1G   136G  /oradata/SMART/ora4
app/oradata_smart_ora5   11.8G  43.2G  11.8G  /oradata/SMART/ora5
app/oradata_smart_ora6   47.0G  28.0G  47.0G  /oradata/SMART/ora6
app/oradata_smart_ora7    122G  24.9G   122G  /oradata/SMART/ora7
app/oradata_smart_redo1   601M  2.41G   601M  /oradata/SMART/redo1
app/oradata_smart_redo2   601M  2.41G   601M  /oradata/SMART/redo2
app/oradata_smart_redo3   601M  2.41G   601M  /oradata/SMART/redo3
app/smart                44.8K  95.0G  44.8K  /smart
oslocal                  75.0G  25.4G    20K  /oslocal
oslocal/export_home      15.4G  44.6G  15.4G  /export/home
oslocal/swap_file          15G  40.1G   354M  -

In the second step, how I determine whats the "pool_name"
    #4  
Old 01-24-2013
bartus11's Avatar
bartus11 bartus11 is offline Forum Staff  
Moderator
 
Join Date: Apr 2009
Last Activity: 1 September 2014, 3:25 PM EDT
Posts: 3,710
Thanks: 7
Thanked 1,142 Times in 1,113 Posts
app as it holds the oracle filesystems.
Sponsored Links
    #5  
Old 01-24-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
Excellent. I'm awaiting for a response to continue with this process in the next hours. Please stay in touch cause I will need your support!
And thanks a lot sir!!!!!
Sponsored Links
    #6  
Old 02-06-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
HI!

I desisted on wiping everything because I'm pretty sure I wasn't going to be able to get the Oracle license easily. Instead I found the password for Oracle so I'm not going to wipe it, instead I'm trying to make some clean up.

I have a few questions:


Code:
 /platform/SUNW,T5240/lib/libc_psr/libc_psr_hwcap2.so.1
                        15G    13G   1.2G    93%    /platform/sun4v/lib/libc_psr.so.1

That's about to get full, I realize that if I install or uninstall stuff from /opt it decreases/increases accordingly. What other places I should look into to make some space ? (if possible)

Can you explain me this? I thought these were separate databases but not. There's only one database in there. Verified with (select * from v$database


Code:
 app/oradata_smart_ora1   1.09G  11.9G  1.09G  /oradata/SMART/ora1
app/oradata_smart_ora2   7.07G  10.9G  7.07G  /oradata/SMART/ora2
app/oradata_smart_ora3   19.8G  16.2G  19.8G  /oradata/SMART/ora3
app/oradata_smart_ora4    136G  30.1G   136G  /oradata/SMART/ora4
app/oradata_smart_ora5   11.8G  43.2G  11.8G  /oradata/SMART/ora5
app/oradata_smart_ora6   47.0G  28.0G  47.0G  /oradata/SMART/ora6
app/oradata_smart_ora7    122G  24.9G   122G  /oradata/SMART/ora7
app/oradata_smart_redo1   601M  2.41G   601M  /oradata/SMART/redo1
app/oradata_smart_redo2   601M  2.41G   601M  /oradata/SMART/redo2
app/oradata_smart_redo3   601M  2.41G   601M  /oradata/SMART/redo3

Sponsored Links
    #7  
Old 02-13-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
Bartus: Halp!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to boot from mirror disk on x86 server configured under VxVM milindphanse604 Solaris 2 01-17-2013 05:38 AM
A bad configured logrotate can cause a problems with memory leak ? jjoottaa Shell Programming and Scripting 1 08-01-2011 04:24 PM
restoring mksysb backup of a clustered server configured in HACMP depam AIX 0 06-21-2011 11:20 AM
Reuse Variable.. aimy Shell Programming and Scripting 7 03-09-2010 08:31 PM
What's the purpose of rj45-like connector on front panel of p5 55A server ? vilius AIX 1 01-04-2009 12:36 PM



All times are GMT -4. The time now is 07:42 AM.