Archive for the ‘Misc’ Category


This content is password protected. To view it please enter your password below:

Advertisements

1 – Allow the vlan to the physical interface on Cisco core switch ( Find out what ports and port channel are use for uplink from Blade switch ) ( eg gi3/45,gi4/45,gi5/45 )

– switchport trunk allowed vlan add XXX

-Add it to the port-channel that the interface is in (same command as above)

2 – Create the VLAN on blade switch ( if not already exists ). Exam ple below to add vlan 110 :

– (AUGS-PCHAS02-SW07)#conf

(AUGS-PCHAS02-SW07)(Config)#vlan dat

(AUGS-PCHAS02-SW07)(Vlan)#vlan 110

(AUGS-PCHAS02-SW07)(Vlan)#vlan name 110 User110

(AUGS-PCHAS02-SW07)(Vlan)#exit

3 – Allow the VLAN  on interface range

-(AUGS-PCHAS02-SW07)(Config)#int range 0/1 – 0/48
(AUGS-PCHAS02-SW07)(if-range)#sw allowed vlan add 110
(AUGS-PCHAS02-SW07)(if-range)#sw tagg 110
(AUGS-PCHAS02-SW07)(if-range)#exit

 

4 – Allow and tag the vlan on port channel .

(AUGS-PCHAS02-SW07)(Config)#int 1/1

(AUGS-PCHAS02-SW07)(Interface AUGS-PCHAS02-SW07/1/1)#sw allowed vlan add 110

(AUGS-PCHAS02-SW07)(Interface AUGS-PCHAS02-SW07/1/1)#sw tagg 110

(AUGS-PCHAS02-SW07)(Interface AUGS-PCHAS02-SW07/1/1)#exit

(AUGS-PCHAS02-SW07)(Config)#exit

5- Copy the config


(AUGS-PCHAS02-SW07)#copy run start
Configuration Saved!

 

SPCollects via the Unishere

Posted: October 27, 2011 in Misc
Tags: ,

Product:

CLARiiON CX4

Unisphere Service Manager

Description:

How to Collect SPCollects via Unisphere

Resolution:

To collect the SPCollects via the Unishere GUI, follow these steps:

1.     Log in to the CLARiiON via Unisphere.

2.     On the Dashboard screen, select the CLARiiON system you wish to generate SPCollects from.

3.     On the System Information screen there is a Task panel containing SPA Tasks and SPB Tasks.

4.     To generate SPCollects for SPA:

1.     Select Generate Diagnostic Files from the SPA Tasks panel.

2.     A confirmation window will appear, select Yes to start the SPCollect script now.

3.     Click OK to confirm the task successfully starts.

5.     The SPCollect script may take several minutes to complete. To verify the SPCollect creation for SPA:

1.     Select Get Diagnostic Files from the SPA Tasks panel.

2.     The SPA File Transfer Manager window will appear.

3.     Enlarge the SPA File Transfer Manager window and resize the Files On SP panel for easier browsing.

4.     Click twice on the Date column in the Files On SP panel to show the most recently created files first. Enlarge the Name column so that the full file names can be read.

5.     If the SPCollect script is still running, you will see a file of the format {SERIAL NO}_SPx_YYYY-MM-DD_HH_MM_SS_runlog.txt which corresponds to the array serial number, SP id and the date and time (GMT) that the SPCollect script was started on the SP.

6.     Wait a few minutes and click on Refresh to update the Files On SP display.

7.     When the SPCollect script has completed the Files On SP panel will show a file of the format {SERIAL NO}_SPx_YYYY-MM-DD_HH_MM_SS_xxxxx_data.zip which corresponds to the array serial number, SP id and the date and time (GMT) that the SPCollect script was started on the SP.

6.     To retrieve the SPCollects from SPA:

1.     In the SPA File Transfer Manager window from step 5 above, click on the required SPCollect zip file in the Files On SP panel.

2.     In the Destination Directory panel, select the destination directory on the local host that the SPCollect should be transferred to.

3.     Click on the Transfer button at the bottom of the File On SP panel to begin the file transfer operation.

4.     A confirmation window will appear, select Yes to start the transfer operation.

5.     The Transfer Status panel will report the results of the file transfer operation.

6.     Click OK to close the SPA File Transfer Manager window and return the System Management screen.

7.     Repeat Steps 4 to 6 to generate and retrieve SPCollects for SPB.

How to Use Clonezilla – Tutorial

Posted: October 12, 2011 in Misc
Tags:

Very Good post from http://geekyprojects.com on clonezilla . Nice step by step guide which helped me a lot .

Ref : http://geekyprojects.com/cloning/how-to-use-clonezilla-tutorial/

=================================================

In past I have written articles describing differences between Clonezilla SE and CLonezilla Live and  how to setup a Clonezilla server. However, many people kept asking me for instructions on how to use Clonezilla. That is why I decided to write this tutorial. For those of you not familiar with Clonezilla, it is a free disk cloning utility that will let you image hard drives via a USB or Ethernet connection. In this tutorial we are going to be using Clonezilla Live to clone a computer’s internal hard drive to a USB external drive. The instructions, however,0 should be pretty much the same for Clonezilla Server Edition. As opposite to other Clonezilla tutorials on the web, I have tried to make this tutorial as detailed as possible, including instructions for “saving” as well as “restoring” the image. Do not be scared by the length of the article; this is actually a walkthrough, so it should be very easy for everybody to understand.

Download Clonezilla Live, burn the iso image (you can use the free Imgburn for this) and boot the computer from the CD. As I previously stated, for those of you using Clonezilla Server the instructions should be pretty much the same, except that instead of booting from a LiveCD, you will be booting from the network connecting to a Clonezilla server which will store your image. The server will provide the Clonezilla wizard via the network connection.

Most of the items in this tutorial are self explanatory, but I will go through all of them in case of doubts in any particular step.

Saving the Image

Insert the liveCD in you CD-ROM and boot from it.

1) At the first screen just click enter.

2) Next, choose your language.

3) Choose the way your keyboard is laid out. If you are in North America just click enter. If you are not in North America your keyboard most likely has a different layout than the default chosen by Clonezilla. Choose the one that pertains to your country.

4) If your “destination” drive is already partitioned and formated in a filesystem Linux understands (e.g. Ext2, Ext3, Ext4, Fat32, etc.), choose “Start_Clonezilla“. If it is not, then click “Enter_shell” and format it. Make sure you identify the drive properly before formatting it, otherwise you can format the wrong one and lose your data. When done, type “ocs-live” to return to the Clonezilla wizard.

5) For this tutorial we are going to make an “image“. Images are compressed files not designed to be accessible, they are meant to be stored away for later use. So, we are going to choose “device-image“. The next option “device-device” as its name indicates, is used when you want to clone two hard drives in one step without creating an image.

6) Select the destination location. This is where you are going to save your image to. For this tutorial, we are going to be choosing the first option “local_dev“. However, if you do not have a USB drive available, notice that you can also save the image to a wide variety of shared drives on your network.

7) Next, Clonezilla will try to detect your USB drive. Connect the USB drive when Clonezilla asks you to do so, then wait a few seconds to give Linux time to recognize the drive and click enter to continue.

8) Select the destination drive. This is the drive you are going to be saving your image to. If your USB hard drive did not get detected on the previous step and it is not appearing on the list, appears intermittently or just won’t format at all, read the section “Problematic Drives” in my article: How to Format a USB External Hard Drive for Linux.

9) Next, Clonezilla will ask you for a directory in your destination drive, where you would like to save your image to. If your destination drive is empty (like the one in the picture below), just choose “Top_directory_in_the_local_device“.

10) To shorten the steps needed to finish, choose  “Beginner“. If you have limited space on your destination drive and want to choose a more suitable compression method, other than the default chosen by Clonezilla, choose “Expert”. Expert mode also lets you modify other settings which are useful whenever you have trouble during the cloning process.

11) For this tutorial choose “savedisk“. This will make an image of the entire “source” hard drive. If you wish to make an image of only one partition, choose “saveparts“.

12) Type the name you wish to have for your image; I usually make it the model of the computer and the date, for example: toshiba-satellite-02-27-11, but this is entirely up to you.

13) Choose the “source” drive. This is the hard drive you wish to clone. Move up and down the list using the arrows on your keyboard to the desired drive and then click on the space bar to select it.

14) Make sure everything looks good and click “enter” to continue.

15) Again make sure everything looks good, type “y” and click “enter” to start the imaging process.

Restoring the Image

To restore the image, follow steps 1 through 10 on the previous section of this tutorial.

11) Choose “restore_disk“. If you previously backed up a partition instead of an entire drive, choose “restoreparts”.

12) Choose the image you would like to restore.

13) Choose the “destination“. This is the drive where you will be extracting the image to. Make sure it is empty, since all its contents will be erased.

14) Finally, Clonezilla will ask you twice if you would like to start the process. If you are sure the destination drive is empty, choose yes to start the process.


Fix        You will need to log the output with PuTTY or a similar application.

  1. Log into the floating IP as admin (password: admin).
  2. Run the command detect_bottlenecks and answer the prompts as followsLocal-171> detect_bottlenecks

    Enter mode (select one from the list), or press Enter to default mode (default is System overview and bottleneck analysis)

    1) System overview and bottleneck analysis
    2) Detection of initialization periods
    3) Detection of high load periods
    4) General detection including initialization and high load periods with peak writing analysis

    Select, or press ‘ENTER’: 4

    Enter earliest time, or press ‘ENTER’ for the earliest time available
    (Format: HH:MM [DD/MM/YYYY]  OR  wks/days/hrs/mins ago)

    Enter latest time, or press ‘ENTER’ for the latest time available
    (Format: HH:MM [DD/MM/YYYY]  OR  wks/days/hrs/mins ago)

    Do you want advanced overview? (default is no)

    1) yes
    2) no

    Select, or press ‘ENTER’: 1

    Type of overview? (default is normal)

    1) normal
    2) detailed

    Select, or press ‘ENTER’: 2

    Enter peak_duration(secs/mins/hrs),e.g I/O peaks (default is 5 minutes)

    Enter group name(s), separated by ‘,’ if more than one  (default is all groups)

    Warning: This operation may take a long time. Do you want to continue(y/n)?y

  3. Forward output of command to EMC RecoverPoint Technical support for analysis.
  4. After running the bottleneck command in CLI, download the output file ” bottlenecks.csv ” using a web browser:
    http://<rpa_ip_address>/info – user webdownload, password webdownload

Note       This feature returns extensive statistics about RecoverPoint system performance, by group, RPA (“box”), and site. The quantity and type of statistics depends on the filters specified in the CLI detect_bottlenecks command.

The standard output includes the following set of statistics:

  • WAN throughput
  • Total incoming data rate
  • Initialization (synchronization) output rate
  • CPU utilization
  • Compression ratio
  • Percentage of time in transfer (group only)
  • Percentage of time in initialization (group only

Source : EMC Support Engineer

How To Check Oracle Licencing

Posted: June 28, 2011 in Misc
Tags: ,

$ sqlplus “/ as sysdba”
SQL> select * from v$version;
SQL> exit
Here is some sample output from 11g Standard Edition:

BANNER
——————————————————————————–
Oracle Database 11g Release 11.2.0.1.0 – 64bit Production
PL/SQL Release 11.2.0.1.0 – Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 – Production
NLSRTL Version 11.2.0.1.0 – Production

What is the difference between the Enterprise, Standard and Personal Editions of Oracle?
Submitted by admin on Sat, 2005-10-15 04:19

Oracle Enterprise Edition:

Enterprise Edition is the full (top of the range) version or the Oracle Database Server. Options like RAC, Partitioning, Spatial, etc. can be purchased separately to enhance the functionality of the database.

Oracle Standard Edition:

Standard Edition is designed for smaller businesses and enterprises. It offers a subset of the features/ functionality implemented in Enterprise Edition. Database options like Data Guard, Partitioning, Spatial, etc. is not available with Standard Edition (from 10g one can use RAC with Standard Edition). Standard Edition can only be licensed on servers with a maximum capacity of four processors.

Oracle Standard Edition One:

Standard Edition One is a low cost, entry-level version of the Oracle Standard Edition database server. Standard Edition One can only be licensed on small servers with a maximum capacity of two processors.

Oracle Personal Edition:

Personal Oracle is a single user version of the database server. It is mostly the same as Enterprise Edition, but doesn’t support advanced options like RAC, Streams, XMLDB, etc.

Oracle Lite:

Oracle Light is a database engine that can be used on mobile platforms like cell phones and PDA’s.

Oracle XE:

Express Edition (XE) is a free, downloadable version of the Oracle database server. Oracle XE can only be used on single processor machines. It can only manage up to 4 GB of data and 1 GB of memory. ISVs can embed XE in 3rd party products and redistribute it freely.


Got this from one of the EMC Engineer of how to collect Log for Brocade B-Series Switch . I am not a master of Brocade switching but this helps me out .
Goal       How to collect logs from a Brocade B-Series switch from a Windows 2000 host with Hyperterminal or Putty

Goal       How to use Hyperterminal.

Fact       Product: Connectrix All Brocade B-Series switches

Fact       OS: Microsoft Windows 2000

Fact       OS: Microsoft Windows Server 2003

Fact       OS: Microsoft Windows XP

Note       Brocade B-Series: What logs and when to collect them from a Brocade switch, during normal and troubleshooting circumstances. emc93016

Note       Brocade B-Series: How to collect a logs from a Brocade B-Series switch from a UNIX host. emc10350

Fix

For FOS version 4.4.x and above, the supportsave output is required for support issue’s. To collect the supportsave outputs you need to have an ftp service running on a separate host.

For FOS version below 4.4.x, collect the supportshow output.

Supportsave via IP:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using modem to TCP/IP (Winsock), then enter IP address of Brocade switch. Click OK button.
  4. Login into Brocade switch (default user: admin default password: password).
  5. Run command supportsave. Enter the IP address were the ftp server is running. It will report on the screen that it is collecting the RASLOG, TRACE and SUPPORTSHOW. After command completes.
  6. Type quit and close hyperterminal.

Alternative to Hyperterminal is to use the Free windows Tool PuTTY

  1. Start the standalone Putty application
  2. Select SSH or Telnet as the connection type and put in the IP of the Brocade switch.
  3. Hit connect and you will be presented with a prompt for login, you may have to approve connection if this is your first time connecting.
  4. Login to the Brocade switch using your credentials.
  5. Run command supportsave.  Follow prompts to enter IP o the FTP server.
  6. Exit putty session by typing quit, gather logs from FTP location.

Supportsave via serial cable:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using com 1 or com 2 (depending were the serial cable is connected to.). Click OK button.
  4. Change the com1 or com2 properties to “default”.
  5. Login into Brocade switch (default user: admin default password: password)
  6. Run command supportsave. Enter the IP address were the ftp server is running. It will report on the screen that it is collecting the RASLOG, TRACE and SUPPORTSHOW. After command completes.
  7. Type quit and close hyperterminal.

Supportshow via IP:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using modem to TCP/IP (Winsock), then enter IP address of Brocade switch. Click OK button.
  4. Login into Brocade switch (default user: admin default password: password), then start capture text (Transfer > Capture text > File C:\supportshow.txt).
  5. Run command supportshow. After command completes, stop capture text (Transfer > Capture text > Stop).
  6. Type quit and close hyperterminal.

Alternative to Hyperterminal is to use the Free windows Tool PuTTY

  1. Start the standalone Putty application
  2. Select SSH or Telnet as the connection type and put in the IP of the Brocade switch.
  3. On the left hand column, select ‘logging’ and on the right hand side choose ‘all session output’
  4. Name the log file (default is putty.log in the putty.exe directory’
  5. Hit connect and you will be presented with a prompt for login, you may have to approve connection if this is your first time connecting.
  6. Login to the Brocade switch using your credentials.
  7. Run command supportshow, the screen will output all supportshow information and will add it to the log file specified in step 4.
  8. Exit putty session by typing quit, gather log from selected location

Supportshow via serial cable:

  1. Start the program hyperterminal (Start Programs > Accessories > Communications > Hyperterminal).
  2. Make a new connection and pick a name for connection and an icon.
  3. A box appears with title “Connect to”. Change the connect using com 1 or com 2. Click OK button.
  4. Change the com1 properties to “default”.
  5. Login into Brocade switch (default user: admin default password: password), then start capture text (Transfer > Capture text > File C:\supportshow.txt).
  6. Run command supportshow. After command completes, stop capture text (Transfer > Capture text > Stop).
  7. Type quit and close hyperterminal.

Note

PuTTY can be used to collect logs but are not officially supported by or recommended by EMC.