Operating System - HP-UX
1832674 Members
3052 Online
110043 Solutions
New Discussion

Automated extentsion of a LV

 
Thomas M. Williams_1
Frequent Advisor

Automated extentsion of a LV

Hello to all.
A week or so ago I responded to question regarding difficulties extending a vg00 logical volume. I suggested setting up an automated boot script in "/sbin/init.d" then reboot the system. The config file would also need to be setup in "/etc/rc.config.d". A link to the appropriate RC file, most likely "/sbin/rc1.d" would then be established in order to perform the extension at bootup prior to the volume being mounted. I forget who made the point that they would not reccommend this since errors can occur and you need to perform such a task interactivley in order to make a diagnosis. Good point, but when the system you are supporting is in another state and you have no personnel on-site to perform the task you must do things outside the norm. I spoke with HP Tech Support and they could not come up with a solution. One last, possibly dumb, question ... Can I get to single user mode and unmount the volume from a remote telnet session? I didn't think it could be done. I appreciate any feedback.
I Think the Clock is Slow ...
7 REPLIES 7
Ken Hubnik_2
Honored Contributor

Re: Automated extentsion of a LV

Set up a webconsole and then you can manage the server whereever you have access to a browser.
Rusty Sapper
Frequent Advisor

Re: Automated extentsion of a LV

The answer is no. However, if you, or someone else can set up a remote web-console, you will be able to bring it into single user mode remotely and accessing it through your web browser. Web-consoles are very handy when doing remote administration on servers.

HTH

-Rusty
Patrick Wallek
Honored Contributor

Re: Automated extentsion of a LV

No, you can't get to single user mode via telnet.

The transition down to single-user mode shuts down networking, or at least it should, so when that happens you're telnet session is toast.

These types of remote administration issues are perfect exacmples of a good use for a web console or secure web console.
John Palmer
Honored Contributor

Re: Automated extentsion of a LV

If it's one of the new servers, configure the GSP LAN port and you've got remote console connectivity. The D and K servers had remote console dialup via the internal modems. There's also the secure web console.

All the above give you full remote console access so that you can control the boot process.

Regards,
John
Bill Hassell
Honored Contributor

Re: Automated extentsion of a LV

Extending a volume in vg00 can be somewhat automated BUT it cannot be /stand, / or the primary swap area. And since you are not there to monitor an automated script to mangle (oops, I mean manage) the disks, I would be very skeptical of an automated fixup. And most important, single user mode means: NO HP-UX NETWORKING at all. So the solutions mentioned (use the GSP Lan Console if you have a modern server, or the Web Console adapter) are your only choices.

I would be very concerned about this server if it is running in a production mode. If everything goes right, you'll have no difficulty keeping it running, but what if the root disk crashes? Or someone makes a big "oops" and erases everything? Remote systems are pretty easy to manage as long as you have an independent console connection, and of course, an Ignite/UX tape backup (or possibly an Ignite server that keeps a golden image of the remote servers).

Another solution is to move the computer to your site since most likely all access to this system is by network anyway. If nobody needs to touch it, then move it someplace where you can manage it.


Bill Hassell, sysadmin
Thomas M. Williams_1
Frequent Advisor

Re: Automated extentsion of a LV

Great - How do I setup a Web Console.
I Think the Clock is Slow ...
Patrick Wallek
Honored Contributor

Re: Automated extentsion of a LV

First you buy it.

Then you set it up with a network connection, set it's IP address and plug the serial cable on the web-console unit into the console port on the machine itself.