I have the following problem:
My HACMP is configured to use certain disk name (hdisk12) for heartbeat function, it uses name, not PVID for that. And now after some reconfiguration my heartbeat disk changed it's name - now it's hdisk11, and hdisk12 is taken by another disk.
I assume that switching disk names is mutch more easier task than changing HACMP config (I'm not very good in HACMP).
How to switch names of two certain disks ?
Changing hdisk device names is tedious. I'd reconfigure disk heartbeat devices.
If you want to change hdisk names you need to rmdev -dl them. You could use dummy disks to keep cfgmgr from taking certain hdisk names (hdisk12) and then delete the dummy and the former hdisk12 to make it become hdisk12 after another rmdev command. If you delete all of the hdisk devices cfgmgr should be forced to detect devices in a serial way but not in parallel (-S option) but even then the row in which the disks are being detected might be different if signal runtime is influenced by your FC network (especially if your storage is located in different data centers).
Either way you can damage your cluster.... which HACMP version do you use?
I also thought something about adding pseudo hdisk.
How to create dummy hdisk ?
And I can always create some dummy disk using static command or it depends on harware config ?
[...]How to create dummy hdisk ?
And I can always create some dummy disk using static command or it depends on harware config ?[...]
Depends on the type of disk controller your server has (i.e. the hdisks intended parent). You could use SMIT
# smit makdsk
or the commandline. To give an example for a scsi disk controller:
Hello,
On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active.
We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED.
... (1 Reply)
Data files coming in different names in a file name called process.txt.
1. shipments_yyyymmdd.gz
2 Order_yyyymmdd.gz
3. Invoice_yyyymmdd.gz
4. globalorder_yyyymmdd.gz
The process needs to discard all the below files and only process two of the 4 file names available
... (1 Reply)
hi,
how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Sun Solaris Unix Question
Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Previously , i remove the disk by
#vxdg -g testdg -k rmdisk testdg02
But i got error when i -k adddisk
bash-2.03# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none ... (1 Reply)
hi there,
i normaly worked with linux, but at the moment i have to setup an dg/ux maschine ( intel based ).
ok, now i want to wirte a simple backup script :-)
i will use dd to copy scsi disk 1 to disk 2 :-)
under linux i would write something liek this :
dd if=/dev/sda of=/dev/sdb
or... (2 Replies)