new - How i can implement Mirroring


 
Thread Tools Search this Thread
Operating Systems Solaris new - How i can implement Mirroring
# 15  
Old 12-16-2008
webster5u

What do you mean by hostname getting disappears?



If its after every reboot then all you need to is edit the /etc/nodename and add you hostname into the this file and also execute


Quote:
#hostname <required name>
Hope its going to help!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to implement scenario?

hi, i am having three files which is having following data file1: field1 field2 field3 1 A B 2 C D 3 E F file2: 4 G H 1 I J 5 K L file3: 4 M N (3 Replies)
Discussion started by: angel12345
3 Replies

2. Shell Programming and Scripting

How to implement this?

hi i have a file like 1,"A","B" 2,"C","D" 1,"E","F" 3,"G","H" in output i need like 3,"G","H" 1,"E","F" 2,"C","D" 1,"A","B" (12 Replies)
Discussion started by: angel12345
12 Replies

3. Shell Programming and Scripting

Trying to implement 'more' command

Hi all, i'm quite new in the UNIX world. So maybe i'm going to ask simple questions but they are unsolvable for me... I'm trying to implement the 'more' function or kinda of that, for improving my knowledges. But I encountered some problems that i hope u will help me to solve. The code i... (0 Replies)
Discussion started by: Cellofan
0 Replies

4. Shell Programming and Scripting

Trying to implement case

Hi All, My requirement is if the record is starting with 0, then do some processing. if starting with 1, some processing else (not with 0 or 1 ) then do some other processing. i tried the following case "$test" in /^0/) echo "starting with zero ;; /^1/) echo " with one" ;; *) echo... (3 Replies)
Discussion started by: ssunda6
3 Replies

5. Shell Programming and Scripting

Trying to implement case

Hi All, My requirement is if the record is starting with 0, then do some processing. if starting with 1, some processing else (not with 0 or 1 ) then do some other processing. i tried the following case "$test" in /^0/) echo "starting with zero ;; /^1/) echo " with one" ;; *) echo... (2 Replies)
Discussion started by: ssunda6
2 Replies

6. Shell Programming and Scripting

how to implement this

Hi all, could any of you please help me on my problem.. we are doing FTP (one report out put) from one server to another server through unix shell script program. Due to the network issues, some times FTP process is hanging. So we planned to modify the existing program with the following... (2 Replies)
Discussion started by: kishore_jasthi
2 Replies

7. AIX

how to implement timer

anyone can help me how to implement the timer on AIX? I tried with 'setitimer' and its related functions, but it does not work correctly,the program exited each time. thanks (2 Replies)
Discussion started by: Frank2004
2 Replies

8. Programming

how does va_arg implement ?

1 . How does va_arg implemented by system? (2 Replies)
Discussion started by: chenhao_no1
2 Replies

9. UNIX for Advanced & Expert Users

how can i implement rlogin

how can i use a rlogin with out entered a password, someone tell me about configure the next files /.rhosts /etc/hosts.equiv and /etc/hosts but i not sure about that, or there are not enough could you tell me how to do that? (3 Replies)
Discussion started by: jav_v
3 Replies

10. UNIX for Dummies Questions & Answers

how to implement diff

Hi Does someone know how Unix or Linux implement 'diff' command ? Any good reference or the algorithm will be better ? Thanks (3 Replies)
Discussion started by: harrylong
3 Replies
Login or Register to Ask a Question
vxmirror(1M)															      vxmirror(1M)

NAME
vxmirror - mirror volumes on a disk or control default mirroring SYNOPSIS
/etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] medianame [new_medianame...] /etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] -a [new_medianame...] /etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no] /etc/vx/bin/vxmirror [-g diskgroup] -D DESCRIPTION
The vxmirror command provides a mechanism to mirror all non-mirrored volumes that are located on a specified disk, to mirror all currently non-mirrored volumes in the specified disk group, or to change or display the current defaults for mirroring. All volumes that have only a single plex (mirror copy), are mirrored by adding an additional plex. Volumes containing subdisks that reside on more than one disk are not mirrored by vxmirror. vxmirror is generally called from the vxdiskadm menus. It is not an interactive command, and after it is called, continues until comple- tion of the operation or until a failure is detected. Note: Generating mirror copies of volumes can take a considerable time to complete. In the first listed form of this command, the disk media name is supplied on the command line to vxmirror. That name is assumed to be the only disk from which volumes are mirrored. In the case of mirroring volumes from a specified disk, only simple single-subdisk volumes are mirrored. In the first and second listed forms of the command, new_medianame... identifies a new disk media name (or set of names). The mirroring operation uses these names as targets on which to allocate the mirrors. An error results if the same disk is specified for both the source and target disk and if no other viable targets are supplied. Hardware-Specifc Note Some environments provide guidelines to optimize the VxVM's interaction with intelligent storage systems. If these guidelines are present, VxVM follows the guidelines when creating volumes or allocating space for volumes. By default, vxmirror only creates mirror volumes that conform with these guidelines. The following options change the behavior of vxmirror: -o override Creates a mirror of the specified volume and ignores any storage-specific guidelines. Overriding the guidelines is not recom- mended as it can result in incompatible objects, or objects that cannot be administered by VxVM. -o verify Verifies that the specified mirror can be created without violating any storage-specific guidelines, but does not create the plex. If any guidelines are violated, vxmirror exits with an error message. Note: These options need a specific license. Without the license, vxmirror ignores the specified option. OPTIONS
-a Mirrors all existing volumes for the specified disk group. -d yes | no Changes the default for subsequent volume creation, depending on the option argument. If yes, then all subsequent volumes cre- ated automatically become mirrored volumes. If no, then mirroring is turned off for future volumes created. -D Displays current default status for mirroring. -g diskgroup Limits operation of the command to the given disk group, as specified by disk group ID or disk group name. The medianame oper- ands are evaluated relative to the given disk group. If this option is not specified, the default disk group is determined using the rules given in the vxdg(1M) manual page. -t tasktag Specifies using a tasktag as the tag for any tasks created to perform the mirror operations. EXAMPLES
The following command mirrors all non-mirrored volumes on disk disk01 to the available space on any other available disk. Subsequent calls to vxassist mirror created volumes by default. /etc/vx/bin/vxmirror -d yes disk01 This command displays the current status of default mirroring. It outputs the string yes if mirroring is currently enabled, or no if mir- roring is not enabled. /etc/vx/bin/vxmirror -D This command mirrors any volumes on disk02 to disk03. /etc/vx/bin/vxmirror disk02 disk03 FILES
/etc/default/vxassist The defaults file for vxassist parameters. SEE ALSO
vxassist(1M), vxdiskadm(1M), vxintro(1M), vxtask(1M) VxVM 5.0.31.1 24 Mar 2008 vxmirror(1M)