Solved

Need urgent help with Solaris10 zone migrations

Posted on 2011-09-12
8
693 Views
Last Modified: 2013-12-27
Hi All,

I need urgent help and would appreciate your quick responses to this request, below is the senario or situation and then action plan to correct it.

We have been having performances issue with Oracle database servers with recent investigations we were able to find that some of SAN LUN (which are SATA drive) causing this performance issues where drive is busy 100%, now we decided to replace these SATA drive with Fiber channel drives which are much faster. I have find below questions with this regards.Again we are using UFS for this host.

1) Once new Fiber channel LUNs are presented I can make FS and mount them my question is how can I migrate data and zone configurations from old zone to new zone within the server from SATA drive to new Fiber channels drive, I would appreciate if you could provide me the commands for it.

Any additional commands on this will be highly appreciated.

This is very urgent so please respond very quickly.


0
Comment
Question by:ikhan_1971
  • 4
  • 3
8 Comments
 

Author Comment

by:ikhan_1971
Comment Utility

This is very urgent !!!!

Can someone please respond to this question?

I am taking following steps in moving this Solaris zone to another file system within the zone.


1) Halt, unmount and commented out entries on zone that need to be moved.
2) Once LUN presented at controller LDOM will move to guest LDOM where this zone reside, once verified in format create file system and create directory and mount it.
3) run below command to move zone to another file system

zoneadm -z zonename move new zonenamepath

The biggest question I have is that in instruction it says to run above command the new zonepath should be local file system
and I think above is local file system since we configured and mounted that LUN and add it to /etc/vfstab on this host but not 100% sure.

Please review above step and provide an update.

Thanks,
Khan
0
 
LVL 4

Accepted Solution

by:
sakman earned 250 total points
Comment Utility
If the LUN was formatted with UFS and mounted, then it is a local file system.
To verify: df -kFufs /new_mount_point

Also, you should not have to manually comment out anything since the zoneadm move will update the zone files.
0
 
LVL 21

Assisted Solution

by:robocat
robocat earned 250 total points
Comment Utility

"Local file system" means "not on NFS" or any other network file system.

Any filesystem on a LUN should be considered as a local filesystem and you can move your zone to this filesystem without any problems.

0
 

Author Closing Comment

by:ikhan_1971
Comment Utility
Thanks for all responses on this.

Thanks,

Khan
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:ikhan_1971
Comment Utility
Urgent help needed!!!!

I do have one more question here and would appreciate your quick responses.

Does the zonename for example “wbi-perp-z02” should match with its zonepath as /export/zones/wbi-perp-z02?? Or /export/zones/wbi-Perp-z02(with capital p letter will also work.
 
The reason is with regard to moving of this zone to another path I have old path “/export/zones/wbi-perp-z02” which I would like to replace with new path “/export/zones/wbi-Perp-z02” and keeping the same zonename as "wbi-perp-z02".
 
Please advice to this in your earlier convenience
0
 
LVL 4

Expert Comment

by:sakman
Comment Utility
You can move your zone to /export/zones/wbi-Perp-z02 and keep the old /export/zones/wbi-perp-z02.  

The zone configuration XML file in /etc/zones will be named after your zone name "wbi-perp-z02", but inside the XML file will be the path to that zone “/export/zones/wbi-Perp-z02”.

You need to be careful because down the road it may not be clear which zone path is which.  And if you are backing up your zone or running cron jobs in it you need to make sure every time the small "p" is used you replace it with the capital "P".
0
 

Author Comment

by:ikhan_1971
Comment Utility
Thanks very much for very quick response.

Ok, let us say everything worked out well zone "wbi-perp-z02" is up and running with new patch /export/zones/Perp-z02 and at the same time I would like to unmount old path and commented entries under /etc/vfstab, now I would like to change new zonepath to old one */wbi-perp-z02.

Can you provide simple procedure for to accomplish this?

0
 
LVL 4

Expert Comment

by:sakman
Comment Utility
You should be able to do shutdown your new zone, edit the /etc/zones/wbi-perp-z02.xml and change the "zonepath" line, update your vfstab, and then boot your zone.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now